I need to verify what I am seeing in backtesting/historical market replay and it's limits on COBC.
I have a strategy that uses a modified swing indicator with a strength, say, set to 5. I am also using another indicator which calculates only on the current bar.
If my conditions are true for my modified swing AND my other indicator, I am testing EnterLong/EnterShort.
What I'm seeing on the chart is that the order isn't placed until 2 bars after the last bar of the modified swing. So if swing had strength=5, then the order is placed on bar (7). This is true regardless of value of COBC.
So far I've found this to be expected in Backtesting/Market Replay and that only live will allow for intrabar?
If this is true, then for live would I then use FrrstTickofBar?
I just need to verify what I have so far is as much as I can expect for backtesting and isn't a way to have the order show on the next bar after swing check.
Thanks
Comment