通达信逆鳞千里眼副图公式源码

[复制链接]
查看172 | 回复0 | 2022-7-24 05:58:27 | 显示全部楼层 |阅读模式

通达信逆鳞千里眼副图公式源码

 

RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K:SMA(RSV,3,1) ,COLORWHITE ;{白色} D:SMA(K,3,1) ,COLORYELLOW ;{黄色} J:3*K-2*D ,COLORFF00FF ;{粉红} JJ:J-K,COLORSTICK;{JJ要红色,J-K>0,红柱, J-K<0兰柱}
VAR6:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);
VAR7:=8;
准备: IF(VAR6<=8,30,0),STICK,COLORWHITE,LINETHICK2;
买入: IF(CROSS(VAR6,VAR7),80,0),STICK,COLORGREEN,LINETHICK2;;

 


选股公式

RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
 K:=SMA(RSV,3,1) ;{白色} D:=SMA(K,3,1)  ;{黄色} J:=3*K-2*D  ;{粉红} JJ:=J-K;{JJ要红色,J-K>0,红柱, J-K<0兰柱}
VAR6:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);
VAR7:=8;

买入: IF(CROSS(VAR6,VAR7),80,0);

 

622211421.png

622211421.png

622299507.png

622299507.png

622399329.png

622399329.png

回复

使用道具 举报

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

本版积分规则