P1:=5;P2:=4;
Var1:=LLV(LOW,P1);
Var2:=HHV(HIGH,P1);
K: EMA((CLOSE-Var1)/(Var2-Var1)*100,P2),colorred,LINETHICK2;
{- }
D: EMA(0.667*REF(K,1)+0.333*K,2),colorWhite,LINETHICK2;
超卖:20,DOTLINE;
超买:80,DOTLINE;
P1:=5;P2:=4;
Var1:=LLV(LOW,P1);
Var2:=HHV(HIGH,P1);
K: EMA((CLOSE-Var1)/(Var2-Var1)*100,P2),colorred,LINETHICK2;
{- }
D: EMA(0.667*REF(K,1)+0.333*K,2),colorWhite,LINETHICK2;
超卖:20,DOTLINE;
超买:80,DOTLINE;