PATTERNSMART · SIERRA CHART INDICATORS
Automatically identify bullish and bearish flag chart patterns directly on your price chart. The Chart Pattern Flag Indicator for Sierra Chart highlights consolidation structures with upper and lower trendlines, configurable extensions, and color-coded detection markers, helping you review potential trend-continuation setups without drawing every flag manually.
Choose from three pattern-size modes, focus on either market direction, and enable alerts when new flag patterns are identified. Designed as a chart analysis tool, it complements your existing technical analysis workflow without placing trades automatically.
Bull & Bear Flags · 3 Pattern Sizes · Pattern Alerts
Illustrative examples using synthetic price data. Not Sierra Chart screenshots, backtests, or evidence of trading performance.
A flag is a technical analysis chart pattern generally associated with a pause following a directional price move. Traders often refer to the preceding move as the flagpole and the subsequent consolidation as the flag. A continuation is possible, but a flag can also fail or develop into a different structure.
In textbook chart analysis, a bull flag forms after an upward move, followed by a consolidation that often slopes downward. Traders may watch the upper boundary for a possible resumption of the advance.
A bear flag forms after a downward move, followed by a consolidation that often slopes upward. Traders may watch the lower boundary for a possible continuation of the decline.
The detection dots identify a flag-pattern finding, not a confirmed breakout, entry or exit signal.
Review bullish and bearish flags on the main price chart without manually tracing each structure.
See the two sides of each recognized flag as solid, customizable chart drawings.
Extend the flag boundaries by a chosen number of bars to create visual reference levels beyond the original line endpoints.
A green Bullish Found dot or cyan Bearish Found dot appears at the close-price level of the bar where the finding is marked.
Enable bullish flags, bearish flags, and any combination of small, medium, and large pattern modes independently.
Retain historical flag drawings by default, or use Show Last Pattern Only to focus on the latest drawn flag of each enabled direction. Historical detection dots may remain visible.
Receive a Sierra Chart study alert when a new bullish or bearish flag is found, if alerts are enabled. Both directions use Alert 1 with distinct messages.
Adjust upper, lower and extension line colors and line width to suit your preferred chart layout.
Different chart structures can be easier to review at different scales. Select one or more of the available modes; all three are enabled by default.
Focus on smaller flag structures for a closer view of price consolidation.
Review intermediate-scale flag structures alongside your usual chart analysis.
Focus on larger flag structures for a broader view of price development.
The size modes are not fixed chart timeframes. Their availability does not guarantee a pattern will be found on a particular chart.
The product is intended for use as a custom study. Source code is not included with the customer product. Once the supplied study is installed or made available in Sierra Chart, follow these standard platform steps:
If a custom-study DLL is supplied for manual installation, it belongs in the configured Sierra Chart Data Files Folder. Follow the product delivery instructions for the applicable installation method.
The following 12 inputs are available in the study settings. Start with the defaults or customize the display to match your chart analysis preferences.
| Input name | Default | Description |
|---|---|---|
| Show Bullish Flag | Yes | Enable bullish flag recognition and drawings. |
| Show Bearish Flag | Yes | Enable bearish flag recognition and drawings. |
| Enable Small Pattern | Yes | Include small flag structures. |
| Enable Medium Pattern | Yes | Include medium flag structures. |
| Enable Large Pattern | Yes | Include large flag structures. |
| Show Last Pattern Only | No | Focus on the latest flag boundary drawings per direction instead of retaining historical drawings. Detection dots may remain. |
| Enable Alert | Yes | Enable the study’s flag-found alerts. |
| Extension Bars | 20 | Set the line extension length in bars. Set to 0 to omit extension lines. |
| Upper Line Color | Orange | Set the upper boundary line color. |
| Lower Line Color | Green (lime) | Set the lower boundary line color. |
| Extension Line Color | Gray | Set the color of both extension lines. |
| Line Width | 1 | Set the width of the flag boundary and extension lines. |
The indicator includes two direction-specific notification messages through the Sierra Chart alert system:
Bullish: BullishFlag pattern found
Bearish: BearishFlag pattern found
Both messages use Sierra Chart Alert 1. Notification delivery and sound depend on the platform alert configuration. The alerts report pattern recognition, not a confirmed breakout or an instruction to buy or sell.
Review detected flags alongside the prevailing market direction and surrounding support or resistance.
Use the drawn flag boundaries as visual references while observing whether price moves beyond the structure. Breakout confirmation is a separate analysis decision.
Compare previously drawn flags and how price subsequently developed. Historical examples are not a performance evaluation.
Combine chart patterns with your own volume, momentum or trend studies. These are separate analytical tools, not built-in confirmation filters.
Designed as an Advanced Custom Study for Sierra Chart and displayed in the main price graph. A compatible custom-study installation and chart data are required.
The study uses price bars from the active chart. No specific symbol or bar interval is prescribed by the study. Results vary with the instrument, chart interval and available history.
Customers receive access to the usable indicator, not its source code. It is an analytical study, not an automated order-execution strategy.
It identifies bullish and bearish flag structures, draws their upper and lower boundaries, and marks pattern findings on the price chart.
Yes. Show Bullish Flag and Show Bearish Flag are independent inputs, and both are enabled by default.
They are selectable pattern-size modes. Enable any combination to focus on the scales you want to review.
Yes. Show Last Pattern Only focuses the boundary drawings on the latest flag per direction. Previously plotted detection dots may still be visible.
Yes. The upper, lower and extension colors, line width and extension length are configurable. Extension Bars defaults to 20; zero disables the extensions.
Yes. Enable Alert is on by default. Both directions use Alert 1, with separate bullish and bearish pattern-found messages.
No. The marker indicates that a flag was found. It is not a breakout confirmation, entry signal, price target or automatic order.
The study works with the active chart’s price data and does not specify a single symbol or interval. Specific chart types, platform versions and configurations have not been certified here.
No. Customers receive the usable indicator only; the proprietary source code is not part of the product delivery.
Explore the Chart Pattern Flag Indicator for Sierra Chart and review available PatternSmart indicators. Use the store’s native product and checkout controls to obtain the indicator.
Download the indicatorRisk disclaimer: Leveraged trading carries a high level of risk. This indicator is an analytical tool, not financial advice. Chart patterns can fail, and trading 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.