Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

newbe help

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

    newbe help

    I want make the indicator "session pivots" plot WITHOUT the text labels.

    I'm not a programmer, but i found the following in the code (see below):

    if i just erase the text in quotes, will that do the trick?

    thanks



    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-PP "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-R1 "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-S1 "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-R2 "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-S2 "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-R3 "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-S3 "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-R4 "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-S4 "));

    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-RMid "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-SMid "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-R12Mid "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-S12Mid "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-R23Mid "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-S23Mid "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-R34Mid "));
    Add(new Plot(new Pen(Color.Aqua,1), PlotStyle.Line,"D-S34Mid "));

    Add(new Plot(new Pen(Color.Transparent,1), PlotStyle.Line,"PD-Open "));
    Add(new Plot(new Pen(Color.Lime,1), PlotStyle.Line,"PD-High "));
    Add(new Plot(new Pen(Color.OrangeRed,1), PlotStyle.Line," PD-Low "));
    Add(new Plot(new Pen(Color.Gold,1), PlotStyle.Line,"PD-Close "));
    Add(new Plot(new Pen(Color.MediumSpringGreen,1), PlotStyle.Line,"PD-Mid

    #2
    justme,

    Unfortunately not. That would just change the name of the plot itself. The text labels are likely coming from somewhere else in that code. I suggest you try to contact the original author and see if they can assist you. Good luck.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      On the FloorPivots inticator (is that the one you wrote Josh?),

      can i get rid of the text labels (PP, S1, etc...) but removing whats in the quotes here:

      Add(new Plot(Color.Red, "R5"));
      Add(new Plot(Color.Red, "R4"));
      Add(new Plot(Color.Red, "R3"));
      Add(new Plot(Color.Red, "R2"));
      Add(new Plot(Color.Red, "R1"));
      Add(new Plot(Color.DarkGreen, "PP"));
      Add(new Plot(Color.Blue, "S1"));
      Add(new Plot(Color.Blue, "S2"));
      Add(new Plot(Color.Blue, "S3"));
      Add(new Plot(Color.Blue, "S4"));
      Add(new Plot(Color.Blue, "S5"));

      if(midpoint == true)
      {
      Add(new Plot(Color.Gray, "R5-R4 Midpoint"));
      Add(new Plot(Color.Gray, "R4-R3 Midpoint"));
      Add(new Plot(Color.Gray, "R3-R2 Midpoint"));
      Add(new Plot(Color.Gray, "R2-R1 Midpoint"));
      Add(new Plot(Color.Gray, "R1-PP Midpoint"));
      Add(new Plot(Color.Gray, "PP-S1 Midpoint"));
      Add(new Plot(Color.Gray, "S1-S2 Midpoint"));
      Add(new Plot(Color.Gray, "S2-S3 Midpoint"));
      Add(new Plot(Color.Gray, "S3-S4 Midpoint"));
      Add(new Plot(Color.Gray, "S4-S5 Midpoint"));

      Originally posted by NinjaTrader_Josh View Post
      justme,

      Unfortunately not. That would just change the name of the plot itself. The text labels are likely coming from somewhere else in that code. I suggest you try to contact the original author and see if they can assist you. Good luck.

      Comment


        #4
        Justme,

        That indicator was provided as a 3rd party indicator. Unfortunately I cannot support it. The labels are not in any of the Add(). To remove the labels is elsewhere in the code.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        152 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        89 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        133 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        127 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X