通达信强势选股源码捕捉牛股副图公式
强势牛股选股公式源码
AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
预测:=AA/10000;
指数百万个万手:=VOL/10000;
TY:=C;
A11:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A11,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
前期高位:=REF(H,BARSLAST(HD));
X:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>60;
倍量:=预测>=REF(指数百万个万手,1)*1.2;
XG:=CROSS(C,前期高位) OR C>前期高位;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:=(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;
A2:=EMA(A1,2);
A3:=EMA(A2,2);
A4:=EMA(A3,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(VAR1,2.78)*1.028,LINETHICK3;
A9:=MA(OPEN,3.2)*1.028,LINETHICK3;
安全线:=EMA(CLOSE,55);
CLOSE>OPEN AND A1>A2 AND A2>A3 AND A3>A4 AND A4>A5 AND A5>A6 AND A6>A7 AND
XG AND CLOSE>OPEN AND X AND 倍量 AND C<20;
|