• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Won't Enable...

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

    Strategy Won't Enable...

    Hello,

    I have a new Strategy I created that wont enable... Attached is an image from the log tab showing the error.. I could use some direction to find the problem and correct it... Please..

    Thanks Michael
    Attached Files

    #2
    Never Mind... I found the error and fixed it... I made the error when inputting the offset (-4) for an up "Arrow", I put the number in the wrong box...

    Michael

    Comment


      #3
      Hello Mykro,

      The error is letting you know that an invalid index was used somewhere in OnBarUpdate().

      Indexes use the brackets [barsAgo index].

      Below is a link to a forum post on index errors.
      https://ninjatrader.com/support/foru...13#post1048513
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by dtl-saw, Yesterday, 08:44 PM
      0 responses
      13 views
      0 likes
      Last Post dtl-saw
      by dtl-saw
       
      Started by ballboy11, Yesterday, 04:29 PM
      0 responses
      13 views
      0 likes
      Last Post ballboy11  
      Started by zacharydw00, Yesterday, 02:29 PM
      2 responses
      30 views
      0 likes
      Last Post zacharydw00  
      Started by timcjpfx, Yesterday, 06:22 AM
      4 responses
      27 views
      0 likes
      Last Post timcjpfx  
      Started by welson, Yesterday, 08:26 AM
      2 responses
      18 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Working...
      X