同花顺铁锅炒股副图指标
源码
N:=16;M1:=9;M2:=3;
RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
a=SMA(RSV,M1,1);
b=SMA(a,M2,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;
J:e;
STICKLINE(J>0 AND J-K>=0,99,100,8,0),colorred,linethick2;
STICKLINE(J>0 AND J-K<0,99,100,8,0),COLOR00FF00,linethick2;
STICKLINE(J>0 AND J-K>=0,09,10,8,0),colorred,linethick2;
STICKLINE(J>0 AND J-K<0,09,10,8,0),COLOR00FF00,linethick2;
MAKJ:=(K+J)/2;
XA:IF (J>=K,J,MAKJ),colorred,linethick2;
XB:IF (J>=K,K,MAKJ),colorred,linethick2;
XC:IF (J<=K,J,MAKJ),Color00ff00,linethick2;
XD:IF (J<=K,K,MAKJ),Color00ff00,linethick2;
XX:MAKJ,colorwhite,linethick2;
f:=90;
g:=10;