Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

HLC bar chart colour

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

    HLC bar chart colour

    hi, is it possible to have HLC bar chart colour based on previous close? Currently HLC bar colour is being shown based on open price. Thanks

    #2
    Hello sud_haz,

    Thanks for your post and again welcome to the NinjaTrader forums!

    In NinjaTrader 8 the HLC bar is colored Red when the Close of the current bar is Less than the Open of the current bar. It is colored green when the Close of the current bar is Greater than the Open of the current bar. This is the criteria that typically colors most bar types.

    If you want to have the HLC bar colored based on a previous bar then you would need to create a custom indicator that can be added to the chart and repaint the bars according to your criteria. I am not aware of an existing indicator that would meet your needs.

    If you wish to create this yourself, you would be using the BarBrush method: https://ninjatrader.com/support/help.../?barbrush.htm in your custom script.

    If you would like this created for you, we can provide a link to 3rd party programmers available in the NinjaTrader ecosystem.


    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    181 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    334 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    258 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    358 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    187 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X