Merhabalar,
Aşağıdaki şekilde deneyebilirsiniz,
AL
coeff:=1;
AP:=14;
momentum:=1;
mom:=if(momentum=1,MFI(AP),RSI(AP));
upT:=L-ATR(AP)*coeff;
downT:=H+ATR(AP)*coeff;
AlphaTrend:=If(mom>=50,If(upT<PREV,PREV,upT),If(downT>PREV,PREV,downT));
cross(C,AlphaTrend)
SAT
coeff:=1;
AP:=14;
momentum:=1;
mom:=if(momentum=1,MFI(AP),RSI(AP));
upT:=L-ATR(AP)*coeff;
downT:=H+ATR(AP)*coeff;
AlphaTrend:=If(mom>=50,If(upT<PREV,PREV,upT),If(downT>PREV,PREV,downT));
cross(AlphaTrend,C)
İyi Çalışmalar