chaikosc
Chaikin oscillator
Syntax
Description
Examples
Calculate the Chaikin Oscillator for a Stock
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
Data
— Data with high, low, open, close information
matrix | table | timetable
Data with high, low, open, close information, specified as a matrix,
table, or timetable. For matrix input, Data
is an
M
-by-4
matrix of high, low,
opening, and closing prices. Timetables and tables with M
rows must contain variables named 'High'
,
'Low'
, 'Open'
, and
'Close'
(case insensitive).
Data Types: double
| table
| timetable
Output Arguments
chosc
— Chaikin oscillator
matrix | table | timetable
Chaikin oscillator, returned with the same number of rows
(M
) and type (matrix, table, or timetable) as the
input Data
.
References
[1] Achelis, S. B. Technical Analysis from A to Z. Second Edition. McGraw-Hill, 1995, pp. 91–94.
Version History
Introduced before R2006aR2023a: fints
support removed for Data
input argument
fints
object support for the Data
input
argument is removed.
R2022b: Support for negative price data
The Data
input accepts negative prices.
Ouvrir l'exemple
Vous possédez une version modifiée de cet exemple. Souhaitez-vous ouvrir cet exemple avec vos modifications ?
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)