• hems posted an update in the group Group logo of Node.js + MQL4 DevelopmentNode.js + MQL4 Development 3 years, 1 month ago

    I’m trying to figure out a way to have some sort of bi-directional communication between node.js and MT4.

    First goals:
    – List open positions and orders and make them available to my node.js application
    – Be able to close positions and cancel orders from node.js
    – Fetch current balance from account

    Second goals:
    – On every new bar for a…[Read more]

    • Sorry for the delay. I have actually done this and it worked out perfectly. Start small :-) If you can send data back and forth, then you can translate those into MT4 functions that run based on the data. Let me know if you get stuck and I will try to help.

      • Hi Saver0 ,
        I hope you are fine.
        I would like to have your idea on something .
        I am building my own software for copy trading with MQL4 . I already finished . My question is related to the way the communication is done. I used HTTP connection with the event OnTimer() via a webrequest to an php API. Each time ( every second) I make a webrequest to…[Read more]

  • hems posted a new activity comment 3 years, 1 month ago

    You have to use a node.js library to connect to mysql.

    A very recommended library is: http://docs.sequelizejs.com/en/v3/

    good luck!

  • hems became a registered member 3 years, 1 month ago