/// <summary> /// To get the current value of the indicator. /// </summary> /// <param name="indicator">Indicator.</param> /// <returns>The current value.</returns> public static decimal GetCurrentValue(this IIndicator indicator) { return(indicator.GetNullableCurrentValue() ?? 0); }