Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why can't I use bars ago data?

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

    why can't I use bars ago data?

    I am just trying to learn how to make custom indicators in Ninja trader, But I am stumped as to why I can't use data from past bars.

    I just created an indicator using the wizard, with just default settings. It plots a line of the close with the line Plot0.Set(Close[0]);

    I then change the line to read Plot0.Set(Close[5]); and I no longer get a line. I thought that would shift it over 5 bars, but it just gives me a blank indicator.

    Sorry if this is a dumb question, but I have been trying to figure this out for hours, and am stumped as to why this won't work.

    Thanks

    #2
    This might be of value for you: http://www.ninjatrader-support2.com/...ead.php?t=3170

    Comment


      #3
      Thanks... I think that did it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      633 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      364 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      567 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      568 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X