Price Transforms
8 algorithms in Technical Indicators · 8 with asserted arithmetic.
In this family#
-
Typical Price verified
Averages each bar's high, low and close into a single representative price.
typicalPrice(input) -
Median Price Transform verified
Takes the midpoint of each bar's high and low.
medianPriceTransform(input) -
Weighted Close verified
Averages high, low and a double-weighted close so the settlement price dominates the bar.
weightedClose(input) -
Average Price Transform verified
Averages all four OHLC prices into one value per bar.
averagePriceTransform(input) -
Heikin-Ashi Transform verified
Rebuilds each bar as a Heikin-Ashi candle, averaging OHLC into the smoothed close and carrying the smoothed open forward from the previous candle.
heikinAshiTransform(input) -
Log Price Transform verified
Takes the natural logarithm of each close and the first difference of those logs.
logPriceTransform(input) -
Price Relative verified
Rebases the ratio of close to a benchmark level so the first bar equals
base, producing a relative-strength line.priceRelative(input) -
Normalized Price Transform verified
Converts close into a rolling z-score against its own moving average and standard deviation.
normalizedPriceTransform(input)
What they share#
Every topic here is a series-transform, so once you have
called one the rest follow the same shape. Import paths differ only in the final segment:
import { typicalPrice } from "fintech-algorithms/technical-indicators/price-transforms/typical-price";
import { medianPriceTransform } from "fintech-algorithms/technical-indicators/price-transforms/median-price-transform";Read them in the order above — the sequence is pedagogical, not alphabetical.
Where this sits#
Technical Indicators collects 137 algorithms across 9 families. For the concept behind this family rather than the call signatures, see the concept guides.