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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      229 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      147 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      160 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      239 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      197 views
      0 likes
      Last Post CarlTrading  
      Working...
      X