您当前的位置:股票 > 财经资讯 > 财经频道

通达信短中长形态值指标公式,通达信顺势擒龙指标公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

通达信短中长形态值指标公式,通达信顺势擒龙指标公式

通达信短中长形态值指标公式

{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;

通达信顺势擒龙指标公式

AAA:=(3*C+H+L+O)/6;

VAR1:=Wma(AAA,8);

VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;

VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;

VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;

VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

龙线:VAR1,COLORRED;

渊线:VAR6,COLORYELLOW;

龙跃于渊:IFF(龙线>渊线,龙线,DRAWNULL),NODRAW,COLORRED;

潜龙勿用:IFF(VAR1==VAR6,VAR6,DRAWNULL),COLORGREEN;

MA20:=ema(CLOSE,20);

MA40:=EMA(CLOSE,40);

MA60:=EMA(C,60);

AA:=BArslAst(MA40>MA60 AND (MA20==MA40 OR MA20>MA40));

BB:=REF(COUNT(C

CC:=crOSS(C,MA60) ANDvol>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;

顺势擒龙:IFF((BB AND CC),龙线,0),NODRAW,COLORYELLOW;

上线:=MAX(CLOSE,OPEN);

下线:=MIN(CLOSE,OPEN);

STICKLINE(顺势擒龙,H,L,0,0),COLORYELLOW;

STICKLINE(顺势擒龙,上线,下线,1,0),COLOR00FFFF;

STICKLINE(顺势擒龙,上线-0.10*Abs(上线-下线),下线+0.10*ABS(上线-下线),1,0),COLOR00ddfF;

STICKLINE(顺势擒龙,上线-0.15*ABS(上线-下线),下线+0.15*ABS(上线-下线),1,0),COLOR00BBFF;

STICKLINE(顺势擒龙,上线-0.20*ABS(上线-下线),下线+0.20*ABS(上线-下线),1,0),COLOR0099FF;

STICKLINE(顺势擒龙,上线-0.25*ABS(上线-下线),下线+0.25*ABS(上线-下线),1,0),COLOR0077FF;

STICKLINE(顺势擒龙,上线-0.30*ABS(上线-下线),下线+0.30*ABS(上线-下线),1,0),COLOR0055FF;

STICKLINE(顺势擒龙,上线-0.35*ABS(上线-下线),下线+0.35*ABS(上线-下线),1,0),COLOR0033FF;

STICKLINE(顺势擒龙,上线-0.40*ABS(上线-下线),下线+0.40*ABS(上线-下线),1,0),COLOR0022FF;

STICKLINE(顺势擒龙,上线-0.45*ABS(上线-下线),下线+0.45*ABS(上线-下线),1,0),COLOR0000FF;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:通达信短中长形态值指标公式,通达信顺势擒龙指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信短中长形态值指标公式,通达信顺势擒龙指标公式

admin888

|

通达信短中长形态值指标公式,通达信顺势擒龙指标公式

通达信短中长形态值指标公式

{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;

通达信顺势擒龙指标公式

AAA:=(3*C+H+L+O)/6;

VAR1:=Wma(AAA,8);

VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;

VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;

VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;

VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

龙线:VAR1,COLORRED;

渊线:VAR6,COLORYELLOW;

龙跃于渊:IFF(龙线>渊线,龙线,DRAWNULL),NODRAW,COLORRED;

潜龙勿用:IFF(VAR1==VAR6,VAR6,DRAWNULL),COLORGREEN;

MA20:=ema(CLOSE,20);

MA40:=EMA(CLOSE,40);

MA60:=EMA(C,60);

AA:=BArslAst(MA40>MA60 AND (MA20==MA40 OR MA20>MA40));

BB:=REF(COUNT(C

CC:=crOSS(C,MA60) ANDvol>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;

顺势擒龙:IFF((BB AND CC),龙线,0),NODRAW,COLORYELLOW;

上线:=MAX(CLOSE,OPEN);

下线:=MIN(CLOSE,OPEN);

STICKLINE(顺势擒龙,H,L,0,0),COLORYELLOW;

STICKLINE(顺势擒龙,上线,下线,1,0),COLOR00FFFF;

STICKLINE(顺势擒龙,上线-0.10*Abs(上线-下线),下线+0.10*ABS(上线-下线),1,0),COLOR00ddfF;

STICKLINE(顺势擒龙,上线-0.15*ABS(上线-下线),下线+0.15*ABS(上线-下线),1,0),COLOR00BBFF;

STICKLINE(顺势擒龙,上线-0.20*ABS(上线-下线),下线+0.20*ABS(上线-下线),1,0),COLOR0099FF;

STICKLINE(顺势擒龙,上线-0.25*ABS(上线-下线),下线+0.25*ABS(上线-下线),1,0),COLOR0077FF;

STICKLINE(顺势擒龙,上线-0.30*ABS(上线-下线),下线+0.30*ABS(上线-下线),1,0),COLOR0055FF;

STICKLINE(顺势擒龙,上线-0.35*ABS(上线-下线),下线+0.35*ABS(上线-下线),1,0),COLOR0033FF;

STICKLINE(顺势擒龙,上线-0.40*ABS(上线-下线),下线+0.40*ABS(上线-下线),1,0),COLOR0022FF;

STICKLINE(顺势擒龙,上线-0.45*ABS(上线-下线),下线+0.45*ABS(上线-下线),1,0),COLOR0000FF;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道