Skip to content

v1.0.45

Compare
Choose a tag to compare
@ooples ooples released this 19 Jul 16:07
· 51 commits to master since this release

Added a new clear method to make it easier to work with the same input source on several lines. See the example below:

var stockData = new StockData(bars.Select(x => x.Open), bars.Select(x => x.High), bars.Select(x => x.Low), 
bars.Select(x => x.Close), bars.Select(x => x.Volume), bars.Select(x => x.TimeUtc), InputName.High);

var sma = stockData.CalculateSimpleMovingAverage(14);

// if you don't perform this clear method in between then your ema result will be calculated using the sma results
stockData.Clear();

var ema = stockData.CalculateExponentialMovingAverage(14);

#17 Added source code license and contact info to all pages @claudio-silva