Prime Quantum AI — TRADE WITH AI (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok).
- Always test on a demo account before using on live funds.
- Always test on a demo account before using on live funds.
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 lookTokyo 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.
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
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 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 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 featuresACC 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
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.
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:
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:
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:
The EA operates fully autonomously, but its logic is transparently displayed via a professional on-chart dashboard.
The EA utilizes two custom include files to compartmentalize complex logic:
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 DisplayRisk-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 DashboardReal-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 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