Exemple #1
0
        static void Main(string[] args)
        {
            var client = new DdeClient("MT4", "QUOTE");
            beat = new QuoteBeat();

            writer = new LogDataWriter("EURUSD");

            client.Advise += client_Advise;
            client.Connect();
            client.StartAdvise("EURUSD", 1, true, 60000);

            Console.ReadLine();
            writer.Close();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var client = new DdeClient("MT4", "QUOTE");

            beat = new QuoteBeat();

            writer = new LogDataWriter("EURUSD");

            client.Advise += client_Advise;
            client.Connect();
            client.StartAdvise("EURUSD", 1, true, 60000);

            Console.ReadLine();
            writer.Close();
        }