I have a strategy here running on three Bars objects:
- Daily
- Minute
- another Minute
However, at the beginning of the code, the if (Historical) return; placed right after OnBarUpdate() won't work. Print statements show the strategy operating in historical data, live trading shows the same.
Any ideas what additional setup is needed? Options I selected/ tried include "wait until flat before executing live" / "immediately submit live working hist. orders", no effect.
A tryout strategy with three BarsObjects which are all MINUTE period types works, thus it must be related to the fact that there are both daily and minute BarsObjects being used.
Regards
n.i.n.j.n.a.
Comment