QuantStudio Financial Data Analysis and Trading Framework

BBL Class

Bollinger Bands Lower (BBL).

For a list of all members of this type, see BBL Members.

System.Object
   RQuant.Indicator.TTimeArray
      RQuant.Indicator.TDoubleArray
         RQuant.Indicator.TIndicator
            RQuant.Indicator.BBL

[Visual Basic]
Public Class BBL
    Inherits TIndicator
[C#]
public class BBL : TIndicator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Bollinger Bands are two Simple Moving Averages displaced by a factor of the Standard Deviation of a Simple Moving Average. Bollinger Bands, developed by John Bollinger, represent a variation of the envelope concept. A Simple Moving Average is calculated and displayed, bordered with two envelope lines. In contrast to the envelopes, the distance between the Bollinger Bands and the Moving Average is not concerned with a certain percentage but rather with the Standard Deviation, that is the volatility of the underlying instrument.

This indicator is described in more details in the Steve Achelis' book "Technical Analysis from A to Z".

Formula:

Example

TDataManager.cd("Demo");

TDailyArray Daily1 = TDataManager.GetStock("YHOO").DailyArray;

DateTime Date1 = DateTime.Parse("1999/02/08"); 
DateTime Date2 = DateTime.Parse("2000/12/29"); 

TDailyArray Daily = Daily1.Clone(Date1, Date2);

TCanvas Canvas = new TCanvas("Canvas","BBL DEMO",600,400);
    
BBL BBL = new BBL(Daily, 14, 3);

Canvas.cd(1);
Daily.Draw("c");

BBL.Draw(Color.Red);

Requirements

Namespace: RQuant.Indicator

Assembly: RQuant.Indicator (in RQuant.Indicator.dll)

See Also

BBL Members | RQuant.Indicator Namespace