custum indicator call need help

 

can anyone show me how to call RenkoMaker.ex4 into EA using icustom like the following custum indicator.


//+------------------------------------------------------------------+
int signal()
  {
   int signal=2;
   if(iCustom(NULL,0,"SuperTrend",10,3.0,0,bars_closed)!=EMPTY_VALUE) signal=0;
   if(iCustom(NULL,0,"SuperTrend",10,3.0,1,bars_closed)!=EMPTY_VALUE) signal=1;
   return(signal);
  }
//+------------------------------------------------------------------+

thanks 

Files:
RenkoMaker.ex4  14 kb
 
is ex4 we can't look at that in compiler.
 
tsering dawa lama:

can anyone show me how to call RenkoMaker.ex4 into EA using icustom like the following custum indicator.


//+------------------------------------------------------------------+
int signal()
  {
   int signal=2;
   if(iCustom(NULL,0,"SuperTrend",10,3.0,0,bars_closed)!=EMPTY_VALUE) signal=0;
   if(iCustom(NULL,0,"SuperTrend",10,3.0,1,bars_closed)!=EMPTY_VALUE) signal=1;
   return(signal);
  }
//+------------------------------------------------------------------+

thanks 

can you give me thats script in Mqh file? because exe4 can not read it. thanks
 
Marlena2010 Marlena:
can you give me thats script in Mqh file? because exe4 can not read it. thanks
Sorry i do not have it. thanks anyway
Reason: