I'm making some simple error but I don't know what it is.
When 'Applystop' (percent profit) is triggered, it sells at the high of that bar. sell = false.
I am using 'SetStopPrecedence' with 'stoptypeprofit' as the number one priority, but even if I remove other stops such as nbar, it still happens.
Any clues what it might be please?