通达信重上五线指标公式
2013-07-31 09:18:00来源:本站整理浏览:1076
HJX:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));
M20:=MA(HJX,20);
DRAWBAND(M20,RGB(0,0,0),HJX,120);
MA5:MA(HJX,5),COLORMAGENTA;
MA3:MA(HJX,3),COLORBROWN;
DRAWTEXT(CROSS(C,HJX) AND CROSS(C,MA5) AND CROSS(C,M20),L,'重上五线'),COLORYELLOW;
黄金线:IF(HJX>=MA5 AND HJX>REF(HJX,1),HJX,DRAWNULL),LINETHICK3,COLORYELLOW;
MA10:MA(HJX,10),COLORGREEN;
STICKLINE(C>=REF(C,1) AND C>HJX,H,L,0,0),COLORRED;
STICKLINE(C>=REF(C,1) AND C>HJX,C,O,3,1),COLORRED;
STICKLINE(C<REF(C,1) AND C>HJX,H,L,0,0),COLORCYAN;
STICKLINE(C<REF(C,1) AND C>HJX,C,O,3,0),COLORCYAN;
- 上一篇公式:通达信二色主图指标公式
- 下一篇公式:通达信四色谷峰主图指标公式