DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
红柱:=REF(MacD,4)>0;
三缩短:=REF(EVERY(MACD
再红柱:=MACD>REF(MACD,1) AND MACD>0;
放量上攻:=C>REF(C,1) AND V>REF(V,1);
XG:红柱 AND 三缩短 AND 再红柱 AND 放量上攻;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
红柱:=REF(MacD,4)>0;
三缩短:=REF(EVERY(MACD
再红柱:=MACD>REF(MACD,1) AND MACD>0;
放量上攻:=C>REF(C,1) AND V>REF(V,1);
XG:红柱 AND 三缩短 AND 再红柱 AND 放量上攻;