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 WHICKED, Today, 12:45 PM
    2 responses
    16 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by GussJ, 03-04-2020, 03:11 PM
    15 responses
    3,272 views
    0 likes
    Last Post xiinteractive  
    Started by Tim-c, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    2 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    51 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Working...
    X