Main Content


Chaikin oscillator



chosc = chaikosc(Data) calculates the Chaikin oscillator.


collapse all

Load the file SimulatedStock.mat, which provides a timetable (TMW) for financial data for TMW stock.

load SimulatedStock.mat
oscillator = chaikosc(TMW);
plot(oscillator.Time, oscillator.ChaikinOscillator)
title('Chaikin Oscillator for TMW')

Input Arguments

collapse all

Data with high, low, close, and volume information, specified as a matrix, table, or timetable. For matrix input, Data is an M-by-4 matrix of high, low, close prices and volume. Timetables and tables with M rows must contain variables named 'High', 'Low', 'Close', and 'Volume' (case insensitive).

Data Types: double | table | timetable

Output Arguments

collapse all

Chaikin oscillator, returned with the same number of rows (M) and type (matrix, table, or timetable) as the input Data.


[1] Achelis, S. B. Technical Analysis from A to Z. Second Edition. McGraw-Hill, 1995, pp. 91–94.

Version History

Introduced before R2006a

expand all