Forex MT4 platform - what type of protocol(s)/technology is used to update the charts in real-time?

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

Forex MT4 platform - what type of protocol(s)/technology is used to update the charts in real-time?

  • Websocket?
  • soap/restful web service?
  • other?

The data is updated in real-time,

profilepic.png
manpreet 2 years ago

 

Initial note

A lot of indeed smart man*years has been burnt on reverse-engineered efforts to tap into MT4/Server <--> MT4/Terminal C/S communication.

Some have died by themselves.

Some have failed to survive the next change introduced by just another Build XYZ.

Some have even made their way up to the court suits from MetaQuotes, Inc., for violation or infringements of the rights to protect one´s intellectual property.

So, one shall rather really know, what is going to follow.

How it works?

Recent MT4/Terminal Build 670+ uses several regular streaming connections to MT4/Server

It does not take much time or efforts to employ a port-scanner of whatever brand to map, decode and analyse further internals. Nevertheless, do not rather forget the warning, [Initial note] rulez.

There are no direct ways to "update" OHLC-candle / Volume objects of the MT4/Terminalgraph

There are many ways to add and control additional visual objects into the MT4 graphs, incl. but not limited to, compose a fully-fledged new, layered, augmented GUI, where user-defined <application-code> retains the full real-time control of both the MVC-GUI-elements and the TradingExecutionEngine.

Can a current Metatrader proprietary architecture get extended?

Yes.

Historically some three principal epochs / approaches were used.

  1. 3rd party DLL based communications

  2. Windows O/S services based communications

  3. MetaQuotes, Inc., "new"-MQL4 ( post Build 600+ ) language extensions for socket communications

User-defined <application-code> can safely deploy rather a thread-safe external messaging infrastructure, to better "escape" from a (fragile, namely in post Build 670+ epoch) MT4 internalities and retain a full control over the "own" messaging / streaming layer.

Examples

MT4/Terminal with socket/remote python-based CLI terminal & add-on pseudo-language for both trading and scripted test-case batteries´ automated runs

MT4/Terminal with socket/remote external integrated RSS-feed service

MT4/Terminal with socket/remote GPU-hosted numerical solver for AI/ML decision making

MT4/Terminal with socket/remote cloud-based peer-to-peer community messaging


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.