OUT:REF(CLOSE,2)/REF(CLOSE,3)>=1.099 AND REF(CLOSE,2)=REF(HIGH,2) AND REF(HIGH,1)/REF(CLOSE,2)>=1.099 AND REF(CLOSE,1)<REF(HIGH,1) AND REF(VOL,1)>REF(VOL,2) AND CLOSE/REF(CLOSE,1)>=1.02;
SHORT:=12;
LONG:=26;
MID:=9;
DIF1:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA1:=EMA(DIF1,MID);
MACD1:=(DIF1-DEA1)*2;
DIF:=DIF1,COLORGREEN;
DEA:=DEA1,COLORWHITE;
DIF升:=IF(DIF>=REF(DIF,1),DIF,DRAWNULL),COLORRED;
DEA升:=IF(DEA>=REF(DEA,1),DEA,DRAWNULL),COLORFF00FF;
MACD:=MACD1;
{跳空高开}
高开:=L>REF(H,1)AND C>O;
CC1:=IF(BARSLAST(CROSS(DIF升,DIF))>=2 AND( DEA>0) AND CROSS(MACD,DEA) AND DEA>REF(DEA,1) AND MACD>=REF(MACD,1) ,1,0);
猎豹出击:高开 AND MACD>DIF AND DEA>0 AND DIF>0,COLORLIMAGENTA,LINETHICK2;