/// <summary> /// Load settings. /// </summary> /// <param name="settings">Settings storage.</param> public override void Load(SettingsStorage settings) { base.Load(settings); LongMa.LoadNotNull(settings, nameof(LongMa)); ShortMa.LoadNotNull(settings, nameof(ShortMa)); }
/// <summary> /// Load settings. /// </summary> /// <param name="settings">Settings storage.</param> public override void Load(SettingsStorage settings) { base.Load(settings); LongMa.LoadNotNull(settings, "LongMa"); ShortMa.LoadNotNull(settings, "ShortMa"); }
/// <inheritdoc /> public override void Load(SettingsStorage storage) { base.Load(storage); LongMa.LoadNotNull(storage, nameof(LongMa)); ShortMa.LoadNotNull(storage, nameof(ShortMa)); MedianPrice.LoadNotNull(storage, nameof(MedianPrice)); }