Price Alert Indicator for MetaTrader 5 is a powerful tool that lets you set up alerts when prices hit specific levels. Whether you're looking to catch a breakout or avoid a downturn, this indicator has your back. It offers three price level alerts:
- The first alert triggers when the price climbs above a pre-set level, shown on your chart with a green line.
- The second alert activates when the price dips below a certain level, marked by a red line.
- The third alert goes off when the price hits a specific value exactly, indicated by a yellow line.
You'll get three types of notifications: a native popup, email alerts, and push notifications. To make sure the email and push notifications work, you'll need to set up your email or MetaQuotes ID in the MetaTrader options window. And the best part? This indicator is compatible with both MT4 and MT5!
The indicator features a handy control panel, allowing you to quickly set your desired alert levels and types.
Input Parameters
Main Settings
- PriceGoesAbove (default = 0.0) — Triggers an alert if the price rises above this value.
- PriceGoesBelow (default = 0.0) — Triggers an alert if the price falls below this value.
- PriceIsExactly (default = 0.0) — Triggers an alert when the price is exactly this value.
- NativeAlert (default = false) — If set to true, you'll receive a native platform alert (a popup window with sound).
- SendEmail (default = false) — If true and your email settings are correct in the MetaTrader options, this will send an email alert.
- SendPush (default = false) — If true and your MetaQuotes ID is set up correctly, this will send a push notification to your mobile device.
- AlertOnPrice (default = Normal Ask/Bid) — Select the price type for alerts: normal Ask/Bid, only Ask, only Bid, or the Close of the previous candle.
- PanelOnTopOfChart (default = true) — If true, the panel will be displayed on top of the chart. Setting it to false will reveal the chart behind the panel.
Line Customization
- Above Line Color (default = clrGreen) — The color of the line for prices above the alert level.
- Below Line Color (default = clrRed) — The color of the line for prices below the alert level.
- Exactly Line Color (default = clrYellow) — The color of the line for the exact price level.
- Above Line Style (default = STYLE_SOLID) — The style of the line for prices above the alert level.
- Below Line Style (default = STYLE_SOLID) — The style of the line for prices below the alert level.
- Exactly Line Style (default = STYLE_SOLID) — The style of the line for the exact price level.
- Above Line Width (default = 1) — The width of the line for prices above the alert level.
- Below Line Width (default = 1) — The width of the line for prices below the alert level.
- Exactly Line Width (default = 1) — The width of the line for the exact price level.
Panel Positioning
- PanelPositionX (default = 0) — The horizontal distance from the selected corner for the panel's position.
- PanelPositionY (default = 15) — The vertical distance from the selected corner for the panel's position.
- PanelPositionCorner (default = CORNER_LEFT_UPPER) — The default corner where the panel will be positioned.

Related Posts
- Unlocking the Power of Master Tools for MetaTrader 4
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- How to Use the Change Chart Symbol Menu for MetaTrader 4
- Mastering the Open Range Breakout Indicator for MetaTrader 5