Code: Select all
double Hercules(int i)
{
double up = iCustom(Symbol(),0,"Hercules",2,i);
double dn = iCustom(Symbol(),0,"Hercules",3,i);
if(up!=EMPTY_VALUE
{
return(1);
}
if(dn!=EMPTY_VALUE
{
return(-1);
}
return(0);
}
Code: Select all
double Hercules(int i)
{
double up = iCustom(Symbol(),0,"Hercules",2,i);
double dn = iCustom(Symbol(),0,"Hercules",3,i);
if(up!=EMPTY_VALUE
{
return(1);
}
if(dn!=EMPTY_VALUE
{
return(-1);
}
return(0);
}
Thanks soo much my friend, you make my dayXeroforeX wrote:Hi Cladi39,
The buffers you are looking for are 5 for red candles (see pic) and 6 and 7 come into play the candle before and after a colour change, attached is Mladens excellent Buffer explorer indi an invaluable tool for dummies like me who can't read code or in your case where you have an exe file.
enjoy