hello
having the following peace of code:
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
NamedPipeClientStream pipeClient =
new NamedPipeClientStream(".", "EURUSD", PipeDirection.In);
Console.WriteLine("Connecting to server...\n");
pipeClient.Connect();
StreamReader ss = new StreamReader(pipeClient);
while (true)
{
Console.WriteLine("From pipe: " + ss.ReadLine());
Thread.Sleep(1200);
}
pipeClient.Close();
}
}
}
please help me translate this in mq4 code / a reading function that returns bid and ask
best regards
raul
having the following peace of code:
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
NamedPipeClientStream pipeClient =
new NamedPipeClientStream(".", "EURUSD", PipeDirection.In);
Console.WriteLine("Connecting to server...\n");
pipeClient.Connect();
StreamReader ss = new StreamReader(pipeClient);
while (true)
{
Console.WriteLine("From pipe: " + ss.ReadLine());
Thread.Sleep(1200);
}
pipeClient.Close();
}
}
}
please help me translate this in mq4 code / a reading function that returns bid and ask
best regards
raul
Вложения
Последнее редактирование модератором: