Using System.IO File properties to write to and read from a text file
<< Click to Display Table of Contents >> Using System.IO File properties to write to and read from a text file |
Using Stream objects can be cumbersome when you only want to write/read a small amount of data. Fortunately, you can handle this operation with another method. Keep in mind that in exchange for the convenience you will lose some performance.
•Creating and appending a text file with Open-High-Low-Close data and date stamps
•Determining current day Open-High-Low-Close after reading data from the text file
Other methods and properties of interest include:
1.Download the file contained in this Help Guide topic to your PC desktop
2.From the Control Center window, select the menu Tools > Import > NinjaScript
3.Select the downloaded file