Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi time-frame question ETH vs RTH

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

    Multi time-frame question ETH vs RTH

    Hi

    This may be a silly question.

    Suppose I want to run my strategy on 1-hour bars on ETH (extended session), but I also want to add another data series that runs on daily bars but on RTH (regular session).

    I noticed that I can do this by providing the tradingHoursName by using this specification (described here: https://ninjatrader.com/support/helpGuides/nt8/en-us/)


    ---

    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)
    tradingHoursName A string determining the trading hours template for the instrument
    ---

    But I couldn't find any additional info on the tradingHoursNames. Is the tradingHoursName the same as the name of Templates in the Trading Hours options (e.g. "CME Global Index Futures RTH" etc.)?


    Last edited by uday12; 12-26-2018, 02:29 PM.

    #2
    Hello uday12,

    Thank you for the post.

    The tradingHoursName will be the exact name of the trading hours template. If you want to copy the name instead of typing it, you can go into ..\Documents\NinjaTrader 8\templates\TradingHours and copy the file name from there.

    Please let me know if I can assist further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    79 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X