Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

new Bars Types problem

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

    new Bars Types problem

    I have created a new Bars Type that shows only day session data for day chart.

    Everything works fine except that sometimes after market close and I reload data I am losing the last bar. I said sometimes because it does not happen all the time.

    If I close Ninja and reopen it the bars are OK.

    If there was a problem with coding it would not happens sometimes but always

    Any idea ?

    Thank you

    #2
    Hello,

    Thank you for the post.

    In this case, I really couldn't say what actually may be happening as I am unaware of what code was used. But this does sound like a difference in the way the script processes historically versus real-time data if the problem is when you reload the chart.

    To locate the reason for this, you would very likely need to add prints to the bars type and see how the logic is executed when normal, and also when not normal. You would likely also need to find a reproducible scenario to test this. This could provide a comparison of the logical path the script took in those cases and would likely be the only way to determine where the problem is.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    54 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    34 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    94 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    56 views
    0 likes
    Last Post PaulMohn  
    Working...
    X