指定
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version)
Objective:
Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format.
Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart.
1. Data Flow Diagram:
Alert Manager File -> Custom Study ACSIL -> HTTP POST Webhook -> MT5 EA
2. Functional Requirements:
a. Monitor Alerts
Periodically read the Alert Manager file (e.g., every second).
Capture any new alert not sent previously.
Avoid sending duplicate alerts from multiple charts.
b. Parse Alert
Extract from the alert text:
Symbol (e.g., EURUSD)
Timeframe (e.g., 5m)
ID (ID3 or ID2)
Presence of "true" for validity
Determine trade direction:
ID3 → "Buy"
ID2 → "Sell"
Validate alert:
If "true" exists → valid: true
If "true" does not exist → ignore alert
c. Build JSON
JSON
{
"symbol": "EURUSD",
"timeframe": "5m",
"direction": "Buy",
"valid": true
}
d. HTTP POST
Send JSON asynchronously to the MT5 EA Webhook.
Ensure Sierra Chart performance is not affected during the request.
e. MT5 EA (Listener)
Receive JSON payload.
Execute trade immediately if valid=true.
Ignore the alert if valid=false.
3. Example Workflow
Alert Manager Text:
EURUSD 5m ID3 true
ACSIL Study Processing Steps:
Parse → Symbol = "EURUSD", Timeframe = "5m"
Check "true" → valid = true
Check ID3 → direction = "Buy"
Send JSON to MT5 EA
MT5 EA: Receives JSON and executes a Buy trade on EURUSD immediately.
4. Key Features
Centralized alerts from Alert Manager file instead of individual charts.
Reduces duplicate alerts.
Better performance and faster processing.
Consistent JSON format, easy for EA to handle.
Ability to add future modifications or enhancements.
Provides clear alert points for monitoring in Sierra Chart.
5. Alert Text Format in Alert Manager
The alert text should contain all necessary information:
SYMBOL TIMEFRAME ID3 true
or
SYMBOL TIMEFRAME ID2 true
Examples:
EURUSD 5m ID3 true
XAUUSD 15m ID2 true
6. Data Extraction Table
Element
Description
Example
Extraction Rule
symbol
Asset Symbol
EURUSD
First word in the alert text
timeframe
Timeframe
5m
Second word in the alert text
direction
Trade Direction
Buy/Sell
ID3 → Buy, ID2 → Sell
valid
Alert Validity
true
If alert contains "true" → true, else false
7. JSON Payload Example
JSON
{
"symbol": "EURUSD",
"timeframe": "5m",
"direction": "Buy",
"valid": true
}
反馈
1
等级
项目
671
32%
仲裁
42
45%
/
45%
逾期
12
2%
已载入
2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
3
等级
项目
31
13%
仲裁
12
0%
/
75%
逾期
9
29%
空闲
4
等级
项目
55
33%
仲裁
15
27%
/
60%
逾期
1
2%
工作中
5
等级
项目
4
50%
仲裁
0
逾期
0
工作中
6
等级
项目
513
19%
仲裁
34
44%
/
32%
逾期
34
7%
已载入
7
等级
项目
47
60%
仲裁
4
50%
/
25%
逾期
0
工作中
8
等级
项目
7
43%
仲裁
1
0%
/
100%
逾期
0
空闲
9
等级
项目
170
44%
仲裁
3
33%
/
33%
逾期
1
1%
已载入
10
等级
项目
9
89%
仲裁
0
逾期
0
空闲
11
等级
项目
4
0%
仲裁
0
逾期
1
25%
空闲
12
等级
项目
20
40%
仲裁
1
0%
/
100%
逾期
1
5%
空闲
13
等级
项目
8
13%
仲裁
4
50%
/
0%
逾期
0
工作中
发布者: 3 文章, 32 代码
14
等级
项目
5
0%
仲裁
4
25%
/
75%
逾期
2
40%
空闲
15
等级
项目
9
22%
仲裁
1
0%
/
0%
逾期
4
44%
工作中
16
等级
项目
82
11%
仲裁
12
67%
/
25%
逾期
5
6%
工作中
发布者: 15 文章, 6 代码
相似订单
ZigZag based on oscillators is needed The idea of the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
RSI indicator
130 - 150 USD
The Relative Strength Index (RSI) is a technical momentum indicator measuring the speed and change of price movements, scaled from 0 to 100 to identify overbought (>70) or oversold (<30) conditions. Developed by J. Welles Wilder Jr., it helps traders spot potential trend reversals or corrections.Imagine a stock, XYZ, is trending upwards.Overbought Signal: The price increases sharply, and the RSI rises to 75. This
项目信息
预算
50+ USD
截止日期
从 1 到 5 天
客户
所下订单2
仲裁计数0