# Flag Breakout Detector

Detects flag pattern breakouts and sends signals to Expert Advisor for automated trading.

Canonical: https://prismaticalgos.com/compendium/algo/141-flag-breakout-detector
Record ID: 141
Catalog rank: 393 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Price Action & Market Structure (E)
Source: https://www.mql5.com/en/articles/22607
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: any
- timeframes: any
- sessions: any
- market_regime: any

## Indicators

- ATR: {"period": 20}; applied to: close

## Recorded long-entry rules

- close > upper boundary of flag

## Recorded short-entry rules

- close < lower boundary of flag

## Recorded exit rules

- none specified in source

## Recorded filters

- none specified in source

## Risk controls

- Stop loss: not specified in source
- Take profit: not specified in source
- Position sizing: not specified in source
