Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to setup market aggregation at market open in ninja trader 8

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

    How to setup market aggregation at market open in ninja trader 8

    Hi there,

    I wanna setup NT8 as TOS with the option to include market agregation at market open, is that possible using NT8?

    I really appreciate your support,

    Best,

    Miguel.

    #2
    The concept of 'chart aggregation' is not one that we use in NinjaTrader, although it may be referred to as something else. I found the following publicly available link on Think or Swim's website which is unfortunately still a bit vague as to what it actually does:

    Chart aggregation defines how price data is grouped into bars on a chart. Depending on the aggregation type, each bar is formed based on time, number of trades, or price movement. The following articles explain how each aggregation type works and how to set it up: Time Charts: Bars are formed at fixed intervals (for example, every 5 minutes or 1 day). Tick Charts: Bars are formed after a specific number of trades, highlighting trading activity. Range Charts: Bars are formed when price moves by a specified amount, filtering out time and focusing on price movement.


    Some of these links almost seem as if they're describing certain bar types with x amount of historical data available. I.E. a 2 Renko chart loading 3 historical days of data. First off, is the above link relevant to what you're referring to? Could you elaborate on what you're trying to accomplish in NinjaTrader?

    Comment


      #3
      I believe what the OP is referring to is having the market open time match up with the timeframe(s) on his charts. Details:

      * Using NYSE normal hours, the 'market' is open from 9:30am to 4:00pm Eastern time.

      * This presents a choice on some chart timeframes. For example, when setting up a 1 hour chart, do you want the beginning of the hour/bar to match the 9:30am market open, or do you want the hours/bars to match up with top of the hours, say, 9:00-10:00, 10:00-11:00 etc. Since the stock market is open 6.5 hrs per day, there will always be a 'short' hour...where do you want it placed??

      * In the general settings panel for TOS charts, there is a spot to select whether you want the start of longer timeframes(such as 1 hr) to start at the market open or to line up with top-of-the-hour clock time. This is under the 'Equities' tab, as 'Start aggregations at market open'. Each version produces noticeably diff charts, so pick accordingly, or setup -both- charts.

      * In Ninja, this concept is handled by specifying which set of 'open' hours are to be used. I'm not gonna go into all of the permutations(LOTS), but what the OP is probably after would be handled by selecting 'RTH', which specifies Regular Trading Hours. This will work fine for some instruments; other instruments may require a different selection(see config pic below)..

      Here's a sample AAPL 1h chart, over several days, along with the config panel(press Ctl-F to open this panel). Note the 'US Equities RTH' in the session template line specifies to use normal trading hours for -this- chart, which would be 9:30am-4:00pm. To produce other results, select something else for the session template. Experiment with other session settings to see which ones line up charts/bars the way you want...



      Click image for larger version  Name:	chart.jpg Views:	0 Size:	137.7 KB ID:	1086390

      Click image for larger version  Name:	Session-Template.jpg Views:	0 Size:	109.9 KB ID:	1086389




      Attached Files
      Last edited by AMATX; 02-08-2020, 02:44 PM.

      Comment

      Latest Posts

      Collapse

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