merhaba,
al için
atrper:=5;
atrfact:=3.5;
loss:=atrfact*ATR(atrper);
trail:= If(C>PREV AND Ref(C,-1)>PREV, Max(PREV,C-loss), If(C<PREV AND Ref(C,-1)<PREV, Min(PREV,C+loss), If(C>PREV,C-loss,C+loss)));
cross(c,Trail)
sat için
atrper:=5;
atrfact:=3.5;
loss:=atrfact*ATR(atrper);
trail:= If(C>PREV AND Ref(C,-1)>PREV, Max(PREV,C-loss), If(C<PREV AND Ref(C,-1)<PREV, Min(PREV,C+loss), If(C>PREV,C-loss,C+loss)));
cross(Trail,c)
kullanabilirsiniz
bilgilerinize