Пример #1
0
        private void OnMqlError(MqlErrorException mqlErrorException)
        {
            int         num         = this.AccountNumber();
            string      str         = this.Symbol();
            MetaTrader4 metaTrader4 = MetaTrader4.For(num, str);

            metaTrader4.OnMqlError(mqlErrorException);
        }
Пример #2
0
        protected override int Start()
        {
            int         num         = this.AccountNumber();
            string      str         = this.Symbol();
            MetaTrader4 metaTrader4 = MetaTrader4.For(num, str);

            metaTrader4.OnQuote(this);
            return(1);
        }
Пример #3
0
 protected override int Start()
 {
     MetaTrader4.For(QuoterExtensions.AccountNumber(this), QuoterExtensions.Symbol(this)).OnQuote(this);
     return(1);
 }
Пример #4
0
 public static MetaTrader4 GetTerminal(int accountNumber, string symbol)
 {
     return(MetaTrader4.For(accountNumber, symbol));
 }
Пример #5
0
 private void OnMqlError(MqlErrorException mqlErrorException)
 {
     MetaTrader4.For(QuoterExtensions.AccountNumber(this), QuoterExtensions.Symbol(this)).OnMqlError(mqlErrorException);
 }