//这是一个老指标,但很好用,许多老朋友都有,一些新来www.88gs.com的朋友索要.再发一次
本公式测试没未来函数
{红箭头买入}
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K0:=SMA(RSV,3,1);
K:=K0;D:=SMA(K0,2,1);
j1:(3*k0-2*d),coloryellow;j2:MA(j1,2),colorRED;
MAV:=(2*C+H+L)/4;
Var1:=LLV(LOW,21);
Var2:=HHV(HIGH,21);
SK: EMA((MAV-Var1)/(Var2-Var1)*100,8),COLORwhite;
SD: EMA(0.667*REF(SK,1)+0.333*SK,1),colorCYAN;
sj:=3*sk-2*sd;
50,POINTDOT,colorred;
70,POINTDOT,colorred;
90,color00aa00;
www:sj<20,color00aa00;
W:if(WWW,0,20),COLOR00aa00,linethick2;
DRAWICON(W=0,3,4);