• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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:
    https://ninjatrader.com/support/help.../?barbrush.htm
    https://ninjatrader.com/support/help...barbrushes.htm

    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 AMATX, Today, 01:43 PM
    0 responses
    2 views
    0 likes
    Last Post AMATX
    by AMATX
     
    Started by razeus, Today, 12:00 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by kitwit, Today, 09:47 AM
    5 responses
    21 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by guidoisot, Today, 11:17 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by razeus, Today, 10:11 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X