Spezifikation
MetaTrader experience is absolutely essential. Please don’t bid if you have not previously developed applications for MT5.
📌 Project Title:
Custom Drag-and-Drop Alert System for MetaTrader 5 (MT5)
📝 Project Description
I require a custom alert system to be developed for the MetaTrader 5 platform. The tool should allow me to place and manage alerts visually on the chart, supporting both standard and trailing alerts, in both long and short directions. The system must support all standard MT5 alert types and be thoroughly tested prior to delivery.
✅ Key Features
Drag-and-Drop Visual Alerts
- A script or EA can be applied to the chart to create a price alert.
- A visible horizontal line appears on the chart at the alert level.
- For non-trailing alerts, the line can be dragged to adjust the price.
- Line should be fully customizable (color, style, width).
- Works for both long (buy) and short (sell) alert scenarios.
- Deleting the alert line from the chart will delete the alert
- All alerts should only trigger once (not the default 5)
Alert Notifications
- Must support all native MT5 notification types:
• Push notifications to registered devices
• Email alerts
• Sound alerts
• On-screen popup alerts
- Each alert includes a custom user-defined message.
MT5 Terminal Integration
- Deleting an alert must remove the chart objects associated with it.
- Supports multiple active alerts per chart.
Trailing Alert Option
- Option to enable trailing alerts, where the alert level follows price at a defined pip distance (like a trailing stop).
- Once triggered, the alert sends notifications like a standard alert.
- The trailing alert line should not be draggable.
On-Chart Alert Summary
- A label should be displayed in the top-left corner of the chart showing all active alerts.
- When an alert is triggered:
• Its corresponding line in the label should change color.
• The text is updated to include “– Triggered”.
• Delete the alert from the chart should remove the label
- Example:
Alerts list
Trailing DOWN alert by 62 pips stop at price 73.901
Trailing DOWN alert by 124 pips stop at price 74.522
Trailing DOWN alert by 106 pips stop at price 73.529 – Triggered
- Label text color and font size must be user-configurable.
🎛️ User Inputs
Variable | Description |
Price | The price at which the alert should trigger. |
AlertText | Custom message shown in the alert notification. |
LineColor | Color of the alert line. |
LineStyle | Style of line (solid, dashed, etc.). |
LineWidth | Thickness of the line. |
Trailing | Enables trailing alert (true or false). |
TrailingStop | Distance in pips for trailing alert to follow price. |
LabelTextColor | Color of the on-chart alert label text. |
LabelFontSize | Font size of the on-chart alert label text. |
🌐 Compatibility
- Must work across all currency pairs, including those with specific pip values (e.g., JPY pairs).
- Should work on any timeframe and multiple charts simultaneously.
🧪 Testing & Delivery Requirements
- The system must be fully tested before delivery, including:
• Trailing and non-trailing alerts
• Long and short directions
• Notifications
• Interaction with the MT5 Alerts tab
• Visual updates on chart
- Testing must include JPY pairs to ensure pip-based logic functions correctly.
- Delivery should minimize back-and-forth revisions.
- Please ask any clarifying questions and ensure understood before undertaking the work.
🗂️ Deliverables
- Working .mq5 and .ex5 files
- Clean, readable, and well-commented code
- Instructions or notes for setup and usage
- Must compile cleanly with no external dependencies (e.g., no stdlib.mqh)