Breakout Lookback Bars
- エキスパート
- バージョン: 1.0
- アクティベーション: 5
Breakout Lookback Bars EA
Breakout Lookback Bars EA is an automated Expert Advisor for MetaTrader 4 that identifies price breakouts using the highest and lowest prices over a configurable historical lookback period.
The strategy combines breakout-based initial entries with a FloatingPips mechanism for managing additional positions and a MaxTrades setting for limiting the number of open trades.
Trading Approach
The EA analyzes the previous number of bars defined by LookbackBars and identifies the corresponding high and low price boundaries.
These levels are used as dynamic resistance and support references.
A Buy trade can be opened when price breaks above the qualifying upper breakout level.
A Sell trade can be opened when price breaks below the qualifying lower breakout level.
Additional Trade Management
After an initial position has been opened, the EA can open additional trades according to the configured FloatingPips condition.
The number of positions is controlled by the MaxTrades parameter. Once the maximum permitted number of trades has been reached, the EA will not continue adding positions to that trading sequence according to this mechanism.
Because additional positions can be opened, the total exposure of the strategy should be considered when selecting the initial lot size and MaxTrades setting.
Main Features
- Historical high and low breakout detection
- Configurable LookbackBars
- Automated Buy and Sell execution
- FloatingPips additional-entry mechanism
- Configurable MaxTrades
- Dynamic support and resistance reference levels
- Multi-position trade management
- Suitable for testing across different Forex symbols and timeframes
Reference Timeframes and Symbols
H1 and H4 can be used as the principal reference timeframes for evaluating the strategy.
M30 can also be tested when a higher signal frequency is preferred.
Lower timeframes such as M1 and M5 may be more sensitive to short-term price fluctuations, spread and execution conditions. D1 is not part of the intended reference configuration.
Liquid Forex pairs such as EURUSD, GBPUSD and USDJPY can be used as starting instruments for testing.
These are reference configurations rather than guaranteed or universally optimal settings. Results can vary according to symbol, timeframe, broker conditions and EA parameters.
Understanding Breakout Risk
A breakout above a historical high or below a historical low does not guarantee that price will continue in the breakout direction.
False breakouts can occur when price moves beyond the identified boundary and subsequently reverses.
Using a higher timeframe can change the frequency and characteristics of breakout signals, but it does not eliminate false breakouts.
Risk Information
The MaxTrades parameter limits the number of positions that the EA can open under its additional-entry mechanism, but it does not by itself prevent substantial exposure or drawdown.
If several positions are open simultaneously, total market exposure and potential loss can be greater than for a single position.
Lot size, FloatingPips , LookbackBars and MaxTrades should therefore be evaluated together according to account equity, leverage and acceptable risk.
Test the EA across trending, ranging and volatile market conditions in the MetaTrader 4 Strategy Tester and on a demo account before live deployment. Historical performance does not guarantee future results.
