I'm having trouble solving this problem. I've tested this code using an automated entry and it works great. However, I enter trades manually during live trading but I'd like to automate my exits.
When trading live this strategy doesn't display the trailing stop order and viewing the 'Order and Position Tracker' Window the strategy tab says I have 0 positions.
If possible I'd like to enter a position and turn this strategy on when I'm ready to have it automate my trailing stop.