Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to know if indicator is shown on chart or in separate panel

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

    how to know if indicator is shown on chart or in separate panel

    Hi,

    Is there a way to know if my indicator is shown in the price panel (chart) or in a separate window?
    I'd like to automatically show different settings (for instance oscillator or not) when I'm in a price chart.

    #2
    Hello wjadevries,

    You could use the indicators Panel property to determine which panel the indicator is currently in.

    Code:
    Print(Panel);
    If the Same as input series is selected a -1 should be seen, 0 for panel 1 or the price panel or a greater than 0 value for other panels. You would want to use a Print to identify if there are any differences from that in your specific chart use cases.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    656 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    371 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    579 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X