Definitions
In plain terms
It isolates upward movement while preserving a nonnegative price-unit series for RSI smoothing.
Technical
The implementation freezes equality, input precision, missing changes, corporate-action basis, and chronological order.
Scope
A zero gain can coexist with a positive loss magnitude and is real data, not missing.
Formula
Gain_t = max(Change_t, 0)G_t=\max(\Delta C_t,0)| Symbol | Meaning | Unit |
|---|---|---|
Change_t | close-to-close change | price |
Output unit: price
Examples
- A governed lesson calculates or identifies Positive Gain only after its inputs, window, state, scale, and edge cases are declared.
Common misconceptions
- A zero gain can coexist with a positive loss magnitude and is real data, not missing.
Concept relationships
Prerequisites
Required by
Where this concept is used
Tutorials planned
These catalogued topics use this concept, but their complete build has not shipped yet.
- D07-F03-A01 Important
Evidence and governance
- Relative Strength Index TA-Lib · first party technical publication
Supports: preferred label, short definition, technical definition, formula
Limits: Seed, flat-series behavior, unstable periods, and platform compatibility must be frozen before claiming parity.
- Reviewed by
- fintech-builder-batch-008
- Last reviewed
- 2026-07-29
- Next review
- 2027-07-29
- Record status
- published
