|
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
停牌:=(DYNAINFO(4)=0);
去除:=NOT(停牌);
AA:=HHV(V,7)=HHV(REF(V,3),30) AND HHV(REF(V,1),30)/LLV(REF(V,1),30)>4;
BB:=LLV(V,5)<HHV(V,7)*0.6 AND LLV(V,5)>HHV(V,7)*0.3;
CC:=LLV(L,3)>LLV(L,5);
DD:=AA AND BB AND CC AND 去除;
EE:=REF(MACD,1)<REF(MACD,2) AND MACD>REF(MACD,1);
FF:=DD AND EE;
FF; |
|