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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
650 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
577 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|
Comment