foreach (string ss in tmp) { string[] spl = ss.Split(';'); if (ss.Length > 20) { double o = Convert.ToDouble(spl[1].Replace('.', ',')); double h = Convert.ToDouble(spl[2].Replace('.', ',')); double l = Convert.ToDouble(spl[3].Replace('.', ',')); double c = Convert.ToDouble(spl[4].Replace('.', ',')); ncl.LastPlayback("$EURUSD", o, 1, Convert.ToDateTime(spl[spl.Length - 2]).ToString("yyyyMMddHHmmss")); ncl.LastPlayback("$EURUSD", h, 1, Convert.ToDateTime(spl[spl.Length - 2]).ToString("yyyyMMddHHmmss")); ncl.LastPlayback("$EURUSD", l, 1, Convert.ToDateTime(spl[spl.Length - 2]).ToString("yyyyMMddHHmmss")); ncl.LastPlayback("$EURUSD", c, 1, Convert.ToDateTime(spl[spl.Length - 2]).ToString("yyyyMMddHHmmss")); }
All the candles should be with volume 4 but some of them (randomly) have a volume 3,5,8
Data candles fit on top of each other
Comment