Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to have an output without effecting scale?

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

    How to have an output without effecting scale?

    Hello,
    I need to have two different outputs from one custom indicator. These two outputs have a completely different scale , For example one output is from 80 to 90 , whilst the second output is from 0.1 to 0.3 .
    When plotted on a chart, I would like the scale to remain in the 80 to 90 range , and not include the second output of 0.1 to 0.3.
    I don't want to use the "transparent" option in the "Plot" command, as I do want to have the value of the second output visible in the "Data Box".
    Is there a way to accomplish this ?
    Thanks

    #2
    You need to apply your indicator twice.

    First instance: Set the second plot of the indicator to transparent, such that only the main plot (range 80-90) is shown.

    Second instance : Set the main plot of the indicator to transparent, such that only the second plot (range 0.1 - 0.3) is shown.

    Make sure that both instances are displayed on the same panel. Now set the first instance to "Auto scale = true" and the second instance to "Auto scale = false".

    Now, only the main plot (range 80-90) will be shown on the panel, but both of them will appear in the data box.

    Comment


      #3
      Originally posted by Leope View Post
      Hello,
      I need to have two different outputs from one custom indicator. These two outputs have a completely different scale , For example one output is from 80 to 90 , whilst the second output is from 0.1 to 0.3 .
      When plotted on a chart, I would like the scale to remain in the 80 to 90 range , and not include the second output of 0.1 to 0.3.
      I don't want to use the "transparent" option in the "Plot" command, as I do want to have the value of the second output visible in the "Data Box".
      Is there a way to accomplish this ?
      Thanks
      You can always lock your chart scale to the range that you want to see, just by using the mouse and dragging the price axis.

      Comment


        #4
        Thanks for your reply.
        A clarification :
        Can I externally set one of my plots to transparent or do I need to have two separate indicators ?
        Thanks

        Comment


          #5
          Thanks ,
          I just saw how this can be done .
          Appreciate your help !

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          608 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          355 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          560 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          561 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X