Connect TradingView signals to MT4 using webhooks

MQL4 Experts Forex

Tâche terminée

Temps d'exécution 6 jours
Commentaires de l'employé
Excellent customer. His communication and document are crystal clear.
Commentaires du client
Very professional, skilled and very fast developer. Excellent cooperation - highly recommended.

Spécifications

Hi second time (I deleted previous order by mistake),


I would like to connect my TradingView signals to MT4 using webhooks. As of now, using my own Telegram channel seems to be the easiest and safest option. 

Now Im using this solution https://www.tradingviewtomt4.com/

Here is the overall flow: 

  1. Alert setup in TradingView (from strategy script)
  2. TradingView generates alert when condition is triggered (currency + order type + risk management or lot size from alert comment field).
  3. TradingView sends alert using Webhook URL field to send the signal to Telegram - I want to use this default syntax from tradingview   
  4. Telegram reads signal data and forwards signal detail to MT4 EA 
  5. MT4 opens order. EA can works with default lot size (i can set in tradingview messsage) or risk management calculation based on this https://www.tradingviewtomt4.com/blog/why-risk-manegement - Im using this just now, but the EA is not 100% reliable and the syntax is limited.
  6. Im using multiple accounts on one VPS (3-4 MT4 apps on one desktop) - I need the account identification and send signals to the specific account (will be in the Tradingview message)
  7. I need Central % equity stop (close all trades and stop autotrading/bot) + Notification when robot is stopped - I can set SL for all trades on acount for example on 50% of my account equity (should be calculated from last balance), then close all trades and stop automatic trading on metatrader and send notification to MT4 mobile app.


I want to use this placeholder to build my alert's notification message. They will be replaced by their corresponding value when the alert triggers. ( )

  • {{ticker}} - returns SYMBOL (EURUSD, BTCUSD, EURGBP, …)
  • {{strategy.market_position}} — returns the current position of the strategy in string form: “long”, “flat”, or “short”.
  • {{strategy.order.alert_message}} - returns specific message from EA (account and risk management in my case)


Message from tradingview looks like this:

Open Orders:

long_SYMBOL_account_SLinPoints_Risk%
short_SYMBOL_account_SLinPoints_Risk%

example:

long_EURUSD_111222333_150_0.05 = opens a long order on EURUSD  on account 111222333 with an SL 150 points away with 5% risk if SL triggers
short_EURGBP_222333444_300_0.03 = opens a short order on EURGBP  on account 222333444 with an SL 300 points away with 3% risk if SL triggers
long_EURJPY_222444666_300_0.00= opens a short order on EURJPY on account 222444666 with an SL 300 points away and the default lot size (I can set in EA)

Close Orders:

flat_SYMBOL_SLinPoints_Risk%_account

example:

flat_EURUSD_111222333_150_0.05 = close all orders on EURUSD on account 111222333 (with „flat“ order everything else in the text after account number has to be ignored)


The signals form tradingview can come in the same time - it is necessary to follow the sequence of signals

I look forward to answering your questions if any. Developer with proven experience will be preferred. 

It is not a problem to increase the budget if its necessary.

Thank you :-)


Répondu

1
Développeur 1
Évaluation
(164)
Projets
218
50%
Arbitrage
6
17% / 67%
En retard
11
5%
Gratuit
2
Développeur 2
Évaluation
(69)
Projets
93
34%
Arbitrage
10
40% / 30%
En retard
5
5%
Gratuit
3
Développeur 3
Évaluation
(137)
Projets
220
52%
Arbitrage
22
23% / 55%
En retard
64
29%
Gratuit
Publié : 3 codes
Commandes similaires
Requirements Specification Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with
REWARD! 35 - 200 USD
I will pay you a REWARD, if you find / create an EA that fits ALL the below criteria! Platform : MT4 Timeframe : doesn’t matter Pair : doesn’t matter Strategy : doesn’t matter Drawdown : no more than 25% Return : minimum 5%, every month Lot sizing : dynamic lots I will backtest the EA with 99.9% tick data accuracy for a period of 20+ years . If the EA can produce minimum 5% returns EVERY MONTH over 20 YEARS with less
Hello, I am looking for someone to Run and Monitor the EA and Signals in the account. Should be able to monitor daily and fix any issue in the signal Copying and EA running. The Settings and configuration to be checked and updated periodically. Should be available to report and update on daily basis. Tell me the cost and your previous experience for the same. Thanks
Looking for an Experienced MQL4/MQL5 Developer to Build a Professional Scalping Expert Advisor (EA) I am looking for an experienced MQL4/MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 4 or MetaTrader 5 from scratch. My goal is to develop a high-quality scalping system with strong risk management and long-term profitability potential. I am not looking for unrealistic promises or "100%
void OnTick() { // Check if we already have an open trade if(OrdersTotal() == 0) { // Get the value of a 14-period Moving Average double ma = iMA(Symbol(), 0, 14, 0, MODE_SMA, PRICE_CLOSE, 0); // Basic Condition: If current close price moves above the MA, buy if(Close[0] > ma) { int ticket = OrderSend(Symbol(), OP_BUY, 0.1, Ask, 3, 0, 0, "My First Bot", 0, 0, clrGreen); } } }
Recently I have backtested more than 100 EAs and I have come to a conclusion that in the long-term all of them produce catastrophic results. I used 99.9% data quality and whenever possible decades of data. In the short-term almost all of them can have nice gains. But there is hardly any EA that could survive even just 3-5 years, let alone decades ! This got me thinking: if almost all EAs are unfit for long-term
I am looking for an experienced MQL5 developer to convert a TradingView indicator into an MT5 indicator. The objective is to recreate the TradingView indicator in MQL5 so that it produces the same calculations, plots, values, and signals as closely as possible. Requirements: Convert the TradingView Pine Script into an MT5 indicator (.mq5). Ensure the MT5 version matches the TradingView version as accurately as
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Overview I am looking for an experienced algorithmic trading developer to build a professional Expert Advisor (EA) for MetaTrader 5 and/or cTrader. The objective is to create a robust automated trading system focused exclusively on XAUUSD (Gold) . This project is intended for serious
[8/4/2026 4:54 AM] DR.HassaN: AI Gold Analysis Web Platform Requirements Hello, I would like to build a professional AI-powered web platform dedicated exclusively to Gold (XAU/USD) analysis . This is NOT a trading platform or broker . It is an intelligent analysis platform that provides high-quality trading signals and detailed market analysis. The platform should have a modern, premium design with my own branding

Informations sur le projet

Budget
50 - 500 USD
Délais
de 1 à 10 jour(s)