通达信亮针副图指标公式源码

亮针通达信副图指标 

ZFA := ((C / REF(C,1)) - 1) * 100;
ZF : MAX(ZFA,ZFB),NODRAW;
MA2 := MA(CLOSE,10);
MA4 := MA(CLOSE,60);
下针 := ((MIN(O,C) - L) * 100) / L;
DEA := EMA(DIF,9);
DD := BARSLASTCOUNT(MACD > 0);
XD13 := MA(REF(HHV(H,13),1),2);
XD34 := MA(REF(HHV(H,34),1),2);
XD89 := MA(REF(HHV(H,89),1),2);
QQ2 := (COUNT(REF(ZF,1) >= 5,3)) = 0;
QQ4 := ((上针 >= 3) AND (上针 > MIN(ZFA,ZFB))) AND (((ZFB >= 1) AND (ZFA >= 2)) OR ((ZFB >= 2) AND (ZFA >= 1)));
亮剑 : FILTER((((((((((((QQ3 OR QQ4) OR QQ5) AND QQ1) AND QQ2) AND (MA1 > REF(MA1,1))) AND (MA2 > REF(MA2,1))) AND (MA3 > REF(MA3,1))) AND ((COUNT(ZF >= 9,10)) = 0)) AND (C > MA4)) AND (MA2 > MA3)) AND (MA1 > MA2)) AND ((DD >= 6) OR ((BARSLAST(CROSS(DIF,DEA)) <= 4) AND (DIF > 0))),6);