コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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;
        }
コード例 #3
0
        /// <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;
        }