编写要求:
请老师做一个盘中预警,要求 1 MACD红柱大于0 2 24日均线角度大于50.
公式在线网解答:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
K5:=EMA(C,24),COLOR336600;
均线角度:=ATAN((K5/REF(K5,1)-1)*100)*57.3;
MA(VOL,5)>MA(VOL,60) AND (C-REF(C,1))/REF(C,1)*100>5
AND 均线角度>50 AND
DIF>DEA AND DEA>0;