Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plotting through value

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

    Plotting through value

    i have the following instruction in initialize()


    base.Add(new Plot(new Pen(Color.Gray, 6f), PlotStyle.Bar, "N1"));
    base.Add(new Plot(new Pen(Color.Gray, 1f), PlotStyle.Bar, "N2"));
    base.Add(new Plot(new Pen(Color.Gray, 1f), PlotStyle.Bar, "N3"));

    OnBarUpdate()


    I want to assign the value of the plot by value:

    value.set(1); ======> I have read the guides in this set mode value in the first plot ...
    but for others as I do?






    #2
    turbofib, this is just the main indicator value series - you can use Values to set for any other additional series as well - http://www.ninjatrader.com/support/h...ightsub=Values

    Comment


      #3
      I've already read it but I did not understand how to use it

      Values ​​[1] is not referring to the second plot.

      Comment


        #4
        No, that would be the second indicator value series which typically is linked to your plots. The plots themselves just define how the values would be visualized. It would be certainly easier to set the plot values directly. To get a better understanding in how this works, I would suggest to check into for example the default Stochastic indicator and then check into the properties section.

        Comment


          #5
          I want to say a few words that you connect each variable to its own plot in the properties

          Is correct?

          Comment


            #6
            Correct, in the properties section of the indicator you would 'connect' the plot value to it's values series - the plot will then determine the visualization of the values set.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            648 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            369 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            108 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            572 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            573 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X