Stock Indicators for .NET. Transform financial market price quotes into technical analysis indicators such as MACD, Stochastic RSI, Average True Range, Parabolic SAR, etc. Nothing more.
$ dotnet add package FAkka.Stock.FIndicatorsThis a cloned and modified repo of DaveSkender/Stock.Indicators
Changes are some util method and classes like
[Serializable] public class TAWrapper<TAHelper, TAResult> where TAHelper : new() { public TAWrapper(TAHelper helper, List<TAResult> results) { this.results = results; this.helper = helper; }
public TAWrapper()
{
this.results = new List<TAResult>();
this.helper = new TAHelper();
}
public TAHelper helper;
public List<TAResult> results;
} // SIMPLE MOVING AVERAGE (SERIES)
[Serializable] public class SmaHelper<T> {
//public SmaHelper? prevHelper = null;
public double curSum = 0;
public Queue<T> curSumWindow = new Queue<T>();
public T lastDequeued;
public double curSumWithoutPrevious = 0;
public DateTime? curLastDT = null;
public int curResultIdx = 0;
}
Stock Indicators for .NET is a C# library package that produces financial market technical indicators. Send in historical price quotes and get back desired indicators such as moving averages, Relative Strength Index, Stochastic Oscillator, Parabolic SAR, etc. Nothing more.
Build your private technical analysis, trading algorithms, machine learning, charting, or other intelligent market software with this library and your own OHLCV price quotes sources for equities, commodities, forex, cryptocurrencies, and others. Stock Indicators for Python is also available.
Visit our project site for more information: