public static void Main(string[] args) { var mtPrices = new mt4_prices(); mtPrices.All(where: "ASK>1.001") .Select(dynIt => new { Ask = dynIt.ASK, }) .Each(it => { Console.WriteLine(it.Ask); }); foreach (var price in mtPrices.All(where:"ASK>1.001")) { Console.WriteLine(price.ASK); } RHost.FdkHelper.ConnectToFdk("","","",""); Console.Write("Press any key to continue . . . "); Console.ReadKey(true); }
public static void Main(string[] args) { var mtPrices = new mt4_prices(); mtPrices.All(where : "ASK>1.001") .Select(dynIt => new { Ask = dynIt.ASK, }) .Each(it => { Console.WriteLine(it.Ask); }); foreach (var price in mtPrices.All(where:"ASK>1.001")) { Console.WriteLine(price.ASK); } RHost.FdkHelper.ConnectToFdk("", "", "", ""); Console.Write("Press any key to continue . . . "); Console.ReadKey(true); }