Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple panels for different histograms coded on the same indicator

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

    Multiple panels for different histograms coded on the same indicator

    Hello!

    On a chart window, we have a panel for the chart and other indicators and separate panels for histograms for example. Until here, I could code basic histogramms, but ONLY one panel per histogram for the same indicator. In State == State.SetDefaults, I have:
    HTML Code:
    State == State.SetDefaults
    {
       IsOverlay = false;
    }
    With this condition, I have my histogram on a separate panel. But what about many histograms?

    1) Also, How to have with this condition AT THE SAME TIME a plot such as an arrow on the same panel with the chart and histograms on other panels?

    2) Is there a way to code multiple histograms for different panels on the same indicator? If yes, could someone please provide a function to include/use in the code?

    Many thanks in advance.

    #2
    Hello Stanfillirenfro,

    Thank you for your post.

    I have addressed your questions below:
    1) Also, How to have with this condition AT THE SAME TIME a plot such as an arrow on the same panel with the chart and histograms on other panels?

    An indicator is not able to plot on multiple panels. It can either be set to IsOverlay = true where the indicator will plot in the price panel, or IsOverlay = false where the indicator plots will be in a new, separate panel. I am not aware of a plot style that uses arrows (only triangles) - is it possible you are referring to draw objects? If so, you could potentially use IsOverlay = false so the indicator plots will be in a new, separate panel and then you could set DrawOnPricePanel = true so draw objects will be painted on the price panel. Here are the help guide pages for IsOverlay and DrawOnPricePanel:2) Is there a way to code multiple histograms for different panels on the same indicator? If yes, could someone please provide a function to include/use in the code?​

    No, there is no way to have multiple plots, such as histograms, plotted on different panels in the same indicator instance. You could consider adding the indicator to a chart multiple times, however, so that each indicator instance plots in a separate panel.

    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

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