/MetaTrade2NodeJS

Simple comunication between NodeJS and MetaTrader(MQL4) experts

Primary LanguageMQL4

MetaTrade2NodeJS

Connect your MQL experts with and external API. In this Example based on Express.js

Setup

  • execute "npm install" inside the project directory
  • start the server using "npm start"
  • copy TradingAPI.mq4 to your other experts (somewhere under AppData)
  • use the strategietester or add the expert to a chart and you should see the following

alt text

alt text

Troubleshoting

Error 4060

Allow your Expert to connect with your URL
MetaTrader -> Extras -> Optionen -> Experten
1. allow Webrequests
2. add "http://localhost"