TZB:=-0.2*(VAR60 AND (VAR30 OR VAR40) AND VAR20 20 AND VAR10 20 AND VAR70 AND VAR80);
DHM:=TZB 0 AND REF(TZB,1)=0;
风险值:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)
机会来临:=REF(IF((MA(C,5)-C)/C 0.04 AND (MA(C,10)-MA(C,5))/MA(C,5) 0.04,30,0),1);
HJ_11:=CLOSE/MA(CLOSE,40);
HJ_12:=CLOSE/MA(CLOSE,60)*100
大魔鬼:=CROSS(HJ_11,HJ_12) AND 风险值 AND 机会来临;
红马:DHM OR 大魔鬼;