Thanks, Steven
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Exporting Price and Indicator Data from chart
Collapse
X
-
We have an "export mode" for our databox add-on that does this. Currently it's bar by bar based on a mouse click, but an upcoming version will have more flexibility. http://integratedtradingtech.com/
VTLast edited by VTtrader; 01-01-2012, 12:30 AM.
-
You will need to use a StreamWriter to write your data to a file.Originally posted by StevenV View PostThanks for the reply VTtrader...but I need to be able to export all of the data loaded on the chart at once.
Does anyone else know how I can do this...
Thanks
OHLC values come from the respective DataSeries. For the indicator values, you will have to iterate through the ChartControl.Indicators[] array, and output their values.
Comment
-
Hey Koganam,
By any chance have you expanded this idea to create an export indicator for separate analysis?
Comment
-
Comment
-
Hey Kog,
Ninjatrader_Matthew and I completed one today and now I can export batch instruments in Weekly timeframe through the Market Analyzer. Saves me hours and hours. Kick ass.
Thanks anyway!
Comment
-
-
Just seen this thread.
All I can add is that I've exported a lot of data (price and indicator levels) from NT to Excel through the expedient of printing to the Output Window, via Notepad and Word (to change things like paragraphs (^p in Word 'Replace') into tabs (^t in Word 'Replace'), then into Excel.
The analysis Excel can then undertake far exceeds anything NT can do on its own, for someone who knows quite a bit about Excel and is not a Master of NT.Last edited by arbuthnot; 03-11-2015, 06:01 PM.
Comment
-
Thanks for that.How did you get the indicators values to the Output Window?Originally posted by arbuthnot View PostJust seen this thread.
All I can add is that I've exported a lot of data (price and indicator levels) from NT to Excel through the expedient of printing to the Output Window, via Notepad and Word (to change things like paragraphs (^p in Word 'Replace') into tabs (^t in Word 'Replace'), then into Excel.
The analysis Excel can then undertake far exceeds anything NT can do on its own.
Comment
-
Hi GeorgeOriginally posted by Farmer George View PostThanks for that.How did you get the indicators values to the Output Window?
I've just tested this so I know it works:
This is example of a line of code (for either inds or strats) that prints to the output window the EMA at each bar close:
This may output to many decimal places. These can be shortened using the ROUND function in Excel, which can truncate to as many decimal places as you wish.Code:Print(EMA(14)[0]);
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
144 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
69 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
78 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment