Merhabalar,
Aşağıdaki gibi deneyebilirsiniz,
AL
period:=20;
coeff:=1;
AP:=5;
thisCCI := CCI(period);
lastCCI := Ref(thisCCI,-1);
upT:=L-ATR(AP)*coeff;
downT:=H+ATR(AP)*coeff;
MagicTrend:=If(thisCCI>=0,If(upT<PREV,PREV,upT),If(downT>PREV,PREV,downT));
pd:=144;
K1:=mov(c,pd,e);
TEMA:=3*K1-3*mov(K1,pd,e)+mov(mov(K1,pd,e),pd,e);
CROSS(C,TEMA) AND CROSS(C,MagicTrend)
SAT
period:=20;
coeff:=1;
AP:=5;
thisCCI := CCI(period);
lastCCI := Ref(thisCCI,-1);
upT:=L-ATR(AP)*coeff;
downT:=H+ATR(AP)*coeff;
MagicTrend:=If(thisCCI>=0,If(upT<PREV,PREV,upT),If(downT>PREV,PREV,downT));
pd:=144;
K1:=mov(c,pd,e);
TEMA:=3*K1-3*mov(K1,pd,e)+mov(mov(K1,pd,e),pd,e);
CROSS(TEMA,C) AND CROSS(MagicTrend,C)
İyi Çalışmalar