老牛趋势之选股指标公式

HJ_1:=HIGH>=HHV(HIGH,120);

HJ_2:=HJ_1=1 AND BArslAst(REF(HJ_1=1,1))>=9;

HJ_3:=REF(CLOSE,1);

HJ_4:=IF((CLOSE-HJ_3)*100/HJ_3>=10-0.01*100/HJ_3,1,0);

HJ_5:=REF(HJ_4,1) AND REF(HJ_4,2);

HJ_6:=COUNT(HJ_1,20)>=1;

HJ_7:=MA(CLOSE,5);

HJ_8:=MA(CLOSE,20);

HJ_9:=MA(CLOSE,72);

HJ_10:=MA(CLOSE,144);

HJ_11:=HJ_8>HJ_9 AND HJ_8>=REF(HJ_8,1) AND HJ_9>REF(HJ_9,1);

HJ_12:=MA(CLOSE,3);

HJ_13:=MA(CLOSE,19);

HJ_14:=crOSS(HJ_12,HJ_13);

HJ_15:=SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);

HJ_16:=obv;

HJ_17:=HJ_16>REF(HHV(HJ_16,30),1);

HJ_18:=REF(HJ_8,1)>REF(HJ_8,2) AND REF(HJ_8,2)>REF(HJ_8,3) AND REF(HJ_8,3)>REF(HJ_8,4);

HJ_19:=COUNT(HJ_8>HJ_9,22)>=20;

OUTX:HJ_11 AND LOW<=HJ_8 AND CLOSE>=HJ_8 AND CLOSE>=HJ_7 AND HJ_6;