Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsRequiredToTrade

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BarsRequiredToTrade

    I am running a few strategies and I get this error; see attached; Would I need to lower the number of bars to a lower number?

    Click image for larger version

Name:	bars error.jpg
Views:	360
Size:	12.5 KB
ID:	1187757
    Attached Files

    #2
    Hello JTizz,

    Thanks for your post.

    This is a warning message that happens when a NinjaScript strategy attempts to place a trade before the required number of bars set by the Bars Required To Trade property has been processed.

    To avoid the warning, you could consider setting the Bars Required To Trade property to 0 when enabling your Ninjascript strategy.

    See this help guide page for more information: https://ninjatrader.com/support/help...tegyProperties

    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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    61 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    39 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    21 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    23 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    51 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X