通达信纪律135均线主图指标公式
通达信线的角度主图指标公式
DRAWKLINE(H,O,L,C);
箱顶:PEAK(CLOSE,5,1),LINETHICK1,COLORGREEN;
箱底:TROUGH(CLOSE,5,1),LINETHICK1,COLORRED;
M5:MA(CLOSE,5),COLORWHITE;
M13:MA(CLOSE,13),COLORYELLOW;
M34:MA(CLOSE,34),COLORMAGENTA;
M55:MA(CLOSE,55),COLORGREEN;
M120:MA(CLOSE,120),COLORBLUE;
DRAWTEXT(C>REF(C,1) AND crOSS(MA(C,13),MA(C,55)),H*1.04,'侠'),COLORYELLOW;
DRAWTEXT( C<REF(C,1) AND CROSS(MA(C,13),MA(C,55)),H*1.04,'黑'),COLORYELLOW;
DRAWTEXT(REF(C,1)=箱顶 AND C<箱顶,H*1.07,'S'),COLORGREEN;
DRAWTEXT(REF(C,1)=箱底 AND C>箱底,L*0.98,'B'),COLORYELLOW;
DRAWTEXT(CROSS(expma(CLOSE,12),EXPMA(CLOSE,50)),EXPMA(CLOSE,12),'长M'),COLORRED;
DRAWTEXT(CROSS(EXPMA(CLOSE,50),EXPMA(CLOSE,12)),EXPMA(CLOSE,12),'长M'),COLORGREEN;
{www.gUPang.com 指标网_最新股票指标公式}
DRAWTEXT( MA(C,55)>REF(MA(C,55),1) AND REF(MA(C,55),1)<REF(MA(C,55),2),MA(C,55)-0.05,''),COLORRED;
DRAWTEXT(REF(C,1)<=箱顶 AND 箱顶<C,H*1.12,'追'),COLORYELLOW;
DRAWTEXT(REF(C,1)>=箱底 AND 箱底>C,L*0.98,'清'),COLORGREEN;
DRAWTEXT(CROSS(MA(C,5),MA(C,120)),H*1.15,'KZ'),COLORYELLOW;
通达信底部反转预警指标公式