AI Multi Factor Confluence Trader
- Experts
- 버전: 1.0
AI Multi-Factor Confluence Trader
AI Multi-Factor Confluence Trader only enters the market when three independent factors agree: trend direction, momentum, and short-term price action. This confluence approach is designed to filter out low-quality, conflicting signals and only trade when the market shows a consistent, agreed-upon direction across multiple angles of analysis.
How it works
On every new bar, the EA scores the market on three factors:
- Trend – Fast EMA vs Slow EMA relationship (default 20/50)
- Momentum – RSI position relative to the 50 midline (default period 14)
- Price Action – the direction of the last two closed bars
Each factor contributes +1 (bullish) or -1 (bearish) to a total score. A trade is only opened when the required minimum score of agreement is reached (all 3 factors aligned by default), and only when the ATR-based volatility filter confirms the market is active enough to trade.
Built-in risk management
- Fixed Stop Loss and Take Profit on every trade
- Automatic trailing stop that locks in profit as price moves favorably
- Broker-safe minimum stop distance check (respects the symbol's stop and freeze levels) so orders are never rejected for invalid stops
- Margin check before opening any new position
- Only one position open at a time per symbol/magic number
Main Inputs
- InpEmaFastPeriod (default 20) – Fast EMA period used for the trend factor
- InpEmaSlowPeriod (default 50) – Slow EMA period used for the trend factor
- InpRsiPeriod (default 14) – RSI period used for the momentum factor
- InpAtrPeriod (default 14) – ATR period used for the volatility filter
- InpAtrMinPoints (default 50) – Minimum volatility (in points) required before any trade is allowed
- InpMinScore (default 3) – Required agreement out of the 3 factors to trigger a trade
- InpLotSize (default 0.01) – Fixed trade volume
- InpStopLossPoints (default 350) – Stop Loss distance in points
- InpTakeProfitPoints (default 700) – Take Profit distance in points
- InpTrailingStartPoints (default 280) – Profit distance (points) at which trailing starts
- InpTrailingStepPoints (default 90) – Trailing step distance in points
- InpMagicNumber (default 500109) – Unique identifier for this EA's trades
- InpTradeComment – Comment attached to trades opened by this EA
Recommendations
Works on any symbol and timeframe that suits your trading style. As with any automated trading system, please test thoroughly on a demo account before live use, and adjust the risk parameters to match your account size and risk tolerance.
