I am having an issue with this section of my strategy. I am trying to create a trail stop with the ATM strategy.
Basically, when the PNL is negative, the stop loss will move by 1 tick or 2. I work perfectly with the bullish statement, but I cannot replicate that in the bearish case.
In the Berish case, the script keeps trying to stop loss below the Market price. Any feedback?

Comment