请大哥大姐们帮我编个通达信MACD零轴下二次金叉选股公式,且,第二次金叉点位明显高于第一次金叉点位

2024-11-09 02:03:58
推荐回答(1个)
回答1:

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底散纳迅背离选股冲此茄返:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);