• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 Ilpropio, Yesterday, 09:45 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_EricB  
      Started by sgordet, Yesterday, 10:31 PM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_EricB  
      Started by Revan, Yesterday, 05:44 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Marco  
      Started by superg3, Yesterday, 07:57 PM
      0 responses
      4 views
      0 likes
      Last Post superg3
      by superg3
       
      Started by Longhornmark, Yesterday, 07:06 AM
      5 responses
      36 views
      0 likes
      Last Post nkhoi
      by nkhoi
       
      Working...
      X