Your best options would be to use Python because you can not do it directly from Metatrader.
Here is the Python forum located: https://www.mql5.com/en/forum/306742

MetaTrader 5 Python User Group - the summary
- 2019.03.14
- www.mql5.com
The Main StudyPython Releases for Windows - website, MetaTrader5 : Python Package - website ---------------- The Article MetaTrader 5 and Python in...
Marco vd Heijden:
thank you sirYour best options would be to use Python because you can not do it directly from Metatrader.
Here is the Python forum located: https://www.mql5.com/en/forum/306742
have a nice day :D
Regards,
PMDWI

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
Hello, i'm trying to write expert advisor to send alert signal to a microcontroller board attached to my computer in COM3. I inspired to try this when i saw video on youtube to communicate to arduino with C++ languange (code attached). I have already upload the code to arduino and it's look like this. Basically it's sending text to COM3 and the microcontroller will flash a corresponding led light. Any help on how to implement this on metaeditor is very appreciated.
Regards,
PMDWI