Markets spend a large share of their time moving sideways. Those pauses, where price bounces between a ceiling and a floor, are rectangle patterns, and they often precede decisive moves. Finding them by eye across several symbols and timeframes is slow and inconsistent.
The Chart Pattern Rectangle indicator for cTrader scans the chart for you, draws the range boundaries, projects them forward, and marks the bar where price breaks out in either direction. It is written specifically for the cTrader platform, using its native chart drawing, notification and indicator framework, so it behaves like a natural part of your workspace rather than an add-on.
A rectangle is a consolidation pattern. Price moves back and forth between a roughly flat resistance level and a roughly flat support level, testing each side more than once. Traders watch for a decisive break above resistance or below support as a possible sign that the market is choosing a direction.
Because the rectangle can resolve either way, it is a favorite of range traders and breakout traders alike. It can appear as a pause within a trend or as a base after a long move, which makes it relevant in nearly every market condition.

When a rectangle is identified, the indicator draws an upper resistance line and a lower support line across the pattern. The boundaries are smoothed so the lines represent the range itself rather than a single stray wick, giving you tidy levels you can use for planning entries, stops and targets.
Dotted extension lines carry the boundaries into the future, so you can see exactly where the range edges sit as price continues to develop. You choose how many bars the lines extend, or set it to zero to turn extensions off.
Unlike tools that only watch one side, this indicator monitors both boundaries after a rectangle is found. If price closes above the upper line, a breakout marker appears above the bar. If price closes below the lower line, the marker appears below it. Each pattern is tracked within your chosen extension window, so the marker stays relevant to the range that just formed.
Match the indicator to your trading style by enabling any combination of sizes:
Each size also applies its own minimum range height, which helps filter out ranges too tight to be meaningful. Run one size for a cleaner chart or all three for a multi-scale view.

Real markets are never perfectly flat. The Horizontal Tolerance setting lets you decide how strictly the top and bottom boundaries must line up. Because it adapts to current market volatility, the same setting behaves sensibly across quiet and active instruments, from low-volatility forex pairs to fast-moving indices and crypto CFDs. A lower value gives you stricter, cleaner rectangles; a higher value allows looser ranges.
Prefer a minimal workspace? Turn on the last-pattern option and the indicator keeps only the most recent rectangle on the chart, replacing older drawings instead of stacking them.
Enable alerts and the indicator plays one sound when a new rectangle is detected and a different sound when a breakout occurs. You can tell a developing setup from an actionable move by ear, even when you are away from the chart. Alerts trigger on the live bar, so historical scrolling does not flood you with noise.
This version was built natively for cTrader rather than adapted from another platform, and it takes advantage of what the platform does well:
| Setting | Purpose |
|---|---|
| Enable Small / Medium / Large Pattern | Choose which pattern sizes are scanned |
| Horizontal Tolerance | Controls how flat the upper and lower boundaries must be |
| Show Last Pattern Only | Keep only the most recent rectangle on the chart |
| Enable Alert | Turn sound notifications on or off |
| Extension Bars | How far the boundaries and breakout tracking extend forward |
| Line Width | Thickness of the drawn lines |
| Upper / Lower Line Color | Colors of the resistance and support lines |
| Extension Line Color | Color of the dotted projection lines |
| Found Alert File | Alert sound for a new rectangle |
| Breakout Alert File | Alert sound for a breakout |
Does this indicator work on all symbols and timeframes?
Yes. It can be applied to any instrument and timeframe available in your cTrader account.
Does it detect both upside and downside breakouts?
Yes. After a rectangle is found, the indicator watches both boundaries and marks a breakout in whichever direction occurs first within the extension window.
Will it alert me when a pattern forms?
Yes. With alerts enabled, one sound plays for a new pattern and a different sound plays for a breakout.
How do I keep my chart clean?
Enable only the sizes you need and switch on the last-pattern-only option.
Can I change the colors and line style?
Yes. Upper, lower and extension line colors, plus line width, are all adjustable.
Does it guarantee profitable trades?
No indicator can. It is a decision-support tool that helps you identify consolidation structures and potential breakouts. Always apply sound risk management.
Does it need special permissions?
No. It runs with no external access rights.

If you trade ranges and breakouts, the Chart Pattern Rectangle indicator for cTrader gives you automatic detection, clean support and resistance lines, forward projections, two-way breakout markers and instant alerts in one lightweight, platform-native tool.
Add it to your cTrader chart today and let the market's ranges and breakouts come to you.
Risk disclaimer: Trading leveraged products carries a high level of risk and may not be suitable for all investors. This indicator is an analytical tool and does not constitute financial advice or a guarantee of future results. Past performance is not indicative of future outcomes.
Copyright @ 2026 Patternsmart - All rights reserved
This website is for educational and informational
purposes only and should not be considered a solicitation to buy or sell a
futures contract or make any other type of investment decision. It's not recommended to use any single indicator as sole evaluation criteria. The companies
and services listed on this website are not to be considered a recommendation
and it is the reader's responsibility to evaluate any product, service, or
company. patternsmart is not responsible for the accuracy or content of any
product, service or company linked to on this website.
Futures trading
contains substantial risk and is not for every investor.Please read the following risk disclosure before considering the
trading of this product:
Futures Risk Disclosure. An investor could
potentially lose all or more than the initial investment. Risk capital is money
that can be lost without jeopardizing ones financial security or life style.
Only risk capital should be used for trading and only those with sufficient risk
capital should consider trading. Past performance is not necessarily indicative
of future results.
Trading stocks, options, futures and forex involves
speculation, and the risk of loss can be substantial.Investor must consider all
relevant risk factors, including their own personal financial situation, before
trading. Trading foreign exchange on margin carries a high level of risk, as
well as its own unique risk factors. Forex investments are subject to
counter-party risk, as there is no central clearing organization for these
transactions. Please read the following risk disclosure before considering the
trading of this product:
Forex Risk Disclosure. Spreads, Straddles, and other multiple-leg option
strategies can entail substantial transaction costs, including multiple
commissions, which may impact any potential return. Options are not suitable for
all investors as the special risks inherent to options trading may expose
investors to potentially rapid and substantial losses. Prior to trading options,
you should carefully read
Characteristics and Risks of Standardized Options.
patternsmart.com
will not be held liable for the loss of money or any damage caused from relying
on the information on this site. Any investment decision you make in your account is solely your responsibility.
TESTIMONIAL DISCLOSURE: TESTIMONIALS APPEARING ON OUR SITE MAY NOT BE REPRESENTATIVE OF THE EXPERIENCE OF OTHER CLIENTS OR CUSTOMERS AND IS NOT A GUARANTEE OF FUTURE PERFORMANCE OR SUCCESS.