Would you have a way to work around the CalculationOnBarClose = false issue so that order can be execute on the level when backtesting a strategy?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
backtest work around CalculaitonOnBarClose
Collapse
X
-
backtest work around CalculaitonOnBarClose
I have a strategy with unmanage order with EnterLongLimit() on a support level, if price touch the level but close above. the order will not be executed.
Would you have a way to work around the CalculationOnBarClose = false issue so that order can be execute on the level when backtesting a strategy?Tags: None
-
er111222, you could try submitting the order to a finer series to simulate getting an intrabar fill -
You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by
-
Guess I'm not sure what your asking exactly here - to clarify : a limit order that is only touched does not have to fill - with the default fill algorithm it would need to trade through to fill this type of order, you can use here the liberal fill algorithm provided as well to getting filled on touches in your backtest, however don't expect that to be happening live every-time...
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
67 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
36 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
60 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
Comment