Calling 5_34_5 into an E.A.

 

Needing help here;

Trying to call indicator 5_34_5 into an E.A. I am trying to put together, tried

iCustom(NULL,0,"5_34_5",0,0);

iCustom(NULL,0,"5_34_5",1,0);

BUT keep getting error message when trying to backtest the error message is invalid integer number parameter 2 on index draw function.Opened up the indicator and found there are 3 more buffers, could anybody tell me how to code this so the E.A. will open it up.

Thanks in advance,

mrtools

 

error message

The error message mentioned above is from the indicator itself, even though the indicator seems to work on the chart in the expert journal it leaves the error message " invalid integer number as parameter 2 for set index draw function", ended up taking the properties from the indicator and using them in my E.A., instead of the indicator, the code looks like it tries to forecast bars ahead.

Thanks anyway,

mrtools

Reason: