薛斯通道布林主图指标 源码 通达信 贴图 无未来 无加密

[复制链接]
查看26 | 回复0 | 2022-7-11 10:25:14 | 显示全部楼层 |阅读模式
自己根据大盘日线创作的, 已经做出来几个月了,不敢藏私,拿出来与大家分享, 混合了薛斯通道和布林线,至于怎么用法就仁者见仁智者见智自己去悟了.

布林上线减下线小于60的时候,是大盘的历史超级大底,应该立即买入 此指标只适用于上证指数,如果想用于个股,需要根据不同个股的历史大底单独调参数


{参数D1是找大底的参数,默认60,只适用于大盘,如果想用于个股,需要单独定制调整}
D1:=60;
{薛斯通道1加2}
N:=13;N1:=102;M:=7; VAR2:=CLOSE*VOL;
VAR3:=EMA((EXPMA(VAR2,3)/EXPMA(VOL,3)+EXPMA(VAR2,6)/EXPMA(VOL,6)
+EXPMA(VAR2,12)/EXPMA(VOL,12)+EXPMA(VAR2,24)/EXPMA(VOL,24))/4,N);
SUP:1.06*VAR3,COLORLIGREEN;
SDN:VAR3*0.94,COLORLIGREEN;
VAR4:=EXPMA(CLOSE,9);
LUP:EXPMA(VAR4*1.14,5),COLORCBCBFF;
LDN:EXPMA(VAR4*0.86,5),COLORCBCBFF; {DRAWBAND(LUP,RGB(0,0,130),LDN,RGB(0,0,130));
DRAWBAND(SUP,RGB(130,81,0),SDN,RGB(130,81,0));} {STICKLINE(1,LUP,LDN,0.1,0),COLORFAD39D;
STICKLINE(1,SUP,SDN,0.1,0),COLOR005082;} DRAWBAND(LUP,RGB(31,111,181),LDN,RGB(31,111,181));
DRAWBAND(SUP,RGB(157,211,250),SDN,RGB(157,211,250)); AAX:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AAX*N1/100;{,LINETHICK2,COLORYELLOW; }
通道2:=AAX*(200-N1)/100;{,LINETHICK2,COLORYELLOW; }
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD;{,LINETHICK2,COLORMAGENTA;}
通道4:(1-M/100)*DD;{,LINETHICK2,COLORMAGENTA;} {DRAWICON(L<=SDN AND L<=LDN AND L<=通道2 AND L<=通道4 AND O<=C,L*0.97,1);
DRAWICON(H>=SUP AND H>=LUP AND H>=通道1 AND H>=通道3,H*1.03,2);}
{布林加均线加BBI}
MID : MA(CLOSE,26),COLORFFFFFF,POINTDOT;
UPPER: MID + 2*STD(CLOSE,26),COLORFFFFFF,POINTDOT;
LOWER: MID - 2*STD(CLOSE,26),COLORFFFFFF,POINTDOT; {STICKLINE((UPPER-LOWER)<D1,LUP,LDN,10,0),COLORRED;}{大盘历史超级大底} DRAWBAND(UPPER,RGB(161,94,0),LOWER,RGB(161,94,0)); MID1 : MA(CLOSE,26),COLORFFFFFF,POINTDOT;
UPPER1: MID1 + 2*STD(CLOSE,26),COLORFFFFFF,POINTDOT;
LOWER1: MID1 - 2*STD(CLOSE,26),COLORFFFFFF,POINTDOT; MA5:MA(CLOSE,5),COLOR0220D2;
MA60:MA(CLOSE,60),COLOR00AAAA,LINETHICK2;
MA120:MA(CLOSE,120),COLORFF44FF,LINETHICK3;
MA250:MA(CLOSE,250),COLORFF0000,LINETHICK3;
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLOR00FF00;
{通道31:(1+M/100)*DD,LINETHICK2,COLORMAGENTA;
通道41:(1-M/100)*DD,LINETHICK2,COLORMAGENTA;} {重绘K线}
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

 

20199279545846512.png

20199279545846512.png

20199279563699329.rar

3.76 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20199279563699329.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则