通达信量能提示花开花落心版主图 源码

[复制链接]
查看127 | 回复0 | 2021-8-21 07:04:56 | 显示全部楼层 |阅读模式

以下是通达信量能提示花开花落心版主图 源码(无源码的请下载附件导入)

通达信量能提示花开花落心版主图 源码

最近观察量能,感觉对后期趋势判断特别重要。
 基准量:=(MA(VOL,5)+MA(VOL,10))/2;
如果下跌,返回空头量,根据空头量的大小返回"危险量、破坏量、弱压量"
危险量:=基准量*1.5
破坏量:=基准量*1.15
弱压量:=基准量*0.8

如果上涨,返回多头量,根据多头量的大小返回超大量、攻击量、防守量

超大量:=基准量*1.5
攻击量:=基准量*1.15
防守量:=基准量*0.8


添加到主图中,可以方便观察量能的大小。

 

 

 

{量能主图}

 


基准量:=(MA(VOL,5)+MA(VOL,10))/2;
危险量:=基准量*1.5;
破坏量:=基准量*1.15;
弱压量:=基准量*0.8;
超大量:=基准量*1.5;
攻击量:=基准量*1.15;
防守量:=基准量*0.8;
 YL:=C>O OR (C=O AND C>=REF(C,1));
 DL:=C<O OR (C=O AND C<REF(C,1));
 TJ1:=DL AND VOL>=弱压量 AND VOL<破坏量;
TJ2:=DL AND VOL>=破坏量 AND VOL<危险量;
TJ3:=DL AND VOL>=危险量;
TJA:=YL AND VOL>=防守量 AND VOL<攻击量;
TJB:=YL AND VOL>=攻击量 AND VOL<超大量;
TJC:=YL AND VOL>超大量;
DRAWTEXT_FIX(ISLASTBAR AND TJ1,0.01,0.005,0,'弱压量 '),COLORWHITE;
 DRAWTEXT_FIX(ISLASTBAR AND TJ2,0.01,0.005,0,'破坏量 '),COLORCYAN;
 DRAWTEXT_FIX(ISLASTBAR AND TJ3,0.01,0.005,0,' 危险量'),COLORGREEN;
 DRAWTEXT_FIX(ISLASTBAR AND TJA,0.01,0.005,0,' 防守量'),COLORYELLOW;
 DRAWTEXT_FIX(ISLASTBAR AND TJB,0.01,0.005,0,'攻击量'),COLORMAGENTA;
 DRAWTEXT_FIX(ISLASTBAR AND TJC,0.01,0.005,0,' 超大量'),COLORRED;

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则