Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bogus Strategy Analysis instrument

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

    Bogus Strategy Analysis instrument

    In my strategy code, I have a Print statement in my Initialize procedure that prints out Instrument.FullName etc.

    I select an instrument, eg GC 12-14, and backtest. No matter what instrument I select, I ALWAYS get a line in the output window for my chosen instrument ... AND another line which is ALWAYS for TF... Yep... It seems like TF 12-14 is somehow associated or remembered. SOmetimes the bogus TF line is printed when I first run the backtest. Sometimes it appears near the end of the backtest printouts...

    I have nothing in the strategy that refers to TF - although I probably did at some point run it on TF. I do have a TF chart active in my workspace... along with a number of other charts.

    What is causing this? Is it a concern? I'd feel better resolving it before I trade live!

    PS - just noticed something else... Having saved a backtest result previously, when I now open that saved run, it has TF 12-14 listed under Data Series->Instrument(s), even though the backtest was on GC, further suggesting that somewhere TF is indeed linked as a sort of default instrument ???
    Last edited by tgn55; 11-06-2014, 10:18 PM.

    #2
    Hello Tgn55,

    You mentioned that you have other charts open for the TF, are any of them using the strategy or have them added to the chart?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      No, nothing is using the strategy, I don't think I have ever added it to a chart - it is still a WIP. I also just deleted my TF chart, ran the backtest on GC - and it still reports Initialize ran on TF 12-14 !!

      Comment


        #4
        tgn55,

        I would like you to reset instruments to see if perhaps the symbol mapping or Instrument list may have gotten messed around with.

        To reset your instruments please: go to the Tools menu, select the Options menu item, select the Data tab, and then click on 'Reset Instruments'.

        If this is not successful, please send me a note to platformsupport [at] ninjatrader [dot] com and we'll setup a remote session time.

        Put ATTN Cal in the subject and reference this thread in the body.
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        635 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        106 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        571 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X