FTB-C000454 / Implementation concept

Flat Streak Reset

Flat Streak Reset sets the signed up/down streak to zero when current close equals previous close under the declared precision rule.

Also known asequal-close streak rule

Definitions

In plain terms

It prevents an unchanged bar from extending either the positive or negative run.

Technical

The contract freezes exact or tolerant equality, price rounding, missing bars, and how the next nonflat bar starts.

Scope

Other implementations may preserve or treat flats differently, so this choice affects parity.

Examples

  • A governed lesson calculates or identifies Flat Streak Reset only after its inputs, window, state, scale, and edge cases are declared.

Common misconceptions

  • Other implementations may preserve or treat flats differently, so this choice affects parity.

Concept relationships

Where this concept is used

Evidence and governance

  1. Connors Relative Strength Index Implementation QuantConnect Lean · first party technical publication

    Supports: preferred label, short definition, technical definition

    Limits: The moving branch can change; exact parity requires a pinned revision and an explicit tie and ranking-window contract.

Reviewed by
fintech-builder-batch-008
Last reviewed
2026-07-29
Next review
2027-07-29
Record status
published