通达信强弱趋势副图指标源码

 2023-08-06 17:10:20    通达信指标网  


N:=9;
M1:=3;
M2:=3;
95,LINETHICK1,COLORRED;
0,LINETHICK1,COLORRED;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
DPYJ:(K+D)/2,COLORWHITE,LINETHICK2 ;
STICKLINE(DPYJ>95,0,95,2,0),COLORRED;
STICKLINE((DPYJ>94.2 AND DPYJ<95) ,0,95,2,0), COLORYELLOW ;
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD: (EMA(CS,3)-50)*2;
极弱:-80,COLORGREEN;
强势:60;
风险:80,COLORGREEN;
弱势:-60;
YJD,COLORSTICK;
YJF:MA(YJD,5),COLORYELLOW;

-----------------------------

指标二


df:=3;
N1:=12;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,DF,1);
D:=SMA(K,DF,1);
KK:=SMA(RSV,DF,1);
DD:=SMA(K,DF,1);
N:=KK+DD;
关注区:STICKLINE(N<50,N,50,2,0),COLORRED;
风险区:STICKLINE(N>160,N,160,2,0),COLORFFFF00;
成本区:50,COLORYELLOW,LINETHICK2;
GWGD:=N<REF(N,1) AND REF(N,1)>=160 AND REF(N,1)>=REF(N,2);
获利区:160,COLORFFFF00,LINETHICK2;
操盘线:N,COLORFF00FF,LINETHICK2;
买入↑:DRAWICON(CROSS(N,50),50,1),COLORRED;
卖出↓:DRAWICON(CROSS(160,N),160,2),COLORGREEN; 


  •  标签:  

原文链接:https://www.tdxzb.com/?id=1540

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服