Why my EA will send so many same e-mail ?
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.
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