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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
134 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
75 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
119 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
114 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
92 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment