• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

access last historical data

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

    access last historical data

    Hi

    For a custom instrument I imported data from file and I would like from within an addon to access the last imported value

    but both are null

    Instrument.GetInstrument("Test").MarketData && Instrument.GetInstrument("Test").HistoricalData

    #2
    Hello tolisss,

    You could access this data through a BarsRequest Object.

    Please see Accessing Market Data at the following link,
    https://ninjatrader.com/support/help...r_an_addon.htm

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NT-Roland, Today, 06:34 AM
    0 responses
    3 views
    0 likes
    Last Post NT-Roland  
    Started by gemini42, Yesterday, 09:44 PM
    0 responses
    11 views
    0 likes
    Last Post gemini42  
    Started by martyn73, Yesterday, 03:09 PM
    0 responses
    10 views
    0 likes
    Last Post martyn73  
    Started by martyn73, Yesterday, 03:05 PM
    0 responses
    11 views
    0 likes
    Last Post martyn73  
    Started by mic414, Yesterday, 02:17 PM
    0 responses
    6 views
    0 likes
    Last Post mic414
    by mic414
     
    Working...
    X