AlertingSystem
This EA draws two horizontal price lines on the chart at user-specified higher and lower price levels, and plays an alert sound when the bid price crosses above the upper line or the ask price crosses below the lower line. It allows the user to drag the lines to adjust alert levels dynamically. The EA does not open, close, or manage any trades.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
This EA is not a trading strategy but rather a price alert utility. Its core concept is to place two horizontal lines on the chart as price monitoring thresholds. The entry condition can be understood as: when the Bid price reaches or exceeds the upper line, an upper alert is triggered; when the Ask price reaches or falls below the lower line, a lower alert is triggered. There are no exit conditions since the EA does not execute trades. Position sizing and money management are completely absent since this tool never opens or closes positions. The EA's strength lies in its interactive draggable horizontal lines for dynamic alert level adjustment, but it lacks alert repeat suppression, offers only a single notification method (sound), and has no mechanism to persist or reset alert states.
Strengths
- Interactive draggable horizontal lines allow users to dynamically adjust alert price levels
- Simple and intuitive implementation, code is easy to understand and modify
- Lines are selectable, making it convenient for users to manually adjust them on the chart
Weaknesses
- No alert repeat suppression mechanism - the sound plays on every tick while price remains beyond the threshold, causing annoying noise
- Only supports sound notification, lacking push notifications, email, or popup alerts
- No default values for input parameters, requiring manual price entry which may cause errors if omitted
- No input validation - no error reported when LowerPrice is set higher than HigherPrice
- OnDeinit does not delete created chart objects, leaving residual lines on the chart after EA removal
Possible improvements
- Add alert suppression mechanism, such as a cooldown period after triggering or requiring price to return inside the threshold before re-triggering
- Delete created chart objects in OnDeinit to avoid residual lines on the chart
- Add support for multiple notification methods such as push notifications, email, and popup alerts
- Add input parameter validation to ensure HigherPrice is greater than LowerPrice and provide reasonable default values
Risk assessment
Overall risk: Safe
- This EA does not execute any trading operations, posing no financial risk
- Continuous alert sound when price persists beyond threshold may cause annoyance but no trading losses
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
HigherPrice | 未设置默认值 | Price threshold for upper alert level line |
LowerPrice | 未设置默认值 | Price threshold for lower alert level line |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.