Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsInProgress Error

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

    BarsInProgress Error

    I keep getting the following error when I start my strategy:

    Order for Strategy 'CustomOne' was place in incorrect 'BarsInProgress' context. Order ignored.

    I currently have my entry orders inside the code:
    if {BarsInProgress == 0}
    but my stop (ExitLongStop) and limit (ExitLongLimit) orders are not b/c I want them to begin working as soon as a position is started. What must I change to get rid of this error?


    GT

    #2
    This is a Nt6 limitation. I suggest giving NT6.5 a try: http://www.ninjatrader-support.com/v...ead.php?t=5021

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    385 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    250 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    211 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    298 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    262 views
    0 likes
    Last Post CarlTrading  
    Working...
    X