同花顺百万KDJ副图指标
源码
RSV=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
a=SMA(RSV,5,1);
b=SMA(a,3,1);
e=3*a-2*b;
IF(a 0) a=0;
IF(a 100) a=100;
IF(b 0) b=0;
IF(b 100) b=100;
IF(e 0) e=0;
IF(e 100) e=100;
K:a;
D:b;
J:e;
同花顺百万KDJ副图指标
源码
RSV=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
a=SMA(RSV,5,1);
b=SMA(a,3,1);
e=3*a-2*b;
IF(a 0) a=0;
IF(a 100) a=100;
IF(b 0) b=0;
IF(b 100) b=100;
IF(e 0) e=0;
IF(e 100) e=100;
K:a;
D:b;
J:e;