I would like to use the same indicator for both the price panel and a subpanel. I am changing the color of plots based on which panel they are plotted in. Those meant for the subpanel would be transparent in the price panel and those meant for the price panel would be transparent in the subpanel. I have looked at "IsOverLay" and "DrawOnPricePanel" but it appears their state does not change if you select a different panel than the price panel in the Indicator's properties dialog visual options. Is there another object to conditionally change plot color on depending on if it meant for the price panel or not?
Could there be a cashing issue going on? All the Indicator's parameters are identical making the signatures identical. The only difference being the Indicator's properties visual option selection of a subpanel.
thank you for your assistance,
MartinT
Comment