通達信紀律135均線主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 均線
- 畫線方法: 主圖
- 日期:2024-02-02 來源:互聯(lián)網(wǎng)
通達信紀律135均線主圖指標公式:包含未來函數(shù):PEAK,TROUGH
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;
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;
通達信紀律135均線主圖指標公式實例圖解:
通達信紀律135均線主圖指標公式