Can't get Icustom value

 

Hi all, this is normally something simple but this time, after banging my head at several walls I still could not find a way to get the value output of this custom indicator attached to this post with the following settings:

iCustom(NULL,0,"MTF_Moving_Average",1440,3,3,2,1,1);

If you guys have any idea about this please share :)

NB:

I have been looking for the mq4 file but could not find it

Files:
 
ronaldgoal:

I have been looking for the mq4 file but could not find it


it's supposed to be in the same folder
 
qjol:

it's supposed to be in the same folder

it is not. Only the compiled file is available
 

Try to go through all the buffers

iCustom(NULL,0,"MTF_Moving_Average",0,0);
iCustom(NULL,0,"MTF_Moving_Average",1,0);
iCustom(NULL,0,"MTF_Moving_Average",2,0);
iCustom(NULL,0,"MTF_Moving_Average",3,0);
iCustom(NULL,0,"MTF_Moving_Average",4,0);
iCustom(NULL,0,"MTF_Moving_Average",5,0);
iCustom(NULL,0,"MTF_Moving_Average",6,0);
iCustom(NULL,0,"MTF_Moving_Average",7,0);
 
qjol:

Try to go through all the buffers


Tried already :(
 

I tried and it works just fine

 
in backtest?
 

y backtest i don't need a backtest to find it

 

I don't know backtest mode is pretty laggy with this indicator maybe it has to do something with it...

Can you send me the test file that you were you made it work?

 
int start()
  {
//----
double a = iCustom(NULL,0,"MTF_Moving_Average",0,0); //shift 0
double b = iCustom(NULL,0,"MTF_Moving_Average",0,1); //shift 1
double c = iCustom(NULL,0,"MTF_Moving_Average",0,2); //shift 2
Alert ("shift 0 is: " + DoubleToStr(a,4) + 
      " shift 1 is: " + DoubleToStr(b,4) + 
      " shift 2 is: " + DoubleToStr(c,4));
   
//----
   return(0);
  }
it's a script
 
qjol:
it's a script

yes it works good like that however in backtest I'm having difficulties. Thanks anyway :)
Reason: