• Zelo posted a new activity comment 11 years, 5 months ago

    @Saver0 I know about Oanda Api. It is really good. I am biased on Oanda too.

    There is a problem with the chart app in the picture above. I can not draw trend line and get information about a candle
    because of CSS positioning, I can not get exact mouse position, LOL
    If i want to, i have to rewrite code in SVG. :wacko:

    So I will keep thing simple,…[Read more]

    • @Zelo Yea, I’m biased against all Brokers to be honest.. haha just use what is available to me.
      As for the trend lines, maybe try to keep the charts simple? It doesn’t have to be 3D looking :-) If I can see 4small 600×400 windows with 4 time frame charts, on a 2×2 grid running synchronized, I would be happy :-)

  • smallcat posted a new activity comment 11 years, 5 months ago

    @saver0, from the mql file we can see “if(!INet.Request(“POST”,”/”,data,false,false,req,false)) ” and “if(!INet.Request(“POST”,”/”,incoming_msg,false,true,req,false))” , the string variable “data” and “incoming_msg” are to hold the return value sent by NodeJs, and we use jsonParser to get the ‘direction’ of the signal ?

  • Zelo posted a new activity comment 11 years, 5 months ago

    @Saver0, I like Node.js too. I think about send data lile ohlc and indicator data from MT4 to our app
    would be easier than connecting Oanda. I looked into your code and it pretty complicated :whistle:
    Is there any simpler way :-D

    • @zelo It shouldn’t be too complicated if you take a look at it. I may have over complicated it. Like smallcat said, it’s just that one function call that’s doing all the work. You can send the data to Node.js in any format you want. I just prefer it to be in JSON so it can be easily parsed. I send the data with a command in the first few strings…[Read more]

      • @Saver0 I know about Oanda Api. It is really good. I am biased on Oanda too.

        There is a problem with the chart app in the picture above. I can not draw trend line and get information about a candle
        because of CSS positioning, I can not get exact mouse position, LOL
        If i want to, i have to rewrite code in SVG. :wacko:

        So I will keep thing simple,…[Read more]

        • @Zelo Yea, I’m biased against all Brokers to be honest.. haha just use what is available to me.
          As for the trend lines, maybe try to keep the charts simple? It doesn’t have to be 3D looking :-) If I can see 4small 600×400 windows with 4 time frame charts, on a 2×2 grid running synchronized, I would be happy :-)

  • @Saver0, Is there any other simple way send data from MT4 to node server?
    MT4 as server and Node app is client.

    I only see Socket or ZeroMQ for now.

    • @zelo that looks really cool by the way! I have tried ZeroMQ and it worked pretty well. But i found creating a simple http server in Node.js to be the easiest and it would also be easier for anyone who want to setup your app. Because even if you use ZeroMQ or anything else, you would still need to check some sort of a queue with the way MT4 works.…[Read more]

      • @Saver0, I like Node.js too. I think about send data lile ohlc and indicator data from MT4 to our app
        would be easier than connecting Oanda. I looked into your code and it pretty complicated :whistle:
        Is there any simpler way :-D

        • @zelo It shouldn’t be too complicated if you take a look at it. I may have over complicated it. Like smallcat said, it’s just that one function call that’s doing all the work. You can send the data to Node.js in any format you want. I just prefer it to be in JSON so it can be easily parsed. I send the data with a command in the first few strings…[Read more]

          • @Saver0 I know about Oanda Api. It is really good. I am biased on Oanda too.

            There is a problem with the chart app in the picture above. I can not draw trend line and get information about a candle
            because of CSS positioning, I can not get exact mouse position, LOL
            If i want to, i have to rewrite code in SVG. :wacko:

            So I will keep thing simple,…[Read more]

            • @Zelo Yea, I’m biased against all Brokers to be honest.. haha just use what is available to me.
              As for the trend lines, maybe try to keep the charts simple? It doesn’t have to be 3D looking :-) If I can see 4small 600×400 windows with 4 time frame charts, on a 2×2 grid running synchronized, I would be happy :-)

      • @saver0, from the mql file we can see “if(!INet.Request(“POST”,”/”,data,false,false,req,false)) ” and “if(!INet.Request(“POST”,”/”,incoming_msg,false,true,req,false))” , the string variable “data” and “incoming_msg” are to hold the return value sent by NodeJs, and we use jsonParser to get the ‘direction’ of the signal ?

  • @muuh, thank you very much for this good information bro … :good:

    @saver0, thank you very much too my friend … :good:

  • sasco posted an update 11 years, 6 months ago

    @saver0
    Hi Admin ” Saver0″ can you make the url to open in new window tab
    this let the user to no exit the forum when using any external url also let user to no exit the original thread which he read in it
    Thanks

Scroll to Top