Pullback Trading Expert Advisor
Info
The Pullback Trading Expert Advisor is a Expert Advisor for MetaTrader 4 that this expert advisor (ea) identifies and trades pullbacks aligned with the trend of two moving averages. It incorporates a trailing stop loss and take profit functionality.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 4 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL4/Experts folder via File ? Open Data Folder in MetaTrader 4.
How to Install and Use Pullback Trading Expert Advisor
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
This Expert Advisor (EA) identifies and trades pullbacks aligned with the trend of two moving averages.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 4.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 4. Place the file in the MQL4/Experts folder and restart the terminal.
Description & Settings
Related: Scalper EA for Weekend Trading on BTC - another powerful expert for MetaTrader 4 traders.
This Expert Advisor (EA) identifies and trades pullbacks aligned with the trend of two moving averages. It incorporates a trailing stop loss and take profit functionality. The EA is designed to work on all timeframes and with major forex pairs, as well as stocks including Nasdaq.Also recommended: Weekend Trading Strategy - similar expert with strong performance on MetaTrader 4.
It is recommended to test this EA on a demo account first.
The EA initiates trades only based on the price of the current open candle.
To disable trading with increasing lot sizes after a losing trade, set the input 'increasefactor' to 0.
Input Parameters:
Take Profit Options:
- use_tp_in_money: Use Take Profit in monetary value (true/false).
- tp_in_money: Take Profit value in currency (10-100).
- use_tp_in_percent: Use Take Profit in percentage (true/false).
- tp_in_percent: Take Profit value in percentage (10-100).
Money Trailing Stop for Multiple Trades:
- enable_trailing: Enable trailing stop loss in monetary value (true/false).
- tp_in_money_for_multiple_trades: Take Profit in currency for multiple trades (25-200).
- stop_loss_in_money_for_multiple_trades: Stop Loss in currency for multiple trades (1-20).
Trade Management:
- exit: Close trades if the trend is against the position and to control drawdown (true/false).
- lots: Initial lot size (0.01-1).
- lots_size_exponent: Factor for increasing lot size (1.01-2).
- increasefactor: Multiplier for lot size increase after a loss (0.001-0.1).
- stop_loss: Stop Loss in pips (30-500). Set to 600 for multiple trades.
- magicnumber: Unique identifier for EA trades (1-100000).
- takeprofit: Take Profit in pips (50-200). Set to 600 for multiple trades.
Moving Averages:
- fastma: Fast Moving Average period (1-20).
- slowma: Slow Moving Average period (50-200).
Momentum Triggers:
- mom_sell: Momentum trigger for sell signals (0.1-0.9).
- mom_buy: Momentum trigger for buy signals (0.1-0.9).
Drawdown Control:
- useequitystop: Enable equity stop loss (true/false).
- totalequityrisk: Maximum risk as a percentage of total equity (0.01-20).
Multiple Trades:
- max_trades: Maximum number of concurrent trades (1-12).
Single Trade Trailing Stop (if max_trades is 1):
- usetrailingstop: Enable trailing stop loss (true/false).
- whentotrail: Trigger for trailing stop activation in pips (40-100).
- trailamount: Trailing stop distance in pips (40-100).
- distance_from_candle: Distance from the candle to set the initial stop loss in pips (1-100).
- usecandeltrail: Enable trailing stop based on candle price (true/false).
- x_candles_for_trail: Number of candles to consider for candle-based trailing stop (1-100).
- usemovetobreakeven: Enable moving stop loss to break even (true/false).
- whentomovetobreakeven: Pips target to move stop loss to break even (1-30).
- pipstomovesl: Number of pips to move the stop loss to break even (1-30).
Recommendations:
- It is advised to optimize this EA periodically, ideally every few months, and use the exact input settings derived from optimization.
- This EA can function as a hedging grid EA or a single trade EA.
Backtesting:
Instructions for performing a backtest are available separately.
You may also like: e-news-lucky$ - automated news trading expert advisor - excellent alternative for expert users on MetaTrader 4.
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.