Thread: How to code?
View Single Post
  #1414 (permalink)  
Old 10-30-2008, 08:25 PM
matrixebiz's Avatar
matrixebiz matrixebiz is offline
Senior Member
 
Join Date: Oct 2006
Posts: 1,225
matrixebiz is on a distinguished road
iCustom Calls from EA

Hello, can I put NULL for values that I just want to leave with what ever the indicators uses?
e.g. This is my call;
double ccfp0 = iCustom(NULL, 0, "CCFp",h,q,Fast,Slow,t,u,v,w,x,y,z,aa,bb,cc,dd ,ee, ff,gg,hh,ii,2,0,0, 0, 1);

Now, the MT4 experts tab shows alot of errors;
CCFp GBPJPYm,H1: unknown subwindow number -1 for ObjectCreate function

Now if I only want the EA to be able to change a few of the settings, can I put the rest of the inputs to NULL?

double ccfp0 = iCustom(NULL, 0, "CCFp",NULL,NULL,Fast,Slow,NULL,NULL.......... ,0, 1);

Would like to try and get rid of this error.
Thank you
Reply With Quote