/// <summary>
        /// Сохранить настройки.
        /// </summary>
        /// <param name="settings">Хранилище настроек.</param>
        public override void Save(SettingsStorage settings)
        {
            base.Save(settings);

            settings.SetValue("LongMa", LongMa.Save());
            settings.SetValue("ShortMa", ShortMa.Save());
        }
Пример #2
0
        /// <summary>
        /// Save settings.
        /// </summary>
        /// <param name="settings">Settings storage.</param>
        public override void Save(SettingsStorage settings)
        {
            base.Save(settings);

            settings.SetValue(nameof(LongMa), LongMa.Save());
            settings.SetValue(nameof(ShortMa), ShortMa.Save());
            settings.SetValue(nameof(MedianPrice), MedianPrice.Save());
        }