Пример #1
0
        protected override void OnStart()
        {
            _botName = ToString();
            _instanceLabel = _botName + "-" + _botVersion + "-" + Symbol.Code + "-" + TimeFrame.ToString();

            _hullEma1 = Indicators.GetIndicator<EHMA>(HullPeriod);
            _hullEma2 = Indicators.GetIndicator<EHMA>(HullPeriod * 6);
            Timer.Start(1);
        }
Пример #2
0
 protected override void OnStart()
 {
     hullMA1 = Indicators.GetIndicator<EHMA>(HullPeriod);
     hullMA2 = Indicators.GetIndicator<EHMA>(HullPeriod * 6);
     Timer.Start(1);
 }