Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 21laienoch, Today, 07:25 AM
        0 responses
        1 view
        0 likes
        Last Post 21laienoch  
        Started by burtoninlondon, 04-28-2024, 12:38 AM
        1 response
        16 views
        0 likes
        Last Post burtoninlondon  
        Started by MacDad, 02-25-2024, 11:48 PM
        8 responses
        175 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by alancurry, Today, 06:53 AM
        0 responses
        6 views
        0 likes
        Last Post alancurry  
        Started by Juanhuisman, Today, 06:51 AM
        0 responses
        6 views
        0 likes
        Last Post Juanhuisman  
        Working...
        X