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 burtoninlondon, Today, 12:38 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
14 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
14 views
0 likes
|
Last Post Yesterday, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,983 views
3 likes
|
Last Post
by jhudas88
Yesterday, 06:59 PM
|
Comment