温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,汇文网负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
网站客服:3074922707
2023
年成
功率
极高
斯通
道主图
指标
通达信
源码
新编
成功率极高的薛斯通道主图指标通达信源码
高准确率,买卖一目了然。
每个人的理解力不同,炒股是炒人性,准不准自己慢慢体会。因为有未来函数,所以结合薛斯通道一起判断,以提高准确率。
{xs薛斯通道}
{n:80,120,20232;m:2,20,7;}
aa:=ma((2xclose+high+low)/4,5);通道1:aaxn/20230;
通道2:aax(200-n)/20230;
cc:=abs((2xclose+high+low)/4-ma(close,20))/ma(close,20);dd:=dma(close,cc);通道3:(1+m/20230)xdd;通道4:(1-m/20230)xdd;
dif:=ema(dclose,9)-ema(dclose,17);dea:=ema(dif,6);
aaa:=(dif-dea)x2x60;
起爆:=cross(aaa-ref(aaa,1),12);
drawtext(起爆,lx0.975,'爆'),colorred;drawtext(起爆,lx0.95,'涨'),colorred;{红}
stickline(起爆,close,open,3,0),color00020239;stickline(起爆,close,open,
2.2,0),color0000cc;stickline(起爆,close,open,
1.5,0),color0000ff;
stickline(起爆,close,open,0.5,0),colorcc66ff;stickline(起爆,open,close,0.5,0),coloryellow;
macd:=(dif-dea)x2,colorstick;typ:=(high+low+close)/3;
cci:=(typ-ma(typ,21))/(0.015xavedev(typ,21));
drawicon(cross(ma2,ma3)andmacd>=0andcci>=20230,ma2,1);drawtext(cross(ma2,ma3)andmacd>=0andcci>=20230,lx0.95,'黑马')coloryellow;
drawtext_fix(islastbar,0.0,0,0,hyblock),colorcyan;drawtext_fix(islastbar,0.1,0,0,dyblock),coloryellow;drawtext_fix(islastbar,0.2,0,0,gnblock),colorgreen;drawtext_fix(islastbar,0.5,0,0,fgblock),colorwhite;{ma2报警器k线图上变成蓝色,立马出局,别犹豫,切记};
var1p:=zig(3,13);
stickline((ref(var1p,2)ref(var1p,1)),close,open,3,0),coloryellow;
drawicon(cross(zig(3,2023),ref(zig(3,2023),1)),lowx0.99,1);超b:=l2_amo(0,2)/2023000.0;大b:=l2_amo(1,2)/2023000.0;中b:=l2_amo(2,2)/2023000.0;小b:=l2_amo(3,2)/2023000.0;超s:=l2_amo(0,3)/2023000.0;大s:=l2_amo(1,3)/2023000.0;中s:=l2_amo(2,3)/2023000.0;小s:=l2_amo(3,3)/2023000.0;
testskip(not(超bor大bor中bor小bor超sor大sor中sor小s)。=0);大宗进:=(超b)+(大b),nodraw;大宗出:=(超s)+(大s),nodraw;非大宗进:=(中b)+(小b),nodraw;非大宗出:=(中s)+(小s),nodraw;
dazhiv:=const(max(abs(大宗进),max(abs(大宗出),max(abs(非大宗进),abs(非大宗出))))),nodraw;
drawrectrel(15,const(950-(abs(大宗进)x250/dazhiv))-20,30,950,if(const(大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(47,const(950-(abs(大宗出)x250/dazhiv))-20,62,950,if(const(大宗出>0),rgb(23,125,255),rgb(255,0,0)));drawrectrel(12023,const(950-(abs(非大宗
进)x250/dazhiv))-20,122,950,if(const(非大宗进>0),rgb(255,0,0),rgb(23,125,255)));drawrectrel(141,const(950-(abs(非大宗
出)x250/dazhiv))-20,154,950,if(const(非大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawtext_fix(currbarscount=1,0.015,1,0,'主力进出'),colormagenta;drawtext_fix(currbarscount=1,0.12023,1,0,'散户进出'),colorcyan;
drawbmp((zig(3,5)>ref(zig(3,5),1))and(ref(zig(3,5),1)ref(c,1)andref(c,1)>=ref(c,2),1,if(cref(c,1),2,if(c