MetaTrader

MetaTrader Experts for MT5

UPDATE
Showing 1546 results

Prime Quantum AI — TRADE WITH AI (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok).

Prime Quantum AI is an Expert Advisor for MetaTrader 5 that combines a  classical technical pre-filter (ADX + Alligator) with AI vision-based  chart analysis from major AI providers. HOW IT WORKS The EA runs a two-stage decision process. First, on each tick, it checks  the user's selected timeframe for a trend setup using ADX (above the  configurable minimum level) combined with Alligator alignment and DI+/DI-  direction. When this pre-filter signals BULLISH or BEARISH, the EA  captures three chart screenshots at adaptive timeframes (entry, mid,  context — automatically chosen from the user's TF input) and sends them  to the configured AI provider. The AI returns a JSON response with  direction, confidence (0-100), stop-loss price, take-profit price, and  reasoning. A trade is opened only if the AI direction matches the  pre-filter signal AND confidence meets the user's minimum threshold. RECOMMENDED SYMBOL AND TIMEFRAME - Symbol: any major forex pair, gold (XAUUSD), or major indices - Timeframe input (TF): M15 default. M1-M5 for scalping, H1-H4 for day    trading, D1 for swing trading. The screenshot stack is selected    automatically from this input. KEY EXTERNAL VARIABLES - TF: trading timeframe (controls pre-filter and screenshot stack) - InpAPIKey: your AI provider API key - InpProviderOverride: auto / anthropic / openai / google / deepseek / xai - InpMinConfidence: minimum AI confidence to take a trade (default 70) - InpScanIntervalSec: cooldown between AI calls (default 120s) - InpAccountType: Standard Broker / Prop Firm / Funded - InpRiskMode: fixed lot, % balance, % equity, fixed $, % free margin - InpSLTPMode: AI decides / fixed pips / fixed points / AI SL with R:R - InpADXPeriod, InpADXMinLevel: ADX pre-filter parameters - InpJawPeriod/Shift, InpTeethPeriod/Shift, InpLipsPeriod/Shift: Alligator - InpATRTrailPeriod: ATR period for ATR-based trailing stop - News, time, day, and spread filters with full configuration REQUIREMENTS 1. MetaTrader 5 2. WebRequest must be enabled in Tools > Options > Expert Advisors >     Allow WebRequest, with the URL of your chosen provider added: 3. A valid API key from one of the supported providers (paste into     InpAPIKey input). Provider is auto-detected from key format. WHERE TO GET API KEYS NOTES - The EA charges no internal fee, but the AI provider charges per API    call (typically $0.01-$0.03 per analysis). Set InpScanIntervalSec to    control your daily cost.

- Always test on a demo account before using on live funds.

Frontend EA : UI cleanup + quick-trading layer for MT5

Frontend EA

A UI cleanup + quick-trading layer for MT5. Strips away the noisy defaults, replaces the built-in price and time axes with big readable labels, and gives you a proper one-click panel — all in a single EA.Its a good base for anyone looking to customize its UI.

Chart look
  • Hides grid, volumes, ticker bar and one-click trading panel on load
  • Custom price scale with round-number labels ( 1 / 2 / 2.5 / 5 × 10ᵏ  steps)
  • Custom time scale that shows the date only once per day at  00:00 , time otherwise
  • Auto-padding around the Bid tag and horizontal-line endpoint labels, so nothing overlaps (WIP)
  • Compact mode when the chart is tiled: 5 price levels (top / ¾ / mid / ¼ / bottom) and 3 time labels (left / mid / right)
Quick trading
  • BUY and SELL buttons top-left with an editable volume box
  • Volume is persisted per slot via  GlobalVariable
  • Symbol label at the top center ( .cash  suffix stripped)
Open-position plates (left side)
  • One plate per open position at its entry-price Y
  • Shows  price | signed volume | live PnL
    • +  for longs,  −  for shorts
    • PnL includes swap + commission, refreshed every second
    • Green when in profit, red when in loss, orange flat
  • Overlapping entries at the same level merge into one plate with summed volume and summed PnL
  • Small × button next to each plate closes every ticket in that cluster in one click
  • Fixed-width fields so plates stay aligned across refreshes
Indicators
  • L1 trend filter on H1 (λ configurable)
  • Session VWAP with  ±2σ ,  ±5σ ,  ±8σ  bands
  • Previous-close and today-open markers
Keyboard shortcuts Performance
  • 80 ms paint loop with a dirty-check: geometry + price range + position-list hash + 1 Hz PnL pulse
  • Label pools reused across frames (no  ObjectFind  in the hot path)
  • Inline price → Y math, geometry cached and refreshed only on  CHART_CHANGE
  • Smooth repaint during drag / resize, near-idle CPU when the chart is static
Palette

Tokyo Night — dark background, soft blue / orange / purple accents, easy on the eyes for long sessions.All indicators source code coming from mql5.com with some tweaks for performance. Big thank you to all the people publishing here for free.Current EA fits my needs reasonably but its a good base for anyone willing to customize the UI. made by Claude code.

any suggestions to make this better are welcome, although i wont add input settings for colors or easy stuff like that.use at your own risk, its mostly untested.

Easy Range Breakout EA - MT5

The EA continuously manages the trading session by calculating the start, end, and closing times each day, resetting its variables, and preparing the range for breakout detection. During the defined range period, it collects minute‑based highs and lows, determines the maximum and minimum values, and updates a rectangle object on the chart to visually represent the consolidation zone.

Once the range period ends, it checks the close of the most recent candle (different from the range end time) against the calculated boundaries, and if a breakout is detected, it automatically places a buy or sell order with a take‑profit equal to the size of the range and a stop at the opposite boundary.

Example

Parameters

Easy Range Breakout EA - MT5

The EA continuously manages the trading session by calculating the start, end, and closing times each day, resetting its variables, and preparing the range for breakout detection. During the defined range period, it collects minute‑based highs and lows, determines the maximum and minimum values, and updates a rectangle object on the chart to visually represent the consolidation zone.

Once the range period ends, it checks the close of the most recent candle (different from the range end time) against the calculated boundaries, and if a breakout is detected, it automatically places a buy or sell order with a take‑profit equal to the size of the range and a stop at the opposite boundary.

Example

EURUSD 2026.01.01 - 2026.03.03 

Range Start Hour 5

Range End Hour 11

Trading End Hour 22

XANDER Grid XAUUSD

XANDER Grid XAUUSD is a bidirectional grid Expert Advisor developed 

specifically for Gold (XAUUSD) trading on MetaTrader 5. The EA opens buy orders when the previous candle is bullish, and sell  orders when the previous candle is bearish. New grid levels are added  only when price moves a defined distance from the last entry, combining  candle direction with grid spacing to reduce unnecessary entries during  choppy markets. ━━━ HOW IT WORKS ━━━ The EA manages two independent grids — one for buys and one for sells.  When two or more positions are open on the same side, it calculates a  weighted average price and sets a shared take profit for the group.  This allows the grid to recover faster compared to managing each  position individually. Two closing modes are available: - Average TP — shared take profit on the best and worst position - Partial Close — closes the worst position partially to reduce exposure ━━━ KEY FEATURES ━━━ - Bidirectional grid with candle direction filter - Weighted average take profit calculation - Daily Profit Target — closes all positions when daily $ target is reached - Max Floating Drawdown — pauses new entries when floating loss exceeds limit - Auto clean chart on load (hides grid, volume, trade history, bid/ask lines) - Configurable magic number, slippage and lot limits ━━━ IDEAL FOR ━━━ This EA is designed for ProCent accounts on brokers such as RoboForex  and Weltrade. ProCent accounts allow minimum lot sizes starting at 0.01  cent lots, which significantly reduces exposure while maintaining the  same grid logic. Default settings are configured conservatively for  Gold with a maximum lot size of 0.04. ━━━ SETTINGS ━━━ - Take Profit per position — individual TP in pips before grid activates - Distance between grid levels — minimum pips between entries - Minimum grid profit to close — profit threshold for group close - Starting lot size — initial lot (default 0.01) - Maximum lot size — hard cap on lot doubling (default 0.04) - Close method — Average TP or Partial Close - Daily Profit Target — enable and set $ target per day - Max Floating Drawdown — enable and set $ drawdown pause limit - Magic Number — unique ID for this EA (default 2001) - Slippage — execution tolerance in pips ━━━ COMMUNITY & DEVELOPMENT ━━━

BEC Lockin Dashboard Manager

BEC Trade Manager helps you manage active positions on the current symbol using one-click controls for breakeven, trailing logic, partial close, stop-loss removal, profit-side closing, loss-side closing, and fast scalp entries. It also displays key account and symbol information on the chart, including equity, floating profit, daily profit, stop-loss labels, and basket breakeven preview.

Main features
  • Account breakeven based on total basket profit
  • Adjustable account lock-profit target
  • Price-distance trailing stop
  • Per-trade breakeven lock profit
  • Position trail from current stop loss with step-based movement
  • Close profit trades only
  • Close loss trades only
  • Close 50% and set breakeven
  • Apply breakeven lock profit to all qualified trades
  • Cancel all stop losses
  • Close all trades and delete pending orders
  • One-click scalp buy and scalp sell
  • Floating P/L and SL labels on chart
  • Filters by order type, magic number, and comment
Example description

ACC LOCK PROFIT Defines the additional account profit amount to protect when account breakeven is active. The breakeven line is adjusted to lock this value after the trigger is reached.

ACC BE OFF / ACC BE ON Enables or disables basket-level account breakeven management for the current symbol. When active, the EA can move position stop losses to protect basket profit after the configured trigger.

PRICE TRAIL OFF / PRICE TRAIL ON Enables or disables standard price-distance trailing stop logic. The stop loss trails price after the defined profit threshold is reached.

TRADE BE OFF / TRADE BE ON Enables or disables per-trade breakeven lock management. Each qualifying position can receive its own protected stop-loss level beyond entry.

POS TRAIL OFF / POS TRAIL ON Enables or disables position trailing from the current stop-loss anchor. This mode uses step movement and is intended for traders who want structured SL progression instead of classic trailing.

Close Profit (All) Closes all currently profitable positions on the active symbol that match the selected filters.

Close Loss (All) Closes all currently losing positions on the active symbol that match the selected filters.

Close 50% + BE (All) Partially closes half of each eligible position, then moves the remaining volume to a breakeven-lock level based on the configured trade lock-profit distance.

50% + BE (Profit) Applies the partial-close-and-protect action only to positions that are currently in profit.

BE Lock Profit (All) Applies per-trade breakeven lock profit to all positions that have already reached the configured trade trigger.

Cancel All StopLoss Removes stop-loss values from filtered positions on the current symbol while keeping take-profit unchanged.

Close All + Delete Orders Closes all filtered open positions on the current symbol and deletes pending orders. Useful as a fast exit function.

SCALP SELL Opens a market sell order using the configured scalp lot size. Scalp trades can then be managed by the scalp trailing logic.

SCALP BUY Opens a market buy order using the configured scalp lot size. Scalp trades can then be managed by the scalp trailing logic.

Important notes

  • The EA is a trade management tool. It is not a signal service and does not guarantee profit.
  • Results depend on market conditions, spread, execution quality, broker rules, and user settings.
  • The tool works on the current symbol and can filter trades by type, magic number, and comment when needed.

XPro Trade Panel — Full Trade Management Panel for MT5/MT4

I built this panel because I got tired of right-clicking

every time I wanted to close a trade or move a stop loss.

It puts everything you need in one draggable panel —

buy, sell, breakeven, close all, modify SL/TP,

partial close, pending orders and more.

Works on MT5 and MT4 with the same file.

What it does:

- Buy and Sell with one click at market price

- Close all open trades on the current symbol

- Close only buys or only sells separately

- Move SL to breakeven across all positions

- Modify SL or TP on all open trades at once

- Open pending orders by clicking directly on the chart

- Delete pending buy or sell orders with one click

- Partial close with a custom lot size

- Risk mode: fixed lots or percentage of account balance

- Optional trade comment field

- All sections can be turned on or off from inputs

- Panel position is saved between sessions

It is not complicated. Open it, set your SL and lot size,

press buy or sell. That is it.

Tested on forex, gold, synthetic indices and crypto pairs.

tool built for your strategy, you can hire me directly

through MQL5 Freelance. I have been coding EAs and

indicators since 2017.

If you use it and find it helpful,

a rating on this page takes 5 seconds

and helps a lot.

RSI Grid EA Pro

This Expert Advisor is designed to assist traders by combining RSI-based signal logic with a grid trading system to manage positions dynamically.

Follow for updates and trading insights:

The EA opens trades based on RSI levels and continues building positions using a grid approach when the market moves against the initial trade. To help reduce drawdown, it includes an overlap function, which intelligently closes combinations of profitable and losing trades when specific conditions are met.

Features:

  • Adjustable lot sizing (fixed, balance-based, or risk-based)
  • Grid step and multiplier control
  • Trailing stop and breakeven management
  • Manual trading panel (Buy/Sell buttons)
  • Time filter for controlled trading sessions

This EA is highly customizable, allowing traders to adjust risk according to their strategy. However, due to the nature of grid trading, proper risk management is essential.

⚠️ Important Notes:

  • Works only on Hedging accounts
  • Not compatible with Netting accounts
  • Recommended to test on a demo account first
  • Grid strategies can carry high risk in trending markets

BEC Trade Breakeven Trail Manager

Key Features:
  • Automatic Breakeven Management (single or grouped positions)
  • Dynamic Trailing Stop System
  • One-click trade management panel:
    • Close smallest profit trade
    • Close 50% and move stop to breakeven
    • Close all trades & delete pending orders
  • Built-in Scalping Mode (Buy/Sell with auto trailing)
  • Smart filtering:
    • By trade type (Buy/Sell)
    • By Magic Number
    • By Comment
  • Real-time dashboard:
    • Equity
    • Floating P/L
    • Daily profit
Important:
  • Requires AutoTrading enabled
  • Designed for MT5 hedging accounts
  • Use proper risk management

Hon APS Advanced Pattern Scanner with DOM and News Integration

Brief Description

An institutional-grade Expert Advisor that trades classical chart patterns (Cup & Handle, Flags, Bottoms) validated by real-time Order Book (DOM) volume absorption and protected by a multi-source macroeconomic news filter.

What ideas is the code based on?

Most algorithmic trading systems rely on lagging indicators. Hon-APS is based on the idea that structural price action combined with quantitative volume flow provides the highest probability entries.

The system operates on three core pillars:

  1. Dynamic Pattern Recognition: The EA actively scans the chart for structural formations (Head & Shoulders, Double/Rounding Bottoms, Triangles, Flags).
  2. Order Flow & DOM Validation: Once a pattern breakout occurs, the EA reads the Level 2 Order Book ( MarketBookGet ) to calculate bid/ask imbalances and true volume absorption. If the broker does not support DOM, it uses tick volume estimation as a smart fallback.
  3. Advanced Risk Control: Trades are sized using a modified Kelly Criterion. The system dynamically monitors correlated exposure and enforces hard daily and weekly drawdown limits to protect capital.
How can the indications be interpreted?

The EA operates fully autonomously, but its logic is transparently displayed via a professional on-chart dashboard.

  • KAMA Trend: Indicates the current overarching market direction (Bullish/Bearish/Neutral) to filter trades against the trend.
  • Volume Imbalance/Absorption: Breaks out are only taken if aggressive limit orders at support/resistance are absorbed by the dominant trend.
  • News Filter Status: Shows when trading is temporarily halted due to an incoming high-impact macroeconomic event.
Suitable Symbols and Timeframes
  • Recommended Symbols: Major Forex Pairs (EURUSD, GBPUSD) and Indices (US30, NAS100). The EA includes adaptive spread control for Crypto and Indices.
  • Recommended Timeframe: H1 (1-Hour) or H4 (4-Hour) charts are best suited for structural pattern formations.
Description of  #include  Files Used

The EA utilizes two custom include files to compartmentalize complex logic:

  1. Hon-APS-Dashboard.mqh : Responsible for rendering a modern, interactive GUI on the chart. It calculates and draws real-time account metrics, active risk, market trends, and DOM visualizations without cluttering the main trading logic.
  2. Hon-NewsTrader.mqh : A robust macroeconomic event handler. It actively checks the internal MQL5 Economic Calendar AND scrapes external web sources (Forex Factory JSON / Forexprostools HTML) to automatically pause the EA before high-impact news releases.
Description of Main External Variables (Inputs)
  • BaseRiskPercent  /  UseKellyCriterion : Determines the position sizing model for each trade.
  • MaxDailyLoss  /  MaxWeeklyLoss : Hard equity stops to prevent catastrophic drawdowns (ideal for prop firm trading).
  • Pattern Toggles ( TradeCupHandle ,  TradeFlags , etc.): Allows the user to toggle which specific chart structures they want the EA to scan for.
  • RequireVolumeConfirmation : When set to true, the EA will only enter a pattern breakout if it is accompanied by an institutional volume multiplier.
  • Adaptive Moving Average ( UseKAMAFilter ): KAMA periods and slope thresholds used to ensure trades are only placed in the direction of the macro trend.
  • UsePartialProfits  & Trailing Stops ( InitialTrailingATR ): Engages an ATR-based progressive trailing stop and takes partial profits at structured Risk-to-Reward levels (1R, 2R).

ASQ Command Desk

Attach the EA to any live or demo chart, enable Algo Trading, and use the panel buttons or keyboard hotkeys to trade. CommandDesk is not an automated strategy — it will show zero trades in Strategy Tester.

═══ FEATURES ═══ ▸ One-Click Execution Press LONG or SHORT on the panel. Lot size is calculated instantly from your risk settings, SL and TP levels are placed automatically, and the position is registered for staged exit tracking. ▸ Keyboard Hotkeys Trade without touching the mouse. B = Buy, S = Sell, X = Flatten all positions, R = Reverse direction, E = Lock breakeven, P = Purge pending orders. Hotkeys can be disabled in settings. ▸ Staged Multi-TP Exits Set up to three exit stages with custom close percentages (default: 40% at Stage 1, 30% at Stage 2, remainder at Stage 3). Stage state is encoded in the order comment and survives EA restarts. ▸ Adaptive Trailing Stop Three trailing algorithms: fixed-point distance, ATR-scaled distance (configurable period and multiplier), or previous-bar swing high/low. Broker stops level and freeze level are respected automatically. ▸ Auto Breakeven When profit reaches your configured threshold (in points), the SL is moved to entry price plus a safety offset. The "Lock B/E" button applies breakeven instantly to all in-profit positions. ▸ Drawdown Guard Set a maximum drawdown percentage from your session equity peak. CommandDesk monitors equity on every tick. When the limit is breached, all positions and pending orders are auto-flattened. New orders are blocked until equity recovers. Disabled by default — enable it in inputs. ▸ Reverse Position One click or press R to close your current net direction and immediately open the opposite side. Net direction is calculated from all open positions. ▸ Live R:R Display

Risk-to-reward ratio is calculated from your SL distance and furthest TP stage, updated every tick. Color-coded: green for 2:1 or better, yellow for 1:1+, red below 1:1.

▸ Daily Trade Counter Tracks how many market orders you have fired today. Resets automatically at midnight server time. ▸ Intelligent Position Sizing Three modes: fixed lot, percentage of balance at risk, or flat dollar amount at risk. Volume is recalculated on every tick based on the current SL distance and account balance. ▸ Full Pending Order Suite Buy Limit, Sell Limit, Buy Stop, and Sell Stop with automatic SL/TP placement. All distances are validated against the broker's minimum stops level. ▸ Live Dashboard

Real-time spread (color-coded by width), position count by direction, directional lot exposure, floating P&L with swap and commission, staged exit tracker, trailing configuration, drawdown guard status, and daily trade counter — all rendered on a dark-themed overlay panel.

═══ IMPORTANT ═══

⚠ This is a manual trading panel. It requires you to click buttons or press hotkeys to open trades. It does NOT generate signals or auto-trade. Strategy Tester will show 0 trades — this is expected.

⚠ Hotkeys are active when the chart window has focus. If you type in other MT5 windows, hotkeys will not fire. Disable hotkeys in the input settings if you prefer mouse-only operation.

═══USAGE ═══

1. Download and place ASQ_CommandDesk_v1.00.mq5 in your MQL5/Experts folder 2. Compile in MetaEditor (no external dependencies) 3. Attach to any chart on a live or demo account 4. Enable Algo Trading in the MT5 toolbar 5. Configure risk settings, trailing mode, and drawdown guard in the Inputs tab 6. Click LONG/SHORT or press B/S to execute ═══ FILES ═══ ASQ_CommandDesk_v1.00.mq5 — Main EA source (1,200 lines) ═══ COMPATIBILITY ═══ MetaTrader 5 Build 4000+ Any symbol, any timeframe Hedging and Netting account types

KSQ Fair Value Gap EA FVG with Regime Detection and Dual SL TP Mode

KSQ Fair Value Gap EA is a fully automated Expert Advisor that 

trades institutional Fair Value Gaps (FVGs) with built-in regime 

detection to avoid low-quality setups in ranging markets.

━━━ CORE STRATEGY ━━━

Detects bullish and bearish 3-bar FVG patterns and enters when 

price pulls back into the unfilled zone. Each FVG is tracked 

individually — once traded, it will not fire again.

━━━ REGIME DETECTION ━━━

- EMA Filter — Higher timeframe EMA50/EMA200 bias (configurable TF)

- ADX Filter — Minimum trend strength + DI+/DI- directional check

- Combined Mode — Both conditions must align for a valid signal

- Off Mode — Trade all FVGs without restriction

━━━ STOP LOSS & TAKE PROFIT ━━━

Both SL and TP support two independent modes:

- ATR-Based — Multiplier × ATR for dynamic volatility-adjusted levels

- Fixed Points — Set exact point distance for consistent sizing

━━━ LOT SIZING ━━━

- Fixed Lot — Consistent lot size every trade

- Risk-Based — Auto-calculates lot size from account % risk per trade

━━━ TRADE MANAGEMENT ━━━

- Partial close at mid-TP or configurable R:R level

- ATR or points-based trailing stop

- Max simultaneous trades cap

━━━ RISK PROTECTION ━━━

- Daily drawdown kill switch (%)

- Total drawdown kill switch (%)

- Session time filter (hour-based)

- Push notification and alert support

RobotFX does not own any of the code provided on this platform. All tools are freely available on the internet; we simply index and re-offer them for download. We are not responsible for any financial losses that may occur. Trading responsibilities rely solely on the traders downloading and using the displayed Expert Advisors, indicators, and scripts. These tools are provided for educational purposes only and may require modification or optimization to align with a trader's specific strategy or needs.
© ROBOTFX - Best MetaTrader Expert Advisors & Indicators