%B Indicator


bolling(Asset,Samples,Alpha,Width) plots Bollinger bands for given Asset data.

Commentary for the charts is provided with a Bollinger Bands Letter subscription. Tags Add Tags analysis finance modeling technical indicators.

Description

A Bollinger band chart plots actual data along with three other bands of data. The upper band is two standard deviations above a moving average; the lower band is two standard deviations below that moving average; and the middle band is the moving average itself.

Specify the axes, labels, and titles. Use dateaxis to add the x -axis dates. 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: Select the China site in Chinese or English for best site performance. Other MathWorks country sites are not optimized for visits from your location. All Examples Functions More.

Trial Software Product Updates. This is machine translation Translated by. Bollinger Chart Open Live Script.

You can specify several name and value pair arguments in any order as Name1,Value1, Number of observations of the input series to include in the moving average in periods, specified as the comma-separated pair consisting of 'WindowSize' and a scalar positive integer.

Type of moving average to compute, specified as the comma-separated pair consisting of 'Type' and a scalar integer with a value of 0 simple or 1 linear.

Number of standard deviations for the upper and lower bounds, specified as the comma-separated pair consisting of 'NumStd' and a scalar positive integer.

Moving average series representing the middle band, returned with the same number of rows M and the same type matrix, table, or timetable as the input Data. Moving average series representing the upper band, returned with the same number of rows M and the same type matrix, table, or timetable as the input Data. Moving average series representing the lower band, returned with the same number of rows M and the same type matrix, table, or timetable as the input Data.

Technical Analysis from A to Z. 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: Select the China site in Chinese or English for best site performance. Other MathWorks country sites are not optimized for visits from your location.

All Examples Functions More. This is machine translation Translated by. Input Arguments collapse all Data — Data for market prices matrix table timetable. Output Arguments collapse all middle — Moving average series representing the middle band matrix table timetable.