TSLab API Docs  1
TSLab.Script.Helpers.Indicators Class Reference

Some indicator's calculation helpers More...

Static Public Member Functions

static double Highest (IList< double > candles, int curbar, int period)
 Calculate highest value last calculation bar calculation period source candles list highest value
 
static double Lowest (IList< double > candles, int curbar, int period)
 Calculate lowest value last calculation bar calculation period source candles list lowest value
 
static double TrueRange (IReadOnlyList< IDataBar > candles, int curbar)
 Calculate True Range for current bar source candles list current bar number True Range
 
static double SMA (IList< double > candles, int curbar, int period)
 Calculate SMA for current bar source candles list current bar number SMA period SMA
 
static double SummFor (IList< double > candles, int curbar, int period)
 Calculate Summ for same values source candles list current bar number the period the Summ
 
static double StDev (IList< double > candles, IList< double > smas, int curbar, int period)
 Calculate Standart Deviation for current bar source list calculated SMAs list current bar number SMA period SMA
 
static double Volatility (IList< double > candles, IList< double > smas, int curbar, int period)
 Calculate Standart Historic Volatility for current bar source list calculated SMAs list current bar number SMA period SMA
 

Detailed Description

Some indicator's calculation helpers