Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

why 60 second vs 1 minute strategy performance difference

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

    why 60 second vs 1 minute strategy performance difference

    I run a strategy in two charts with all the variables same except one chart I use 60 second time frame and the other chart I use 1 minute time frame. The two strategy performance results are different and even the # of orders run different. Why is this happened? Thank you guys

    #2
    Hello alala8090,

    Thank you for writing in.

    This likley has to do with certain times of the day there is no trading at that second, thus bars are being grouped together differently.

    What I suggest to understand this is go to the first trade both strategies made, dig into why the strategy took a trade and the other didn't, look for differences in the bars, compare high lows, look for missing bars, compare how many bars are on the chart before both. Look for errors in the log tab.

    Second charts are built off tick data and minute data is built off minute data, how ticks are grouped into bars during periods of low activity likley has to do with what you're seeing.

    You could also add prints to the strategy to compare the inputs causing the order trigger,

    I’ve provided a link to a youtube video which covers an example of using prints to understand behavior:
    Dive into manipulating C# code from within an unlocked NinjaScript strategy using the NinjaScript Editor.NinjaTrader 7 is an award winning end to end online ...


    I’ve provided a link covering debugging which you may find helpful.
    Debugging: http://ninjatrader.com/support/forum...ead.php?t=3418

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thank you Alan!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by lorem, Yesterday, 09:18 AM
      4 responses
      14 views
      0 likes
      Last Post lorem
      by lorem
       
      Started by Spiderbird, Today, 12:15 PM
      0 responses
      5 views
      0 likes
      Last Post Spiderbird  
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      12 responses
      42 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by FrazMann, Today, 11:21 AM
      0 responses
      6 views
      0 likes
      Last Post FrazMann  
      Started by geddyisodin, Yesterday, 05:20 AM
      8 responses
      52 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X