For cell phone i think "push notification" option is best.
You can compile this code and use if you like:
input double eq_threshold=0; //equity threshold(0=disable) void OnTick() { if(AccountInfoDouble(ACCOUNT_EQUITY)<eq_threshold) { SendNotification("Drawdown reached!"); ExpertRemove(); } }
Lolotica #:Thanks for your help Yashar, by the way do you have any specific tutorial post on using the above code?
Research the documentation and the CodeBase (there are many examples).
Documentation on MQL5: Network Functions / SendNotification
- www.mql5.com
SendNotification - Network Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
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 guys.
I'm currently use EA for trading and most of the daytime I'm afk, so I'm looking for any solution of cellphone notification when account equity fall below X value (for promptly action). I did research through forum and find some solutions for indicator/EA with tele/email notify but most of them provide price/trade/balance alert only not equity. So I would really appreciate if someone has a solution for this problem. I use Mt5 by the way. Thank you.