EA that read tradingview webhook signal

Job finished

Execution time 6 days
Feedback from customer
Good developer

Specification

Goal:
Create an MT5 Expert Advisor that reads trading signals from online file (generated by webhook.php from TradingView alerts) and opens/closes trades accordingly. The strategy can open multiple trades, and each trade must be managed individually using a unique ID.


---

✅ 1. FILE & SIGNAL FORMAT

EA will read from a local file:
signal.json (mydomain.com/ signal.json ) or what ever it called 

The developer must define the JSON structure with me and adapt the EA to match it.

Example JSON format (one object per signal or array — developer to propose best method):


{
  "id": "12345",
  "symbol": "XAUUSD",
  "action": "buy", // or "sell" or "close"
  "volume": 0.10
}

The EA must handle:

Multiple signals

Unique IDs per trade

Matching close signals to the correct trade



---

✅ 2. TRADE MANAGEMENT (BY UNIQUE ID)

Every trade must be opened with its own ID stored as:

comment or

magic number (developer can choose the best method)


When a “close” signal arrives with the same ID, the EA must ONLY close that single position.

EA must NOT close all open trades when a close signal is sent.



---

✅ 3. SYMBOL NAME HANDLING (SUFFIX OPTION)

My broker uses different symbols:

TradingView: XAUUSD

Broker: XAUUSD.r


The EA must: ✅ Have input parameter for symbol suffix (e.g. .r) OR
✅ Try to automatically detect symbol names

Example:

Input: SymbolSuffix = ".r"

If no suffix is needed, leave it blank.


---

✅ 4. EA PARAMETERS (MUST BE INCLUDED)

Inputs:

1. SymbolSuffix → string (e.g. ".r" or empty)


2. LotSize → default or read from JSON


3. Slippage


4. MagicNumberStart (if IDs stored as magic numbers)


5. FileName → default: signal.json


6. FileLocation → /MQL5/Files or Common folder


7. CheckIntervalSeconds → how often EA reads the file


8. CloseByIDOnly → true/false (must be true by default)


9. Optional risk-based lot settings or fixed volume




---

✅ 5. FILE READING LOGIC

Developer must implement:

Reads file every X seconds

JSON parsing (no manual string hacks)

Handle multiple signals if they exist

After processing a signal:

Option 1: delete it

Option 2: mark it as "processed" (developer should suggest best approach)




---

✅ 6. TRADE ACTIONS

For each signal:

"buy" → open a buy trade

"sell" → open a sell trade

"close" → only close the trade with matching ID


If the ID already exists in an open position, ignore duplicate open commands.


---

✅ 7. ERROR HANDLING & LOGGING

EA must:

Print readable errors in Experts tab

Show if JSON not found or invalid

Alert if symbol not available

Skip signals safely without crashing



---

✅ 8. TERMINAL & ACCOUNT REQUIREMENTS

Must work on MT5

Must handle hedging accounts (multiple trades same symbol)

Must support 3 or more simultaneous trades

Should survive terminal restarts without losing track of open IDs



---

✅ 9. TESTING & DELIVERY

Developer must provide:

Example signal.json

Explanation/setup of file path

Instructions for putting EA in terminal

Source code (.mq5)


Files:

Responded

1
Developer 1
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
2
Developer 2
Rating
(2)
Projects
0
0%
Arbitration
5
0% / 60%
Overdue
0
Free
3
Developer 3
Rating
(252)
Projects
462
26%
Arbitration
139
20% / 60%
Overdue
100
22%
Free
4
Developer 4
Rating
(7)
Projects
9
0%
Arbitration
1
0% / 100%
Overdue
2
22%
Free
5
Developer 5
Rating
(170)
Projects
203
47%
Arbitration
5
20% / 60%
Overdue
3
1%
Free
6
Developer 6
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
Similar orders
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project
AWFX 69+ USD
I want a highfrequency straddle scalping mt5 ea,that is excellent for news event trading. Must be fully configurable and the pending stop orders must be used fast with the OCO style. It must trade cycles ultra-fast and dynamically increase lotSize bases on the current balance or equity
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

Project information

Budget
30 USD
Deadline
from 1 to 3 day(s)