Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Buy at the Close Sell at the Open
Collapse
X
-
Hello TommyTFC,
Welseome to the NinjaTrader Support Forums!
The easiest method to accomplish this would be to use Time filters that would be based on your Local PC clock. You may see the following thread for more information and a reference sample on this.
http://www.ninjatrader.com/support/f...ead.php?t=3226
Also, you may use the FirstBarOfSession to for the open, but there is no supported LastBarOfSession.
http://www.ninjatrader.com/support/h...rofsession.htm
Let us know if we can be of further assistance.JCNinjaTrader Customer Service
-
Hello TommyTFC,
If you are using a Day Period Type with backtesting and you would like intraday fills, you may want to program intrabar granularity in your strategy. When backtesting CalculateOnBarClose(COBC) is always going to be set to true. You may see the following thread that goes over how to add intrabar granularity.
http://www.ninjatrader.com/support/f...ead.php?t=6652JCNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 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
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
574 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment