Chart Pattern indicator for SierraChart
Automatically identify bullish and bearish flag patterns directly on your Sierra Chart price chart. The Chart Pattern Flag indicator helps you visualize potential trend continuation formations with color-coded flag boundaries, adjustable line extensions, detection markers and built-in pattern-found alerts.
Instead of manually drawing every consolidation channel, use a dedicated bull flag and bear flag indicator to highlight recognizable flag formations while you review market structure. Choose the pattern directions and sizes that suit your chart analysis workflow.
For the Sierra Chart desktop platform. Indicator only; source code is not included.
What are bullish and bearish flag chart patterns?
A flag is a classic technical analysis formation consisting of a directional price move, often called the flagpole, followed by a temporary consolidation, known as the flag. Traders study flags for the possibility that the prior trend may resume after the consolidation. A flag is not a guarantee of a breakout or continuation.
Bullish flag (bull flag)
A bull flag typically follows an upward move. Price then consolidates within a downward-sloping channel. The indicator highlights the flag structure with upper and lower lines and a lime-green detection point when a bullish flag is found.
Bearish flag (bear flag)
A bear flag typically follows a downward move. Price then consolidates within an upward-sloping channel. The indicator highlights the boundaries and displays a cyan detection point when a bearish flag is found.
Key features of the Chart Pattern Flag indicator
Purpose-built for flag pattern recognition in Sierra Chart, the study combines automatic chart annotations with controls for how much information you want to see.
Automatic bull and bear flag recognition
Highlight both bullish and bearish flag formations without manually drawing their boundaries. Enable either direction or both together.
On-chart boundary lines
View the upper and lower flag lines directly over the main price chart. The lines make it easier to review the flagged consolidation in context.
Adjustable line extensions
Extend both flag boundaries by a configurable number of chart bars. Use the extended lines as visual reference levels while evaluating later price action.
Direction-specific markers
A lime-green Bullish Found point and a cyan Bearish Found point mark the detection bar at its closing-price value by default.
Built-in pattern alerts
Receive distinct bullish and bearish pattern-found messages through Sierra Chart Alert 1 when alerts are enabled. Configure the alert sound in Sierra Chart.
Latest-pattern drawing mode
Reduce boundary-line clutter by displaying the most recent flag drawing for each enabled direction, while historical point markers can remain.
Three pattern size categories
Independently select small, medium and large pattern categories to tailor your chart review.
Custom colors and thickness
Choose colors for the upper boundary, lower boundary and extensions, and set line width to suit your chart template.
Historical chart review
Review detected formations on loaded chart history when the latest-only drawing mode is disabled. Use them to study chart context, not as evidence of future results.
Small, medium and large flag pattern modes
Not every flag formation has the same visual scale. The three independently selectable categories let you focus on the types of formations you prefer to review without changing any proprietary detection rules.
Small patterns
Focus on the more compact category of flag formations. A useful option when reviewing localized price structure.
Medium patterns
Include the intermediate category of flag formations when reviewing consolidation within a broader price move.
Large patterns
Include the larger-scale category of flag formations when studying more extended chart structure.
All three categories are enabled by default. Any combination can be selected. The size categories are not fixed chart timeframes and do not promise a particular number of signals.
How to install the flag indicator in Sierra Chart
Use the installation or authorization instructions supplied with your indicator. A typical custom-study setup is:
Download the indicator
Use the download link to locate the Sierra Chart indicator. Follow the vendor’s delivery and activation instructions.
Make the study available
If supplied as a DLL, place it in Sierra Chart’s Data Files Folder as instructed by the vendor. Restart or refresh the platform if needed.
Add the custom study
Open the desired chart, select Analysis > Studies, then Add Custom Study. Locate Chart Pattern Flag and add it to the chart.
Configure and apply
Open the study settings, select the desired pattern directions, sizes, drawing options and alerts, then apply the settings. Review the plotted results on the main price chart.
If alerts are enabled, configure the sound and notification behavior for Sierra Chart Alert 1 in the platform. No source-code editing or compilation is required for a customer using the delivered compiled indicator.
Indicator inputs and default settings
Customize the Chart Pattern indicator for SierraChart from the study settings. The following table lists all twelve available named inputs and their default values.
| Input name | Default | Description |
|---|---|---|
| Show Bullish Flag | Yes | Enable bullish flag recognition and chart annotations. |
| Show Bearish Flag | Yes | Enable bearish flag recognition and chart annotations. |
| Enable Small Pattern | Yes | Include the small pattern size category. |
| Enable Medium Pattern | Yes | Include the medium pattern size category. |
| Enable Large Pattern | Yes | Include the large pattern size category. |
| Show Last Pattern Only | No | Focus the flag boundary drawings on the most recent detected flag of each enabled direction. Earlier detection markers can remain. |
| Enable Alert | Yes | Enable Sierra Chart Alert 1 notifications when a new flag is identified. |
| Extension Bars | 20 | Control how far the boundary lines extend beyond their plotted endpoints in chart bars. Set to 0 to omit extensions. |
| Upper Line Color | Orange | Choose the color of the upper flag boundary. |
| Lower Line Color | Lime green | Choose the color of the lower flag boundary. |
| Extension Line Color | Gray | Choose the color of both boundary extensions. |
| Line Width | 1 | Adjust the thickness of the boundary and extension lines. |
Chart markers and alert messages
Two named subgraphs are available: Bullish Found (lime green) and Bearish Found (cyan), both displayed as points by default with a line width setting of 3. The separate Line Width input controls the flag boundary and extension drawings rather than these point markers.
When enabled, the indicator requests Sierra Chart Alert 1 with the message “BullishFlag pattern found” or “BearishFlag pattern found”. The audible or other notification behavior depends on Sierra Chart’s alert configuration. A pattern-found alert does not mean that a breakout has occurred.
How traders use bull and bear flag indicators
Flag annotations provide a starting point for independent chart analysis. The indicator does not determine trade entries, stop-loss levels, position sizes or profit targets.
Trend continuation analysis
Review identified flags alongside the prevailing trend and other market context. A continuation interpretation is a possibility, not a prediction.
Breakout monitoring
Observe price relative to the flag boundaries and their optional extensions. Any breakout assessment or confirmation is separate from the pattern-found notification.
Focused intraday chart review
Use selected pattern categories and alerts to draw attention to formations as you review a chart. Adjust chart intervals according to your own workflow.
Historical pattern study
Keep historical flag drawings visible to compare formations and subsequent price behavior. Review both successful and failed textbook setups, without assuming past outcomes will repeat.
Sierra Chart compatibility
Platform
A custom study designed for Sierra Chart desktop. It is not a TradingView, MetaTrader, NinjaTrader or thinkorswim indicator.
Markets and chart intervals
Uses the chart’s available price data. Evaluate it on supported futures, equities, forex or other markets and chart intervals available in your Sierra Chart setup.
Display
Overlays the main price chart. Use your preferred Sierra Chart chart template and adjust the drawing colors for contrast.
Installation requirements
A functioning Sierra Chart installation, appropriate market data and access to the delivered custom study are required. Check vendor instructions for the supported build and authorization requirements.
Specific Sierra Chart version, service-package, operating-system and non-time-based chart compatibility have not been established here. Consult the vendor’s delivery requirements before installation.
Chart Pattern indicator for SierraChart FAQ
What does the Chart Pattern indicator for SierraChart detect?
It identifies bullish and bearish flag chart patterns and displays their boundaries, optional line extensions and direction-specific detection markers on the main price chart. It is designed specifically for flags, not every type of chart pattern.
What is the difference between a bull flag and a bear flag?
A bull flag is generally a downward-sloping consolidation after an upward price move. A bear flag is generally an upward-sloping consolidation after a downward move. Both are commonly studied as potential continuation patterns, but either can fail.
Can I enable only bullish or only bearish flag patterns?
Yes. Show Bullish Flag and Show Bearish Flag are independent settings. Both are enabled by default.
Can I select different pattern sizes?
Yes. Small, medium and large pattern categories can be enabled or disabled independently. All three are enabled by default, and you can use any combination.
Does the flag indicator provide alerts?
Yes. Enable Alert is on by default. The study uses Sierra Chart Alert 1 with separate bullish and bearish pattern-found messages. These are pattern detection notifications, not breakout or order execution alerts.
Can I display only the latest pattern?
Yes. Show Last Pattern Only focuses the boundary drawings on the latest detected flag in each enabled direction. It does not necessarily remove previous detection point markers from the chart.
Can I change the colors and line extensions?
Yes. The upper, lower and extension line colors and the line width are configurable. Extension Bars defaults to 20; set it to 0 to hide the extensions. The bullish and bearish markers have separate subgraph display settings.
Can I use the indicator on futures or other markets and timeframes?
The study uses the price data of the Sierra Chart chart to which it is applied. You can evaluate it on futures, stocks, forex or other instruments available through your Sierra Chart data service, and on different chart intervals. Results depend on chart data and settings; specific market and bar-type combinations have not been independently validated.
Is this an automated trading system, and is source code included?
No. It is a chart analysis indicator that draws patterns and provides notifications, not an automated order execution system. Customers receive the indicator for use in Sierra Chart; the proprietary indicator source code is not included.
Bring automatic flag recognition to your Sierra Chart workspace
Visualize bullish and bearish flag formations, customize your pattern categories and chart drawings, and receive pattern-found alerts — all from one dedicated custom study.
PatternSmart · Sierra Chart indicator · Source code not included



