Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by benmarkal, Today, 12:52 PM
    0 responses
    1 view
    0 likes
    Last Post benmarkal  
    Started by stafe, 04-15-2024, 08:34 PM
    11 responses
    58 views
    0 likes
    Last Post stafe
    by stafe
     
    Started by pechtri, 06-22-2023, 02:31 AM
    5 responses
    116 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Tim-c, Today, 03:54 AM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by FAQtrader, Today, 12:00 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X