通达信简单买卖主图公式
angel:=ema(c,2);
devil:=ema(slope(c,21)*20+c,42);
buy:=cross(angel,devil);
sel:=cross(devil,angel);
drawtext(buy,low,'买'),colorf00ff0;
drawtext(sel,high,'卖'),colorwhite;
通达信简单买卖主图公式
angel:=ema(c,2);
devil:=ema(slope(c,21)*20+c,42);
buy:=cross(angel,devil);
sel:=cross(devil,angel);
drawtext(buy,low,'买'),colorf00ff0;
drawtext(sel,high,'卖'),colorwhite;