当前位置:首页 > 通达信公式 > 正文

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

2017-09-04网络 编 辑:翔博软件


强弱线
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);

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标