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
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
I am seeking an expert MQL5 developer for a paid architectural consultation. I am currently in the process of building a trading platform and need a deep dive with a specialist who understands the "under the hood" mechanics of high-frequency execution and systematic bot design. Topics for Discussion: Engine Logic: Best practices for building a robust, low-latency execution engine on MT5. Risk Frameworks: Implementing
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
I need a clean, bug-free MT5 Expert Advisor (MQL5) based on this exact mechanical scalping strategy on M5 timeframe for EURUSD. Indicators (built-in): - EMA 9 and EMA 21 on M5 - RSI 14 - ADX 14 (>25 for strong trend) - H1 EMA 21 above/below H1 EMA 9 for trend alignment Entry Rules (ALL must be true): BUY: EMA9 crosses above EMA21 (on closed bar) + RSI > 50 + ADX > 25 + H1 EMA21 > H1 EMA9 SELL: Mirror (cross below
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well
I need a visual web page or program to monitor and analyze multiple MT5 or MT4 trading accounts. A real-time dashboard (real-time visual interface) is required, including account ID, affiliated broker, trading account balance, real-time order quantity, opening price, ongoing order position, spread, profit, etc. If you have mature development experience or source code, let's have a chat, bro
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend
need a dots marking of a simple rules pullback indicator. in the .tpl file look at 28 Jan 2026, TF M5 basically it is just overlaping lows or highs of the previous candle price. there are 2 scenario to accomodate: 1. simple pullbacks 2. pullbacks with inside bar and outside bar involved
READ BEFORE MESSAGING PLEASE Developer Requirements (Strict): - Expert Level Only: This is a professional-grade, robust trading engine. Please do not apply if you are a beginner or intermediate developer. ​ - Asynchronous Proficiency: You must have deep experience with CTrade and handling asynchronous order execution (Requotes, Busy Servers, and Order Integrity Sync). ​ - Proven Track Record: I require a developer

Informations sur le projet

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