the start function is called every tick. so when a crossover happens you send every tick the same mail.
//z
Hi zzuegg,
Thanks your info. I thought the start is called based on the chart timeframe eg (M1,M30,H1), etc
haha, silly mistake
From
erekit
Hi Viffer,
Thanks your idea. I get the concept what you are trying to say.
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
HI, I composed a simple EA to send e-mail alert on MA crossover.
However, instead of one e-mail, it sends out many e-mail.
HEre is the snapshot. I put the EA in H1 chart
Here is the source code . Hope you all can help find out what is the root cause