When I print out the stop loss values, they are CORRECT, which is what makes this weird. Both for tick amount and when I use calculation mode price. Also, in market replay IT WORKS. The orders are correct in market replay and targets / stop loss are placed correctly.
For some reason in normal simulation the order is wrong, I have attached a screenshot of where I execute my trade in my code. I know the actual numbers are valid because I send myself a text message with the target and stoploss but it never actually uses those. Any help would be appreciated

Comment