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

Indicator that paints candles blue if the body of the candle is less than 50%

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

    Indicator that paints candles blue if the body of the candle is less than 50%

    Hello,

    I search for a possibility to get blue candles if the body of the candle is less than 50% of the whole candle.

    How can I do that, or is there a free indicator?

    Thanks in advance

    Testmaster

    #2
    Hello Testmaster,

    Thanks for your post.

    I am not aware of an indicator that provides that specific function. You are welcome to review all of the free publicly available indicators/strategies in the N T user apps section. Here is a direct link: https://ninjatraderecosystem.com/user-app-share/ Please note: The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    If you would like to create this indicator this can be done directly in Ninjascript which is based on C#. As such you would use the following methods and properties:
    BarBrush: https://ninjatrader.com/support/help.../?barbrush.htm The help guide provides an example where if a certain condition is true, the bar is colored yellow, otherwise the candle would be colored red/green so this would be similar to your needs except you would need to replace the code with your math for determining the body.
    You would also use the High[0], Low[0] and Close prices of the bar to help determine the size and relationship of the close to either the low or the high.

    Alternatively, if you would like this indicator created for you, we can provide references to 3rd party programmers.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    53 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    33 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    5 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    19 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    6 views
    0 likes
    Last Post cre8able  
    Working...
    X