Build MT4 Expert Advisor that Trades Based on Telegram Signals

MQL4 Experts

Specification

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

Responded

1
Developer 1
Rating
(21)
Projects
27
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
2
Developer 2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(4)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
0
Free
Published: 2 articles
4
Developer 4
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 5 codes
5
Developer 5
Rating
(550)
Projects
838
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
6
Developer 6
Rating
(43)
Projects
62
23%
Arbitration
9
22% / 56%
Overdue
10
16%
Working
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Loaded
9
Developer 9
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
10
Developer 10
Rating
(48)
Projects
58
34%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(9)
Projects
11
55%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(1)
Projects
4
50%
Arbitration
0
Overdue
0
Working
15
Developer 15
Rating
(169)
Projects
180
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
1
8%
Free
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
20
Developer 20
Rating
(12)
Projects
13
31%
Arbitration
3
0% / 100%
Overdue
0
Free
Published: 1 article
21
Developer 21
Rating
(390)
Projects
502
23%
Arbitration
60
55% / 25%
Overdue
59
12%
Working
22
Developer 22
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
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

Project information

Budget
30+ USD
Deadline
to 5 day(s)

Customer

(4)
Placed orders10
Arbitrage count0