I’m working on a strategy where I have a fixed 35-tick stop loss and a trailing stop that should only move in favor of the trade as the price moves in profit. My goal is for the trailing stop to never move into negative territory, but to lock in profits as the price moves in favor of the trade.
However, I’ve encountered an issue where the trailing stop is moving back into negative territory, even after the trade has moved in profit. The trailing stop should only move in a positive direction once it’s been set, and should not retrace back to a worse price if the trade starts moving against the position.
I’ve tried modifying the logic to ensure that the trailing stop behaves as expected, but it continues to go negative, which isn’t what I want.
If anyone has had a similar issue or knows how to fix this, I would appreciate any help!
Thank you!

Comment