Creating a text file to load non-standard intraday bars

User Bob Cocchiola has donated the clever tip below for loading non-standard intraday bars from text files you create (for a description of what standard vs non-standard bars, refer to the Changes in Documentation section on this site in the article entitled:

What are valid text or ASCII files for NeuroShell? (1/28/2009)

Create your text file with a row for each of open, high, low, and close for each bar. Each of these 4 rows have the same date and time as the original bar. Do this for each bar, creating four times as many rows of data. Now load the file as a four-tick chart, and it should load the original bar correctly. He says it works for all bar types.

Example:

If you are attempting to load a 10:30 bar with open=98, high=99, low=96, and close=97, the following rows will be entered in the text file:

Time       Close
10:30:00    98
10:30:00    99
10:30:00    96
10:30:00    97

Now make this file known to NeuroShell on the Tools->Data Sources menu, Directories tab.

Next open a new intraday chart of type Tick Bars with number of ticks=4.

Was this article helpful?

Related Articles