bollinger
Time series Bollinger band
Using a fints
object for the Data
argument of bollinger
is not recommended. Use a matrix, timetable
, or table
instead for financial time series. For
more information, see Convert Financial Time Series Objects fints to Timetables.
Description
[
calculates the middle, upper, and lower bands that make up the Bollinger bands from a series
of data. A Bollinger band chart plots actual asset data along with
three other bands of data: the upper band that is two standard deviations above a
user-specified moving average; the lower band that is two standard deviations below that
moving average; and the middle band that is the moving average itself.middle
,upper
,lower
] = bollinger(Data
)
[
adds optional name-value pair arguments. middle
,upper
,lower
] = bollinger(___,Name,Value
)
Examples
Input Arguments
Output Arguments
References
[1] Achelis, S. B. Technical Analysis from A to Z. Second Edition. McGraw-Hill, 1995, pp. 72–74.