Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What does the " [0][0] " notation mean?

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

    What does the " [0][0] " notation mean?

    I have run across NinjaScript that utilizes notation such as: PlotColors[0][0].
    What is the function of [0][0]?

    Thanks.

    #2
    bill,

    Those are indices to determine where you want to set the plot colors.

    Plotcolors[X][Y]

    X is which plot you want to use. Y is how many bars ago you want to set the color.

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Adam.
      I'm such a rookie at NS, I need help understanding your answer.
      Can you give me an example of what would be happening
      by implementing 'which plot you want to use'?
      Thanks.

      Comment


        #4
        Billr,

        Here is an example : http://www.ninjatrader.com/support/h...plotcolors.htm

        Please let me know if I may assist further.
        Adam P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        672 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        577 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X