I have a bool that turns to false after price goes 10 ticks above my average position price. I print this on the Output window and see that it does for sure go to false. I then have a set where if that bool is false then it will exitlongstopmarket at the averagepositionprice+1. However, when price gets there nothing happens. I reference the entry name and everything but its like nothing is even there and price just goes right under where that order should be.
Also, am I supposed to see an order placed when price goes above 10 ticks? Because I don't. Nohting is there.
Comment