com.steema.teechart.functions
Class Bollinger

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.functions.Function
          extended by com.steema.teechart.functions.Bollinger

public class Bollinger
extends Function

Title: Bollinger class

Description: Bollinger Bands Function.

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Field Summary
 
Fields inherited from class com.steema.teechart.functions.Function
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
Bollinger()
           
Bollinger(IBaseChart c)
           
 
Method Summary
 void addPoints(java.util.Vector source)
          Gets all points from Source series, performs a function operation on points and stores results in ParentSeries.
 void clear()
           
 void dispose()
           
 java.lang.String getDescription()
          Gets descriptive text.
 double getDeviation()
          Gets deviation
 boolean getExponential()
          Gets exponential
 Series getLowBand()
          Gets low band series
 ChartPen getLowBandPen()
          Gets low band pen properties
 ChartPen getUpperBandPen()
          Gets upper band pen properties
 void setDeviation(double value)
          Sets deviation
 void setExponential(boolean value)
          Sets exponential
 void setLowBandPen(ChartPen value)
          Sets lower band pen properties
 void setUpperBandPen(ChartPen value)
          Sets upper band pen properties
 
Methods inherited from class com.steema.teechart.functions.Function
addFunctionXY, calculate, calculateAllPoints, calculateByPeriod, calculateMany, calculatePeriod, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bollinger

public Bollinger()

Bollinger

public Bollinger(IBaseChart c)
Method Detail

dispose

public void dispose()
Overrides:
dispose in class Function

clear

public void clear()
Overrides:
clear in class Function

addPoints

public void addPoints(java.util.Vector source)
Gets all points from Source series, performs a function operation on points and stores results in ParentSeries.

Overrides:
addPoints in class Function
Parameters:
source - ArrayList

getExponential

public boolean getExponential()
Gets exponential

Returns:
true, if exponential.

setExponential

public void setExponential(boolean value)
Sets exponential

Parameters:
value - True, if exponential

getDeviation

public double getDeviation()
Gets deviation

Returns:
Deviation.

setDeviation

public void setDeviation(double value)
Sets deviation

Parameters:
value - Deviation value

getLowBand

public Series getLowBand()
Gets low band series

Returns:
low band FastLine series

getLowBandPen

public ChartPen getLowBandPen()
Gets low band pen properties

Returns:
Low band pen

setLowBandPen

public void setLowBandPen(ChartPen value)
Sets lower band pen properties

Parameters:
value - Chart pen

getUpperBandPen

public ChartPen getUpperBandPen()
Gets upper band pen properties

Returns:
Upper band pen

setUpperBandPen

public void setUpperBandPen(ChartPen value)
Sets upper band pen properties

Parameters:
value - Chart pen

getDescription

public java.lang.String getDescription()
Gets descriptive text.

Overrides:
getDescription in class Function
Returns:
String