• 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 swcooke, Today, 04:29 PM
      0 responses
      2 views
      0 likes
      Last Post swcooke
      by swcooke
       
      Started by bboyle1234, Today, 04:27 PM
      0 responses
      2 views
      0 likes
      Last Post bboyle1234  
      Started by swcooke, Today, 03:31 PM
      2 responses
      11 views
      0 likes
      Last Post swcooke
      by swcooke
       
      Started by itrader46, Yesterday, 01:09 PM
      5 responses
      25 views
      0 likes
      Last Post shruti
      by shruti
       
      Started by Tradwell385, Today, 12:26 PM
      8 responses
      44 views
      0 likes
      Last Post Tradwell385  
      Working...
      X