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 llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        15 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        14 views
        0 likes
        Last Post strategist007  
        Working...
        X