Welcome to the configuration guide for the AXIS Expert Advisor (EA) and LINK Neural for MetaTrader 5. This guide is designed to help you understand each configuration parameter and how it affects the EA’s trading strategy. Imagine you are in a class, and I will explain each section step by step.
All our Expert Advisors: https://www.mql5.com/en/users/envex/seller
SYMBOL 1 SETTINGS
These parameters control everything related to the first symbol (for example, EURUSD, GBPUSD) that the EA will handle.
-
First symbol to trade
- What is it?: This is the name of the currency pair or financial instrument where trades will be executed.
- Why is it important?: The EA needs to know which market to operate in. If you enter a symbol that your broker does not recognize (for example, EURUSD instead of EURUSD.m or EURUSD-ECN), no orders will be opened.
- Usage example: If your broker uses “EURUSD” as is, leave it that way. If it uses suffixes, make sure to enter the exact name.
-
Magic number for the first symbol
- What is it?: A special number that the EA uses to “mark” its own trades, preventing confusion with manual trades or other EAs.
- Why is it important?: If two EAs use the same magic number, they could interfere with each other. Think of each magic number as a “barcode” for your positions.
- Usage example: If you have multiple EAs, each should have a different magic number (for example, 8834, 8835, etc.).
-
Enable trading for the first symbol
- What is it?: A switch (true/false) that determines whether the EA will open and manage trades for this symbol.
- Why is it important?: Sometimes you want to temporarily disable a symbol without removing it from the configuration. If set to false, the EA will not open trades but will continue running for other enabled symbols.
- Usage example: If you detect that EURUSD is too volatile, you can disable it in real-time without affecting the configuration of other pairs.
-
Take profit in points for symbol 1
- What is it?: Defines the number of “points” (not pips directly, but points) at which the trade will be closed with a profit.
- Why is it important?: The Take Profit is the profit target. The lower it is, the faster the trade will close with gains, but it might also miss out if the price continues moving in your favor.
- Usage example: If you set 450 with a broker that uses 5 digits for EURUSD, you are looking for 45 pips (because 10 points = 1 pip).
-
Step size for symbol 1
- What is it?: A distance in points to open additional positions (a kind of “grid”) when a trade is already open.
- Why is it important?: If the price moves against or in favor of you (depending on the EA’s logic), more positions can be added each time this “step” is met.
- Usage example: With 40 points (4 pips in 5 digits), the EA could open another order when the price moves 4 pips away from the last entry. The smaller the step, the faster positions are added (higher risk).
-
Lot multiplier coefficient for symbol 1
- What is it?: Each time an extra trade is opened (grid), this value indicates how much the lot is “multiplied”.
- Why is it important?: It allows increasing (or decreasing) the size of each new trade, potentially increasing profits but also risks.
- Usage example: With a value of 1.3, if you start with 0.01 lots, the next trade (if opened) would be 0.013 (rounded according to the broker’s rules), then 0.0169, and so on.
Note: These same 6 parameters are exactly repeated for Symbol 2 and Symbol 3, only with their own values and magic numbers. Carefully review each “SYMBOL X SETTINGS” to avoid confusion.
SYMBOL 2 SETTINGS
Functions identically to SYMBOL 1 SETTINGS but for a second financial instrument.
- Second symbol to trade: Name of the instrument (for example, GBPUSD).
- Magic number for the second symbol: Specific magic number.
- Enable trading for the second symbol: Enable/disable.
- Take profit in points for symbol 2: TP distance in points.
- Step size for symbol 2: Grid distance.
- Lot multiplier coefficient for symbol 2: Lot multiplier.
SYMBOL 3 SETTINGS
The same as above, but for the third instrument.
- Third symbol to trade: Name of the instrument.
- Magic number for the third symbol: Unique identifier.
- Enable trading for the third symbol: Enable/disable trading.
- Take profit in points for symbol 3: Desired profit points.
- Step size for symbol 3: Grid distance.
- Lot multiplier coefficient for symbol 3: Lot multiplier.
TIMEFRAME SETTINGS
This section controls the timeframe that the EA will use for its analysis:
-
Automatically set timeframe
- What is it?: An on/off setting for the EA to change or not the chart timeframe it is applied to.
- Why is it important?: If you want the EA to always work on M30, but your chart is on H4, it can force the change to the indicated timeframe.
- Usage example: With true, the EA adjusts the chart to the timeframe specified in the next parameter.
-
Manual timeframe for the strategy
- What is it?: Indicates the timeframe that the EA will use when performing its calculations (when “Automatically set timeframe” is active).
- Usage example: PERIOD_M30 (30 minutes), PERIOD_H1 (1 hour), etc.
- Suggestion: Ensure that your strategy matches the chosen timeframe. For example, M1 is very fast and could generate many signals, H4 is slower and requires more patience.
LOT SIZE STRATEGY SETTINGS
-
Initial lot size (applies to all symbols)
- What is it?: The “base” lot size that will be used in the first trade of each symbol before the lot multiplier comes into play (if a second, third, etc., trade is opened).
- Why is it important?: It directly defines your initial risk. A very high lot can give you large profits but also large losses.
- Usage example: 0.01 is a good value for small accounts because it allows you to test the strategy without risking too much capital.
SLIPPAGE AND SPREAD FILTERS
-
Maximum allowed slippage in pips
- What is it?: The tolerance the EA has for the difference between the requested price and the actual execution price.
- Why is it important?: In times of high volatility, the price can move significantly before your order is executed. If the tolerated slippage is too low, many orders may be rejected; if it is too high, you might enter at worse prices.
- Usage example: A value of 5 (0.5 pips in 5 digits) is reasonable; if you have a broker with a lot of slippage, you might want to increase it.
-
Maximum allowed spread in pips
- What is it?: Indicates the maximum spread (difference between ask and bid) you allow to open a new trade.
- Why is it important?: During news or in illiquid hours, the spread can widen significantly. The EA will not open trades if the spread exceeds this value to avoid entering with excessive costs.
- Usage example: 15 (1.5 pips) prevents entering when the spread is greater than 1.5 pips.
DISPLAY SETTINGS
-
Show information on the chart
- What is it?: If set to true, the EA will display information on the chart window such as account balance, daily, weekly, monthly profit, current spread, etc.
- Why is it important?: It allows you to quickly see how your trading is performing and if the EA is doing what it should.
- Usage example: If you prefer a clean chart, set it to false. If you like to see a quick summary, leave it on true.
-
Comment to identify orders
- What is it?: A label (comment) that the EA adds to your trades in the “Trade” or “History” tab.
- Why is it important?: If you have many robots or do manual trading, this helps you know which trades belong to this EA.
- Usage example: “AXIS Neural”, “MyGridEA”, or any name you prefer.
Moving Average Periods
This section configures the moving averages that the EA uses in different timeframes.
-
MA period for M1
- What is it?: The number of candles used to calculate the moving average on 1-minute charts.
- Usage example: 40 (means the EA averages the last 40 minutes of data on M1).
-
MA period for M5
- What is it?: Same as above, but on 5-minute candles.
- Usage example: 45.
-
MA period for M15
- What is it?: The moving average on 15-minute charts.
- Usage example: 10.
-
MA period for H1
- What is it?: The moving average on 1-hour charts.
- Usage example: 25.
Note: These moving averages are used as part of the EA’s logic to determine entries or exits (according to the programming). Adjusting the periods changes the system’s sensitivity to price changes.
BOLLINGER BANDS SETTINGS
Parameters for Bollinger Bands, which are generally used to measure volatility and detect potential breakouts or market ranges.
-
Bollinger Bands period for H1
- What is it?: The number of candles considered to calculate the Bollinger Bands on the H1 timeframe (or whichever you have configured).
- Usage example: 35.
-
Bollinger Bands deviation
- What is it?: How many standard deviations above and below the moving average the bands are plotted.
- Why is it important?: Higher values make the bands wider (fewer false signals but slower reactions). Lower values make the bands narrower.
- Usage example: 0.5.
TRADE LIMIT SETTINGS
-
Maximum open trades per symbol
- What is it?: The maximum number of trades (BUY and SELL) that the EA can have open simultaneously on the same symbol.
- Why is it important?: Prevents the EA from opening an unlimited number of orders, which could happen if the market moves against you and positions continue to be opened in a grid.
- Usage example: 1000 is very high; you might want to reduce it to 10 or 20 if you prefer a more conservative approach.
UPDATE SYMBOL VALUES
-
Frequency in seconds to update symbol values
- What is it?: How often in seconds the price and indicator data are refreshed to make decisions.
- Why is it important?: Updating too frequently (for example, every 1 second) could consume more resources. Updating too infrequently could delay the execution of new orders.
- Usage example: 60 (every minute).
TRADE CONTROL SETTINGS
-
Allow opening new trading cycles
- What is it?: Determines whether the EA can initiate new trades.
- Why is it important?: Sometimes you want the EA to only manage existing trades and not open anything new (for example, when the week ends).
- Usage example: true to allow opening trades; false to only manage existing ones without adding more.
Final Tips as a Class
- Make sure to enter the exact symbol: Check how it appears in the “Market Watch” window of your platform.
- Start with small lots: This way you test the EA without risking too much money. Once you gain confidence, you can gradually increase.
- Monitor Spread and Slippage: A very high spread could eat into your profits. Adjust the filters (MaxSpread, MaxSlippage) with realistic parameters for your broker.
- Test on a demo account: It is always recommended to first test on a demo or in backtesting to see if the EA behaves as expected.
- Use grid logic with caution: This system can generate many trades in a trending adverse market. The step (grid distance) and lot multiplier must be carefully configured.
- Don’t forget about weekends and news: Some markets close or become very volatile. You might want to disable “Allow opening new trading cycles” on Fridays or when high-impact economic data is announced.
With this “teacher’s manual”, I hope you now have a more complete view of each parameter. The goal is that when you open the input configuration window, you know in “human language” what each one does and how it influences your trading. Success in your trading!