DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
穿腰:=DIF>0 AND DIF<MACD AND DIF>REF(DIF,1);
穿腰次数:=BARSLASTCOUNT(穿腰);
CP:穿腰次数>=1 AND 穿腰次数<=4 AND TIME>=1430;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
穿腰:=DIF>0 AND DIF<MACD AND DIF>REF(DIF,1);
穿腰次数:=BARSLASTCOUNT(穿腰);
CP:穿腰次数>=1 AND 穿腰次数<=4 AND TIME>=1430;