通达信纯八线牛选股指标公式
通达信牛股启动点指标公式
通达信纯八线牛选股指标公式:
XG1:=DYNAINFO(4)>0;
XG11:=(C>REF(HHV(C,2),1));
XG6:=EVERY(C<REF(C,1)*1.067,7);
XG3:=(C-REF(C,8))/REF(C,8)*100<=13;
XG7:=V>REF(MA(V,3),1)*1.5;
X2:=V/REF(V,1)>=1.5;
A1 := (EMA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16))/3;
A2 := (EMA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/3;
A3 := (EMA(CLOSE,9)+MA(CLOSE,18)+MA(CLOSE,36))/3;
A4 := (EMA(CLOSE,13)+MA(CLOSE,26)+MA(CLOSE,52))/3;
A5 := (EMA(CLOSE,18)+MA(CLOSE,36)+MA(CLOSE,72))/3;
A6 := (EMA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/3;
XG5:=OPEN<A1 AND OPEN<A2 AND OPEN<A3 AND OPEN<A4 AND OPEN<A5 AND OPEN<A6 AND
CLOSE>A1 AND CLOSE>A2 AND CLOSE>A3 AND CLOSE>A4
AND CLOSE>A5 AND CLOSE>A6;
Mac30:=MA(C,30);
MAC40:=MA(C,40);
MA120:=MA(C,120);
XG14:=C>MAC30 AND C>MAC40 AND C>MA120 AND O<MAC30
AND O<MAC40 AND O<MA120;
MAB20:=MA(C,20);
MAB30:=MA(C,30);
MA76:=MA(C,76);
XG13:=C>MAB20 AND C>MAB30 AND C>MA76 AND O<MAB20
AND O<MAB30 AND O<MA76;
MA5:=MA(C,5);
MA15:=MA(C,15);
MA30:=MA(C,30);
XG:=C>MA5 AND C>MA15 AND C>MA30 AND O<MA5
AND O<MA15 AND O<MA30;
MAA30:=MA(C,30);
MA40:=MA(C,40);
MA60:=MA(C,60);
XG2:=C>MAA30 AND C>MA40 AND C>MA60 AND O<MAA30
AND O<MA40 AND O<MA60;
XG4:=(XG+XG2+XG13+XG14>=2);
XG8:EXIst(XG4,1) AND XG7 AND XG5
AND MA(C,1)>REF(MA(C,10),1)
AND MA(C,1)>REF(MA(C,15),1)
AND MA(C,1)>REF(MA(C,20),1)
AND MA(C,1)>REF(MA(C,30),1)
AND MA(C,1)>REF(MA(C,40),1)AND XG1
AND MA(C,1)>REF(MA(C,90),1)AND XG3
AND XG11 AND X2,LINETHICK2,COLORYELLOW;
通达信大牛饲选股指标公式