Can an EA be notified when an indicator line changes color

 

Can the EA program code determine when an indicator line changes color? Is there such a thing as screen scrapping?

Or can an indicator, that creates an object on the chart, pass back a code to the EA that executes it? The code would identify when its object changes color.

 
Colors are done by multiple buffers. iCustom read buffers. Detailed explanation of iCustom - MQL4 forum
 
WHRoeder:
Colors are done by multiple buffers. iCustom read buffers. Detailed explanation of iCustom - MQL4 forum




ok thanks for the reply..

So in the indicator I can find which buffer is used for the color I want. Then I know which buffer to check. In the EA I can check that buffer and if there is a value then I can determine which color is active on each tick? That assumes that the buffers do not contain values from previous ticks..........


Am I on the right track?

Reason: