Tag: MetaTrader 5

  • Free Candlestick Pattern Indicator for MT5: 23 Patterns with ATR Filter and Alerts

    Free Candlestick Pattern Indicator for MT5: 23 Patterns with ATR Filter and Alerts

    Free MT5 Indicator · Price Action · 2026

    Free Candlestick Pattern Indicator for MT5:
    23 Patterns with ATR Filter & Alerts

    botfxpro.io · MT5 indicator · Price action patterns · Free download on MQL5

    Most candlestick pattern indicators on MQL5 detect 5–8 patterns and call it done. Price Action Patterns Pro detects 23 patterns across single, two-candle, and three-candle formations — with an ATR size filter and Volume filter built in to remove the low-quality signals that most pattern detectors generate constantly.

    This article covers what the indicator detects, how the filters work, and why they matter in practice. The indicator is free to download on MQL5.


    What It Detects: 23 Candlestick Patterns

    The indicator covers the complete range of candlestick patterns used in price action trading, organized into three categories:

    Single-Candle Patterns (12)

    Pattern Signal Key Rule
    Pin Bar (Bull/Bear) Reversal Wick >70% of range, body <20%
    Dragonfly Doji Bullish reversal Lower wick >85%, near-zero body
    Gravestone Doji Bearish reversal Upper wick >85%, near-zero body
    Doji Indecision Body <5% of range
    Spinning Top Indecision Small body, wicks both sides
    Hammer Bullish reversal Lower wick >60%, upper wick <10%
    Hanging Man Bearish reversal Same shape as Hammer, after uptrend
    Inverted Hammer Bullish reversal Upper wick >60%, lower wick <10%
    Shooting Star Bearish reversal Same shape as Inv. Hammer, after uptrend
    Bullish Marubozu Strong bullish Body >90%, virtually no wicks
    Bearish Marubozu Strong bearish Body >90%, virtually no wicks

    Two-Candle Patterns (6)

    Pattern Signal Key Rule
    Bullish Engulfing Bullish reversal Candle 2 body engulfs C1 by >110%
    Bearish Engulfing Bearish reversal Candle 2 body engulfs C1 by >110%
    Bullish Harami Bullish reversal C2 body inside C1, C2 <50% of C1
    Bearish Harami Bearish reversal C2 body inside C1, C2 <50% of C1
    Tweezer Bottom Bullish reversal Two matching lows within 3 pips
    Tweezer Top Bearish reversal Two matching highs within 3 pips

    Three-Candle Patterns (6)

    Pattern Signal Key Rule
    Morning Star Bullish reversal Large bear + small indecision + large bull closing >50% into C1
    Evening Star Bearish reversal Large bull + small indecision + large bear closing >50% into C1
    Three White Soldiers Strong bullish 3 consecutive bull candles, body >55%, upper wick <15%
    Three Black Crows Strong bearish 3 consecutive bear candles, body >55%, lower wick <15%
    Three Inside Up Bullish reversal Harami + confirming bull candle
    Three Inside Down Bearish reversal Harami + confirming bear candle

    The ATR Filter: Why It Matters

    The most common problem with candlestick pattern indicators is signal noise. Without a quality filter, they mark every small, insignificant candle that technically meets the geometric definition of a pattern — producing dozens of signals per session that don’t lead anywhere.

    The ATR (Average True Range) filter in this indicator requires every detected pattern to have a candle range of at least 70% of the current ATR. Candles below this threshold are silently filtered out regardless of their shape.

    Why 70% ATR?

    A pattern that forms on a candle smaller than 70% of the average range has limited ability to move price. Institutional order flow, which is what actually drives reversals, leaves footprints in candles that are large relative to recent average movement. Small patterns on quiet candles are more likely to be noise than signal.

    Volume Filter

    The volume filter provides a second layer of quality control. It requires each detected pattern candle to have volume of at least 80% of the 20-period average volume. Low-volume patterns — particularly common in off-hours and around session opens — are filtered out.

    Together, the ATR and volume filters typically reduce the total signal count by 40–60% compared to unfiltered detection, leaving only the patterns with genuine market participation behind them.


    Alert System

    Every detected pattern can trigger four independent alert types:

    • Popup alert — on-screen alert in the MT5 terminal
    • Sound alert — configurable .wav file plays on signal
    • Push notification — sends to MT5 mobile app (requires MetaQuotes account)
    • Email notification — sends via configured SMTP settings in MT5

    Each alert type has an independent on/off toggle. You can use any combination — for example, popup + push notification for mobile monitoring without sound.


    Auto Offset (v1.30)

    Arrow and label placement scales automatically using ATR to prevent arrows from overlapping candle bodies. On symbols with larger price ranges (like Gold or indices), the arrow distance increases automatically. On tight-spread pairs, it contracts. This means the chart stays readable across different instruments without manual offset adjustment.

    Free Download on MQL5

    Price Action Patterns Pro is available as a free download on the MQL5 Market. No purchase required — install directly from the Market tab in MT5 or from the MQL5 website.

    Download Price Action Patterns Pro

    23 patterns · ATR filter · Volume filter · Push notifications · Free on MQL5

    Download Free on MQL5 →

    Disclaimer: Candlestick patterns are technical analysis tools, not predictive signals. Past pattern performance does not guarantee future results. Always use additional confluence factors and risk management when trading. This indicator is provided as-is for educational and analytical purposes.
  • MetaTrader 5 Push Notifications & Email Alerts: Complete Setup Guide

    MetaTrader 5 Push Notifications & Email Alerts: Complete Setup Guide

    Tutorial · MT5 · Notifications · 12 min read

    Your Stop Loss just hit breakeven. Your daily drawdown is one trade away from the FTMO limit. Your trailing stop is creeping up nicely on a 30-pip winner. You should know about all of these — but you are not at the computer.

    MetaTrader 5 has built-in support for two notification channels: Push Notifications straight to your phone, and Email Alerts through any SMTP server. No third-party plugins, no monthly subscription, no Telegram bot to maintain. Just configure once and your EA can ping you for any event you care about.

    This guide walks through the complete setup using RiskFlow Pro as the example EA — but the MT5 setup steps work identically for any EA that supports notifications. By the end you will have push alerts on your phone and email alerts in your inbox, firing for the exact events you choose.

    What You Will Set Up

    Push notifications from MT5 desktop to the MT5 mobile app, email alerts via Gmail SMTP (or Outlook, Yahoo, iCloud), and event-level filtering for breakeven, partial close, daily drawdown limit, and trailing stop moves.

    Why Bother with Notifications?

    If you are running an EA, you might think notifications are unnecessary. The EA does the work, right? In practice, three scenarios change that quickly:

    1. Prop firm challenges. You are running an FTMO challenge and your daily drawdown is approaching the limit. A push notification means you stop trading immediately instead of finding out at midnight when you check the account.

    2. Manual oversight on automated systems. Even with auto-management, knowing that your SL just moved to breakeven on a runner trade is useful — you might want to add to the position, or simply enjoy the peace of mind.

    3. Multi-account management. If you trade on more than one MT5 instance or VPS, notifications consolidate everything into one phone or one inbox.

    Part 1 — Push Notifications to Your Phone

    Push notifications send directly from your MT5 desktop terminal to the MetaTrader 5 mobile app. The connection uses a unique 8-digit ID called the MetaQuotes ID. The whole setup takes about 3 minutes.

    Step A: Get Your MetaQuotes ID from the Mobile App

    Your MetaQuotes ID is generated automatically when you install the MT5 app. You can only see it inside the mobile app — it is not shown anywhere on the desktop terminal.

    1. Install MetaTrader 5 on your phone (free on iOS App Store and Google Play) if you have not already.
    2. Open the app and tap the menu icon in the top-left corner.
    3. Tap Messages from the menu.
    4. Tap New Message (or the compose icon). At the top you will see Your MetaQuotes ID: followed by an 8-digit number.
    5. Note the 8 digits — for example 12345678. This is what you need on the desktop side.

    Common Mistake

    The MetaQuotes ID is purely numeric — exactly 8 digits, no letters, no dashes. It is not your username, not your broker login, and not your email. If what you see has letters in it, you are looking at the wrong field.

    Step B: Configure MT5 Desktop

    1. Open MT5 on your computer. Go to Tools → Options (or press Ctrl+O).
    2. Click the Notifications tab at the top.
    3. Check the box for Enable Push Notifications.
    4. In the MetaQuotes ID field, paste the 8-digit number from Step A.
    5. Click Test. Your phone should receive a notification within a few seconds.
    6. Click OK to save.

    If the test does not arrive, check your phone’s notification settings: on iOS go to Settings → Notifications → MetaTrader 5 and make sure Allow Notifications is on. On Android, the path is similar under Settings → Apps → MetaTrader 5 → Notifications.

    Step C: Enable Notifications in RiskFlow Pro

    Now MT5 can send pushes — but RiskFlow Pro also needs to be told to use them. This is in the Protect tab.

    1. Click the Protect tab on the RiskFlow Pro dashboard.
    2. Scroll down to the NOTIFICATIONS section near the bottom.
    3. Click the Push button to toggle it ON (it turns green).
    4. Pick which events you want notifications for: BE, Part.Cls, DD Limit, Trail SL (more on these below).
    5. Click SEND TEST NOTIFICATION to verify everything is wired up correctly.

    If you receive a test notification on your phone, push is fully working. From now on, any matching event RiskFlow Pro detects will ping your phone.

    Part 2 — Email Alerts via Gmail (or Other SMTP)

    MT5 sends email through any SMTP server. Gmail is the most common choice because every Gmail account works as a sender — but it requires a special App Password rather than your regular Gmail password. This is a one-time setup, then it just works.

    Step A: Create a Gmail App Password

    Prerequisite

    You must enable 2-Step Verification on your Google account before App Passwords becomes available. Go to myaccount.google.com → Security → 2-Step Verification and finish setup if you have not already.

    1. Go to myaccount.google.com and sign in.
    2. Click Security in the left sidebar.
    3. Scroll to 2-Step Verification and click into it. Scroll to the bottom and click App passwords.
    4. In the App name field, type MetaTrader5 and click Create.
    5. Google shows a 16-character password in the format abcd efgh ijkl mnop. Copy it now and store it somewhere safe — this is what you will paste into MT5 instead of your real Gmail password.

    Important

    The App Password is shown only once. If you lose it, Google will not show it again — you have to delete it and create a new one. Treat it like a password to your account, because effectively it is one.

    Step B: Configure SMTP in MT5

    1. Open Tools → Options → Email.
    2. Check the Enable checkbox.
    3. Fill in the fields using the values in the table below.
    4. Click Test. A test email should arrive in your inbox within a minute. If it lands in spam, mark it as Not Spam so future alerts arrive normally.
    5. Click OK to save.

    Gmail SMTP settings:

    • SMTP server: smtp.gmail.com:587
    • Login: your Gmail address (e.g. yourname@gmail.com)
    • Password: the 16-character App Password from Step A — paste it without spaces (e.g. abcdefghijklmnop)
    • From: your Gmail address (same as Login)
    • To: wherever you want alerts to land (your Gmail or any other inbox)

    Other SMTP Providers

    Not on Gmail? Most major providers work — they all use SMTP on port 587 with SSL/TLS:

    • Outlook / Hotmail: server smtp.office365.com:587 — uses your regular Outlook password (no App Password needed in most cases).
    • Yahoo Mail: server smtp.mail.yahoo.com:587 — like Gmail, requires an App Password generated under your Yahoo account security settings.
    • iCloud Mail: server smtp.mail.me.com:587 — requires an app-specific password from appleid.apple.com.

    Step C: Enable Email in RiskFlow Pro

    Same flow as push: go to the Protect tab, find NOTIFICATIONS, and toggle Email ON. Click SEND TEST NOTIFICATION and check your inbox to confirm.

    Choosing Which Events Trigger Alerts

    RiskFlow Pro fires notifications for four event types. You toggle each one independently in the NOTIFICATIONS section. Here is what each event means and when you actually want it on.

    BE (Breakeven). Fires when your stop loss has been moved to the entry price. Sample message: Breakeven moved | ticket 123 | SL→1.08500. Useful for psychological reassurance — you know the trade is now risk-free even before checking the chart.

    Part.Cls (Partial Close). Fires when a partial close has executed at the configured R multiple. Sample: Partial Close L1 fired | 50% @ R=1.00. Useful when you want to know that profit has been banked and the runner portion is now in play.

    DD Limit (Daily Drawdown Limit). Fires when your daily drawdown limit has been hit and trading is locked. Sample: Daily DD HIT [FTMO Rel] | Trading LOCKED. Always keep this one ON if you trade prop firm challenges — it is the single most important alert.

    Trail SL (Trailing Stop Move). Fires every time the trailing stop moves. Sample: Trail SL moved | ticket 123 | SL→1.08520. Useful for visibility on long-running trades, but can become noisy on lower timeframes.

    Practical Tip

    For most traders, the optimal default is: BE on, Part.Cls on, DD Limit on, Trail SL off. Trail SL produces too much noise during trending sessions — every tick that moves the trail sends an alert. Turn it on selectively when you are watching a specific runner trade.

    Common Issues and Fixes

    Push test does not arrive on phone. Most likely the MetaQuotes ID has a typo, or the MT5 mobile app’s notifications are blocked at the OS level. Re-check both. On the phone, also confirm you are signed into the same MT5 mobile install where you originally read the ID — uninstalling and reinstalling generates a new ID.

    Email test returns an error in MT5 Journal. Look at the error code. If it says authentication failed, you used your real Gmail password instead of the App Password — go back to Step A. If it says connection refused, double-check the SMTP server and port (Gmail uses port 587, not 25 or 465).

    Email test arrives in Spam, not Inbox. Gmail flags MT5-style auto-mail aggressively. Open the spam message and mark Not Spam, or create a Gmail filter for the sender address that forces it into the inbox. After one or two trades the filter usually learns.

    Worked for a while, then stopped. Free Gmail accounts have a daily SMTP send limit (around 500 messages). If you have Trail SL on with high-frequency trading, you can blow through this. Turn off Trail SL or switch to Outlook (which has a much more relaxed limit).

    Journal shows error 4014 or 4510. Error 4014 means the MetaQuotes ID is missing or push is not enabled in MT5 Options. Error 4510 means SMTP is not properly configured or your computer cannot reach the SMTP server (firewall, no internet, or wrong server name).

    Quick Reference

    For when you forget the steps and need a 30-second recap:

    Push: Phone → MT5 app → Messages → New Message → copy 8-digit MetaQuotes ID. Then desktop → Tools → Options → Notifications → Enable + paste ID + Test. Then RiskFlow Protect tab → Push ON + select events.

    Email (Gmail): myaccount.google.com → Security → 2-Step Verification → App passwords → create one named MetaTrader5 → copy 16-char password. Then desktop → Tools → Options → Email → Enable, server smtp.gmail.com:587, login = email, password = App Password, From/To = email → Test. Then RiskFlow Protect tab → Email ON.

    Where to Go From Here

    If you have not used RiskFlow Pro before and you are wondering how to get the dashboard onto your chart in the first place, the Quick Start Guide covers download, install, and your first trade in under 5 minutes.

    For deeper coverage of the Protect tab — including the four daily drawdown calculation methods, the floor line on the chart, and exact FTMO setup recommendations — see the Advanced Features Guide. The Protect tab section walks through each setting in detail, including which combinations work best for prop firm challenges versus standard live accounts.

    Get RiskFlow Pro

    Free MT5 Position Sizing & Trade Management

    Position sizing, trade management, prop firm protection, and built-in alerts. All from one compact dashboard on your MT5 chart.

    Download Free on MQL5 →

    Works on any MT5 broker account · No registration on our site required

    Hit a setup problem not covered above? Leave a comment on the MQL5 product page — that is where I read and respond.

  • Best Gold EA for MT5 in 2026 — What to Look For (And What to Avoid)

    Best Gold EA for MT5 in 2026 — What to Look For (And What to Avoid)

    If you’ve spent any time searching for a Gold EA, you’ve probably noticed something: the market is full of systems promising 90% win rates, zero drawdown, and consistent monthly returns that sound too good to be true.

    Most of the time, they are.

    This guide breaks down what actually matters when evaluating a Gold (XAUUSD) Expert Advisor for MetaTrader 5 — and how to tell the difference between a system built to sell and one built to trade.

    Why Gold Is Different From Forex Pairs

    XAUUSD moves differently from currency pairs like EURUSD or USDCAD. Gold is driven by macro sentiment (inflation expectations, central bank policy, geopolitical risk), session volatility — the London/New York overlap creates sharp, fast moves — and thin overnight liquidity where gaps and slippage are more common than on major pairs.

    This means a Gold EA needs different logic than a standard forex robot. Strategies optimized for low-volatility currency pairs often fail on Gold because the price action is faster and less predictable.

    The Biggest Red Flag: No Stop Loss

    The most common way Gold EAs manufacture impressive-looking track records is by running without a hard stop loss. Instead, they use martingale or grid strategies to “recover” losing positions by adding more trades in the same direction.

    This produces a beautiful equity curve — until the market makes a sustained move against the strategy. At that point, the entire account can be wiped in a single session.

    How to spot it: Look at the trade history on Myfxbook or MyFXbook Signal. If every trade shows a stop loss of 0 or blank, the system has no exit plan for losing trades. That’s not a trading strategy — it’s a ticking clock.

    What a Legitimate Gold EA Track Record Looks Like

    A trustworthy Gold EA should have a verified live account (not demo) running for at least 6–12 months, hard stop losses on every single trade, a profit factor above 1.3, and a maximum drawdown under 25%.

    Win rate alone tells you nothing. A system can have a 95% win rate and still blow — because the 5% of losing trades have no stop loss and eventually crater the account.

    XAUUSD-Specific Settings That Matter

    When evaluating or configuring a Gold EA, these parameters matter most:

    • Spread filter — Gold spreads widen sharply during news events and session transitions. A good EA should skip trades when spread exceeds a defined threshold (typically 30–50 points on a 5-digit broker).
    • Session filter — Most profitable Gold moves happen during the London and New York overlap (1:00–5:00 PM GMT). An EA that trades 24/7 on Gold is likely taking unnecessary risk during low-liquidity Asian hours.
    • Lot sizing — Fixed lot vs. percentage-of-balance risk. For live accounts, risk per trade should be 1–2% of balance maximum.
    • News filter — High-impact news (NFP, FOMC, CPI) can move Gold 200–300 pips in minutes. A quality EA pauses trading around these events.

    How to Verify Before You Buy

    Before purchasing any Gold EA, do these three things:

    1. Check for a verified live account. Demo results are worthless — anyone can optimize a strategy to perform perfectly on demo. Look for a Myfxbook or FX Blue verified live account with real money at stake.

    2. Download the trade history. Export the full trade list and check the Stop Loss column on every trade. If it’s consistently blank or zero, walk away.

    3. Ask the vendor directly. “Does this EA use a hard stop loss on every trade?” A legitimate vendor will say yes without hesitation. Evasive answers are a red flag.

    The Bottom Line

    The Gold EA market is full of systems designed to look good in screenshots rather than perform consistently over time. The best Gold EAs aren’t the ones with the highest win rates — they’re the ones that are still running two years from now.

    Look for transparency: verified live results, hard stop losses, and a vendor willing to answer direct questions. That narrows the field considerably.


    Gold Trend Accelerator Combo from BotFXPro trades XAUUSD with 7 independent systems — 4 direct-trend and 3 counter-trend — all using hard Stop Losses on every trade. No grid. No martingale. View Gold Trend Accelerator Combo →