Download MetaTrader 5

Custom indicator color

To add comments, please log in or register
Piratone
38
Piratone  

Hi all,

i need to capture with code a custom indicator color after it has been changed manually from interface (see attached image)

Is it possible ?

Thanks.

qjol
3245
qjol  
Piratone:


(see attached image)

there is no image 

Is it possible ?

in this century everything is possible

Piratone
38
Piratone  
qjol:


true...everything is possible in absolute world, but in relative no :)

now the image...sorry...

seem doesn't attach file....mah...anyway...it's the palette screen to change color in a custom indicator.

Simon Gniadkowski
Moderator
18058
Simon Gniadkowski  
Piratone:

true...everything is possible in absolute world, but in relative no :)

now the image...sorry...

seem doesn't attach file....mah...anyway...it's the palette screen to change color in a custom indicator.

To attach an image . . . 

 

From what I remember what you are trying to do is not possible . . . things may have changed for mql4.5 though.

Alain Verleyen
Moderator
29867
Alain Verleyen  
Piratone:

Hi all,

i need to capture with code a custom indicator color after it has been changed manually from interface (see attached image)

Is it possible ?

Thanks.


You can only do that from within the indicator. Not directly from an EA or other code.
qjol
3245
qjol  

angevoyageur:
 

Not directly from an EA or other code.



what about iCustom ?
Alain Verleyen
Moderator
29867
Alain Verleyen  
qjol:

what about iCustom ?
For a color ?
qjol
3245
qjol  

nop

to retrieve the main code who makes the color !!! 

Alain Verleyen
Moderator
29867
Alain Verleyen  
qjol:

nop

to retrieve the main code who makes the color !!! 

Sorry, I don't understand what you mean. From what I understand the OP want to catch by code when an indicator's color is changed, iCustom can't help in this case.
Piratone
38
Piratone  

it's right Raptor and Ange...i think is not possible in MQL4.

qjol...i'm searching to intercept color from palette mask on manual action....no iCustom, obviously, i know my initial parameter (with #Property indicator_color(n)).

Thanks guys.

Halley
198
Halley  
Piratone:

it's right Raptor and Ange...i think is not possible in MQL4.

qjol...i'm searching to intercept color from palette mask on manual action....no iCustom, obviously, i know my initial parameter (with #Property indicator_color(n)).

Thanks guys.



In case the indicator code is available, you may add broadcasting a custom event to all charts after you detected colour change.
12
To add comments, please log in or register