NinjaScript > Educational Resources > Reference Samples > Indicator > 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.
Key concepts in this example 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
Important related documentation
Other methods and properties of interest include:
Import instructions
|