最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信短中长形态值指标公式

    正文概述    2024-04-13 15:06:56  

    { k线形态长中短 }
    长期形态值:SHAPE_LONG ,COLORFF00FF,NODRAW;
    中期形态值:SHAPE_MID ,COLORFFFFFF,NODRAW;
    短期形态值:SHAPE_SHORT,COLOR00FFFF,NODRAW;
    { K线 长期,中期,短期形态及序号 }
    DRAWTEXT(CURRBARSCOUNT=100,15.0,' K线 长期,中期,短期形态及序号值 '),COLORFFFFFF;
    DRAWTEXT(CURRBARSCOUNT=110,13.0, ' 14 . 序号值=14 ; NA不确定 '),COLORAAAAAA;
    DRAWTEXT(CURRBARSCOUNT=110,11.0, ' 13 . 序号值=13 ; 降后 横盘 '),COLOR009900;
    DRAWTEXT(CURRBARSCOUNT=110,9.0 , ' 12 . 序号值=12 ; 升后 横盘 '),COLOR000099;
    DRAWTEXT(CURRBARSCOUNT=110,7.0 , ' 11 . 序号值=11 ; 降后 短回 '),COLOR00BB00;
    DRAWTEXT(CURRBARSCOUNT=110,5.0 , ' 10 . 序号值=10 ; 升后 短回 '),COLOR0000BB;
    DRAWTEXT(CURRBARSCOUNT=110,3.0 , ' 9 . 序号值=9 ; 下 降 '),COLOR00FF00;
    DRAWTEXT(CURRBARSCOUNT=110,1.0 , ' 8 . 序号值=8 ; 上 升 '),COLOR0000FF;
    DRAWTEXT(CURRBARSCOUNT=80,13.0 , ' 7 . 序号值=7 ; 横盘后降 '),COLOR009900;
    DRAWTEXT(CURRBARSCOUNT=80,11.0 , ' 6 . 序号值=6 ; 横盘后升 '),COLOR000099;
    DRAWTEXT(CURRBARSCOUNT=80,9.0 , ' 5 . 序号值=5 ; 横 盘 '),COLORFFFFFF;
    DRAWTEXT(CURRBARSCOUNT=80,7.0 , ' 4 . 序号值=4 ; M 形 态 '),COLORAAAA00;
    DRAWTEXT(CURRBARSCOUNT=80,5.0 , ' 3 . 序号值=3 ; W 形 态 '),COLORAA00AA;
    DRAWTEXT(CURRBARSCOUNT=80,3.0 , ' 2 . 序号值=2 ; ∨ 形 态 '),COLORFF00FF;
    DRAWTEXT(CURRBARSCOUNT=80,1.0 , ' 1 . 序号值=1 ; ∧ 形 态 '),COLORFFFF00;
    { 短期形态时间段 周期数 }
    STICKLINE(CURRBARSCOUNT=30,21,19,250,1),COLOR00AAAA;
    DRAWTEXT(CURRBARSCOUNT=59,20,'K线短期形态 -- 周期数 : 60'),COLOR00FFFF;
    { 短期形态 标示 }
    DRAWTEXT(CURRBARSCOUNT=9 AND 短期形态值=14,20,'14. NA不确定 '),COLORAAAAAA;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=14,18,14,2,0),COLORAAAAAA;
    DRAWTEXT(CURRBARSCOUNT=9 AND 短期形态值=13,20,'13. 降后 横盘 '),COLOR009900;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=13,18,14,2,0),COLOR009900;
    DRAWTEXT(CURRBARSCOUNT=9 AND 短期形态值=12,20,'12. 升后横盘 '),COLOR000099;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=12,18,14,2,0),COLOR000099;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=11,20,'11. 降后 短回 '),COLOR00BB00;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=11,18,14,2,0),COLOR00BB00;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=10,20,'10. 升后短回 '),COLOR0000BB;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=10,18,14,2,0),COLOR0000BB;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=9,20,'9. 下 降 '),COLOR00FF00;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=9,18,14,2,0),COLOR00FF00;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=8,20,' 8. 上 升 '),COLOR0000FF;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=8,18,14,2,0),COLOR0000FF;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=7,20,' 7. 横盘后降 '),COLOR009900;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=7,18,14,2,0),COLOR009900;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=6,20,' 6. 横盘后升 '),COLOR000099;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=6,18,14,2,0),COLOR000099;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=5,20,' 5. 横 盘 '),COLORFFFFFF;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=5,18,14,2,0),COLORFFFFFF;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=4,20,' 4. M 形 态 '),COLORAAAA00;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=4,18,14,2,0),COLORAAAA00;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=3,20,' 3. W 形态 '),COLORAA00AA;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=3,18,14,2,0),COLORAA00AA;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=2,20,' 2. ∨ 形 态 '),COLORFF00FF;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=2,18,14,2,0),COLORFF00FF;
    DRAWTEXT(CURRBARSCOUNT=7 AND 短期形态值=1,20,' 1. ∧ 形 态 '),COLORFFFF00;
    STICKLINE(CURRBARSCOUNT=5 AND 短期形态值=1,18,14,2,0),COLORFFFF00;
    { 中期形态时间段 周期数 }
    STICKLINE(CURRBARSCOUNT=60,24,22,500,1),COLORAAAAAA;
    DRAWTEXT(CURRBARSCOUNT=119,23,'K线中期形态 -- 周期数 : 120'),COLORFFFFFF;
    { 中期形态 标示 }
    DRAWTEXT(CURRBARSCOUNT=14 AND 中期形态值=14,23,' 14. NA不确定 '),COLORAAAAAA;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=14,18,14,2,0),COLORAAAAAA;
    DRAWTEXT(CURRBARSCOUNT=14 AND 中期形态值=13,23,' 13. 降后 横盘 '),COLOR009900;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=13,18,14,2,0),COLOR009900;
    DRAWTEXT(CURRBARSCOUNT=14 AND 中期形态值=12,23,' 12. 升后 横盘 '),COLOR000099;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=12,18,14,2,0),COLOR000099;
    DRAWTEXT(CURRBARSCOUNT=14 AND 中期形态值=11,23,' 11. 降后 短回 '),COLOR00BB00;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=11,18,14,2,0),COLOR00BB00;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=10,23,' 10. 升后短回 '),COLOR0000BB;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=10,18,14,2,0),COLOR0000BB;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=9,23,' 9. 下 降 '),COLOR00FF00;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=9,18,14,2,0),COLOR00FF00;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=8,23,' 8. 上 升 '),COLOR0000FF;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=8,18,14,2,0),COLOR0000FF;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=7,23,' 7. 横盘后降 '),COLOR009900;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=7,18,14,2,0),COLOR009900;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=6,23,' 6. 横盘后升 '),COLOR000099;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=6,18,14,2,0),COLOR000099;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=5,23,' 5. 横 盘 '),COLORFFFFFF;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=5,18,14,2,0),COLORFFFFFF;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=4,23,' 5. M 形 态 '),COLORAAAA00;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=4,18,14,2,0),COLORAAAA00;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=3,23,' 3. W 形态 '),COLORAA00AA;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=3,18,14,2,0),COLORAA00AA;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=2,23,' 2. ∨ 形 态 '),COLORFF00FF;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=2,18,14,2,0),COLORFF00FF;
    DRAWTEXT(CURRBARSCOUNT=13 AND 中期形态值=1,23,' 1. ∧ 形 态 '),COLORFFFF00;
    STICKLINE(CURRBARSCOUNT=10 AND 中期形态值=1,18,14,2,0),COLORFFFF00;
    { 长期形态时间段 周期数 }
    STICKLINE(CURRBARSCOUNT=150,27,25,3928,1),COLORAA00AA;
    DRAWTEXT(CURRBARSCOUNT=150,26,'K线长期形态 -- 周期数 : 240 -- 500'),COLORAA00AA;
    DRAWTEXT(CURRBARSCOUNT=20 AND 长期形态值=12,25.5,' 12. 升后 横盘 '),COLOR000099;
    STICKLINE(CURRBARSCOUNT=17 AND 长期形态值=12,18,14,2,0),COLOR000099;
    DRAWTEXT(CURRBARSCOUNT=20 AND 长期形态值=1,23,' 1. ∧ 形 态 '),COLORFFFF00;
    STICKLINE(CURRBARSCOUNT=17 AND 长期形态值=1,18,14,2,0),COLORFFFF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信短中长形态值指标公式 加入收藏