Can iCustom change ZOrder?

Post Reply
zyx
Trader
Posts: 84
Joined: Thu Jan 29, 2015 12:42 am
Location: San Diego

Can iCustom change ZOrder?

Post by zyx »

Hey guys

I have a set of indicators that overlap each other (I only have the ex4 for both of them). Does anyone know if there is a way to change the z order using iCustom? I need a certain one on top of the other but they aren't stacking in the correct order.

I couldn't find an answer to my question on the mql5 site.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Can iCustom change ZOrder?

Post by renexxxx »

zyx » Sun Mar 12, 2017 6:27 am wrote:Hey guys

I have a set of indicators that overlap each other (I only have the ex4 for both of them). Does anyone know if there is a way to change the z order using iCustom? I need a certain one on top of the other but they aren't stacking in the correct order.

I couldn't find an answer to my question on the mql5 site.
No.

iCustom() is a function to allow the calling program (eg. an EA or another Custom Indicator), to load your Custom Indicator in memory, refresh its buffers and retrieve one or more values from these buffers. There is no visual component to this: no screen objects are created.

If your indicators create screen objects (using the ObjectCreate() function), you can programmatically set the OBJPROP_BACK and OBJPROP_ZORDER of these screen objects, to force them to appear in a certain z-order. However, if you don't have the mq4 source code for these indicators, you are out of luck. :cry:
zyx
Trader
Posts: 84
Joined: Thu Jan 29, 2015 12:42 am
Location: San Diego

Can iCustom change ZOrder?

Post by zyx »

Bummer.


Thanks Rene
Post Reply

Return to “Coders Hangout”