LENS Gold Horizon

  • Experts
  • Ba Tinh Ho
    Ba Tinh Ho
    Financial Markets | Quantitative Research | Algorithmic Trading
    Founder of LENS Quant Lab | Financial Markets Professional | EA & Indicator Developer
    Welcome to my MQL5 profile!
  • Versão: 1.6
  • Ativações: 7
LENS Gold Horizon MT5

Professional Multi-Horizon Gold Trading Expert Advisor

LENS Gold Horizon MT5 is an automated trading Expert Advisor developed by LENS Quant, designed primarily for trading Gold (XAUUSD) on MetaTrader 5.

The EA combines multi-horizon price structure analysis, multiple trading profiles, intelligent position management, and flexible risk allocation into one automated trading system.

Unlike systems that rely on a single technical indicator, LENS Gold Horizon analyzes price movements across multiple time horizons to identify potential trading opportunities near important market levels.

The system is designed to automate trading decisions while giving users control over position sizing and risk exposure.

1. KEY FEATURES

Multi-Horizon Trading Strategy

LENS Gold Horizon analyzes price structures across different time horizons to identify potential trading opportunities.

Main features include:

  • Multi-timeframe market analysis.

  • Automated support and resistance identification.

  • Breakout-oriented entry strategies.

  • Automated pending order placement and management.

  • Event-based signal coordination.

  • Buy and Sell trading capabilities.

Eight Integrated Trading Profiles

The EA includes eight internal trading profiles with different entry characteristics and risk-to-reward configurations.

These profiles operate within a coordinated trading framework.

The system automatically evaluates available trading opportunities and manages orders according to predefined trading rules.

Dynamic Trade Management

Each position is managed using a combination of:

  • Stop Loss and Take Profit.

  • Automatic Break-even protection.

  • ATR-based Trailing Stop.

  • Price structure-based Trailing Stop.

  • Automated order and position monitoring.

These mechanisms are designed to manage trading exposure and respond to changing market conditions.

Professional Trading Dashboard

The EA includes a visual monitoring dashboard displaying:

  • Current trading status.

  • Account balance and equity.

  • Floating profit and loss.

  • Open positions and pending orders.

  • Current portfolio risk.

  • Risk utilization.

  • Account protection status.

  • Pause and Resume controls.

The dashboard is designed to minimize unnecessary processing and can be disabled when not required.

2. FLEXIBLE POSITION SIZING

LENS Gold Horizon provides two position-sizing methods to accommodate different account sizes and trading preferences.

MODE A: FIXED LOT

Fixed Lot Mode allows users to specify a fixed trading volume for each valid trading signal.

For example:

Fixed Lot = 0.01

The EA will use 0.01 lot for each accepted trading signal, regardless of the estimated percentage risk associated with the Stop Loss distance.

Key characteristics:

  • Trading volume is determined by the user.

  • Volume does not automatically change with account balance.

  • Percentage-based risk allocation does not restrict the selected lot size.

  • Multiple valid signals may generate multiple positions.

  • Broker trading conditions and other enabled account protection rules still apply.

Important: Fixed Lot Mode does not provide a fixed percentage of risk. Actual risk depends on the Stop Loss distance, contract specifications, and total open exposure.

MODE B: RISK PERCENT

Risk Percent Mode automatically calculates trading volume using the selected risk budget and estimated Stop Loss distance.

The EA uses a pooled risk allocation approach rather than reserving a fixed portion of the risk budget for each internal trading profile.

This allows available risk capital to be allocated to active trading opportunities.

Main characteristics:

  • Automatic volume calculation.

  • Risk allocation based on account capital.

  • Pooled risk management across trading profiles.

  • Dynamic adjustment of trading volume.

  • Minimum lot handling for smaller accounts.

Minimum Lot Override

One of the key features of LENS Gold Horizon is its optional minimum lot execution policy.

FORCE_MIN_LOT_WITH_WARNING

When the calculated volume is lower than the broker's minimum permitted trading volume, the EA can use the minimum valid lot size instead.

For many XAUUSD trading accounts, the minimum volume is 0.01 lot.

This mechanism can also allow minimum-volume orders when the available percentage-based risk budget is insufficient.

Example:

Account Balance: $1,000

Target Risk: 0.5%

Target Risk Budget: $5

Calculated Volume: 0.003 lot

Broker Minimum Volume: 0.01 lot

Estimated Risk at 0.01 lot: $20

EA Action: Open 0.01 lot and generate a risk warning, provided other trading conditions allow execution.

In this example, the estimated risk is approximately 2% of the account balance, exceeding the selected 0.5% target.

The EA records a warning when minimum-lot execution exceeds the configured risk budget.

Important Risk Disclosure

When Minimum Lot Override is enabled:

  • The selected risk percentage becomes a target, not a guaranteed maximum.

  • Actual risk may exceed the configured percentage.

  • Multiple positions may increase total portfolio exposure.

  • The EA may continue opening valid minimum-volume trades even when the target risk budget has been exceeded.

  • Stop Loss execution may be affected by slippage or market gaps.

Users should carefully evaluate total exposure, particularly when trading with smaller accounts.

3. RISK MANAGEMENT

LENS Gold Horizon provides configurable tools for managing trading exposure.

Available features include:

  • Risk-based position sizing.

  • Fixed lot trading.

  • Pooled risk allocation.

  • Portfolio exposure monitoring.

  • Maximum open position limits.

  • Spread monitoring.

  • Optional daily loss protection.

  • Optional emergency drawdown protection.

  • Risk warnings for minimum-lot execution.

Please note: Pooled Risk and Minimum Lot Override are position-sizing mechanisms, not guarantees of a maximum account loss.

Account protection settings may prevent new trades when their conditions are triggered.

When protection is activated, existing positions may remain open and continue to be managed according to the EA's trading rules.

Risk protection cannot eliminate losses caused by market volatility, execution delays, gaps, or slippage.

4. TRADING MODES

LENS Gold Horizon offers multiple risk configurations.

Conservative Mode

Uses lower risk allocation and is intended for users who prefer smaller trading exposure.

Balanced Mode

Provides a moderate risk allocation configuration.

Growth Mode

Uses higher risk allocation and may produce larger account fluctuations.

Custom Mode

Allows users to configure available position-sizing and risk parameters manually.

Trading modes primarily adjust risk allocation rather than changing the underlying strategy.

Actual trading exposure also depends on the selected volume mode and minimum lot policy.

5. RECOMMENDED TRADING ENVIRONMENT

Parameter Recommendation
Trading Instrument XAUUSD (Gold)
Platform MetaTrader 5
Recommended Timeframe H1
Account Type Hedging recommended
Position Sizing Fixed Lot or Risk Percent
Default Risk Configuration Balanced
Minimum Lot Broker-dependent, often 0.01
VPS Recommended

Important: The EA has been developed and tested primarily for XAUUSD. Performance on other financial instruments has not been validated.

The system supports different account configurations, but trading behavior may differ between Hedging and Netting accounts.

Small Account Considerations

LENS Gold Horizon includes minimum lot handling designed to provide greater flexibility for smaller trading accounts.

Accounts starting from approximately $1,000 may be able to execute trades using minimum-volume orders, depending on broker specifications, margin requirements, and market conditions.

However, smaller accounts may experience significantly higher percentage risk when the minimum lot size exceeds the calculated risk-based volume.

A $1,000 balance is not a guarantee of sufficient capital or safe trading conditions.

6. MAIN INPUT PARAMETERS

Trading Mode

Select Conservative, Balanced, Growth, or Custom.

Volume Mode

Choose between Fixed Lot and Risk Percent.

Fixed Lot

Specify the trading volume used in Fixed Lot Mode.

Risk Per Event

Define the target risk allocation used for automatic position sizing.

Pooled Risk Management

Enable shared risk allocation across trading profiles.

Cluster Risk Percentage

Specify the target risk budget for the active trading portfolio.

Minimum Lot Policy

Select how the EA handles calculated volumes below the broker's minimum lot size.

Available policies include:

  • STRICT_RISK_CAP: Reject orders that would exceed the applicable risk budget.

  • FORCE_MIN_LOT_WITH_WARNING: Allow minimum-volume execution with a warning when the estimated risk exceeds the target budget.

Maximum Open Positions

Limit the number of simultaneous positions.

Maximum Spread

Define the maximum permitted spread for new orders.

Daily Loss Protection

Enable or disable optional daily trading restrictions.

Emergency Drawdown Protection

Configure optional account drawdown protection.

Dashboard Settings

Configure the visual trading interface.

Available inputs and their exact behavior depend on the installed product version.

7. INSTALLATION GUIDE

  1. Install LENS Gold Horizon MT5 from MQL5 Market.

  2. Open MetaTrader 5.

  3. Select your broker's XAUUSD trading symbol.

  4. Open an H1 chart.

  5. Attach the Expert Advisor to the chart.

  6. Enable Algo Trading.

  7. Select your preferred Trading Mode.

  8. Choose Fixed Lot or Risk Percent.

  9. Configure your risk settings and minimum lot policy.

  10. Confirm that the EA is monitoring the market.

For continuous operation, a reliable VPS connection is recommended.

We recommend testing the EA on a demo account before using real funds.

8. IMPORTANT TRADING INFORMATION

LENS Gold Horizon operates automatically according to predefined trading conditions.

The EA may:

  • Open multiple positions when valid signals are detected.

  • Place pending orders near selected price levels.

  • Modify Stop Loss levels during trade management.

  • Hold positions across multiple trading sessions.

  • Remain inactive when market conditions do not meet its entry criteria.

Trading frequency depends on market conditions, broker execution, and the selected risk configuration.

Risk Percent Mode with Minimum Lot Override does not guarantee that actual risk will remain below the configured percentage.

Users are responsible for selecting suitable volume and risk settings for their account size.

9. RISK DISCLAIMER

Trading gold and other leveraged financial instruments involves substantial financial risk.

Historical backtesting results do not guarantee future profitability.

Actual results may differ due to:

  • Market volatility.

  • Spread variations.

  • Slippage.

  • Execution delays.

  • Broker contract specifications.

  • Liquidity conditions.

  • Account leverage.

  • Trading volume.

  • Risk management settings.

In Fixed Lot Mode, actual percentage risk may vary significantly.

In Risk Percent Mode, the minimum lot override may cause actual risk to exceed the selected risk percentage.

Multiple positions may produce cumulative losses greater than the risk of an individual trade.

No trading strategy or automated risk management system can guarantee profits or prevent all losses.

Always test the Expert Advisor thoroughly and choose position sizes appropriate for your financial circumstances.

LENS Quant

Systematic Trading Research & Development

Research-Driven Strategies. Disciplined Risk Management. Automated Execution.


Mais do autor
ICT Liquidity Structure Market Smart Money Concepts | Liquidity Sweeps | Market Structure | Trading Signals ICT Liquidity Structure Market is a technical analysis indicator for MetaTrader 5, designed to help traders identify potential trading opportunities using ICT (Inner Circle Trader) and Smart Money Concepts (SMC). The indicator combines market structure, liquidity sweeps, supply and demand zones, and price action confirmations to generate clear BUY and SELL signals. It helps traders underst
FREE
Filtro:
Sem comentários
Responder ao comentário