🔢 XenoCode AI EA MT5 Settings Guide
XenoCode AI EA is an intelligent automated trading system built for MetaTrader 5, combining AI-assisted trade execution with adaptive money management, trailing stop automation, economic news protection and prop-firm style risk controls.
The EA is designed to help traders maintain disciplined risk exposure while providing flexible configuration options for trading sessions, position sizing and account protection.

🔢 XenoCode AI EA MT5 Settings Explained
🔶 Trading Session Controls
🔹 Allow the EA to place new trades on Friday = true – Allows the EA to continue opening new positions on Friday without restrictions.
🔹 Enable a blocked time interval for execution = false – Disables the daily blocked trading window, allowing continuous execution throughout the day.
🔹 Hour at which trading becomes restricted = 22 – Sets 22:00 as the beginning of the restricted trading period when the blocked interval is enabled.
🔹 Hour at which trading is enabled again = 23 – Trading resumes automatically at 23:00 if blocked trading hours are active.
🔹 Refuse entries if the spread rises above this value = 500 – Prevents opening new positions whenever the market spread exceeds 500 points.
🔶 Interface and EA Identity
🔹 Unique identifier assigned to EA positions = 91 – Uses Magic Number 91 to uniquely identify all trades managed by XenoCode AI EA MT5.
🔹 Show live EA information directly on the chart = true – Displays real-time EA statistics and trading information directly on the chart.
🔹 Font size used by the chart information panel = 8 – Sets the dashboard font size to 8 for chart display.
🔹 Add a randomness filter to entry behavior = false – Disables randomized entry timing, allowing trades to execute immediately when strategy conditions are met.
🔶 Risk Engine and Account Model
🔹 Base currency configured for the trading account = USD / EUR – Optimizes the EA for trading accounts denominated in USD or EUR.
🔹 General risk profile from conservative to aggressive = 2 – Sets the account exposure profile to Risk Level 2, providing a relatively conservative trading approach.
🔹 Use automatic lot calculation = true – Automatically calculates trade volume according to the selected risk profile and account size.
🔹 Manual lot size when automatic sizing is disabled = 0.01 – Uses a fixed lot size of 0.01 lots whenever Auto Lot is turned off.
🔶 Position Management Tools
🔹 Maximum permitted adverse movement per trade = 2900 – Defines the Stop Loss distance as 2900 points.
🔹 Profit objective for each position = 500 – Sets the Take Profit target to 500 points.
🔹 Enable stop-loss trailing once profit develops = true – Activates the trailing stop feature after a position reaches sufficient profit.
🔹 Required floating profit before trailing begins = 140 – Starts trailing once the trade reaches 140 points of floating profit.
🔹 Distance/step used while moving the trailing stop = 20 – Adjusts the Stop Loss every 20 points while trailing.
🔹 Increase exposure after a losing position = true – Enables recovery-style money management by increasing position size after a losing trade.
🔹 Multiplier applied to the next lot size = 2.0 – Multiplies the next trade volume by 2.0 after a qualifying loss.
🔶 Economic Calendar Protection
🔹 Suspend trading near relevant news events = false – Keeps trading active during economic news events because the news filter is disabled.
🔹 Minutes to block trading before the event = 60 – Stops opening new positions 60 minutes before scheduled economic news when enabled.
🔹 Minutes to continue blocking after the event = 60 – Resumes trading 60 minutes after the news release.
🔶 Prop-Style Protection Limits
🔹 Enable account protection based on drawdown rules = false – Disables automatic account protection based on drawdown thresholds.
🔹 Maximum daily loss allowed before trading stops = 5.0 – Sets the daily drawdown limit to 5.0%.
🔹 Maximum cumulative account loss allowed = 10.0 – Limits the maximum total account drawdown to 10.0%.
🔢 Conclusion
XenoCode AI EA MT5 provides a comprehensive set of professional trading controls for MetaTrader 5 users. Its combination of automatic lot sizing, configurable trailing stops, spread protection, recovery-based position sizing, optional economic news filtering, and prop-firm drawdown limits makes it suitable for traders seeking a structured and disciplined automated trading solution. The flexible settings allow users to tailor the EA's behavior according to their preferred risk profile and trading style.
🔢 FAQs
❓ What is the purpose of the automatic lot calculation feature?
Automatic lot calculation adjusts trade volume according to the selected Risk Profile Level 2 and account size, helping maintain consistent risk management.
❓ Can XenoCode AI EA MT5 continue trading on Fridays?
Yes. With Allow the EA to place new trades on Friday = true, the EA is permitted to open new positions throughout Friday.
❓ How does the trailing stop system operate?
The trailing stop activates after reaching 140 points of floating profit and moves the Stop Loss in 20-point increments to protect gains.
❓ Does XenoCode AI EA MT5 support economic news protection?
Yes. The EA includes an economic calendar filter that can suspend trading 60 minutes before and 60 minutes after important news events, although it is currently disabled.
❓ Why is the Magic Number important?
The Magic Number (91) uniquely identifies all positions opened by XenoCode AI EA MT5, ensuring it manages only its own trades without interfering with other Expert Advisors running on the same MetaTrader 5 account.










