• 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 Jschmelz, Yesterday, 04:45 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by sisenberg, Today, 07:29 AM
    1 response
    8 views
    0 likes
    Last Post sisenberg  
    Started by Oceans, Today, 02:22 AM
    2 responses
    25 views
    0 likes
    Last Post Oceans
    by Oceans
     
    Started by sisenberg, Yesterday, 08:06 PM
    1 response
    24 views
    0 likes
    Last Post sisenberg  
    Started by PLeary, Today, 06:25 AM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_SergeyS  
    Working...
    X