Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PaintBar question

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

    PaintBar question

    Good morning all

    Here's what I want to do: If a chart candle closes within the entire range (including tails) of the previous candle, i want the candle to be black. If the candle closes above above the entire previous candle, green. And vice versa for red.

    I am not a programmer. If anyone has the script code for this, I would love to look at your example.

    Thanks for your input.

    gkramer

    #2
    Hi gkramer, welcome to the NinjaTrader forum!

    You can use BarColor for your idea, a example of how to use it can be found here - http://www.ninjatrader-support.com/H.../BarColor.html

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    175 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    91 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    130 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    210 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    186 views
    0 likes
    Last Post CarlTrading  
    Working...
    X