Merhabalar,
Aşağıdaki formül çok yakın sonuçlar verecektir bir inceleyiniz,
PK:=input("KPeriod",1,500,3);
PD:=input("DPeriod",1,500,3);
RPD:=input("RSI Period",1,500,14);
SPD:=input("Stochastic Period",1,500,14);
SRSI:=(RSI(C,RPD)-LLV(RSI(C,RPD),SPD))/(HHV(RSI(C,RPD),SPD)-LLV(RSI(C,RPD),SPD))*100;
K:=MOV(SRSI,PK,S);
D:=MOV(K,PD,S);
K; D
AL
PK:=3;
PD:=3;
RPD:=14;
SPD:=14;
SRSI:=(RSI(C,RPD)-LLV(RSI(C,RPD),SPD))/(HHV(RSI(C,RPD),SPD)-LLV(RSI(C,RPD),SPD))*100;
K:=MOV(SRSI,PK,S);
D:=MOV(K,PD,S);
CROSS(K,D)
SAT
PK:=3;
PD:=3;
RPD:=14;
SPD:=14;
SRSI:=(RSI(C,RPD)-LLV(RSI(C,RPD),SPD))/(HHV(RSI(C,RPD),SPD)-LLV(RSI(C,RPD),SPD))*100;
K:=MOV(SRSI,PK,S);
D:=MOV(K,PD,S);
CROSS(D,K)