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
can you give me thats script in Mqh file? because exe4 can not read it. thanks
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