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

Timeframes not matching for two instruments.

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

    Timeframes not matching for two instruments.

    Hello,

    Currently I'm developing a strategy that bases its buying decision on 2 different instruments.

    These instruments have different trading hours and this strategy has a 2 hours timeframe.

    According to the data I'm using from Kinetick, 2 hours bars from these 2 instruments do not match in time, ie. for the first instrument there might be a 2 hour bar closing on 15:45 and the second instrument might have a 2 hour bar closing on 16:15. This is not helpful. For this strategy I need 2 hour bars containing data from the same hour range (13:45 - 15:45 or 14:15 - 16:15).

    How do I make sure the latest is going to happen?

    Also, how would it work on the period of time one of the instrument is not available?

    thanks in advance.

    #2
    Hello 7robert, thanks for your note.

    The hour break would be determined by the beginning of the session template. You will need to edit one of the instruments session template such that it will start up at the same time as the other instrument. Could you let me know the two instruments being used so I can test on my PC?

    I look forward to hearing of your results.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by alifarahani, Today, 09:40 AM
    6 responses
    39 views
    0 likes
    Last Post alifarahani  
    Started by Waxavi, Today, 02:10 AM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by Kaledus, Today, 01:29 PM
    5 responses
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Waxavi, Today, 02:00 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by gentlebenthebear, Today, 01:30 AM
    3 responses
    17 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X