EA Quantum Lab MT5 Expert Advisor Settings Explained

Detailed explanation of all main parameters in EA Quantum Lab MT5 Expert Advisors: risk, lot sizing, magic numbers, filters and trade management.

ยท Guides

Detailed Description of EA Quantum Lab Advisors Settings

This document provides a comprehensive explanation of all main parameters used in trading advisors developed by EA Quantum Lab. Each section explains what the parameter does, how it affects trading, and how it interacts with other settings.

๐Ÿ”— Connection to LobyTrade Platform (Remote Management)

Connect the robot to LobyTrade

This feature allows the advisor to connect to the LobyTrade remote management platform.

Once connected, the trader can:

  • Enable or disable trading remotely
  • Close all or selected trades
  • Monitor real-time performance
  • View statistics and risk metrics
  • Manage multiple advisors from one dashboard โš ๏ธ This feature is available only for registered users of the LobyTrade network.

Token

A unique authorization key required to connect the advisor to LobyTrade.

How it works:

  • Register on LobyTrade

  • Generate a token in your personal account

  • Paste the token into the EA settings Once the token is validated:

  • The EA synchronizes with the platform

  • Remote control and monitoring become active โ— Dependency: Without a valid token, the EA works locally but remote management is disabled.

โš™๏ธ Lot and Money Management

Auto or Fixed Lot

Defines how position size is calculated.

  • true โ€“ use a fixed lot size (manual control)
  • false โ€“ enable automatic lot calculation based on balance or risk ๐Ÿ“Œ Dependency: If AutoLot = true, the Lot parameter is used directly. If AutoLot = false, the EA switches to MM logic.

Lot

The fixed or initial lot size.

Used when:

  • AutoLot is enabled
  • Money Management is disabled โš ๏ธ Risk note: Fixed lot ignores account growth and drawdown โ€” suitable only for controlled environments or small deposits.

Balance amount to increase auto lot size

Defines how often the lot increases as balance grows.

Logic:

  • Lot increases step-by-step, not continuously
  • Protects from aggressive scaling Example:

Balance = 1000 USD Lot = 0.01 Balance step = 500 At:

  • 1500 USD โ†’ lot = 0.02
  • 2000 USD โ†’ lot = 0.03 ๐Ÿ“Œ Dependency: Works only when AutoLot = true

Money Management (MM)

Enables risk-based position sizing.

  • true โ€“ lot is calculated from risk %
  • false โ€“ fixed lot only

Risk (%)

Defines how much of the account balance is risked per trade.

  • Typical range: 0.5% โ€“ 2%

  • High values increase drawdown probability ๐Ÿ“Œ Dependency: Requires:

  • Money Management = true

  • Stop Loss defined (implicit or explicit)

Original Lot

Base lot used in internal MM calculations.

Used as:

  • Reference value
  • Starting point for scaling

๐Ÿ“Š Price Analysis and Entry Filters

Use update

Enables internal market strength and price condition analysis.

  • Lower values โ†’ more trades, less filtering
  • Higher values โ†’ fewer but higher-quality entries ๐Ÿ“Œ Acts as an entry confirmation filter

Timeframe for calculation

Timeframe used for internal market analysis.

Common choices:

  • M15 / M30 โ†’ short-term
  • H1 / H4 โ†’ trend-based filtering ๐Ÿ“Œ Dependency: Higher timeframe = stronger but slower signals.

Value

Number of historical tick or bar requests used in calculations.

  • Higher value โ†’ more stable analysis
  • Lower value โ†’ faster reaction but more noise

๐ŸŽฏ Take Profit & Stop Loss (Without Martingale)

TakeProfit (no martingale)

Fixed profit target per trade.

StopLoss (no martingale)

Fixed protective stop.

๐Ÿ“Œ Used when:

  • Martingale = false
  • Recovery = false โš ๏ธ Risk note: These values directly define maximum risk per trade.

๐Ÿ“ˆ Spread and Execution Filters

MaxSpread

Maximum allowed spread to open trades.

Prevents:

  • Entries during low liquidity

  • High commission conditions Typical values:

  • Forex: 10โ€“25 points

  • Crypto: symbol-specific

Slippage

Maximum allowed execution slippage.

Protects from:

  • News spikes
  • Poor execution

๐Ÿงฉ Identification and Trade Metadata

Magic Number (Magic)

Unique identifier for all orders opened by the EA.

๐Ÿ“Œ Critical rule: Each EA on the same account must have a unique Magic Number.

Orders Comment

Custom comment shown in trade history.

Used for:

  • Analytics
  • Manual tracking
  • Broker reports

๐Ÿ“… Trading Time Settings

Use time filter

Restricts trading to specific hours.

Start Work / End Work

Defines allowed trading window (terminal time).

๐Ÿ“Œ Common use cases:

  • Avoid Asian session
  • Trade only London / New York
  • Exclude rollover time

๐Ÿ’ฅ Martingale and Recovery Systems

Use Recovery

Enables reverse-side or recovery trades after loss.

Used to:

  • Reduce drawdown duration
  • Recover losing positions faster

Count orders Reverse Side Trade

Maximum number of recovery trades.

Lot coefficient for recover

Multiplier applied to each recovery order.

โš ๏ธ Higher value = faster recovery but higher risk.

Use Martingale

Activates classic grid/martingale logic.

Multiplier lot

Lot multiplication factor.

Example:

0.01 โ†’ 0.02 โ†’ 0.04 โ†’ 0.08

Step

Distance between grid orders (points).

  • Small step โ†’ dense grid, higher risk
  • Large step โ†’ safer but slower recovery

Max orders

Maximum allowed martingale positions.

๐Ÿ“Œ Hard risk limiter.

Take Profit (martingale)

Total profit target for the entire grid series.

Stop Loss (martingale)

Emergency stop for all grid orders.

โš ๏ธ Strongly recommended to avoid account wipe.

๐Ÿง  Trailing Stop

Use trailing stop

Activates dynamic stop-loss movement.

Distance trailing

Profit distance required before trailing starts.

Step trailing

Frequency of stop movement.

๐Ÿ“Œ Helps lock profits without manual intervention.

๐Ÿ• News Filter

Use News Filter

Pauses trading before and after high-impact news.

Protects from:

  • Spikes
  • Slippage
  • Spread expansion

News Filter Parameters

  • Minutes before news
  • Minutes after news
  • Broker GMT offset
  • Visual news panel (optional)

๐Ÿ’ฐ Equity & Drawdown Protection

Max Drawdown (%)

Maximum allowed drawdown calculated from balance or equity.

How it works:

  • If drawdown exceeds the specified percentage, the EA:Stops opening new trades
  • Optionally closes all active positions

Typical values:

  • Conservative: 10โ€“15%
  • Moderate: 20โ€“25%
  • Aggressive: 30%+ ๐Ÿ“Œ Dependency: Often linked with Close All Trades on DD parameter.

Use Equity Protection

Enables equity-based protection logic.

  • true โ€“ EA monitors equity in real time
  • false โ€“ equity is ignored

Minimum Equity

Defines the minimum equity level allowed for trading.

If equity falls below this value:

  • Trading is paused
  • Recovery logic can be disabled

Close All Trades on Max DD

Forcefully closes all trades once max drawdown is reached.

โš ๏ธ Prevents account wipe in extreme market conditions.

๐Ÿ“‰ Daily Risk Limits

Max Daily Loss (%)

Maximum allowed loss per day.

Logic:

  • Daily profit/loss is tracked
  • If limit is hit โ†’ trading stops until next day ๐Ÿ“Œ Resets automatically at broker day rollover.

Max Daily Loss (Money)

Absolute loss limit expressed in account currency.

Used instead of percentage-based control.

Daily Profit Target

Once reached:

  • Trading stops for the day
  • Protects accumulated gains

๐Ÿ“Š Trade Frequency Control

Max Trades Per Day

Limits the number of trades opened per day.

Prevents:

  • Overtrading
  • High-frequency drawdowns

Max Trades Per Symbol

Maximum open trades per instrument.

Useful when multiple symbols are traded simultaneously.

Max Simultaneous Trades

Global cap on all open positions.

โฑ Time & Session Safety Controls

Close Trades Before Weekend

Automatically closes all trades before market close on Friday.

Avoids:

  • Weekend gaps
  • Swap accumulation

Friday Close Time

Exact terminal time to close all positions.

No Trading on Monday Morning

Disables trading during early Monday hours.

Reason:

  • Low liquidity
  • Unstable spreads

Pause Trading After News

Extends the news filter logic to prevent immediate re-entry.

๐Ÿง  Recovery & Risk Logic Controls

Pause Trading After Losses

Stops trading after a defined number of consecutive losing trades.

Max Consecutive Losses

Defines how many losses are allowed in a row.

๐Ÿ“Œ Helps avoid โ€œrevenge tradingโ€ behavior of algorithms.

Resume Trading After Equity Recovery

EA resumes trading only after equity returns above a defined level.

Recovery Mode Cooldown

Waiting period (minutes/hours) before recovery logic activates.

๐Ÿ”„ Trade Direction & Strategy Filters

Trade Direction

Restricts trade types:

  • Buy only

  • Sell only

  • Buy & Sell Useful for:

  • Manual trend bias

  • Portfolio diversification

Allow Hedging

Allows simultaneous buy and sell positions.

Allow Multiple Positions

Allows stacking trades in the same direction.

๐Ÿงฎ Margin & Broker Protection

Minimum Free Margin (%)

Minimum margin required to open new trades.

Prevents margin call situations.

Stop Trading on Margin Level

Stops trading if margin level falls below a set value.

Max Spread Dynamic Filter

Adaptive spread filter based on average spread.

๐Ÿ›‘ Emergency Controls

Emergency Close All

Manual or automated emergency exit.

Triggered by:

  • Equity breach
  • User command via remote control
  • Platform signal

Disable EA After Stop

Completely disables EA after emergency stop is triggered.

Trading Cooldown

Time period during which EA stays inactive after a stop event.

๐Ÿงฉ Technical & System Parameters

Order Retry Attempts

Number of retries if order placement fails.

Order Retry Delay

Delay (milliseconds) between retry attempts.

Slippage Dynamic Adjustment

Automatically adjusts slippage based on volatility.

Broker Execution Mode

Market / Instant / Hybrid (MT4/MT5 compatibility).

๐Ÿง  Logging & Monitoring

Enable Extended Logs

Stores detailed trade and system logs.

Log Level

Controls verbosity:

  • Basic
  • Advanced
  • Debug

Send Alerts

Notifications via:

  • Terminal
  • Email
  • Push
  • LobyTrade platform

โœ… Final Recommendation

Always:

  • Test on demo
  • Start with low risk
  • Use hard limits (Max DD, Max Orders)
  • Enable remote control via LobyTrade for safety

Continue reading

Failed to load the app

Something went wrong while loading. Try reloading the page โ€” if the issue persists, clear your browser cache (Ctrl+Shift+R).