Example #1
0
 /// <summary>
 /// To get the indicator value by the index (0 - last value).
 /// </summary>
 /// <param name="indicator">Indicator.</param>
 /// <param name="index">The value index.</param>
 /// <returns>Indicator value.</returns>
 public static decimal GetValue(this IIndicator indicator, int index)
 {
     return(indicator.GetNullableValue(index) ?? 0);
 }