Receive email notification when expert advisor unloads

 

Hi,

How do I receive an email notification when an expert advisor I have having unloads itself from the chart?

Thanks,

Zijian

 
ZIJIAN BAI: How do I receive an email notification when an expert advisor I have having unloads itself from the chart?
You can use the MQL function SendMail(), either from the EA itself or from another that monitors the charts.
Documentation on MQL5: Network Functions / SendMail
Documentation on MQL5: Network Functions / SendMail
  • www.mql5.com
SendMail - Network Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
The real question is why is the EA "unloading itself."
     How To Ask Questions The Smart Way. (2004)
          The XY Problem
Reason: