Please help me everyone, I want to change the order exit period according to ATR.
-

"I am not sure if what I am doing is correct, because I have to test run it and it does not work."
-
Could you please share the link to your project instead? That will make the review easier.
-
Now I can do it and now I have a new idea which I tried my best but couldn't do. I am trying to do a snowball where when there are more than 4 sell orders, I want to make the SL line of the 2nd order at the open price of the 3rd order and if there is a 5th order, I want the SL of the 3rd one to be set at the open price of the 4th order.
-
But what if price at this moment is at a place where one or more of those moves is not possible. I mean when are those SL moves supposed to happen exactly? When a 4th trade is opened? Later?