以下是通达信成功率极高的薛斯通道指标主图源码和截图
通达信成功率极高的薛斯通道指标主图源码:
RSV:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
K:=SMA(RSV,3,1);
D:=Sma(K,3,1);
J:=(3*K-2*D);
D2:=SMA(J,3,1)*0.82;
VAR2:=(C-MA(C,6))/MA(C,6)*100;
VAR3:=(C-MA(C,12))/MA(C,12)*100;
VAR4:=(C-MA(C,24))/MA(C,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
线:=MA(VAR5,3);
LC:=REF(CLOSE,1);
5:=((SMA(MAX((C-LC),0),5,1)/SMA(Abs((C-LC)),5,1))*100);
TR1:=SUM(MAX(MAX((H-LOW),ABS((H-REF(C,1)))),ABS((L-REF(C,1)))),10);
HD:=(H-REF(H,1));
LD:=(REF(LOW,1)-LOW);
DMP:=SUM(IF(((HD 0)AND(HD LD)),HD,0),10);
DMM:=SUM(IF(((LD 0)AND(LD HD)),LD,0),10);
pdi:=((DMP*100)/TR1);
mdi:=((DMM*100)/TR1);
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);
AV:=(RSI5+ADX);
wr10:=((100*(HHV(H,10)-C))/(HHV(H,10)-LLV(L,10)));
NEW:=(RSI5-WR10);
回调:=(AV+NEW);
gg:=crOSS(回调,0);
KTB:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
DTB:=SMA(KTB,3,1);
JTB:=3*KTB-2*DTB;
出击:=CROSS(CLOSE,REF(EMA(DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9),3),1))ANDJTB
狙击:CROSS(J,0)AND线 =-7andggand出击,COLORYELLOW;
{XS薛斯通道}
{N:80,120,102;M:2,20,7;}
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AA*N/100;
通道2:AA*(200-N)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD;
通道4:(1-M/100)*DD;
DIF:=EMA(DCLOSE,9)-EMA(DCLOSE,17);
DEA:=EMA(DIF,6);
AAA:=(DIF-DEA)*2*60;
起爆:=CROSS(AAA-REF(AAA,1),12);
DRAWTEXT(起爆,L*0.975,'爆'),COLORRED;
DRAWTEXT(起爆,L*0.95,'涨'),COLORRED;
{红}
STICKLINE(起爆,CLOSE,OPEN,3,0),COLOR000099;
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)*2,COLORSTICK;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,21))/(0.015*AVEDEV(TYP,21));
DRAWICON(CROSS(MA2,MA3)ANDMACD =0ANDCCI =100,MA2,1);
DRAWTEXT(CROSS(MA2,MA3)ANDMACD =0ANDCCI =100,L*0.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))AND(VAR1P REF(VAR1P,1)),
CLOSE,OPEN,3,0),COLORBLUE;
DRAWICON(CROSS(REF(ZIG(3,12),1),ZIG(3,12)),HIGH*1.02,2);
STICKLINE((REF(VAR1P,2) REF(VAR1P,1))AND(VAR1P REF(VAR1P,1)),
CLOSE,OPEN,3,0),COLORYELLOW;
DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.99,1);
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=L2_AMO(0,3)/10000.0;
大S:=L2_AMO(1,3)/10000.0;
中S:=L2_AMO(2,3)/10000.0;
小S:=L2_AMO(3,3)/10000.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(大宗进)*250/DAZHIV))-20,30,950,IF(CONST(大宗进 0),RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(47,CONST(950-(ABS(大宗出)*250/DAZHIV))-20,62,950,IF(CONST(大宗出 0),RGB(23,125,255),RGB(255,0,0)));
DRAWRECTREL(107,CONST(950-(ABS(非大宗进)*250/DAZHIV))-20,122,950,IF(CONST(非大宗进 0),RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(141,CONST(950-(ABS(非大宗出)*250/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.107,1,0,'进出'),COLORCYAN;
DRAWBMP((ZIG(3,5) REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1) =REF(ZIG(3,5),2))
AND(REF(ZIG(3,5),2) =REF(ZIG(3,5),3)),LOW*1.02,'BUY1');
DRAWBMP((ZIG(3,5) REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1) =REF(ZIG(3,5),2))
AND(REF(ZIG(3,5),2) =REF(ZIG(3,5),3)),HIGH*1.03,'SELL1');
DRAWTEXT(CROSS(83,RSI),H*1.04,'')COLORYELLOW;
今日保护价:(REF(C,2)+REF(C,1)+O)/3,COLORCC3299,NODRAW;
顶点:IF(CURRBARSCOUNT =60,CONST(IF(ISLASTBAR=1,HHV(H,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,DOTLINE;
低点:IF(CURRBARSCOUNT =60,CONST(IF(ISLASTBAR=1,LLV(L,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,DOTLINE;
STICKLINE(CCI =200ANDH =顶点,O,C,3,0),COLORWHITE;
STICKLINE(CCI =100ANDL =低点,O,C,3,0),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORRED;{COLORWHITE;};
{暴涨信号主图}
VAR5A:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
VAR6A:=EMA(VAR5A,9);
VAR7A:=(VAR5A-VAR6A)*2*60;
VAR8A:=CROSS(VAR7A-REF(VAR7A,1),15);
DRAWICON(VAR8A,LOW*1.09,25);
空:=EMA(CLOSE,5);
均衡:=EMA(空,0),COLORFFFFFF;
下双线持币:HHV(MA(HIGH,3),2),LINETHICK0,COLORGREEN;
上趋势单线持股:LLV(MA(HIGH,3),1),LINETHICK0,COLORRED;
VAR5:=FILTER(均衡 REF(均衡,1)AND下趋势双线持币 REF(下趋势双线持币,1)ANDCLOSE REF(CLOSE,1),11);
IF(VAR5 =1,L*0.996,DRAWNULL),COLORMAGENTA,CIRCLEDOT;
B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C REF(C,1)ANDREF(C,1) =REF(C,2),1,IF(C REF(C,1)ANDREF(C,1) =REF(C,2),-1,IF(C REF(C,2)ANDREF(C,2) REF(C,1),2,IF(C REF(C,2)ANDREF(C,2) REF(C,1),-2,0))));
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=MA(HHV(CLOSE-REF(CLOSE,1),0),34)/MA(ABS(CLOSE-REF(CLOSE,1)),7)*100;
VAR9:=MA(HHV(CLOSE-REF(CLOSE,1),0),13)/MA(ABS(CLOSE-REF(CLOSE,1)),13)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR8 20ANDVAR9 23ANDVARA
VARC:=VARBANDCOUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VARF:=TROUGH(3,6,1) 4ANDCROSS(VARD,VARE);
VAR10:=IF(TROUGH(3,16,1)=0ANDHIGH LOW+0.04,4,0);
VAR11:=ZIG(3,6) REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1) =REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3);
VAR12:=ZIG(3,6) REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1) =REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3);
VAR13:=ZIG(3,22) REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1) =REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3);
VAR14:=ZIG(3,22) REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1) =REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3);
VAR15:=ZIG(3,51) REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1) =REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3);
VAR16:=ZIG(3,51) REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1) =REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3);
VAR17:=ZIG(3,72) REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1) =REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3);
VAR18:=ZIG(3,72) REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1) =REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100);
VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1E:=EMA(VAR1D*0.97,3);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW);
买点1:=VAR10;
买点2:=(VAR11+VAR13+VAR15+VAR17);
卖点1:=(VAR12+VAR14+VAR16+VAR18),LINETHICK2;
VAR22:=买点1ANDVARFANDVARCANDVAR21ANDVAR4 0ANDVAR5=0ANDVAR6=0ANDVAR20 (-110);
DRAWTEXT(买点1 0,LOW+0.2,'买'),COLORRED;
DRAWTEXT(买点2 0,LOW+0.2,'买'),COLORFF00FF;
DRAWTEXT(卖点1 0,HIGH+0.1,'逃'),COLOR33FF33;
黑马线:15,POINTDOT,COLORFFFFFF;
主力:VAR7A-REF(VAR7A,1),COLORRED;
DRAWICON(CROSS(主力,黑马线),黑马线,25);
LING0:0,POINTDOT,COLOR0FFFFF;
LY:=10;
BL:=40;
CJQS:=XMA(CLOSE,LY);
JBQS:=XMA(CLOSE,BL);
N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);
M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);
JB上轨:IF(CURRBARSCOUNT BL/2,JBQS*1.1,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*1.1);
JB下轨:IF(CURRBARSCOUNT BL/2,JBQS*0.9,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*0.9);
CJ上轨:IF(CURRBARSCOUNT LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*1.05);
CJ下轨:IF(CURRBARSCOUNT LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*0.95);
DRAWTEXT(O =CJ下轨,(L*0.98),'抢'),COLORYELLOW;
DRAWTEXT(CROSS(H,CJ上轨),(H*1.01),'逃'),COLORYELLOW;
{立桩量}
TJ:=VOL =REF(V,1)*1.91ANDC REF(C,1)*1.01;
STICKLINE(TJ,C,O+(C-O)/2,1,0),COLOR00FFFF;
{一穿三:5、10、20}
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
一穿三:=MA1 OANDMA2 OANDMA3 OANDMA1 CANDMA2 CANDMA3 CANDCLOSE OPEN;
STICKLINE(一穿三,O,O+(C-O)/2,1,0),COLORFF00FF;
AAA2:=SUM(IF(CLOSE REF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF(CLOSE REF(CLOSE,1),VOL*C,0),0);
AAA4:=SUM(IF(CLOSE=REF(CLOSE,1),VOL*C,0),0);
BB1:=0;
B1万元:=DVOL*DCLOSE/100;
B1差:=B1万元-REF(B1万元,1);
B2万元:=DVOL*DCLOSE/100;
B2比:=B2万元/REF(B2万元,1);
净流入万元:=(AAA2-AAA3-0.5*AAA4);
PM:=MA(净流入万元,1);
PMA:=PM/REF(PM,1)
PMB:=REF(PMA,1) 1ANDPMA;
密码:(EMA(MA(B1万元,2),2))/100000,COLORYELLOW,NODRAW;
二日比:=密码/REF(密码,1);
:PMBAND密码 REF(密码,1)AND二日比 1,COLORRED,NODRAW;
Y:=CLOSE/REF(CLOSE,1) 1.07;
X:=VOL MA(VOL,5);
A1:=YANDX;
DRAWTEXT(A1,MA(CLOSE,5),'攻'),COLORMAGENTA;
通达信成功率极高的薛斯通道指标主图截图