通达信MACD抄底指标公式

通达信风险量化组合趋势主图指标公式

_红柱:IF("macd.MacD">REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),

stICK,COLORRED;

绿柱:IF("MACD.MACD"<REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),

STICK,COLORYELLOW;

_抄底:Abs((crOSS("MACD.DIF","MACD.DEA")

&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;

_DIF:"MACD.DIF",COLORWHITE;

_DEA:"MACD.DEA",COLORYELLOW;

__强度:IF(_DIF>_DEA,_DIF,DRAWNULL),COLORRED,LINETHICK2;

_强度:IF(_DEA<_DIF,_DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;

DRAWTEXT(ABS(_抄底)>0,_抄底*1.20,' 抄底'),COLORYELLOW;

DRAWICON(ABS(_抄底)>0,_抄底*1.10,4);

DRAWICON(CROSS(_DIF,_DEA),_DEA,1);

DRAWICON(CROSS(_DEA,_DIF),_DEA,2);

通达信主力、散户指标公式