I have an EA that calls a number of indicators, most drawn in the main chart window.These create plots of lines, histograms, colored lines, and I have one with colored candles plot.
If I change the position of indicators when I call them with the iCustom function, I can to some extent define which indicators draw on top of others (Zorder). For example I want my EMAs to draw over the Bollingers and similar.
So for example:
h1= iCustom(0,x,customCandlesIndi... h2 = iCustom(0,x, customEMAindi... h3 = iCustom(0,x, customBollingerIndi... ChartIndicatorAdd(h1... ChartIndicatorAdd(h2... ChartIndicatorAdd(h3...
However no matter what I try, line plots will always draw over the candle plots. And I would like these to stay on top or at least define in what succession they are drawn.
Is there a way to solve this?
Thank you in advance.