Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bars colored on HH and LL instead of close.

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

    Bars colored on HH and LL instead of close.

    Hi,
    i would like to color candlestick bars based on higher high made or lower low made ie. green for bars with a higher high and red for bars with lower lows instead of based on close as is the current setting. How can i do this? Please advise thanks.

    #2
    Hello tradertom2012,

    Thanks for your post.

    You would need to create a custom indicator, using ninjascript, that would look for the pattern you describe and then set the color of the brush to paint the bar with.
    You would use the method BarBrush or BarBrushes, here are links to those methods:



    It may also be possible to use the strategy builder to create a strategy whose only action would be to color the bars. The strategy builder does not require programming knowledge.

    Alternatively, if you would like it created for you, we can point you to 3rd party programmer website where you can seek that service.

    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    3 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    150 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Working...
    X