Live Data output from MT5 to Tradeview

MQL5 Integration

Job finished

Execution time 14 days

Specification

We are building a system to stream live market data from MetaTrader 5 (MT5) to TradingView (TV) for real-time visualization. This involves setting up a data pipeline where MT5 periodically sends HTTP  POST  requests containing market data (e.g., OHLC values) to a Flask server. The Flask server acts as a bridge, processing the received data and forwarding it in the appropriate format to TradingView.

Workflow

  1. MetaTrader 5:

    • Uses the  WebRequest  function in an MQL5 script to send JSON payloads (market data) at regular intervals.
    • The script is event-driven, using  OnTimer  to automate data sending.
    • Handles HTTP request status and logs errors for troubleshooting.
  2. Flask Server:

    • Listens for incoming  POST  requests on a specific endpoint (e.g.,  /webhook ).
    • Processes the received data and prepares it for integration with TradingView.
    • Confirms successful receipt of data with appropriate logging.
  3. TradingView:

    • Displays the live market data using its webhook or custom script integration to plot charts in real-time.
    • Updates dynamically based on the data streamed from the Flask server.

End Goal

To establish a reliable, automated pipeline that streams live market data from MT5 to TV, enabling real-time charting and enhanced visualization for trading analysis.


Responded

1
Developer 1
Rating
(6)
Projects
7
0%
Arbitration
2
0% / 100%
Overdue
0
Working
2
Developer 2
Rating
(3)
Projects
6
17%
Arbitration
0
Overdue
3
50%
Free
3
Developer 3
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
4
Developer 4
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
50 - 200 USD