How to use output of 1 indicator as input for another indicator

 

Hi,

how do I use the value of 1 indicator as 1 of the inputs for another indicator? I have

MathRound(iCustom(Symbol(),0,"second one",0,i))

and would like to place this value in my code.

Should I use global variables?

 
you seems to have already right function iCustom() for that purphose. please specify your question.
 
fx1.net:
you seems to have already right function iCustom() for that purphose. please specify your question.

ok apparently you have to define it in the loop:

{

int something=MathRound((iCustom(...)


this problem: solved; However: pls take a look at: https://www.mql5.com/en/forum/121092

it is related to combining 2 indi's, just read it and give me your ideas pls;

thank you

Reason: