/// <summary> /// Loads the data file /// </summary> /// <returns>0 - success</returns> public int LoadResourceData() { string data = Properties.Resources.EURUSD1440; var parser = new Data_Parser(data); int result = parser.Parse(); if (result == 0) { _dataBar = parser.Bar; _bars = parser.Bars; } return(result); }
/// <summary> /// Loads the data file /// </summary> /// <returns>0 - success</returns> public int LoadResourceData() { string data = Properties.Resources.EURUSD1440; Data_Parser parser = new Data_Parser(data); int iResult = parser.Parse(); if (iResult == 0) { DataBar = parser.Bar; bars = parser.Bars; } return iResult; }
/// <summary> /// Loads the data file /// </summary> /// <returns>0 - success</returns> public int LoadResourceData() { string data = Properties.Resources.EURUSD1440; var parser = new Data_Parser(data); int result = parser.Parse(); if (result == 0) { _dataBar = parser.Bar; _bars = parser.Bars; } return result; }