Technical Studies Reference
Write Bar and Study Data To File
This study will write the Date, Time, Open, High, Low, Last, Volume, # of Trades, OHLC Avg, HLC Avg, HL Avg, Bid Vol, Ask Vol bar data that is loaded into the chart and the study Subgraph values for each chart bar for the studies on the chart, to the specified text file and update that file in real-time.
Each line in the file will represent one bar in the chart. Therefore, if the chart bars are a 1 minute timeframe, then each line in the data file will be 1 minute and the study values for each of those bars will be written as well.
Only the data that is loaded into the chart will be outputted to the text file. To control the number of days outputted to the text file, adjust Chart >> Chart Settings >> Use Number of Days to Load >> Days to Load.
The file is continuously updated as new bars are added to the chart. The very last bar is not written to the data file since it is not considered complete. Only when there is a new bar added, will the prior last bar will be written.
The time stamping of the data in the file will be the same as the times displayed in the chart.
The output filename is by default [symbol]-BarData.txt. The file is written to the Sierra Chart Data Files Folder. To determine the location of the Data Files Folder, select Global Settings >> General Settings. Refer to the Data Files Folder box.
- Include Hidden Studies: When this Input is set to Yes, then the studies that are set to be hidden on the chart are also written to the text file. When this is set to No, this will not be the case.
- Path and File Name: This Input is used to specify the folder and the filename for the file to write the data to. This is optional. If it is not set, the Data Files Folder which is set through Global Settings >> General Settings will be used as the folder. The filename will contain the symbol, the text "-BarData", and the file extension will be txt. If only a file name is specified, the default folder will be used which is the Data Files Folder.
*Last modified Friday, 21st April, 2017.