通达信逆鳞千里眼及选股指标(源码)
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;
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);
}
- 上一篇公式:通达信MACD解盘指标(源码)
- 下一篇公式:通达信量能饱和以及角度主图及选股指标(源码)