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:
NinjaTrader 8
- Download the file contained in this thread to your PC desktop
- From the Control Center window, select the menu Tools > Import > NinjaScript
- Select the downloaded file
NinjaTrader 7
- Download the file contained in this thread to your PC desktop
- From the Control Center window, select the menu File > Utilities > Import NinjaScript
- Select the downloaded file and click Import.