If you are wanting to import the data as historical data:
You can manually import historical data as per the instructions at the link below.
http://www.ninjatrader.com/support/h.../importing.htm
Please note that the data needs to be in a certain format, see below.
Tick Format
Each tick must be on its own line and fields must be separated by semicolon (
.The format is:
yyyyMMdd HHmmss;price;volume
Sample data:
20061107 000431;1383.00;1
20061107 000456;1383.25;25
20061107 000456;1383.25;36
20061107 000537;1383.25;14
If you are wanting to read the data from the file to store in memory and use for an indicator without importing the data as historical data, you can do this with the StreamReader.
Below is a link to an official reference sample on using StreamReader.
http://www.ninjatrader.com/support/f...ead.php?t=3476
Please let me know if I can be of further assistance.

Leave a comment: