Skender.Stock.Indicators is a .NET library that produces stock indicators. Send in historical stock 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 kind of stock analysis software. We had private trading algorithms and charts in mind when originally creating this open library.
Explore more information:
- List of indicators and overlays
- Getting started
- Guide and Pro tips
- Contributing guidelines
- Release notes
- Demo site (a stock chart that uses this library)
- Contact us
See full list of indicators and overlays for more information.
Find and install the Skender.Stock.Indicators NuGet package into your Project. See more help for installing packages.
# dotnet CLI example
dotnet add package Skender.Stock.Indicators
# package manager example
Install-Package Skender.Stock.Indicators
using Skender.Stock.Indicators;
[..] // prerequisite: acquire quote history from your own source
// example: get 20-period simple moving average
IEnumerable<SmaResult> results = Indicator.GetSma(history,20);
See individual indicator pages for specific guidance.
- .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.
Contact us through the NuGet Contact Owners method or submit an Issue with your question if it is publicly relevant. You can also direct message @daveskender.