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 Barry Milan, Yesterday, 10:35 PM
      5 responses
      16 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by DanielSanMartin, Yesterday, 02:37 PM
      2 responses
      13 views
      0 likes
      Last Post DanielSanMartin  
      Started by DJ888, 04-16-2024, 06:09 PM
      4 responses
      13 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by terofs, Today, 04:18 PM
      0 responses
      12 views
      0 likes
      Last Post terofs
      by terofs
       
      Started by nandhumca, Today, 03:41 PM
      0 responses
      8 views
      0 likes
      Last Post nandhumca  
      Working...
      X