Live Data output from MT5 to Tradeview

MQL5 积分

工作已完成

执行时间14 天

指定

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.


反馈

1
开发者 1
等级
(6)
项目
7
0%
仲裁
2
0% / 100%
逾期
0
工作中
2
开发者 2
等级
(3)
项目
6
17%
仲裁
0
逾期
3
50%
空闲
3
开发者 3
等级
(13)
项目
20
40%
仲裁
1
0% / 100%
逾期
1
5%
空闲
4
开发者 4
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
5
开发者 5
等级
项目
0
0%
仲裁
0
逾期
0
空闲

项目信息

预算
50 - 200 USD