通达信趋势跟踪投资主图指标公式

通达信短买23个买点集合主图指标公式

趋势顶线:SMA(AMOUNT/vol/100,13,1)*1.15,COLORYELLOW,LINETHICK2;

趋势底线:SMA(AMOUNT/VOL/100,21,1)*0.85,COLORGREEN,LINETHICK2;

持股成本:DMA(AMOUNT/V/100,V/CAPITAL),COLORRED;

DRAWICON(crOSS(C,持股成本),L-0.20,4);

DRAWTEXT(CROSS(C,持股成本),LOW*0.980,'追');

DRAWICON(CROSS(C,趋势底线) AND O>REF(C,1),L-0.20,1);

DRAWTEXT(CROSS(C,趋势底线) AND O>REF(C,1),LOW*0.980,'买');

DRAWICON(CROSS(C,趋势底线) AND O<REF(C,1),L-0.20,3);

DRAWTEXT(CROSS(C,趋势底线) AND O<REF(C,1),LOW*0.980,'底');

通达信风险刻度指标公式