PullbackPatternsBot β Automated Pullback Trading Strategy
PullbackPatternsBot is a fully automated trading cBot designed to trade trend pullbacks on EURUSD using a combination of EMA trend detection, price action confirmation, and ATR-based risk management.
Instead of chasing momentum, the bot waits for price to retrace toward the moving average zone and then confirms the continuation using proven candlestick patterns.
This approach aims to capture trend continuation moves with controlled risk exposure.
Strategy Logic
The strategy is based on three core steps.
1. Trend Identification
The bot determines the market direction using two exponential moving averages:
- EMA Fast
- EMA Slow
Market conditions:
Bullish trend
EMA Fast > EMA Slow
Bearish trend
EMA Fast < EMA Slow
Trades are only taken in the direction of the current trend.
2. Pullback Detection
After the trend is confirmed, the bot waits for the market to pull back toward the EMA Fast zone.
The pullback zone is configurable using Pullback Tolerance (pips), allowing flexibility depending on market volatility.
This helps avoid entering trades at extreme prices and focuses on retracement entries within the trend.
3. Price Action Confirmation
Before entering a trade, the bot requires a confirmation signal from price action patterns.
Supported patterns:
Engulfing pattern
or
Pin Bar
These patterns often indicate that the pullback is ending and the main trend may continue.
Both confirmations can be enabled or disabled.
Risk Management
The bot includes built-in risk management features.
Stop Loss and Take Profit levels are calculated dynamically using Average True Range (ATR).
Position size is automatically calculated based on account balance and selected risk percentage.
Additional protections include:
- Spread filtering
- Optional single position per symbol
- Optional trailing stop
Adjustable Parameters
The bot offers full control over the strategy through configurable parameters.
Trend Settings
- EMA Fast β fast trend EMA period
- EMA Slow β slow trend EMA period
Pullback Settings
- Pullback Tolerance (pips) β allowed distance from EMA for pullback entries
Confirmation Settings
- Use Engulfing β enable/disable engulfing confirmation
- Use Pin Bar β enable/disable pin bar confirmation
- Min PinBar Wick Ratio β wick-to-body ratio required for pin bars
Risk Management
- Risk % per Trade β percentage of account risked per trade
- ATR Period β ATR calculation period
- SL = ATR x β Stop Loss multiplier
- TP = ATR x β Take Profit multiplier
Trade Filters
- Max Spread (pips) β prevents trading during high spread conditions
- One Position per Symbol β limits simultaneous trades
Trade Management
- Use Trailing Stop
- Trail Start (pips)
- Trail Step (pips)
System
- Label β identifier for bot trades
Recommended Market
The bot was designed primarily for:
EURUSD
Timeframe recommendation:
H1
Other symbols and timeframes can be tested and optimized.
Developer
Developed by fxneuraledge
Risk Disclaimer
Trading involves risk.
Past performance and backtest results do not guarantee future results.
Always test automated strategies on a demo account before using real capital.
Recommended Settings (EURUSD H1)
The following parameters were used in the strategy backtests and can be used as a starting configuration.
EMA Fast: 20
EMA Slow: 50
Pullback Tolerance (pips): 3
Use Engulfing: Yes
Use Pin Bar: Yes
Min PinBar Wick Ratio: 2
Risk % per Trade: 1
ATR Period: 11
SL = ATR x: 2
TP = ATR x: 5
Max Spread (pips): 2
One Position per Symbol: No
Use Trailing Stop: No
Trail Start (pips): 10
Trail Step (pips): 5
Note: These parameters are suggested starting values and may require optimization depending on broker conditions and market volatility.