Send email when trade is closed
-
Dear forum members,
Hope someone can help me with this
My EA is email bombing me LOL
i open sell and buy position based on certain conditions
I made the EA to send me email when a trade is closed
When the conditions are right the sell will close and the buy will open
The open sell and buy block is sending me 1 email at a time but since the conditions to close my sell and open a buy are met every tick the close sell block is sending me 1 email per tick LOL
How can i make the EA that is will only send me 1 email when the trade is closed and not on every tick? -
go to the OnTrade tab and make a block on trade close and connect the email block to it.
-
HI
Thanks for the reply
Do you mean "if trade"? Coz i cant tfind the "on trade" tabWhat i have now is,
If trade --> cond --> cond --> Close trade --> send email
It is sending every time when this cond is met and not only once when trade is actually closed -
Did not fixed it yet
I will try your solutionThanks for helping me out
-
glad it helped somehow

this is what I meant tho

this way might be more efficient as that block won't be firing on every tick but only on a trade event.
-
This did the trick
Thanks a lot for pointing this out
KUDOS for you!!