Perhaps it's possible to import this data as you would price data of an instrument and then add the pseudo instrument as an additional data series?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Importing indicator data
Collapse
X
-
Importing indicator data
Is it possible to import data from Excel so that it might be plotted beneath a price chart, as an indicator?
Perhaps it's possible to import this data as you would price data of an instrument and then add the pseudo instrument as an additional data series?Tags: None
-
Hello Sparkyboy,
Thanks for your note.
It is possible to import data from a .cvs file as historical data.
It is also possible to open a .cvs file directly from your script and read and parse information and display this any way you would like on your chart.
The setup of this is complex and is outside of the realm of NinjaTrader support.
However, below is a link to a thread on the forums where some community members have been able to get this working.
http://ninjatrader.com/support/forum...t=36938&page=7
Also, a few links to getting the office interop assemblies needed.
2003 - https://msdn.microsoft.com/en-us/library/Aa159923
2007/2010 - https://msdn.microsoft.com/library/k...v=vs.100).aspx
Included with NinjaTrader 7 is an Infragistics3.Excel.v8.3.dll file that from my understanding may also be used.
This is located in 'C:\Program Files(x86)\NinjaTrader 7\bin\'.
If you could export the file to a .txt file, it would be much easier to read into NinjaTrader.
Below is a link to an example script that reads a .txt file.
http://www.ninjatrader.com/support/f...ead.php?t=3476Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by CortexZenUSA, Today, 12:53 AM
|
0 responses
1 view
0 likes
|
Last Post
by CortexZenUSA
Today, 12:53 AM
|
||
Started by CortexZenUSA, Today, 12:46 AM
|
0 responses
1 view
0 likes
|
Last Post
by CortexZenUSA
Today, 12:46 AM
|
||
Started by usazencortex, Today, 12:43 AM
|
0 responses
5 views
0 likes
|
Last Post
by usazencortex
Today, 12:43 AM
|
||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
168 responses
2,265 views
0 likes
|
Last Post
by sidlercom80
Today, 12:05 AM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
3 responses
11 views
0 likes
|
Last Post Yesterday, 11:58 PM |
Comment