fail to call COG custom indicator

 
double C1=iCustom(NULL,0,"CentreOfGravityV2",0,0,0,0,192,5,0,0.618,0.8,1102,1,1);

what is my mistake ? why i failed to call COG indicator?? thanks

extern string OrigCode = "NG3110 AT latchess.com";
extern string Mod1Code = "Linuxser AT www.forex-tsd.com";
extern string Mod2Code = "Brooky AT Brooky-Indicators.com";
extern bool See_Prices = true;
extern int bars_back=192;
extern int m = 5;
extern int i = 0;
extern double kstd=0.618;
extern double kstd_internal=0.8;
extern int sName=1102;
 
  1. Zero is not a string. Zero is not a bool. You should write a self documenting function instead of calling iCustom directly, see Detailed explanation of iCustom - MQL4 forum
  2. Always attach the indicator or post a link. Don't expect us to go hunting for the specific version you are using.
  3. Print out your variables, including _LastError and find out why.
 
whroeder1:
thank you 
Reason: