Interceptor
Info
The Interceptor is a Expert Advisor for MetaTrader 5 that a trading strategy based on a 'fan' of moving averages across three timeframes, with five moving averages on each. The EA is designed specifically for GBPUSD, M5 'five-digit'.
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 Interceptor
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
A trading strategy based on a 'fan' of moving averages across three timeframes, with five moving averages on each.
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: Exponential Moving Average Function - another powerful expert for MetaTrader 5 traders.
A trading strategy based on a 'fan' of moving averages across three timeframes, with five moving averages on each. The EA is designed specifically for GBPUSD, M5 'five-digit'. Attempting to run it on other symbols or timeframes will result in an error.Also recommended: Color Metro DeMarker Trend Trading System - similar expert with strong performance on MetaTrader 5.
The code utilizes two methods to retrieve data from the Moving Average indicator:
- Data from a single bar per request (obtained in a variable) - 'ImageT'
- Data from multiple bars per request (obtained in an array) - 'ImageTArray' and 'IstochasticGetArray'
Additionally, 'IArraySetAsSeries' is used extensively to enhance calculation speed.
Inputs:
- Lot size when opening a position under normal conditions (in the absence of matching signals)
- Flat coefficient on M5 (points per bar)
- Initial stop loss (if below 100, no stop loss is set)
- Take profit (if below 100, no take profit is set)
- Minimum profit in points to move to breakeven
- Stop loss value when moving to breakeven (if the parameter is above 9)
- Maximum distance between MAs for the fan on the M5 chart (for Signal 1 only)
- Maximum distance between MAs for the fan on the M15 chart (for Signal 4 only)
- Maximum distance between MAs for the fan on the M15 chart (for Signal 6 only)
- Stochastic period for M5
- Upper and lower levels of stochastic for M5
- Stochastic period for M15
- Upper and lower levels of stochastic for M15
- Minimum candlestick body size (for Signal 1 only)
- Low flat (minimum flat length in bars)
- High flat (maximum flat height in points)
- Minimum distance in bars between indicator peaks for divergence on M5
- Minimum and maximum percentages of the long and short hammer shadows, respectively
- Minimum hammer size in points (for M5 chart)
- Age of the hammer (highest bar number)
- Number of bars over which the hammer is the maximum (for Signal 6 only)
- Narrow source (largest fan width on M5 at the narrowest point)
- Bars since the fan converged to the 'narrow source' (almost to a point)
- Maximum/minimum range broken through ('narrow source' in bars)
- Position marking number
- Minimum trailing stop shift
- Distance from trailing stop to price (if below 100, trailing stop is inactive)
Tested in the 'Every Tick Based on Real Ticks' mode.
You may also like: doubler - excellent alternative for expert users on MetaTrader 5.
Source Code
/
.......
⚠ 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.