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 argusthome, Yesterday, 10:06 AM
        0 responses
        17 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        16 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        14 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        9 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        38 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X