• 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

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 GARZONJ, Today, 11:22 PM
    0 responses
    1 view
    0 likes
    Last Post GARZONJ
    by GARZONJ
     
    Started by GARZONJ, Today, 09:41 PM
    0 responses
    1 view
    0 likes
    Last Post GARZONJ
    by GARZONJ
     
    Started by mike09, Today, 07:37 PM
    0 responses
    8 views
    0 likes
    Last Post mike09
    by mike09
     
    Started by bebbus, Today, 04:03 PM
    2 responses
    7 views
    0 likes
    Last Post bltdavid  
    Started by Unicorn_Catcher, Today, 04:06 PM
    1 response
    8 views
    0 likes
    Last Post User1104  
    Working...
    X