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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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