Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to change the dates that higher-term timeframe bars open/close on

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

    How to change the dates that higher-term timeframe bars open/close on

    How do you change the dates that higher-term timeframe bars (e.g., 2-day, weekly, etc.) open and close on?

    For example, my 2-day BTC Coinbase chart in Ninjatrader starts and ends on even numbers Click image for larger version

Name:	Ninja BTC 2-day Coinbase.png
Views:	356
Size:	161.6 KB
ID:	1176911 while my 2-day BTC Binance chart starts and ends on odd numbers Click image for larger version

Name:	Ninja BTC 2-day Binance.png
Views:	295
Size:	158.5 KB
ID:	1176912 .

    They are all under the appropriate trading hours (in this case "crytpocurrency") & both NinjaTrader's & my computer's time zone is set to UTC.

    I'm having the same issue with all higher-term timeframes that I use, such as the 5-day, weekly, bi-weekly, etc. The bars are not opening and closing on the right dates & therefore not matching up with the charts I have in other programs such as SierraCharts & TradingView.

    No issues with the daily chart or intraday charts.

    #2
    Hello Stupid_idiot,

    I suggest to right click in the chart and select 'Data Series'. Set 'Load data based on' to 'Custom range'. Use the same start and end dates as in the other platforms and check if price bars are plotted the same.

    Please note that NinjaTrader time stamps price bar using the closing time/day. For example, if I create a 2 day chart, the latest price bar is time stamped as 11/1/2021 and contains data from 10/31/2021 and 11/1/2021.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Thank you for that recommendation NinjaTrader_Jason, your solution worked well on the 2-day & 5-day timeframes I use! However, this solution had no effect on the weekly or bi-weekly charts which always close on on Fridays in NinjaTrader, instead of Sundays (which is what I need). Any way to change this?

      Comment


        #4
        Unfortunately this is not supported for Weekly bars.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Ah that sucks. If anyone ever comes across the post looking for a solution, just manually do 7-days instead of 1 week (or 14-days for bi-weekly), and then do a custom range (load data based on) make sure you have the first date on the day of the week you want to start, or configure whatever day you want to suit your needs.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by AaronKoRn, Today, 09:49 PM
          0 responses
          7 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Today, 08:42 PM
          0 responses
          9 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Today, 07:51 PM
          0 responses
          10 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,980 views
          3 likes
          Last Post jhudas88  
          Started by rbeckmann05, Today, 06:48 PM
          0 responses
          9 views
          0 likes
          Last Post rbeckmann05  
          Working...
          X