📌 What Is LineBreakNotifier.mq4?
LineBreakNotifier.mq4 is a custom indicator for MetaTrader 4 (MT4) that monitors line breakouts on your chart and sends real-time alerts. Whether you’re tracking horizontal lines, trendlines, or dynamic high/low levels, this tool helps you stay informed the moment price breaks through key levels.
🔧 Key Features
- Directional Line Break Detection
– Monitors an upward breakout line (UpperBreakLine
) and alerts only when price breaks above it
– Monitors a downward breakout line (LowerBreakLine
) and alerts only when price breaks below it
– Alert messages omit direction and rely on line names for clarity - Automatic High/Low Line Calculation
– Calculates high and low levels based on a specified period and shift
– Displays these lines on the chart using indicator buffers
– Alerts only when price breaks above the high or below the low - Flexible Notification Options
– Supports email, popup alerts, and push notifications
– Each method can be enabled or disabled independently - Break Detection Modes
–CloseOnly
: Detects breakouts based on closed candles
–Intrabar
: Detects breakouts in real-time using current price
– Intrabar mode ensures alerts only trigger if the previous candle didn’t break the level - Cooldown Control
– Prevents repeated alerts for the same event within a specified time window (NotifyCooldownMinutes
)
📈 Visual Display
- High and low lines are drawn using indicator buffers, not chart objects
- They appear as two colored lines on the main chart window
- Removing the indicator removes the lines automatically
🧩 Supported Line Types
- Horizontal lines (
OBJ_HLINE
) - Trendlines (
OBJ_TREND
) - Simply name the line and the indicator will monitor it
💡 Use Cases
- Get notified when price breaks above a resistance level
- Detect support breakdowns instantly
- Monitor dynamic high/low levels over the past 100 bars
- Receive push alerts on your phone while away from your trading desk
📋 Full Parameter Reference

パラメータ名 | 説明(日本語) | Description (English) |
---|---|---|
UpperBreakLine |
上方ブレークを監視するライン名(水平線またはトレンドライン) | Name of the line to monitor for upward breakouts (horizontal or trendline). |
LowerBreakLine |
下方ブレークを監視するライン名(水平線またはトレンドライン) | Name of the line to monitor for downward breakouts (horizontal or trendline). |
TimeFrame |
ブレーク判定に使用する時間足 | Timeframe used for breakout detection. |
HLPeriod |
高値・安値ラインの算出に使う期間(バー数) | Number of bars used to calculate high/low lines. |
HLShift |
高値・安値の算出開始位置(現在バーからのシフト) | Shift position from current bar to start high/low calculation. |
MaxBarsBack |
高値・安値ラインの描画に遡る最大バー数 | Maximum number of bars to draw high/low lines. |
BreakMode |
ブレーク判定モード(0=確定足で判定、1=現在値で即時判定) | Breakout detection mode (0=CloseOnly, 1=Intrabar). |
EnableMail |
メール通知を有効にするか | Enable email notifications. |
EnableAlert |
アラート通知を有効にするか | Enable alert popups. |
EnablePush |
プッシュ通知を有効にするか | Enable push notifications. |
MailTitle |
通知メールの件名 | Subject line for email notifications. |
MailBody |
通知メッセージの本文(ブレーク内容が自動で追加されます) | Base message body (breakout details are appended automatically). |
NotifyCooldownMinutes |
同じイベントの再通知を抑制する最小間隔(分) | Minimum interval (in minutes) to suppress repeated notifications. |
🛠 Recommended Settings
Parameter | Suggested Value | Notes |
---|---|---|
HLShift | 2 | Excludes the most recent candle from high/low calculation |
BreakMode | 1 (Intrabar) | Best for real-time breakout alerts |
NotifyCooldownMinutes | 3–5 | Prevents alert spam while maintaining responsiveness |
📥 Download the Indicator
🚀 Get the Indicator!
You can download the created EA below. While basic functionality has been tested, we cannot compensate for any losses incurred from its use. Please use it at your own risk and verify its operation thoroughly.
高値・安値やトレンドラインのブレイクをプッシュ、メール、アラート通知! (1 download )Found this tool helpful? Buy me a coffee and help support future development.
📢 Looking for More Trading Tools?
Explore my blog for more free MT4 indicators and trading strategies!
👉 Visit FX Trading Gym
🚀 Thank You for Using Our Tools! A Small Favor to Ask 🚀
Thank you so much for choosing our FX indicators and tools!
To support your success in FX trading, we’ve carefully selected some services that can help you achieve better results.
If you find them useful, we’d greatly appreciate your support.

Your participation will not only motivate us but also help us continue to develop even better tools for you in the future!
💼 Increase Your Profits with an Overseas FX Account!
🌍 Exness Account – The Broker I Trust the Most!
- Industry-low spreads to reduce trading costs
- Fully compatible with MT4/MT5, perfect for automated trading (EA)
- Instant withdrawals for smooth fund management
👉 Open an Exness Account Now (Special Offer)
💸 Reduce Trading Costs with Cashback from Overseas FX Accounts!
🚀 TariTali – High Cashback Rates That Make a Difference!
- Maximize savings with high-rate cashback on every trade
- Supports a wide range of MT4/MT5 brokers, ideal for EAs
- Real-time tracking of your cashback history
- Fast withdrawals to domestic bank accounts
👉 Cut Your Trading Costs Smartly with TariTali!
🔥 Money Charger – The New Standard for Forex Cashback!
- Automatic cashback on every trade → The more you trade, the more you earn!
- Industry-leading cashback rates for maximum profit efficiency
- Simple registration with instant cashback available
- Supports multiple brokers, giving you flexible account choices
👉 Start Earning Cashback with Money Charger Today!
More details: Complete Guide to Forex Cashback
🤖 Accelerate Your Profits with Automated Trading Systems (EAs)!
🔥 Introducing High-Performance EAs I’ve Developed
- Poundeur (HL Band M15 for GJ) → The best choice for stable profits
- BBHL Band H1 for EJ & BBHL Band H1 for AJ → Excellent performance even in high-volatility markets
👉 Discover Our Profitable MT4 EAs for FX Traders
📊 Check Out the Most Popular EAs!
- Handpicked EAs trusted by many traders
- Performance records and profit data are publicly available
👉 See the Top-Ranked EAs Now
コメント