通达信【超短线】副图指标公式LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE-LC),0),5,1)/SMA(ABS((CLOSE-LC)),5,1))*100);TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);HD:=(HIGH-REF(HIGH,1));LD:=(REF(LOW,1)-LOW);DMP:=SUM(IF(((HD0)AND(HDLD)),HD,0),10);DMM:=SUM(IF(((LD0)AND(LDHD)),LD,0),10);PDI:=((DMP*100)/TR1);MDI:=((DMM*100)/TR1);ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);AV:=(RSI5+ADX);DXR:=(((ADX+REF(ADX,5))/2)+RSI5);0,COLORFF00FF;WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,13)-LLV(LOW,13)));NEWVOL:=(RSI5-WR10);阶段底部:=(AV+NEWVOL);趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;STICKLINE(CROSS(阶段底部,0),0,-10,0.1,1),LINETHICK6,COLORRED;STICKLINE((趋势线230),100,90,0.1,1),LINETHICK6,COLORGREEN;Y1:=LLV(L,17);Y2:=SMA(ABS(L-REF(L,1)),17,1);Y3:=SMA(MAX(L-REF(L,1),0),17,2);Q:=-(EMA(IF(L=Y1,Y2/Y3,-3),1));STICKLINE(CROSS(Q,0),15,0,4,0),,COLORYELLOW;强拉升:IF(CROSS(Q,0),1,0),COLORYELLOW;Q1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,,COLOR00FF00,LINETHICK2;STICKLINE(CROSS(Q1,-24),20,0,4,0),,COLORMAGENTA;加强拉升:IF(CROSS(Q1,-24),1,0),COLORMAGENTA;VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;VAR2:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4);天:=(MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2));地:=(MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1));STICKLINE(地天AND地0,10,0,1,0),COLORRED;开始拉升:STICKLINE(地天AND地0,10,0,1,0)=1,COLORRED;LOWV:=LLV(LOW,9);HIGHV:=HHV(HIGH,9);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:EMA(RSV,3);D:MA(K,3);STICKLINE(KD,K,D,1.1,0),COLORRED,LINETHICK2;STICKLINE(DK,K,D,1.1,0),COLORGREEN,LINETHICK2;逃顶线:90,COLORGREEN;抄底线:10,COLORGREEN;警戒:阶段底部0,LINETHICK0,COLORYELLOW;出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;R1:=1;R2:=((((2*CLOSE)+HIGH)+LOW)/4);R4:=LLV(LOW,5);R5:=HHV(HIGH,4);C1:=(EMA((((R2-R4)/(R5-R4))*100),4)*R1),COLORFF00FF,LINETHICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*R1),COLORFFFFFF,LINETHICK2;条:=CROSS(C1,C2)ANDC140;STICKLINE(条,0,-10,2,0),COLORRED;DRAWTEXT(条,20,'出枪'),COLORYELLOW;A10:=CROSS(控盘,0);无庄控盘:IF(控盘0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,20,0),LINETHICK1,COLORYELLOW;AAZ2:=(MIN(O,C)-L)/L*1001.4;BBZ2:=L/MA(C,30)1.03ANDL/MA(C,30)0.99ANDC=O;准备抓:IF(AAZ2ANDBBZ2,20,0);DRAWTEXT(AAZ2ANDBBZ2,20,'准备')COLORLIBLUE;******************************************************************************************通达信超准短线选股指标公式AA30:=MA(C,30);MA30:=MA(C,34);A9:=DATETODAY(DATE);DS:=IF(A99966,1,DRAWNULL);VARB29:=IF(A915366,1,DRAWNULL);AA05:=MA(C,5);五日乖离率:=(C-AA05)/AA05*VARB29*100*DS;三拾日乖离率:=(C-MA30)/MA30*100*VARB29;MR:=COUNT(CROSS(五日乖离率,0),3)=1AND三拾日乖离率REF(三拾日乖离率,1)ANDAA05REF(AA05,1)AND(C/REF(C,1)-1)*1005ANDREF(C,1)AA30;买入:=FILTER(MR,10)*XS;STICKLINE(买入,(LOW)*(0.99000001),0,6,0)*XS*VARB29,COLORRED;******************************************************************************************通达信策略先锋及选股指标公式拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;拉升力A:=SMA(拉升力,6.3,1);波峰波谷:SMA(拉升力A,3,1),COLORFF00FF;拉升力B:=3*拉升力A-2.1*波峰波谷;空方:=3*波峰波谷-1*拉升力A;做空:IF(空方拉升力B,拉升力B,空方),LINETHICK1,COLOR00FF00;做空周期:HHV(做空,21),COLORBLUE,LINETHICK1;多头:IF(做空=REF(做空,1),做空,DRAWNULL),COLORRED,LINETHICK2;DRAWICON(做空=REF(做空,1)ANDREF(做空,1)REF(做空,2),做空,23);空头:IF(做空REF(做空,1),做空,DRAWNULL),COLORGREEN,LINETHICK2;{DRAWICON(做空=REF(做空,1)ANDREF(做空,1)REF(做空,2),做空,19);}短线:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;蓝柱:SMA(中线,3,1),COLORSTICK,COLORFFFF00;{红柱}STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,2,0),COLOR888800;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1.5,0),COLORAAAA00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.8,0),COLORDDDD00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.3,0),COLORFFFF00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,2,0),COLOR000088;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1.5,0),COLOR0000AA;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.8,0),COLOR0000DD;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.3,0),COLOR0000FF;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,2,0),COLOR008800;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,1,0),COLOR00AA00;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,0.8,0),COLOR00DD00;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,0.3,0),COLOR00FF00;{蓝柱}STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,2,0),COLOR880088;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1.5,0),COLORAA00AA;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.8,0),COLORDD00DD;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.3,0),COLORFF00FF;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,2,0),COLOR888800;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1.5,0),COLORAAAA00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.8,0),COLORDDDD00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.3,0),COLORFFFF00;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,2,0),COLOR009999;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,1.5,0),COLOR00BBBB;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,0.8,0),COLOR00DDDD;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,0.3,0),COLOR00FFFF;VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;A1:=CROSS(操盘,VAR300)ANDVAR3002.1ANDCO;STICKLINE(A1,5,0,4,0),COLOR770077;STICKLINE(A1,5,0,3,0),COLOR990099;STICKLINE(A1,5,0,2,0),COLORBB00BB;STICKLINE(A1,5,0,1,