Bollinger Bands Upper (BBU)
For a list of all members of this type, see BBU Members.
System.Object
RQuant.Indicator.TTimeArray
RQuant.Indicator.TDoubleArray
RQuant.Indicator.TIndicator
RQuant.Indicator.BBU
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
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:
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","BBU DEMO",600,400);
BBU BBU = new BBU(Daily, 14, 3);
Canvas.cd(1);
Daily.Draw("c");
BBU.Draw(Color.Red);
Namespace: RQuant.Indicator
Assembly: RQuant.Indicator (in RQuant.Indicator.dll)
BBU Members | RQuant.Indicator Namespace