金牛取水之金牛取水选股指标公式

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

macd:=2*(DIFF-DEA);

WW:=DEA>REF(DEA,1);

DD:=crOSS(DIFF,REF(DIFF,1));

TT:=WW AND DD;

MA1:=MA(C,5);

MA2:=MA(C,10);

MA3:=MA(C,20);

MA4:=MA(C,30);

MA5:=MA(C,40);

MA6:=MA(C,60);

P3:=Abs(MA1-MA2)+ABS(MA2-MA5)+ABS(MA1-MA5);

三线粘合:=IF(P3/C<6/100 AND MA1>REF(MA1,1),444,0);

长:=LAst(CLOSE>MA6,30,8) AND LAST(MA1>MA6,20,6) AND LAST(MA2>MA6,20,6);

金牛取水:IF(长 AND C>MA1 AND C>MA2 AND C>MA6 AND 三线粘合

AND MA1>REF(MA1,1) AND vol/REF(MA(VOL,5),1)>1.8

AND DIFF>REF(DIFF,1) AND MacD>-0.1

AND REF(LOW,2)<MA6*1.03 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>2/100

AND C>REF(C,5),444,0);