Code: Select all
I then adjust the values in the SetBreakEven stop and the SetPercentTrailing based on the MFE. I'm thinking that the MFE will only update at the end of the bar with IOG off but I'm not sure that this is correct. If it that is the case, is there another way to reference the price on every tick without IOG enabled so that the stops can be adjusted? The built in trade engine keeps track of every tick so that it can send these orders intrabar therefore I hope there is a way to access them so that the stop values can be changed on each tick.
Thanks