hello i need help how to enter this parameter in mouving avrge
Read the iCustom documentation again. Your code isn't calling any indicator.
If it's just a standard Moving Average you want, use iMA instead of iCustom.
Stuart Browne:
tnx man :D
Read the iCustom documentation again. Your code isn't calling any indicator.
If it's just a standard Moving Average you want, use iMA instead of iCustom.
name of indicateur is Custom Moving Averages.mq4
use this commend to add EMA but is alwayse true :(
bool ma()
{
double ema= iCustom(NULL,20,0,0,0);
if (ema<Ask)
return(true);
else if (ema>Ask)
return(false);
else return (EMPTY_VALUE);
}
i need to add this paramtre in ma ea
Period 20 /// Shift 0 // Method Exponential
sorry for my bad english