I have a strategy (based on 1 hour Chart), that enters an MIT order once certain conditions are met. The MIT limit is an EMA.
It is very well possible, that all conditions are met as of e.g. 10 am, however the EMA is only touched e.g. 6 hours later, hence the EMA changed from when conditions were met for the first time, until conditions are still met AND the current EMA/Limit is touched.
The strategy is supposed to change the MIT limit every hour (actually I set calculate "on each tick"), when a new EMA is "available". This works very well in the backtest.
Going live though, the strategy does not adjust the MIT limit over time to new EMA values.
I created the strategy with the strategy builder, calculate on each tick. The set that defines the entry is quite simple: If all: condition a, b, c --> Action: EnterlongMIT(Defaultquantity,(EMA(xyz)[0]);
Any idea why the strategy does not update the MIT limit, or enter a new MIT limit on bar close?
Also, in case conditions a, b or c are not met anymore, then of course I don't want the EnterlongMIT limit anymore.
Hence, what I want is a completely new check of conditions on every new bar, and a reset of the MIT limit (and a cancellation of the former limit)
Thanks a lot for your thoughts!
Comment