Flags and pennants, drawn for you: Flat Flag Patterns for MT5

17 November 2026, 14:27
Keijinro Mizutani
0
5

A flag is one of the oldest continuation patterns in chart reading: a strong one-way move (the pole), a short consolidation against it (the flag), and then — if the pattern completes — a breakout in the direction of the pole. Spotting them live is easy to say and slow to do by eye, especially across several charts. Flat Flag Patterns is an MT5 indicator that detects and draws them for you.

Product page: https://www.mql5.com/en/market/product/209258 ($38)

What it draws

The indicator scans for a pole — checking not only the size of the move but also that it travelled cleanly in one direction, since choppy two-way action does not make a pole — followed by a consolidation, judged by its retracement depth against the pole and the width of its range. Detection is normalised by ATR, so the same yardstick applies across symbols and timeframes.

Each pattern is drawn on the chart with its pole line, flag zone, label and arrows. Bull and bear flags are distinguished from pennants: when the range narrows into the later part of the consolidation, the label says pennant. A bar that closes outside the flag range is marked as a breakout with its own arrow. The panel shows the latest pattern type, the counts of bull / bear patterns and breakouts in the scan range, and how many bars have passed since the latest flag; it can be dragged anywhere and remembers its position per chart.

Signal buffers

Buffers 0–3 carry the display arrows (Bull Flag, Bear Flag, Bull Breakout, Bear Breakout). Buffers 4 (Buy) and 5 (Sell) are linkage signals for Flat Manual Trader MT5: a value is written only on the bar where a breakout is confirmed, and it can be read at shift 1. In linked use the indicator's parameters stay at their defaults, because the reading tool calls it without parameters.

Detection scans the most recent 1,500 bars by default and draws up to the latest 30 patterns; both are adjustable. Results vary by symbol, timeframe and broker data, and a drawn pattern is a description of what the price has done — not a promise of what it will do next. This indicator does not place orders. A free demo version runs in the MetaTrader Strategy Tester, so you can watch it draw on your own broker's data before buying.

Disclaimer: This product is a pattern-detection and display tool based on historical and current price data. It is not investment advice, not a prediction, and does not guarantee any future result or profit. Trading involves risk; decisions are your own responsibility.