Here is the professional English translation of the SwApi.mql5 Release Notes:
SwApi.mql5 Release Notes
I. Product Overview
SwApi is an advanced Expert Advisor (EA) for the MetaTrader 5 (MT5) platform. It integrates deep market data analysis, dynamic parameter adjustment, three-tier risk control, and profit-scaling strategies to provide stable and efficient trading solutions.
II. Key Features
Deep Market Data Analysis: Identifies significant bid/ask levels through real-time market depth analysis for precise trading decisions.
Dynamic Parameter Adjustment: Adapts trading parameters (e.g., ATR, RSI) based on market conditions to enhance strategy responsiveness.
Three-Tier Risk Control:
Maximum Daily Loss Limit: Caps daily losses.
Spread Fuse Protection: Halts trading during excessive spreads.
Consecutive Loss Fuse: Suspends trading after repeated losses.
Profit-Scaling Strategy: Increases position sizes progressively based on winning streaks to maximize gains.
III. Strategy Parameters
Parameter Description Range/Default
ATR_Multiplier Multiplier for stop-loss distance calculation 0.5–1.0
VolumeThreshold Volume threshold for significant bid/ask levels (standard lots) 1.0–4.0
AMA_Period Period for Adaptive Moving Average Default: 14
RSI_Period Period for Relative Strength Index Default: 14
MaxDailyLossPercent Maximum allowable daily loss (%) Default: 3.0
SpreadThreshold Spread fuse trigger (points) Default: 25.0
ConsecutiveLossLimit Maximum consecutive losses before fuse Default: 3
VolatilityThreshold Volatility fuse (VIX-based) Default: 80.0
BaseRiskPercent Base risk percentage for position sizing Default: 1.0
WinStreakBonus Consecutive wins to trigger scaling Default: 3
WinStreakMultiplier Position size multiplier per win streak Default: 0.1
IV. Technical Implementation
Indicator Initialization: Loads AMA, ATR, and RSI on EA startup.
Depth Data Handling: Processes market depth events via OnBookEvent() to execute trades based on real-time data and strategy logic.
Risk Monitoring: Performs risk checks every 30 seconds via OnTimer() to ensure compliance with control parameters.
Trade Processing: Updates trade records, account highs, and risk parameters through OnTradeTransaction().
V. Compatibility & Installation
Platform: Compatible exclusively with MetaTrader 5.
Installation Steps:
Copy SwApi.mql5 to MT5’s Experts folder.
Locate the EA in the Navigator window, double-click to open settings.
Adjust parameters per market conditions and risk tolerance.
Attach to a chart and enable AutoTrading.
VI. Disclaimer
This EA’s strategies are for reference only and do not constitute investment advice.
Users must fully understand its mechanics and risk controls before deployment. Performance may vary due to market volatility, liquidity constraints, or platform limitations.
Translated with adherence to MT5 technical standards and financial terminology.