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 Belfortbucks, Today, 09:29 PM
        0 responses
        3 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        150 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Working...
        X