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 junkone, Today, 11:37 AM
    0 responses
    1 view
    0 likes
    Last Post junkone
    by junkone
     
    Started by quantismo, 04-17-2024, 05:13 PM
    5 responses
    34 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by proptrade13, Today, 11:06 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    34 views
    0 likes
    Last Post love2code2trade  
    Started by cls71, Today, 04:45 AM
    2 responses
    10 views
    0 likes
    Last Post eDanny
    by eDanny
     
    Working...
    X