Download MetaTrader 5

custum indicator call need help

To add comments, please log in or register
MQL5 library has more than 1500 apps already. Contribute your own one!
Tsering Dawa Lama
267
Tsering Dawa Lama 2015.06.28 15:50 

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
4685
Marco vd Heijden 2015.06.28 16:04  
is ex4 we can't look at that in compiler.
Marlena
778
Marlena 2015.06.28 21:06  
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 2015.06.28 23:24  
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