Merhabalar,
Aşağıdaki gibi deneyebilirsiniz,
AL
periods:=OPT1;
periods2:=OPT2;
periods3:=OPT3;
Pds:=Periods+1;
FastSC:=2/(periods2+1);
SlowSC:=2/(periods3+1);
{Kaufman Adaptive Moving Average}
Direction:=Abs(C-Ref(C,-periods));
Volatility:=Sum(Abs(C-REF(C,-1)),periods);
ER:=Direction/Volatility;
SSC:=ER*(FastSC-SlowSC)+SlowSC;
Constant:= POWER(SSC,2);
KAMA:=If(Cum(1) = Pds,Ref(C,-1)+Constant*(C-Ref(C,-1)),PREV+Constant*(C-PREV));
CROSS(C,KAMA)
SAT
periods:=OPT1;
periods2:=OPT2;
periods3:=OPT3;
Pds:=Periods+1;
FastSC:=2/(periods2+1);
SlowSC:=2/(periods3+1);
{Kaufman Adaptive Moving Average}
Direction:=Abs(C-Ref(C,-periods));
Volatility:=Sum(Abs(C-REF(C,-1)),periods);
ER:=Direction/Volatility;
SSC:=ER*(FastSC-SlowSC)+SlowSC;
Constant:= POWER(SSC,2);
KAMA:=If(Cum(1) = Pds,Ref(C,-1)+Constant*(C-Ref(C,-1)),PREV+Constant*(C-PREV));
CROSS(KAMA,C)
opt1 -> 5-15 adım 1
opt2->1-5 adım 1
opt3->20-40 adım 1
İyi Çalışmalar