merhaba,
al koşulu için
coeff:=OPT1;
AP:=OPT2;
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,ref(AlphaTrend,-2)) AND STOSK(opt3,opt4,opt5,e)>STOSD(opt3,opt4,opt5,e)
sat koşulu için
coeff:=OPT1;
AP:=OPT2;
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(ref(AlphaTrend,-2),AlphaTrend) AND STOSK(opt3,opt4,opt5,e)<STOSD(opt3,opt4,opt5,e)
kullanabilirsiniz,
bilgilerinize