Skip to main content

adosc

Accumulation/Distribution Oscillator.

Also known as the Chaikin Oscillator.

Essentially a momentum indicator, but of the Accumulation-Distribution line rather than merely price. It looks at both the strength of price moves and the underlying buying and selling pressure during a given time period. The oscillator reading above zero indicates net buying pressure, while one below zero registers net selling pressure. Divergence between the indicator and pure price moves are the most common signals from the indicator, and often flag market turning points.

Example:​

from openbb import obb
stock_data = obb.equity.price.historical(symbol="TSLA", start_date="2023-01-01", provider="fmp")
adosc_data = obb.technical.adosc(data=stock_data.results, fast=3, slow=10, offset=0)

Parameters​

NameTypeDescriptionDefaultOptional
dataList[Data]List of data to be used for the calculation.NoneFalse
fastPositiveIntNumber of periods to be used for the fast calculation, by default 3.3True
slowPositiveIntNumber of periods to be used for the slow calculation, by default 10.10True
offsetintOffset to be used for the calculation, by default 0.0True

Returns​