VAR1:=3*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1);
VAR2:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2) AND 30,REF(VAR1,1);{公众号:股市客栈}
VAR3:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR5:=IF(SMA(SMA(VAR4,3,1),3,1)+100-(SMA(VAR3,9,1)+100)>45,SMA(SMA(VAR4,3,1),3,1)+100-(SMA(VAR3,9,1)+100)-45,0);
VAR6:=VAR5>REF(VAR5,1) AND REF(VAR5,1)<REF(VAR5,2);
VAR7:=crOSS(Abs(WINNER(CLOSE)-WINNER(OPEN))*100,30);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
VAR8:=MACD>0;
VAR9:=REF(CLOSE,1)/REF(CLOSE,2)>=1.095;
VAR10:=OPEN>REF(CLOSE,1) AND CLOSE>OPEN;
VAR11:=HIGH>CLOSE AND OPEN>LOW AND LOW>=REF(CLOSE,1);
VAR12:=vol>REF(VOL,1);
VAR13:=VAR9 AND VAR10 AND VAR11 AND VAR12;
二次启动黑马:VAR2 AND VAR8 AND VAR7 AND VAR6;