CasperIT Adaptive Market Intelligence Trader
- Experts
-
Imad Saadeh
🔹 Professional gold & crypto trader (GMT+2)
🔹 Developer of robust MT5 Expert Advisors & dashboards
🔹 Focused on risk management, equity protection & automation
🔹 Global community leader, sharing transparent trading solutions - Versione: 2.5
- Attivazioni: 10
CasperIT Adaptive Market Intelligence Trader MT5
CasperIT AMI Trader is an automated MetaTrader 5 Expert Advisor that combines trend, momentum, volatility and market-structure analysis before opening a trade. It is designed to adjust its signal filtering and recovery limits to changing market conditions and account size.
The EA uses a weighted decision system built from moving averages, RSI, ATR and recent price structure. A trade is allowed only when the selected confidence and market-regime requirements are satisfied.
Main Advantages
- Multi-filter entries: combines trend direction, RSI momentum, ATR volatility and price structure instead of relying on one indicator.
- Market-regime detection: identifies trending, transitional and ranging conditions and applies the selected entry policy.
- Adaptive account risk: supports standard and cent accounts and automatically limits lot progression, maximum lot and order count according to effective account balance.
- Persistent equity protection: stops new trading when the selected equity drawdown limit is reached. The maximum permitted setting is 15%.
- Controlled recovery system: recovery orders are restricted by account tier, user limits, spread conditions and basket exposure controls.
- Basket management: manages the combined average price, basket target and optional money-based trailing profit.
- Optional hedge protection: can use controlled opposite positions when the internal hedge conditions are met.
- Economic-calendar filter: can pause new entries around relevant medium- and high-impact events when calendar data is available.
- Automatic timeframe selection: can choose a signal timeframe according to the detected symbol class, use the chart timeframe or use a manually selected timeframe.
- On-chart control panel: displays signal direction, confidence, market regime, spread, risk limits, basket status, drawdown and performance information.
- Manual panel controls: allows buy and sell cycles to be enabled, paused, opened or closed from the chart panel.
Trading Logic
The EA evaluates both buy and sell conditions and calculates a weighted confidence score. It also classifies the current market regime. A new cycle is opened only when the direction, confidence, regime, spread, trading time, news status and risk checks agree.
If recovery is required, additional orders use controlled spacing and lot progression. The effective multiplier, maximum lot and maximum order count can be lower than the visible input values because the automatic account protection system treats those inputs as upper limits.
Recommended Use
- Start with the default settings and test them in the Strategy Tester using your broker's real-tick data.
- XAUUSD on M15 or M30 is the primary starting configuration.
- The EA includes symbol-class adaptation, but every symbol and broker specification must be tested separately before live use.
- Use one unique Magic number for each independent EA setup.
- For cent accounts, select Auto first. If the broker uses a currency name that does not identify the account as cent, select Cent manually.
- Run the EA on a VPS with a stable connection for continuous operation and economic-calendar updates.
- Do not attach multiple copies with the same symbol and Magic number.
Input Parameters
Trading
- Flag_Trade_Buy_: enables or disables automatic buy cycles.
- Flag_Trade_Sell_: enables or disables automatic sell cycles.
- Flag_Use_hedge: enables or disables the internal hedge-protection logic.
- Start_Hour: trading-session start hour in broker server time. When Start_Hour and End_Hour are both 0, trading is allowed all day.
- End_Hour: trading-session end hour in broker server time.
- Magic: unique identifier used to separate this EA's positions from other trading systems.
Account Risk
- AccountBalanceMode: selects Standard, Cent or Auto account-balance interpretation. Cent mode converts the broker-reported cent balance into its effective currency value.
- RiskProfile: selects Auto, Micro, Low, Standard or Institutional risk control. Auto selects a profile according to effective account balance.
- Lot_Init_: requested starting lot for a new cycle. The risk engine may reduce it when required by symbol limits or the selected risk cap.
- Autolot_: enables balance-based starting-lot scaling. The calculated lot remains restricted by the profile and account protection limits.
- MaxRiskPerCyclePercent: upper percentage used by the cycle-risk calculation. The active profile may apply a lower value.
- MaxEquityDDPercent: equity drawdown level that locks new trading. Valid range is 1% to 15%.
Recovery And Exit
- MaxOrdersBuy: maximum requested number of buy positions in one basket. Automatic balance protection may apply a lower limit.
- MaxOrdersSell: maximum requested number of sell positions in one basket. Automatic balance protection may apply a lower limit.
- Martin_: requested recovery lot multiplier. Automatic balance protection may reduce the effective multiplier.
- MaxLot_: maximum requested lot size for an individual order. The effective account-tier cap and broker limits also apply.
- BasketTPPoints: basket take-profit distance in symbol points, calculated from the basket average price.
- UseBasketTrailingTP: enables money-based trailing management after the basket reaches the selected profit level.
- BasketTrailStartMoney: basket profit amount required to start trailing.
- BasketTrailStepMoney: additional profit movement used to advance the protected basket-profit level.
- BasketTrailLockMoney: initial basket-profit amount protected when trailing becomes active.
Signal Filters
- TimeframeAdaptMode: Auto selects a timeframe by symbol class, Chart uses the current chart timeframe, and Manual uses ManualSignalTimeframe.
- ManualSignalTimeframe: signal timeframe used only when TimeframeAdaptMode is set to Manual.
- EntryConfidenceMode: Strict favors fewer higher-threshold signals, Balanced provides the normal operating balance, and Aggressive lowers the entry threshold for more frequent signals.
- RegimeEntryMode: Strict trades trending regimes only, Balanced permits trending and transitional regimes, and Aggressive permits all regimes while still requiring signal confidence.
- UseAutoNewsEngine: enables the MetaTrader economic-calendar filter. In Strategy Tester mode or when calendar data is unavailable, the panel reports that no calendar data is available.
Display
- ShowBasketLevels: displays basket average and target levels on the chart.
- ShowSignalMarkers: displays the EA's trade signal markers.
- fDraw: displays closed-trade profit drawings on the chart.
Important Risk Notice
This EA uses recovery, grid-style position management and an optional martingale multiplier. These methods can create substantial floating drawdown during strong one-directional markets. The drawdown guard limits new trading but cannot guarantee that losses will stop at the exact selected percentage because of spread changes, slippage, gaps, execution delay and open-position exposure.
Backtest results do not guarantee future performance. Always test the EA with the intended broker, symbol, account type and deposit size. Begin on a demo account and use risk settings appropriate for your financial situation.
