5日均线>72日均线为股价启动的信号,股价在24日均线上方运行,5日均量线>60日均量线
MACD在0轴上,DIF(白线)必须上穿DEA(黄线)形成金叉。DIF(白线)>DEA(黄线)
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
M5:=MA(C,5);
M24:=MA(C,24);
M72:=MA(C,72);
V5:=MA(VOL,5);
V60:=MA(VOL,60);
xg:CROSS(M5,M72) AND c>M24 AND CROSS(DIF,DEA) AND V5>V60;
{或者
xg:M5>M72 AND c>M24 AND CROSS(DIF,DEA) AND V5>V60;}