Multi-Layer Expert Advisors — Setup and Input Settings Guide

16 November 2026, 10:45
Nguyen Van Thien
0
6

Multi-Layer Expert Advisors — Setup and Input Settings Guide

This guide explains the general setup and input settings used across our Multi-Layer Expert Advisors for MetaTrader 5.

It covers common operating principles for BUY and SELL editions. Available features, input names, default values, supported instruments, and chart timeframes may differ between products and versions.

Always follow the requirements stated on the specific product page. If a setting described here does not appear in your EA, that feature may not be available in your version.

  1. Choose the Correct EA

Before installation, confirm:

  • The instrument supported by the EA.

  • Whether the edition trades BUY or SELL positions.

  • The required chart timeframe.

  • The supported account type.

  • The installed product version.

A BUY edition opens long positions. A SELL edition opens short positions. Do not assume that one edition automatically trades in both directions.

Use each EA only on the instrument and timeframe specified for that product.

  1. Installation and Initial Setup

Install the EA in MetaTrader 5 and open the correct symbol chart.

Select the timeframe required by the product. Many products in this series operate on M5, but the individual product requirements take priority.

Attach the EA to the chart, review its permissions, and enable algorithmic trading in both the terminal and the EA settings.

Check that:

  • The trading account is connected.

  • The selected symbol is available for trading.

  • Sufficient historical data is available.

  • The account has sufficient free margin.

  • The Experts and Journal tabs show no initialization errors.

Begin with a demo account before using the EA on a live account.

  1. Understanding the Multi-Layer Structure

The EA evaluates market conditions through several internal layers. Depending on the product, these may include D1, H4, H1, M15, M5, and higher-timeframe references.

The chart timeframe used to run the EA is not necessarily the only timeframe used in its calculations.

In versions using the following trade-group labels, the general mapping is:

  • BEFORE: D1 layer.

  • AFTER: H4 layer.

  • LAST: H1 layer.

  • LAST_2: M15 layer.

  • LAST_3: M5 layer.

These labels identify internal trade groups. They do not mean that the EA must be attached to five separate charts.

Each group may have its own entry permissions, position limits, filters, and exit settings.

  1. Reading the Input Settings

Common input types include:

  • true / false: enables or disables a function.

  • Numeric value: specifies a quantity, threshold, period, or limit.

  • Selection list: chooses one operating mode from the available options.

  • Text field: accepts a supported expression or identifier.

Do not assume that zero always disables a function. Its meaning depends on the specific input.

Some inputs work together. Enabling one option may require another condition to be satisfied before it can affect trading.

Save a copy of your settings before making changes.

  1. Position Size and Total Exposure

Review the lot-size settings before enabling trading.

The same lot size can represent different exposure on different instruments or brokers. Contract size, tick value, account currency, and margin requirements all matter.

Assess exposure across:

  • All enabled trade groups.

  • The maximum number of simultaneous positions.

  • Other EAs running on the account.

  • Manually opened positions.

  • BUY and SELL editions operating together.

A small individual position does not necessarily mean low total account risk when multiple positions are open.

Do not reuse a preset from another instrument without testing it.

  1. Trade Groups and Position Limits

Where available, group controls allow you to enable selected groups and limit their positions.

A position limit sets the maximum permitted number of positions within its defined scope. It does not instruct the EA to open that number of positions.

New entries still require valid signals and permission from the active filters.

Some versions provide a priority mode that selects one eligible group. Other modes may allow multiple eligible groups to enter, subject to the applicable limits.

Review the selected entry mode together with group limits and any per-bar restrictions.

  1. Entry Signals and Filters

Depending on the version, entry conditions may use:

  • Trend and moving-average relationships.

  • Price ranges and entry zones.

  • Wave structure and breakout conditions.

  • Market-cycle stages.

  • Heikin-Ashi transitions.

  • Histogram signals.

  • Higher-timeframe conditions.

Enabling a signal does not guarantee an immediate entry. The EA must also satisfy the remaining entry conditions, position limits, and risk checks.

Several active filters can reduce trading frequency. Periods without trades may occur when the configured conditions are not met.

  1. Cycle-Based Entry Restrictions

Some versions include a restriction that limits each group to one live position associated with a defined cycle.

Where a cycle-source selector is available, choose the intended source, such as the M1 or M5 histogram.

The selected mode determines which cycle is used by that restriction. Do not assume that all available cycle sources operate simultaneously.

A restriction of one live position per group per cycle does not necessarily limit the group to one position overall. Positions associated with earlier cycles may remain open, subject to other position limits.

Refer to your version’s input labels for the available modes and their scope.

  1. Wave Counts and Custom Conditions

Some versions provide wave-count filters, commonly identified as nCuts, and custom conditions for individual groups.

These settings control entry permission. They do not directly specify a profit target or the number of trades to open.

Where expression inputs are supported, use only the syntax accepted by that version. Check the meaning of comparison operators, logical combinations, and parentheses before applying a condition.

Live and confirmed wave counts may differ. If a count-source selector is available, review which source is active before comparing test results.

  1. Stop-Loss and Exit Management

Depending on the product and settings, positions may be managed using stop-loss rules, profit-management conditions, moving-average signals, candle-close conditions, trendlines, or cycle-based exits.

An exit condition may apply to:

  • A particular trade group.

  • Positions assigned to a holding mode.

  • Positions managed by a specific EA.

  • A wider account scope, where explicitly supported.

Check the scope of each setting.

Different exit methods can trigger at different times. An enabled method may close a position before another method becomes active.

Stop-loss orders and automatic exits cannot guarantee a fixed maximum loss under all execution conditions.

  1. Holding Modes

Some versions allow qualifying positions to remain open under a higher-timeframe holding mode.

Holding eligibility depends on the product’s internal conditions and enabled settings. Not every position will qualify.

Holding modes can extend trade duration and may increase exposure to swaps, market gaps, and changes in floating profit.

Review holding settings together with their exit controls and your broker’s trading conditions.

  1. Account Protection

Where available, account-protection settings may block new entries, close positions within a defined scope, or suspend trading when a configured condition is reached.

Before enabling protection, identify:

  • The calculation basis.

  • Whether floating profit and loss are included.

  • The positions covered by the setting.

  • The action taken when the threshold is reached.

  • The reset or restart conditions.

Do not assume that a protection setting applies to the entire account unless this is explicitly stated.

  1. Broker and Instrument Specifications

Test the EA using the broker and symbol you intend to trade.

Review:

  • Contract size and tick value.

  • Minimum volume and volume step.

  • Spread, commission, and swaps.

  • Margin requirements and leverage.

  • Minimum stop distances.

  • Trading sessions and maintenance breaks.

For oil instruments, also check expiration and rollover arrangements where applicable.

For cryptocurrency instruments, verify the broker’s actual trading schedule.

Matching symbol names do not guarantee matching contract specifications.

  1. Running Multiple EAs

When operating several EAs on one account, assess their combined exposure.

Check whether magic numbers or other trade identifiers need to be configured separately. Confirm whether each EA manages only its own positions or uses a broader management scope.

Account-wide protection can affect positions opened by other EAs or manual trading if that scope is enabled.

Test the complete combination on demo before using it live.

  1. VPS Operation

For continuous operation, use a stable trading environment with a reliable connection.

After setting up or migrating to a VPS, confirm that:

  • The correct account is connected.

  • The intended EA and settings are active.

  • Algorithmic trading is permitted.

  • Required charts and symbols are available.

  • No initialization or execution errors appear.

Ensure that another terminal is not unintentionally running the same EA on the same account and creating duplicate entries.

  1. Testing and Comparing Settings

Keep the test conditions consistent when comparing presets or EA versions.

Record the product version, broker, symbol, date range, initial deposit, leverage, modeling settings, and trading costs.

Evaluate more than net profit. Review drawdown, trade count, average profit and loss, exposure, and performance across different market periods.

Change a limited number of settings at a time so that the effect is easier to identify.

Historical optimization does not establish that a preset will perform well in future conditions. Use a separate validation period and demo forward testing.

  1. When the EA Does Not Open Trades

Check the following:

  • Correct product, symbol, and timeframe.

  • Algorithmic trading permissions.

  • Connection and market availability.

  • Sufficient historical data and free margin.

  • Enabled trade groups and entry signals.

  • Position limits and active protection settings.

  • Entry filters and cycle restrictions.

  • Messages in the Experts and Journal tabs.

Avoid disabling several filters at once simply to force activity. First identify which condition is preventing entry.

  1. Accounts with Trading Restrictions

Before using an EA on a restricted account or prop firm account, verify that the strategy, instrument, and settings comply with the provider’s rules.

Review daily loss calculations, maximum drawdown, automated-trading permissions, news restrictions, holding rules, and exposure limits.

EA protection settings may calculate risk differently from the account provider. They do not guarantee compliance or successful completion of an evaluation.

  1. Support Information

For assistance, use the relevant product’s Comments section or the MQL5 messaging system.

Include:

  • Product name and version.

  • Broker and exact symbol name.

  • Chart timeframe and account type.

  • A screenshot of the relevant inputs.

  • A description of the expected and observed behavior.

  • Relevant Experts or Journal messages.

Do not share passwords or account access credentials.

Risk Notice

Trading involves the risk of substantial loss. Automated trading, stop-loss orders, and account-protection functions cannot eliminate that risk.

Backtests and historical performance do not guarantee future results. No EA can guarantee profits, a fixed win rate, or compliance with every trading-account rule.

Test each product and preset before live use, and select exposure appropriate for your account and financial circumstances.