Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

error loading data with add()

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

    error loading data with add()

    Hello,
    I'm trying to load the $TICK data into my script, ie.

    Add("$TICK", PeriodType.Minute,5);

    in the Initialize method but I'm getting this error when backtesting in the output window.

    **NT** The strategy 'IntradayEngulfingReversal/11db4ee20b7c4cf699b86b1497794125' has called the Add() method with an invalid instrument. Either '$TICK' does not exist in the Instrument Manager or the specified exchange has not been configured.

    I have $TICK data in my charts but doesn't seem to work here. Any suggestions?

    Thanks!

    #2
    slocumtrader, please try Add("^TICK", PeriodType.Minute,5); as call instead.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rocketman7, Today, 02:12 AM
    5 responses
    23 views
    0 likes
    Last Post rocketman7  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    7 responses
    28 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by samish18, 04-17-2024, 08:57 AM
    17 responses
    66 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by briansaul, Today, 05:31 AM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by PaulMohn, Today, 03:49 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X