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 TraderBCL, Today, 04:38 AM
      2 responses
      16 views
      0 likes
      Last Post TraderBCL  
      Started by martin70, 03-24-2023, 04:58 AM
      14 responses
      106 views
      0 likes
      Last Post martin70  
      Started by Radano, 06-10-2021, 01:40 AM
      19 responses
      609 views
      0 likes
      Last Post Radano
      by Radano
       
      Started by KenneGaray, Today, 03:48 AM
      0 responses
      5 views
      0 likes
      Last Post KenneGaray  
      Started by thanajo, 05-04-2021, 02:11 AM
      4 responses
      471 views
      0 likes
      Last Post tradingnasdaqprueba  
      Working...
      X