趋势跟踪投资主图指标 (源码)
2012-01-08 10:15:00来源:本站整理浏览:239
趋势顶线: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,'底');
- 上一篇公式:风险控制指标 (源码)
- 下一篇公式:主力追指标 (源码)