Download MetaTrader 5

custum indicator call need help

To add comments, please log in or register
Tsering Dawa Lama
267
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 

Files:
Marco vd Heijden
Moderator
4808
Marco vd Heijden  
is ex4 we can't look at that in compiler.
Marlena
778
Marlena  
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
Tsering Dawa Lama
267
Tsering Dawa Lama  
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
To add comments, please log in or register