public static List <decimal?> Tema(this IEnumerable <ICandle> candles, int?period = null, ICandleVariableCode type = null) { period ??= 30; type ??= CandleVariableCode.CLOSE; IIndicatorOptions options = new TemaOptions(period.Value, type); Tema tema = new Tema(); return(tema.Get(candles, options)); }