Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicators not painting on last bar

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

    #16
    Alerts should only trigger when they are submitted. If you're running with COBC = true, then logic is evaluated maximum once per bar. I'd be happy to look into what's happening in your case. For this, I would need the script, a workspace file with MA loaded, and steps that will allow us to see the same thing here. You can post those items here or send to my attention to support 'at' ninjatrader 'dot' com. Please let me know if you are unsure where any of these items are located within your Documents\NinjaTrader 7 folder.
    Ryan M.NinjaTrader Customer Service

    Comment


      #17
      Anyone here knows how to paint the last bar to black or white?

      Comment


        #18
        You can look into working with the undocumented Bars.LastBarOfSession property for this task.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        21 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        121 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        175 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        92 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        134 views
        0 likes
        Last Post cmoran13  
        Working...
        X