iCustom

 
Hi, i've got simple question about programming. I'm trying to write simple script that will split one indicator by another one. I know how to do this with indicator installed in Mt4 but i have no idea how to use iCustom function for custom indicator. Can someone give me some advise how to do this? Or maybe someone have ready script?
 
Łukasz Sajin i have no idea how to use iCustom

Perhaps you should read the manual.

Just get the value(s) of the indicator(s) into EA/indicator (using iCustom) and do what you want with it.

You should encapsulate your iCustom calls to make your code self-documenting.
          Detailed explanation of iCustom - MQL4 programming forum #33 2017.05.23