Build MT4 Expert Advisor that Trades Based on Telegram Signals

MQL4 Experts

Spécifications

I need an Expert Advisor (EA) for MT4 that automatically executes and close trades based on signals received from a Telegram channel. The EA must read Telegram messages, parse specific fields, determine BUY/SELL direction, and open trades according to predefined rules.

Telegram signal is received from specific TELEGRAM_TOKEN  and CHAT_ID

Signal Parsing Requirements, I will provide signal samples.

Trade Execution                     

When a valid signal arrives:

  • Determine BUY/SELL and close position from pattern.
  • Open market order at nearest available MARKET PRICE
  • Lot size (default 0.10)
  • Avoid duplicate trades for the same symbol and same signal.
  • Option to close previous trade when new signal arrives.
  • Input parameter: Max_Open_Positions
  • EA must NOT open new trades if this limit is reached.
  • EA working hours
  • Auto‑close at specific time
  • Custom comments

Close Condition

  • If symbol matches an open trade
  • AND message contains specific phrase

Magic Number

  • EA must use a unique magic number.

EA Risk & Trade Management Settings

Maximum Open Positions

  • Input parameter: Max_Open_Positions
  • EA must NOT open new trades if this limit is reached.

Maximum Positions Per Symbol

  • Input parameter: Max_Positions_Per_Symbol
  • EA must ignore new signals if symbols already have max trades.

Close Previous Trade on New Signal

  • Input: Close_On_New_Signal (true/false)
  • If true → EA closes old trade before opening new one.

EA Working Hours

Allowed Trading Hours ( GMT TIME )

 Inputs:      StartHour

       EndHour

EA must:

  • Only open trades between StartHour and EndHour
  • Ignore signals outside working hours
  • Still allow closing trades outside hours (configurable)

Auto‑Close at Specific Time

  • Input: AutoCloseHour
  • At this time EA must close ALL open positions (optional toggle):
    • AutoCloseEnabled (true/false)

EA Inputs (Full List)

Trading Inputs

  • LotSize
  • SL (pips)
  • TP (pips)
  • MagicNumber
  • Max_Open_Positions
  • Max_Positions_Per_Symbol
  • Close_On_New_Signal (true/false)

·        Custom Comments

Time Inputs ( GMT )

  • StartHour
  • EndHour
  • AutoCloseEnabled (true/false)
  • AutoCloseHour

        Direct Telegram API inside EA

Deliverables

  • Fully working MT4 EA
  • Installation instructions
  • Full source code

Répondu

1
Développeur 1
Évaluation
(21)
Projets
27
7%
Arbitrage
9
33% / 33%
En retard
1
4%
Travail
2
Développeur 2
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(4)
Projets
4
25%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
Publié : 2 articles
4
Développeur 4
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 5 codes
5
Développeur 5
Évaluation
(550)
Projets
838
61%
Arbitrage
33
27% / 45%
En retard
24
3%
Gratuit
Publié : 1 code
6
Développeur 6
Évaluation
(43)
Projets
62
23%
Arbitrage
9
22% / 56%
En retard
10
16%
Travail
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Chargé
9
Développeur 9
Évaluation
(7)
Projets
6
0%
Arbitrage
4
25% / 75%
En retard
2
33%
Gratuit
10
Développeur 10
Évaluation
(48)
Projets
58
34%
Arbitrage
15
27% / 60%
En retard
1
2%
Travail
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(9)
Projets
11
55%
Arbitrage
0
En retard
0
Gratuit
13
Développeur 13
Évaluation
(1)
Projets
1
100%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
(1)
Projets
4
50%
Arbitrage
0
En retard
0
Travail
15
Développeur 15
Évaluation
(169)
Projets
180
46%
Arbitrage
3
33% / 33%
En retard
1
1%
Travail
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
(10)
Projets
12
0%
Arbitrage
3
33% / 33%
En retard
1
8%
Gratuit
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(206)
Projets
333
35%
Arbitrage
66
12% / 58%
En retard
87
26%
Gratuit
20
Développeur 20
Évaluation
(12)
Projets
13
31%
Arbitrage
3
0% / 100%
En retard
0
Gratuit
Publié : 1 article
21
Développeur 21
Évaluation
(391)
Projets
503
23%
Arbitrage
60
55% / 25%
En retard
59
12%
Travail
22
Développeur 22
Évaluation
(4)
Projets
3
33%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
23
Développeur 23
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
24
Développeur 24
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 1 code
25
Développeur 25
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
26
Développeur 26
Évaluation
(4)
Projets
6
67%
Arbitrage
1
0% / 0%
En retard
0
Travail
27
Développeur 27
Évaluation
(10)
Projets
14
43%
Arbitrage
0
En retard
3
21%
Gratuit
28
Développeur 28
Évaluation
(32)
Projets
33
42%
Arbitrage
0
En retard
3
9%
Gratuit
29
Développeur 29
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
30
Développeur 30
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
31
Développeur 31
Évaluation
(61)
Projets
75
59%
Arbitrage
4
75% / 25%
En retard
1
1%
Chargé
32
Développeur 32
Évaluation
(202)
Projets
263
22%
Arbitrage
23
52% / 17%
En retard
0
Chargé
33
Développeur 33
Évaluation
(169)
Projets
202
48%
Arbitrage
5
20% / 60%
En retard
2
1%
Gratuit
34
Développeur 34
Évaluation
(6)
Projets
8
38%
Arbitrage
1
100% / 0%
En retard
2
25%
Gratuit
35
Développeur 35
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
36
Développeur 36
Évaluation
(28)
Projets
34
35%
Arbitrage
0
En retard
2
6%
Gratuit
37
Développeur 37
Évaluation
(298)
Projets
478
40%
Arbitrage
105
40% / 24%
En retard
82
17%
Chargé
Publié : 2 codes
38
Développeur 38
Évaluation
(366)
Projets
445
55%
Arbitrage
22
55% / 14%
En retard
30
7%
Chargé
39
Développeur 39
Évaluation
(78)
Projets
246
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
40
Développeur 40
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
41
Développeur 41
Évaluation
(1)
Projets
1
100%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop

Informations sur le projet

Budget
30+ USD
Délais
à 5 jour(s)

Client

(4)
Commandes passées10
Nombre d'arbitrages0