FTB-C000392 / Algorithm

Prior-Two-Bar Clamp

Prior-Two-Bar Clamp restricts a Parabolic SAR candidate so it does not cross selected prior-bar extremes before the current reversal test.

Also known asPSAR bar clamp

Definitions

In plain terms

In a long state the candidate is bounded by prior lows; in a short state it is bounded by prior highs.

Technical

The implementation freezes which prior bars participate, missing history, equality, clamp order, and first-ready behavior.

Scope

The clamp is part of the state transition and cannot be applied after reversal without changing results.

Examples

  • A governed lesson calculates or identifies Prior-Two-Bar Clamp only after its parameters, state, timing, and edge cases are declared.

Common misconceptions

  • The clamp is part of the state transition and cannot be applied after reversal without changing results.

Concept relationships

Where this concept is used

Tutorials planned

These catalogued topics use this concept, but their complete build has not shipped yet.

  • D07-F02-A07 Important

Evidence and governance

  1. TA-Lib Parabolic SAR Implementation TA-Lib · first party technical publication

    Supports: preferred label, short definition, technical definition

    Limits: Initial direction and extended-SAR options differ across implementations and must be declared.

Reviewed by
fintech-builder-batch-007
Last reviewed
2026-07-27
Next review
2027-07-27
Record status
published
Written by

Fintech engineer building market-data and financial systems, and the author of every article, glossary record, and reference implementation on The Fintech Builder.