九毛八公式指标
请老师帮忙改一个副图指标(macd)在出红箭头的位置写一个选股预警公式。上张图共老师参考。 DIFF :=( EMA(CLOSE,9) - EMA(CLOSE,26))*100; DEA :=EMA(DIFF,12); MACD :=2*(DIFF-DEA); 绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00; 红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED; STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE; STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW; DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1); DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2); 强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2; 强2:IF(DEA
公式模块:
diff:=( ema(close,9) - ema(close,26))*100;
dea:=ema(diff,12); cross(diff,dea);