Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tick Bar Chart always ending at 14.14

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

    Tick Bar Chart always ending at 14.14

    Here is my observation, all tick bar chart end at 14.14 (seconds may vary), (whether required ticks reached or not). Look like this is a bug. Is there any workaround.

    Thanks,
    Dhana

    #2
    Originally posted by dhanakumar View Post
    Here is my observation, all tick bar chart end at 14.14 (seconds may vary), (whether required ticks reached or not). Look like this is a bug. Is there any workaround.

    Thanks,
    Dhana
    No this is not a bug. If the session ends at 14:15:00:000 (14 hours, 15 minutes, 00 seconds, 000 milliseconds), any timestamp of a trade prior to that time will look like 14:14:59:870, but never reach 14:15:00:000. NinjaTrader does not have millisecond granularity, therefore the milliseconds are truncated and 14:14:59:870 would become 14:14:59.

    There is one consequence that you have to deal with, if you code indicators:

    If you have a chart with a session break at 15:00 and you find a bar with the time stamp 15:00:00

    -> this bar belongs to the old session, if it is a minute bar
    -> this bar belongs to the new session, if it is a bar built from ticks (tick, volume, range or renko bar)

    Enjoy.

    Comment


      #3
      Thanks Harry. Is there a way to get rid off breaking at session.

      Comment


        #4
        Originally posted by dhanakumar View Post
        Thanks Harry. Is there a way to get rid off breaking at session.
        1. Create a Session Template that spans a week.
        2. Use Time filters to determine when to allow/gate code processing.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        72 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        39 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
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X