Searching for entries matching export, looking in keywords for any words Found 5 matching entries
Entries
1934
Cheech
This is another NT data exporter.
I hope it gives some value over other exporters.
It exports Bar data (time, open, close, high, low, volume) as others and adds values of two indicators of you're choice.
An output file will be created in NT root directory, by a name of an instrument.
p.s.
Thanks to : @Gomi and @NJAMC for the inspiration.
I've converted the indicator ExportChartData to a Strategy to make it easier to apply against a basket of instruments. Thanks to BigMike and Sam for some older comments and code that inspired this .
Next releases will include enums to select various DateTime output formats. It is currently outputing POSIX-style DateTime. Feel free to make it better!
Strategy ExportData changelog:
24 February 2011: ver 3.35 posted. Significant refactor. Adds enums for DateTime output formats, delimiters, file types. Adds user-configurable output preferences for export to Matlab and R, and a code example for exporting indicator data with timeseries data.
21 February 2010: ver 3.00 posted
22 February 2010: ver 3.01 posted. Deleted Print statements that were used for debugging and changed an if/if to an if/else to save processor power.
22 February 2010: ver 3.10 posted. Added OnStartUp() and OnTermination() methods and moved code there from OnBarUpdate() for efficiency.
2 November 2010: ver 3.2 posted. Fixed bug where spaces in path names would throw an exception, added better exception handling, added Print statements in OnStartUp() and OnTermination(). NT7b23 compile.
This is an NT7 indicator used to write timestamped OHLC and volume data from the open chart to a text file for analysis outside of NT (Excel, Matlab, R, etc). It gives you the option to use different characters for delimiting files, as well as the option to split Date and Time into two separate fields. Upcoming features include custom DateTime formats.
Feel free to help make it better!
Change Log:
30 Jan 2010. Ver 1.0 posted.
31 Jan 2010. Ver 1.1 posted. Cleans up the code and displays variables for planned future enhancements.
20 Feb 2010. Ver 2.0 posted. Split path and file name options and added filename default to instrument name/barstype/periodicity, which should make batch usage easier. MXASJ stopping development of this as an INDICATOR in favor of a STRATEGY called ExportData which will be posted seperately.
This is a very simple strategy that will export the OHLC to a text file. The file path is hard coded because I was lazy and wrote this a long time ago, so open the code and change it or it won't work for you.
While you're in there, you'll see it is easy to get it to write any data you wish.