Advance Indicator question

 
I have two indicators on a chart, they both but arrows on the chart. How can I capture in an EA when the indicator has placed and arrow on the chart? I want to also determine if the arrow is an up arrow or a down arrow. Is there a better way to approach this?

Let's say that the indicators are MACD and Stochastic.

Thanks in advance,

Ed
 
Use iCustom function in your EA
 
You just got me thinking on an alternate way of doing it.
What about using:
if(ObjectFind("arrow_up")!='')direction = 'up';
ObjectsDeleteAll();
 
Hi Stringo,

Do you have any example code of how to use iCustom()?

Thanks,

Ed
 
Reason: