public static void ChartAdd(this MT4Manager mt4, string symbol, ChartPeriod period, IEnumerable <RateInfo> rates) { mt4.ChartAdd(symbol, period, rates.ToArray()); }