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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    119 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    62 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    44 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X