Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

ASQ RiskGuard Professional Risk Management EA - expert pour MetaTrader 5

Vues:
847
Note:
(1)
Publié:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Features

  • Equity drawdown protection — close positions when drawdown exceeds threshold (% or $)
  • Daily loss limit — cap losses per trading day with automatic trading disable
  • Trailing max drawdown — measure DD from peak equity (ideal for prop firm rules)
  • Session filter — block trading outside allowed hours, optionally close positions
  • Spread guard — prevent entries during high-spread conditions
  • Auto lot sizing — fixed lot, risk % of balance, or risk $ per trade
  • Position limits — max open positions, max total lots, max orders per day
  • Multi-channel alerts with warning at configurable % of limit
  • On-chart risk dashboard with color-coded status (safe / warning / danger)
  • Magic number filter — protect specific EAs or monitor all
  • Event logging to file for audit trail


N1

Installation

  1. Copy ASQ_RiskGuard.mq5 to your MQL5/Experts/ folder
  2. Compile in MetaEditor or restart MetaTrader 5
  3. Attach to any chart and enable Allow Algo Trading
  4. RiskGuard monitors ALL positions on the account (or filter by magic number)

How to Configure

  1. Set Max Drawdown — 5% (default). When equity drops 5% from balance, positions are closed
  2. Set Daily Loss Limit — 3%. Max loss per day before trading is disabled
  3. Choose DD Base — "From Balance" (standard) or "From Peak Equity" (trailing, for prop firms)
  4. Choose Close Method — Close All (safest), Close Losers Only, or Close Largest Loser
  5. Session Filter (optional) — Restrict trading to specific hours (e.g. 08:00–20:00)
  6. Spread Guard (optional) — Block entries when spread exceeds threshold
  7. Set Warning at 80% — Receive alerts before limits trigger

Prop Firm Tip

Set DD Base to From Peak Equity and configure your firm's max drawdown percentage. RiskGuard will track your high-water mark and protect you automatically — works with Bulenox, FTMO, TopStep, and similar rules.

Key Parameters

Parameter Default Description
Max Drawdown % 5.0% Close positions when equity drops this much
Max Drawdown $ $500 Alternative: fixed dollar drawdown limit
Daily Loss Limit 3.0% Max loss allowed per trading day
DD Base From Balance From Balance or From Peak Equity (trailing)
Close Method Close All Close All / Losers Only / Largest Loser
Max Positions 5 Max simultaneous open positions (0 = off)
Max Total Lots 1.0 Max total lot exposure (0 = off)
Max Orders/Day 10 Daily order count limit (0 = off)
Session Filter Off Allowed hours: 08:00–20:00 (server time)
Spread Guard Off Max allowed spread: 30 points
Warning Alert 80% Alert at this % of limit before trigger
Magic Filter 0 Filter by magic number (0 = monitor all EAs)
Log to File On Save events to log file for audit


Alert System

RiskGuard sends alerts through multiple channels when limits are approached or triggered:

  • Popup alert on screen (default: on)
  • Sound alert with custom .wav file (default: on)
  • Push notification to mobile (default: off)
  • Email alert (default: off)
  • Early warning at 80% of limit before positions are closed


Author

AlgoSphere Quant mql5.com/en/users/robin2.0 Precision before profit.

ASQ FlowDesk One Click Execution Position Management Panel ASQ FlowDesk One Click Execution Position Management Panel

ASQ FlowDesk is a streamlined trading panel for MetaTrader 5 that provides one-click order execution, scaled take-profit exits, adaptive trailing stops, auto-breakeven, and a live analytics dashboard — all from a clean on-chart GUI.

ASQ SuperTrend ASQ SuperTrend

ATR-based trend indicator with 3 ATR modes (Wilder/SMA/EMA), dynamic color line, signal arrows, trend duration, distance in pips, trend strength rating, signal counter, expanded dashboard, 4-channel alerts. Free.

Asynchronous Institutional Trade Engine (Library) Asynchronous Institutional Trade Engine (Library)

A professional object-oriented MQL5 library designed for quantitative developers. It provides asynchronous order execution and dynamic slippage control to prevent terminal freezing during high-frequency algorithmic trading.

ICT Silver Bullet and Macro Imbalance Filter ICT Silver Bullet and Macro Imbalance Filter

An institutional time and price filter that highlights strict macroeconomic trading windows and automatically projects Fair Value Gaps exclusively when institutional volume is present.