MT4: How can I can find out if there is an arrow (UP/Down) without buffer values?

 

Hello, I use an indicator with arrow signals. No, I can't use the icustom function, because it's arrow objects and has no buffer values. I am writing an EA, but how to find out, if the signal is a BUY or a SELL.

Thank for helping.

Files:
 
You can check the properties from last Arrow object from previous candle. There are some functions that can get properties from any objects of the chart. You can check Buy or Sell in few ways. Like, you can check the arrow color or check if the arrow is above or below candle to identify it's Buy or Sell signal.