karlwancl / Trady

Trady is a handy library for computing technical indicators, and it targets to be an automated trading system that provides stock data feeding, indicator computing, strategy building and automatic trading. It is built based on .NET Standard 2.0.
https://lppkarl.github.io/Trady
Apache License 2.0
545 stars 185 forks source link

I do not know how to get sma #49

Closed suddar closed 6 years ago

suddar commented 6 years ago

I do not know how to get sma, this is my code, please help me!

var sma = candles.Sma(6).Last(); Console.WriteLine(sma); Print out >> Trady.Analysis.AnalyzableTick1[System.Nullable1[System.Decimal]]