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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
60 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
148 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
284 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment