Calling values from custom indicator using iCustom function

 

Hi All!

I am having trouble calling the correct values from a downloaded custom indicator on MT4. The indicator is a Chandelier Stop indicator.

I manage to use the iCustom function to call the value, which works when the price action is below the indicator value, however, when the price action is above the indicator it returns a different value. How could I distinguish which values I would want the indicator to return to the script?

Thanks!

Kind regards

 
Call the second buffer.
 
Thank you! I managed after a lot of "googling". I was just unsure of how to call the buffers, but magically somehow it works now.