Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing indicator data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    #2
    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=3476
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,788 views
    0 likes
    Last Post aligator  
    Started by Jimmyk, 01-26-2018, 05:19 AM
    6 responses
    837 views
    0 likes
    Last Post emuns
    by emuns
     
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,293 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    13 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    11 responses
    63 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X