/// <summary>
        /// Adds an index to the moving average.
        /// </summary>
        /// <param name="value">The index value.</param>
        public void AddIndex(decimal value)
        {
            _slowAverage.AddIndex(value);
            _fastAverage.AddIndex(value);

            if (_slowAverage.IsReady() && _fastAverage.IsReady())
            {
                _signAverage.AddIndex(_fastAverage.GetValue() - _slowAverage.GetValue());
            }
        }
 /// <summary>
 /// Determines whether this instance is ready.
 /// </summary>
 /// <returns><c>true</c> if this instance is ready; otherwise, <c>false</c>.</returns>
 public bool IsReady()
 {
     return(_gainAverage.IsReady() && _lossAverage.IsReady());
 }
 /// <summary>
 /// Determines whether this instance is ready.
 /// </summary>
 /// <returns><c>true</c> if this instance is ready; otherwise, <c>false</c>.</returns>
 public bool IsReady()
 {
     return(_slowAverage.IsReady() && _fastAverage.IsReady() && _signAverage.IsReady());
 }