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.


    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    26 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, Yesterday, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    192 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,234 views
    0 likes
    Last Post xiinteractive  
    Working...
    X