Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
BarsRequired question
Collapse
X
-
BarsRequired question
does anyone know how to code if I want minimum 20 bars to wait until trading starts for each daily session ?As it has historical bars ,I don't think I can use the "BarsRequiredTo Trade"Tags: None
-
-
Hello stantenlee,
Thanks for your post.
That is correct. The BarsSinceSession property is only for use with NinjaTrader 7. In NinjaTrader 8, this property is known as BarsSinceNewTradingDay.
See this help guide documentation for more information: https://ninjatrader.com/support/help...tradingday.htm
Also, you could use this section of the help guide to see any code-breaking changes from NinjaTrader 7 to NinjaTrader 8: https://ninjatrader.com/support/help...ng_changes.htm
Let us know if we may assist further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
561 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
325 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment