public void Set(string name, int index, Mq4Double value) { if (!_mq4ObjectByName.ContainsKey(name)) { return; } _mq4ObjectByName[name].Set(index, value); _mq4ObjectByName[name].Draw(); }
public override void Set(int index, Mq4Double value) { base.Set(index, value); switch (index) { case MQ4Const.OBJPROP_TIME1: _index = _timeSeries.GetIndexByTime(Time1); break; } }
private void OnValueChanged(int index, Mq4Double value) { int indexToSet; if (_mq4Array.IsInverted) { indexToSet = _mq4Array.Length - index; } else { indexToSet = index; } if (indexToSet < 0) { return; } _dataSeries[indexToSet] = value; }
public virtual void Set(int index, Mq4Double value) { _properties[index] = value; }