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

120 min bar series query

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

    120 min bar series query

    Hi All,

    I am trading on a 2 hour time frame, however running back testing and live trading I've noticed that execution is not always at an even time (2pm, 4pm, 6pm,etc) or an odd time (5pm, 7pm, 9pm, etc) rather it is mixed. Given I am using a simple strategy, e.i moving average cross over, shouldn't execution occur at even or odd time, but not mixed? Is there any way of setting the time reset within the strategy, in order for the strategy to start counting bar series at a specific time of the day, e.i. 00.00 (mid night)?

    Please advise if my query is not clear. Thanks, J

    #2
    Hello sburtt,

    Thank you for your post.

    This is due to the Session Template used. If you wish to have the bars on even times you can create a Session Template that starts on such a time.

    For information on creating, editing, and deleting Session Templates please visit the following link: http://www.ninjatrader.com/support/h...on_manager.htm

    Please let me know if I may be of further assistance.

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello sburtt,

      Thank you for your post.

      This is due to the Session Template used. If you wish to have the bars on even times you can create a Session Template that starts on such a time.

      For information on creating, editing, and deleting Session Templates please visit the following link: http://www.ninjatrader.com/support/h...on_manager.htm

      Please let me know if I may be of further assistance.
      understood. So basically running a strategy on default 24/7 should enter trades only on even times. Is this correct?

      Comment


        #4
        Hello sburtt,

        That is correct.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ageeholdings, Today, 07:43 AM
        0 responses
        7 views
        0 likes
        Last Post ageeholdings  
        Started by pibrew, Today, 06:37 AM
        0 responses
        4 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        12 views
        0 likes
        Last Post burtoninlondon  
        Working...
        X