PATTERNSMART · METATRADER 5 INDICATORS
Identify broadening formations directly on your MT5 price chart with the Broadening Formation Chart Pattern Indicator. Also known as a megaphone pattern or expanding triangle, this structure describes a widening price range with rising upper and falling lower boundaries. The indicator marks recognized formations with clear chart drawings, optional boundary extensions, and a yellow Pattern Found marker.
Use independently selectable small, medium and large pattern sizes, retain historical drawings or focus on the latest formation, and enable sound alerts to support your chart analysis workflow. This is a technical analysis indicator, not an automated trading strategy.
Automatic Pattern Detection · 3 Pattern Sizes · Sound Alerts
Illustrative example using synthetic price data. Not an MT5 screenshot, backtest, or evidence of trading performance. Marker placement is schematic.
In classical technical analysis, a broadening formation develops when price fluctuations expand rather than contract. Its megaphone-like shape reflects a widening trading range and may appear during periods of uncertainty or increasingly volatile price movement. Unlike a contracting symmetrical triangle, its boundaries diverge.
If price moves beyond the upper boundary, traders may examine whether the move holds or returns inside the expanding range. An upside break is a separate market event, not an automatic consequence of the formation.
If price moves below the lower boundary, traders may examine whether selling pressure persists. A move outside the boundary can also fail, so a downside break is not guaranteed to develop into a sustained decline.
Pattern detection is not breakout confirmation. A broadening formation does not predict which direction price will ultimately take. The indicator identifies the chart structure, not a confirmed bullish or bearish trade.
Highlights recognized broadening formations on the main price chart, reducing the need to draw every structure manually.
Solid trendlines provide a visual representation of the widening price range.
Optional dotted extensions continue the boundaries beyond their original endpoints for visual reference.
Yellow chart markers identify bars on which the formation is recognized, without implying trade direction.
Enable Small, Medium and Large individually or in combination to review different scales of chart structures.
Keep previous formation drawings for review or display only the most recent drawn formation.
An optional sound notification and diagnostic log message accompany a new formation finding on the latest bar.
Adjust the upper, lower and extension colors, as well as the shared drawing width, to suit your chart background.
All three size options are enabled by default. Pattern size is an analysis setting, not a fixed chart timeframe or a measure of expected profit.
Review relatively compact broadening formations.
Review intermediate-scale expanding price structures.
Review broader formations within the surrounding price action.
LastOnly = false (default): retain historical formation drawings as new formations are drawn.
LastOnly = true: retain only the latest set of boundary and extension drawings. Earlier Pattern Found markers may still appear because the marker plot is separate from the chart drawings.
Disable individual size options to narrow the chart review. If all three size options are disabled, no new formation detection is performed.
The indicator uses distinct visual elements to separate the detected formation from its projected reference boundaries. These elements are drawn in the price chart window.
The yellow Pattern Found marker is plotted at the close-price level of a bar where a formation is recognized. Dotted extensions are visual projections, not price targets, stop-loss levels or forecasts. When ExtensionBars is set to zero, new formations are drawn without extensions.
On a light chart background, consider choosing a darker extension color so the dotted lines remain visible. The yellow marker color is the defined default plot color.
Open the MT5 price chart you want to analyze. Once the indicator is available in your platform, attach it to the chart and open its Inputs settings. Select the pattern sizes, choose the drawing mode, adjust colors and extensions, and enable or disable alerts as desired.
Review the plotted formations in the context of the chart’s recent price action. If alerts are enabled, verify that the selected sound file is available to MetaTrader 5 and that sound playback is working. No source-code compilation is required as part of this chart setup.
The following inputs control the user-facing behavior and appearance of the indicator.
| Input Name | Default Value | Description |
|---|---|---|
| EnableSmall | true | Enable small pattern mode. |
| EnableMedium | true | Enable medium pattern mode. |
| EnableLarge | true | Enable large pattern mode. |
| LastOnly | false | Keep historical formation drawings when false; retain the latest drawing when true. |
| SetAlert | true | Enable the sound alert and associated log message for new findings on the latest bar. |
| ExtensionBars | 50 | Number of bars used for optional boundary extensions. Set to 0 to omit extensions on new drawings. |
| LineWidth | 2 | Shared width setting for the upper, lower and extension lines. |
| UpperLineColor | Orange | Solid upper boundary color. |
| LowerLineColor | Lime | Solid lower boundary color. |
| ExtensionLineColor | Alice Blue | Dotted boundary extension color. |
| SoundAlertFile | notify.wav | Sound file selected for the pattern alert. |
When SetAlert is enabled, a new formation finding on the latest chart bar can trigger playback of the selected sound file (notify.wav by default) and write a corresponding message to the platform log. The indicator does not provide separate buy and sell alerts or dedicated breakout alerts.
The sound alert is separate from the yellow Pattern Found plot. Markers can remain visible when alerts are disabled. A marker may appear on more than one bar while a formation continues to be recognized; not every marker represents a new alert.
A formation finding is a chart observation. It is not an order, a trade entry instruction, or confirmation that a price breakout has occurred.
Use the diverging boundaries as a visual reference when reviewing periods of widening price fluctuations.
Monitor subsequent price action around the drawn or extended boundaries. Evaluate any move outside the range independently.
Keep historical drawings enabled to compare earlier structures with later price action without treating the chart as a strategy backtest.
Review the formation alongside existing trend, support and resistance, or volatility tools. The indicator does not combine these tools into a trading signal.
A custom indicator for the MetaTrader 5 main price chart. It is not a native Sierra Chart study or a MetaTrader 4 indicator.
Pattern availability depends on the loaded price history and market structure. Different chart settings may produce different findings.
The proprietary indicator source code is not included with the customer product. The product does not execute trades or manage positions.
It identifies broadening formations, also called megaphone patterns or expanding triangles, with diverging upper and lower price boundaries.
No. It uses a single Pattern Found marker. Upside and downside resolutions are possible, but neither is identified as a directional trade signal.
Yes. Small, Medium and Large can be enabled independently. All are enabled by default.
Yes. Enable LastOnly to retain the latest formation drawings. Historical detection markers may remain visible.
Yes. Use ExtensionBars, LineWidth and the three line-color inputs to configure the boundary drawings.
An optional sound alert and associated log message are available for new pattern findings on the latest bar. The sound file is configurable.
No. It indicates that a formation was recognized, not that price has broken out or that a trade should be placed.
No. It is a chart analysis indicator, not an Expert Advisor or automated trading system.
No. The proprietary source code is not included.
Combine automatic broadening pattern identification, three selectable sizes, configurable boundary drawings, and sound alerts in a single chart analysis tool. Review expanding price structures in context while keeping pattern detection separate from breakout confirmation and trade execution.
Expanding ranges · Visual reference lines · Flexible display options
Trading financial instruments, particularly leveraged products, carries substantial risk and may result in significant losses. This indicator is for technical analysis and educational use and is not financial advice. Illustrations use hypothetical price data and do not represent backtests, actual trading results, or evidence of performance. Pattern detection does not guarantee profitable outcomes, and future results are not guaranteed.



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.