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 kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      129 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      105 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      87 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      106 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      86 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X