ICE (Impulse Confirmation Engine): Advanced Trading System
Info
The ICE (Impulse Confirmation Engine): Advanced Trading System is a Expert Advisor for MetaTrader 5 that main architecture (the three pillars)this system operates through three integrated validation layers:detection (intel): utilizes the ratio of volume and candle body to atr to identify initial price explosions. It analyzes not just the price movement, but also the underlying energy (volume) supporting that movement.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use ICE (Impulse Confirmation Engine): Advanced Trading System
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
Main Architecture (The Three Pillars)This system operates through three integrated validation layers:Detection (Intel): Utilizes the ratio of volume and candle body to ATR to identify initial price explosions.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: trade signals based on 3 black crows/3 white soldiers reversal patterns with rsi confirmation - another powerful expert for MetaTrader 5 traders.
Main Architecture (The Three Pillars)Also recommended: mql5 wizard: trade signals with dark cloud cover/piercing line and rsi confirmation - similar expert with strong performance on MetaTrader 5.
This system operates through three integrated validation layers:
Detection (Intel): Utilizes the ratio of volume and candle body to ATR to identify initial price explosions. It analyzes not just the price movement, but also the underlying energy (volume) supporting that movement.
Confirmation (Defense): Employs an Adaptive Trend Filter (MA Slope) and Volatility Guard to prevent trading in stagnant markets or during periods of extreme spread volatility.
Execution (Attack): Implements a three-scenario logic (Breakout, Pullback, & Velocity) to ensure optimal market entry without sacrificing momentum.
Logical Advantage
Following a comprehensive refactoring, ICE now incorporates intelligent features:
ATR Auto-Point Calibration: The system automatically detects whether it is operating on Gold (XAUUSD), Forex, or Indices, eliminating the need for manual adjustment of complex decimal settings.
Momentum Velocity: Enables early entry if the detector identifies significant price acceleration, ensuring participation in fast-moving trends.
Trading Characteristics
Trading Style: Aggressive Momentum / Impulse Follower
Ideal Timeframe: M15, M30, up to H1
Risk Management: Adaptive Lot size based on ATR Stop Loss
Session Filter: Automatically avoids trading during the Asian Session and quiet Rollover hours.
ICE Pro Parameter Summary
This system utilizes parameters optimized for current market conditions:
Lookback Period (20): Standard setting for capturing short-term volatility cycles.
Volume Multiplier (1.3x): The minimum volume requirement for a candle to be considered an impulse.
Risk Per Trade (0.5% - 2%): Disciplined money management to protect the account, even through a series of losing trades.
ICE Philosophy: "Discipline in filtering out the noise, but courage in pursuing opportunities."
Core Settings
Trading Mode: Live / Test / Visual
Trading Symbol: (empty = current chart symbol)
Magic Number: Unique identifier for order management
Trade Comment: Description for trades in terminal and history
Debug Mode: Enable detailed logging
Enable Adaptive Logic: Activate adaptive features based on market conditions
ICE Detection
Lookback Period: Historical bars for impulse pattern detection
Volume Multiplier: Minimum volume factor to confirm an impulse
Minimum Body Ratio: Minimum candle body-to-range ratio for impulse strength
Minimum Close Position: Minimum candle close position within range (0–1)
Minimum Impulse Bars: Minimum bars for a valid impulse sequence
Maximum Impulse Bars: Maximum bars allowed in an impulse sequence
Use Session Filter: Restrict trades to active trading sessions
Risk Management
Risk Per Trade: Percentage of account balance risked per trade
Reduce After Loss: Decrease risk after a losing trade
Reduction Factor: Factor for risk reduction after a loss (e.g., 0.8 = -20%)
Minimum Equity: Minimum account equity required to continue trading
Minimum Margin Level: Minimum required Margin Level percentage
Trade Execution
ATR Multiplier SL: Stop Loss distance determined by ATR multiplier
ATR Multiplier TP: Take Profit distance determined by ATR multiplier
Slippage Points: Maximum allowable slippage in points
Entry Optimization
Immediate Entry: Enter trade immediately upon impulse detection
Maximum Entry Bars: Maximum bars to wait for entry after detection
Smart Trailing
Trailing Mode: Trailing stop strategy (Fixed / ATR / Hybrid)
Breakeven At: Profit percentage to trigger breakeven stop
Trail ATR Multiplier: ATR multiplier for trailing stop distance
Trail Activation: Profit percentage required to activate trailing logic
Use Volatility Adjust: Dynamically adjust trailing based on volatility
Safety Filters (Calibrated)
Maximum Spread: Maximum allowable spread in points
Minimum ATR Points: Minimum volatility threshold (approx. 5 pips)
Maximum ATR Points: Maximum volatility threshold (approx. 150 pips)
Filter Low Volume: Block trades during periods of low volume
Note: The provided code is for reference and illustrative purposes only. It requires further development and testing before direct use with a live trading account. Any associated risks are solely the responsibility of the user. The author and originator of the concept provide input and ideas for this code.
You may also like: mq l5 wizard: trade signals with bullish/bearish engulfing and stochastic confirmation - excellent alternative for expert users on MetaTrader 5.
Source Code
#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version "1.0"
#property description "This code is educational. Feel free to use, modify and upgrade as you wish. Visit ROBOTFX.ORG for professional trading tools"
#property strict
#include <Trade\Trade.mqh>
#include <Trade\PositionInfo.mqh>
#include <Trade\HistoryOrderInfo.mqh>
#define ICE_PREFIX "ICE_"
#define UPDATE_INTERVAL_MS 100
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.