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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    23 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    115 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    222 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    406 views
    0 likes
    Last Post CaptainJack  
    Working...
    X