I am newbie coder, learning to code. I am trying to code an alert indicator that calls another indicator called "ABHA CENTER TIMING SIGNAL AVG" (found on FF but it has only ex4 file and no documentation or source code exists.)
I need to read its 0 buffer. It contains value 1, -1 or 0 in that buffer. Based on what is seen from the input parameters of this indicator, I have coded the iCustom call as under:
iCustom(NULL,0,"ABHA CENTER TIMING SIGNAL AVG",1,4,4,false,1,12,21,0,1)
I have also tried
iCustom(NULL,0,"ABHA CENTER TIMING SIGNAL AVG",0,1)
But none of it has worked.
Questions:
- can an indicator be called by another indicator by iCustom call?
- all extern parms show up in input window. Do all of them need to be listed as parm of iCustom call? Can there be anything else that need to be listed as parm of iCustom?.
Any suggestions or help?
I need to read its 0 buffer. It contains value 1, -1 or 0 in that buffer. Based on what is seen from the input parameters of this indicator, I have coded the iCustom call as under:
iCustom(NULL,0,"ABHA CENTER TIMING SIGNAL AVG",1,4,4,false,1,12,21,0,1)
I have also tried
iCustom(NULL,0,"ABHA CENTER TIMING SIGNAL AVG",0,1)
But none of it has worked.
Questions:
- can an indicator be called by another indicator by iCustom call?
- all extern parms show up in input window. Do all of them need to be listed as parm of iCustom call? Can there be anything else that need to be listed as parm of iCustom?.
Any suggestions or help?
Attached File(s)
ABHA CENTER TIMING SIGNAL AVG.ex4
10 KB
|
1,145 downloads