Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to use Strategy Analyzer with Tick Data

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

    How to use Strategy Analyzer with Tick Data

    Hello,

    The strategy I've written requires Tick Data. I have been back testing using Market Replay, however I want to test using a greater domain of data covering several days and months.

    I've tried using Strategy Analyzer but I get no trade results returned to me following the tests.

    How do I specify Calc On Bar Close = false to the Strategy Analyzer explicitly ?

    I already have CalculateOnBarClose=false; statement in Initialize() of the strategy itself.

    Thank you

    #2
    Hi Lucius,

    Calculate on bar close is always true with historical data. This is due to the fact that with a historical data set, only the Open, High, Low, Close, Volume, and Time of the bar is known and not each tick that made up the bar.

    Below is a link to the help guide on CalculateOnBarClose.
    http://www.ninjatrader.com/support/h...onbarclose.htm

    You can add 1 tick granularity to your script and process on that secondary data series to simulate COBC as false.

    Below is a link to a reference sample that shows this.
    http://www.ninjatrader.com/support/f...ead.php?t=6652
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea,

      Thanks for the links. I've read through them and I would need to alter the script to add 1 tick bar series as well as addition logic to trade on the tick events of the series only and not the primary series.

      Thanks for the suggestion.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Max238, Today, 01:28 AM
      4 responses
      33 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by r68cervera, Today, 05:29 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by geddyisodin, Today, 05:20 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by timko, Today, 06:45 AM
      2 responses
      13 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by habeebft, Today, 07:27 AM
      0 responses
      6 views
      0 likes
      Last Post habeebft  
      Working...
      X