Пример #1
0
        private void EnvelopTrendBitmex_ParametrsChangeByUser()
        {
            _envelop.Deviation            = EnvelopDeviation.ValueDecimal;
            _envelop.MovingAverage.Lenght = EnvelopMovingLength.ValueInt;
            _envelop.Save();

            VolMaFast.Lenght = (int)(EnvelopMovingLength.ValueInt);
            VolMaFast.Save();
            VolMaSlow.Lenght = (int)(VolMaFast.Lenght * 10);
            VolMaSlow.Save();
        }
Пример #2
0
        private void FastDelta_ParametrsChangeByUser()
        {
            TimeMaFast.Lenght = TimeFastLenth.ValueInt;
            TimeMaFast.Save();
            TimeMaSlow.Lenght = TimeSlowLenth.ValueInt;
            TimeMaSlow.Save();

            TralingStopMa.Lenght = TralingMaLenth.ValueInt;
            TralingStopMa.Save();

            VolMaFast.Lenght = VolFastLenth.ValueInt;
            VolMaFast.Save();
            VolMaSlow.Lenght = VolSlowLenth.ValueInt;
            VolMaSlow.Save();
        }