通达信看趋势的指标——趋势跟踪
加微信:zb-mart免费验证!
MID:=(HIGH+LOW+OPEN+CLOSE)/4;
MA5:MA(MID,5);
IF(MA5>REF(MA5,1) AND C>SAR(4,2,20),MA5,DRAWNULL),COLORRED,LINETHICK1;
IF(NOT(MA5>REF(MA5,1) AND C>SAR(4,2,20)),MA5,DRAWNULL),COLORCYAN,LINETHICK1;
STICKLINE(MA5>REF(MA5,1) AND C>SAR(4,2,20) AND C<O,C,O,3,0),COLORRED;
STICKLINE(MA5>REF(MA5,1) AND C>SAR(4,2,20) AND C<O,H,L,0,0),COLORRED;
STICKLINE(NOT(MA5>REF(MA5,1) AND C>SAR(4,2,20)) AND C>O,H,L,0,0),COLORCYAN;
STICKLINE(NOT(MA5>REF(MA5,1) AND C>SAR(4,2,20)) AND C>O,C,O,3,1),COLORCYAN;
DRAWTEXT(ISLASTBAR AND MA5>REF(MA5,1) AND C>SAR(4,2,20),MA5,'满仓'),COLORRED;
- 上一篇:短线高手--送给天天看盘,喜欢短线的朋友 2015/4/11
- 下一篇:疯牛能量柱副图 2015/4/11