Hey guys, I'm very new to MQL4, I'm trying to convert a setup from my mobile phone to EA. I coded the setup as custom indicator, but when I'm calling it from EA and comparing the suppose entry from my mobile app, I noticed the entry is bit off and found the indicator value are not accurate. The entry is when MA1 crossover MA5 & vice versa.
Do you have screenshots of what you mean by "bit off"? A common issue is the use of indicator output for bar 0 - it gets outdated as soon as a new tick arrives (so I'm not sure if your mobile gets the ticks at the same instance as your pc...). Would be more accurate if you just compare bar 1 instead, and if they're bit off as well, then we'll probably have a problem with code.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hey guys, I'm very new to MQL4, I'm trying to convert a setup from my mobile phone to EA. I coded the setup as custom indicator, but when I'm calling it from EA and comparing the suppose entry from my mobile app, I noticed the entry is bit off and found the indicator value are not accurate. The entry is when MA1 crossover MA5 & vice versa.
The setups are as attached, and below is the custom indicator code. Did I miss something?
Below is how I will call the custom indicator above from EA;