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
(250)
Projects
460
26%
Arbitration
140
20% / 59%
Overdue
100
22%
Working
4
Developer 4
Rating
(7)
Projects
9
0%
Arbitration
1
0% / 100%
Overdue
2
22%
Free
5
Developer 5
Rating
(168)
Projects
199
48%
Arbitration
3
33% / 33%
Overdue
2
1%
Free
6
Developer 6
Rating
(452)
Projects
565
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
Similar orders
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
I need a professional developer to build a Telegram-to-MetaTrader trade copier system. Project overview: - A Telegram bot will read trade signals from a Telegram channel - Trades will be automatically executed on MT4 and/or MT5 accounts - The system must support copying trades to multiple MetaTrader accounts - Execution should work even when the user is offline Functional requirements: - Structured signal format
I want a reliable and broker-independent copy-trading solution that copies trades from a master MT5 account to multiple MT4 and/or MT5 client accounts. The system is designed for stable live trading and works with any broker, handling common differences in symbols, pricing, and execution. The copier supports full trade synchronization, including trade opening, closing, partial closes, and SL/TP modifications, with
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
A trading expert that relies on specific signals such as price breaking a peak or trough, liquidity withdrawal, and retesting the signal. Lock the expert advisor with a code and create a subscriber base with a separate key for each subscriber

Project information

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