QuickRange Breakout

QuickRange Breakout — Automated Trading for MetaTrader 5

Overview

QuickRange Breakout is an automated trading Expert Advisor (EA) for MetaTrader 5 that uses a predefined price range to identify potential breakout trading opportunities.

The EA records the highest and lowest prices during a configurable range-formation period. After the formation period ends, it monitors market prices for potential breakouts above or below the established range and can automatically execute BUY or SELL orders.

With configurable trading times, lot sizing, stop-loss and take-profit levels, spread filtering, and daily trade limits, QuickRange Breakout gives traders control over how the range-breakout strategy operates.

Key Features

1. Automated Range Breakout Strategy

  • Calculates the high and low of a predefined price range.

  • Monitors price movements after the range-formation period.

  • Identifies potential bullish breakouts above the range high and bearish breakouts below the range low.

  • Supports automated BUY and SELL orders.

2. Customizable Trading Schedule

  • Configure the range start time using minutes from midnight.

  • Set the range-formation duration in minutes.

  • Configure a scheduled time to close positions managed by the EA.

  • Adapt the settings to your preferred trading session and broker server time.

3. Flexible Lot Sizing

Choose between two position-sizing modes:

Fixed Lot Mode: Set a preferred lot size, such as 0.01 lots.

Risk Percentage Mode: Set a percentage of account balance to use when calculating the position size based on the stop-loss distance.

Always verify the calculated volume and potential loss for your broker and trading instrument before using this mode on a live account.

4. Configurable Stop Loss and Take Profit

  • Set the stop-loss distance as a percentage of the established range size.

  • Set the take-profit distance as a percentage of the established range size.

  • Disable either setting by setting its percentage to zero.

These settings allow traders to experiment with different risk-to-reward configurations. They do not guarantee that orders will execute at the requested prices under all market conditions.

5. Daily Trade Control

  • Configure the maximum number of trades per day.

  • Use the Magic Number to identify positions associated with the EA.

  • Prevent additional entries while a position with the same Magic Number remains open.

  • Set the daily trade limit to zero for unlimited trades, subject to the other trading conditions.

Note: The current implementation resets its daily trade counter when the EA initializes a new trading day. Restarting the EA may affect enforcement of the daily limit.

6. Spread Filter

Configure the maximum permitted spread in points.

When the spread exceeds the configured limit, the EA skips that tick's processing. Setting the maximum spread to zero disables this filter.

7. Chart Visualization

QuickRange Breakout displays important range levels directly on the chart, including:

  • Range start time.

  • Range end time.

  • Scheduled closing time.

  • Range high and low.

  • Extended horizontal levels for monitoring potential breakouts.

The chart objects help traders visualize the strategy's reference levels while monitoring market activity.

8. Trading Execution Controls

  • Configurable order deviation in points.

  • Symbol-specific order filling settings.

  • Margin availability check before placing an order.

  • Stop-level checks based on broker symbol settings.

Order execution remains subject to broker conditions, market liquidity, spreads, slippage, and trading permissions.

Input Parameters

Lots

  • UseRiskPercent: Enables percentage-based risk sizing.

  • RiskPercent: Configures the percentage of account balance used in the sizing calculation.

  • FixedLots: Specifies the fixed position volume.

Trade Control

  • TradeEnabled: Enables or disables the EA's trading logic.

  • MaxTradesDay: Sets the daily trade limit.

  • MagicNumber: Identifies the EA's positions.

  • Slippage: Sets the permitted order deviation in points.

Range

  • RangeStart: Range start time in minutes after midnight.

  • RangeDuration: Length of the range-formation period in minutes.

  • RangeClose: Scheduled closing time in minutes after midnight; -1 disables scheduled closing.

Risk

  • SL_Percent: Stop-loss distance as a percentage of the range size.

  • TP_Percent: Take-profit distance as a percentage of the range size.

  • MaxSpread: Maximum permitted spread in points; zero disables the filter.

Platform Requirements

  • Platform: MetaTrader 5

  • Program type: Expert Advisor

  • Programming language: MQL5

  • Trading mode: Automated range breakout

  • Suitable instruments: Instruments supported by your broker, subject to testing and symbol specifications.

Installation and Usage

  1. Download the compiled Expert Advisor from the product page.

  2. Open MetaTrader 5 and launch the MetaEditor.

  3. Install the EA in the appropriate Experts directory if necessary.

  4. Compile the source code if you are installing the source version.

  5. Attach the EA to a chart for the instrument you intend to test.

  6. Configure the range schedule, position sizing, risk parameters, spread filter, and daily trade limit.

  7. Enable algorithmic trading and confirm that the EA has permission to trade.

  8. Test the configuration using the Strategy Tester and a demo account before considering live trading.

Use broker server time when configuring the trading schedule. Broker server time may differ from your local time.

Risk Disclaimer

QuickRange Breakout is a trading software tool, not a guarantee of profit. Range breakouts can produce false signals, and market gaps, execution delays, slippage, spread changes, and other market conditions can result in losses.

Automated trading involves substantial financial risk. Past testing results do not guarantee future performance. Always evaluate the EA with realistic trading costs and appropriate risk limits before using it with real funds.

The developer does not guarantee profits, a specific win rate, or any particular investment outcome.

Important: The EA should be thoroughly tested and its risk-sizing logic verified before live deployment. The current implementation has limitations in range initialization, breakout detection, and risk-percentage lot calculation that should be addressed before publication.


Mais do autor
ICT Judas MT4
Mithlesh Kumar Mandal
ICT Judas stands as a revolutionary trading strategy, a beacon guiding traders through the intricate dance of the financial markets. Rooted in advanced AI technology and sophisticated calculations, this strategy has an uncanny ability to decipher the enigmatic moves of the Asian trading session and unlock the treasure chest of opportunities that awaits in the London session. While its default setting shines brightest on the US30, it's ready to unveil its potential on other pairs if you dare to i
A estratégia de negociação da Dazzling Gold Blizzard: um guia abrangente No mundo dinâmico da negociação, a estratégia Dazzling Gold Blizzard surge não apenas como uma abordagem de negociação, mas como uma plataforma robusta, oferecendo aos traders a oportunidade de moldarem as suas ferramentas de negociação personalizadas. Este artigo investiga as complexidades da estratégia, explorando seus recursos de personalização, práticas comerciais ideais e os inúmeros benefícios que ela traz aos trader
CandleBot
Mithlesh Kumar Mandal
Apresentando o CandleBot - Sua Ferramenta Definitiva e Gratuita para Identificar e Negociar Padrões de Candlestick! Com o CandleBot, aproveite a vantagem nos mercados reconhecendo facilmente sinais de engolfo de alta e baixa, estrela da manhã e da noite, e padrões de martelo. Padrões de candlestick, derivados dos preços de abertura, máxima, mínima e fechamento ao longo de um período específico, servem como representações visuais dos movimentos de preços, auxiliando traders na análise do sentimen
ICT Judas
Mithlesh Kumar Mandal
"A "ICT Judas" é uma estratégia de negociação revolucionária baseada em (ICT Judas), aproveitando a dinâmica única da sessão de negociação asiática para identificar oportunidades na subsequente sessão de Londres. Apoiada por tecnologia avançada de inteligência artificial e cálculos de alto nível, essa estratégia se destaca em detectar a direção do movimento do mercado durante a sessão asiática e capitalizar possíveis inversões de mercado. Funciona melhor no US30 com as configurações padrão. Se
PropMaster EA
Mithlesh Kumar Mandal
Introducing PropMaster EA - Your Ultimate Forex EA for Prop Firm Challenges Are you ready to conquer prop firm challenges like FTMO and My Forex Fund? Look no further than PropMaster EA, the expert advisor tailored to your success in the world of trading. While no system can guarantee success, PropMaster EA is your edge in the market, helping you reach your trading aspirations. Key Features of PropMaster EA: - Advanced Risk Management: Limit your risk to just 0.5% or 1% per trade, ensuring yo
TradeFlow Dashboard
Mithlesh Kumar Mandal
TradeFlow Dashboard MT5 representa uma mudança de paradigma na gestão comercial, oferecendo uma solução robusta e versátil feita sob medida para elevar suas estratégias de gestão de risco e agilizar a tomada de decisões dentro da plataforma Meta Trader 5. Com a sua interface elegante e fácil de utilizar, esta ferramenta transcende a experiência de negociação convencional, atendendo especialmente aos traders manuais que procuram amplificar o seu desempenho. Vamos nos aprofundar nos principais d
A estratégia de negociação da Dazzling Gold Blizzard: um guia abrangente No mundo dinâmico da negociação, a estratégia Dazzling Gold Blizzard surge não apenas como uma abordagem de negociação, mas como uma plataforma robusta, oferecendo aos traders a oportunidade de moldarem as suas ferramentas de negociação personalizadas. Este artigo investiga as complexidades da estratégia, explorando seus recursos de personalização, práticas comerciais ideais e os inúmeros benefícios que ela traz aos trader
Filtro:
Sem comentários
Responder ao comentário