Skender.Stock.Indicators is a .NET library that produces stock indicators. Send in historical price quotes and get back desired technical indicators (such as moving average, relative strength, stochastic oscillator, parabolic SAR, etc). Nothing more.
It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had private trading algorithms, machine learning, and charting systems in mind when originally creating this community library.
Explore more information:
- Indicators and overlays
- Guide and Pro tips
- Contributing guidelines
- Discussions
- Release notes
- Demo site (a stock chart)
- Contact us
using Skender.Stock.Indicators;
[..] // prerequisite: get quote history from your own source
// example: get 20-period simple moving average
IEnumerable<SmaResult> results = Indicator.GetSma(history,20);
See the guide and the full list of indicators and overlays for more information.
- .NET 5.0
- .NET Core 3.1
- .NET Standard 2.0, 2.1
- .NET Framework 4.6.1
This NuGet package is an open-source project. If you want to report bugs or contribute fixes, new indicators, or new features, please review our contributing guidelines and the backlog.
This repository uses the standard Apache 2.0 open-source license. Please review the license before using or contributing to the software.
Start a new feature discussion, ask a question, or submit an issue if it is publicly relevant. You can also direct message @daveskender.