Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with BarColor

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

    Help with BarColor

    Hi I am writing an indicator that changes bar colours when specific criteria is met.

    Where I am struggling is that I am waiting for multiple bars to exist before the criteria is tested and the result is true.

    And what I want t do is colour 3 bars that meet this criteria not just the bar in focus. However BarColor does not have a bars ago int control [0]. It simply asks for BarColor = Color.Gold;

    So my question if I want a group a bars to be affected by a colour change how to I achieve this in NJ7

    Kind regards

    Duncan

    #2
    Try BarColorSeries. That should do it for you.
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    Comment


      #3
      Thanks eDanny that was exactly what I needed, you're a legend!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      115 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      66 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      101 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      91 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      78 views
      0 likes
      Last Post CarlTrading  
      Working...
      X