Download MetaTrader 5

is there a way to configure ZOrder for indicator plots?

To add comments, please log in or register
aries
51
aries  

Hi,


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.

aries
51
aries  
No ideas around?
aries
51
aries  
aries:
No ideas around?

I just noticed that in the new build 1596, this works properly, which means I can change indicator order with initial calls. Kudos to devs.
To add comments, please log in or register