FTB-C000403 / Formula component

Positive Gain

Positive Gain is the positive part of a close-to-close change and is zero when the change is nonpositive.

Also known asRSI gain

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)
LaTeX: G_t=\max(\Delta C_t,0)
SymbolMeaningUnit
Change_tclose-to-close changeprice

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

Where this concept is used

Evidence and governance

  1. 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