以下是通达信带我们找涨跌停(源码 配图)

MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA60:MA(CLOSE,60);MA120:MA(CLOSE,120);
 X:=
 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
 Y:=MA20>REF(MA20,2)
 AND V>REF(V,1) AND
 CROSS(C,MA20);Z1:=AMOUNT/V;Z2:=L<Z1*0.9;
 Z3:=(C-REF(C,1))/REF(C,1)*100>1.2;Z4:=L<MA(C,5)*0.921;Z5:=V<MA(V,5)*1.5;Z6:=FILTER((Z2
 AND Z3 AND Z4 AND
 Z5),20);
乖离线:=((C-REF(MA20,1))/20+MA20)*1.20;A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*
 SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(A1,3) ,LINETHICK2;
 VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
 VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;VAR4:=EMA(VAR3,5);VAR5:=3*VAR3-2*VAR4;
 DRAWTEXT(Z6,L-0.02,’豆豆杀入’),COLORYELLOW;
 DRAWTEXT(FILTER(CROSS(X,95),20),HIGH+0.02,’豆豆逃命’),COLOR00FF00;
 RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
 K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;
 AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
 AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
 AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);
 AA7:=FILTER(J<REF(J,1)AND
走势<=REF(走势,1)AND J>85
 ,5);
 ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF>9.8,O,C,3,0),COLOR0000FF;
 STICKLINE(ZDF<-9.8,O,C,3,0),COLORFF0000;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。