通达信赚钱指标《强弱线〉指标公式

[复制链接]
查看101 | 回复0 | 2021-8-20 03:47:56 | 显示全部楼层 |阅读模式

以下是通达信赚钱指标《强弱线〉指标公式(无源码的请下载附件导入)

强弱线
n=36 n1=64 n2=24

VAR1:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
 VAR2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
 VAR3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
买入:EMA(IF(VAR2<MA(VAR3,N),MA(VAR3,N),VAR2),5),COLORRED;
卖出:EMA(IF(VAR1>MA(VAR3,N),MA(VAR3,N),VAR1),5),COLORGREEN;
强弱线:MA(VAR3,N),COLORYELLOW ,LINETHICK1;
 STICKLINE(买入>强弱线,买入,强弱线,0,0),COLORRED;
 STICKLINE(卖出<强弱线,卖出,强弱线,0,0), COLOR00FF00;

VAR4:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*80;
 B: SMA(VAR4,7,1),COLORRED;
 UU:IF(B>VAR4,B,VAR4),COLORCYAN ;
 VAR5:=SMA(B,5,1);
 E: IF(CROSS(B,VAR5) AND B<20,VAR5*2,VAR5),COLORRED;
 GG:=IF(E>VAR4,E,VAR4),COLOR00FF00;
 STICKLINE(B>VAR5,B,E,0,0),COLORMAGENTA;
 STICKLINE(B<VAR5,B,VAR5,0,0),COLORLIBLUE;
 DRAWICON(IF(B>VAR4,B,VAR4),B,1);

70244611.png

70244611.png

回复

使用道具 举报

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

本版积分规则