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 Haiasi, 04-25-2024, 06:53 PM
      2 responses
      17 views
      0 likes
      Last Post Massinisa  
      Started by Creamers, Today, 05:32 AM
      0 responses
      5 views
      0 likes
      Last Post Creamers  
      Started by Segwin, 05-07-2018, 02:15 PM
      12 responses
      1,786 views
      0 likes
      Last Post Leafcutter  
      Started by poplagelu, Today, 05:00 AM
      0 responses
      3 views
      0 likes
      Last Post poplagelu  
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,408 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Working...
      X