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

Boring candle - Blue marking

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

    Boring candle - Blue marking


    I am entering into ninja trader, mainly as strategy/indicator builder.

    I am experience C++/C# programmer.

    Developed quite few with amibroker, want to change to ninja.

    To start with, i have requirement to code to mark boring candle as Blue color.

    Also appreciate, if you guide me to programming forum to look for similar work or contribute.

    With Regards,
    Abdul Rasheed.


    #2
    Hello Abdul,

    Thank you for your post.

    I have moved your thread to the General Development section since your inquiry is related to Indicator/Strategy development.

    You are able to modify the color of a candle by using CandleOutlineBrush and BarBrush.

    Please see the attached example script which demonstrates how this could be accomplished. The way the script works is if the bar is an up bar, the bar is colored SpringGreen. If the bar is a down bar, the bar is colored Red. If the bar is neutral (not up or down), it is colored Blue.

    Also, see this help guide documentation for more information.
    CandleOutlineBrush - https://ninjatrader.com/support/help...tlinebrush.htm
    BarBrush - https://ninjatrader.com/support/help...8/barbrush.htm

    Let us know if we may assist further.
    Attached Files
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by JoMoon2024, Today, 06:56 AM
    0 responses
    6 views
    0 likes
    Last Post JoMoon2024  
    Started by Haiasi, 04-25-2024, 06:53 PM
    2 responses
    17 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    5 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Started by poplagelu, Today, 05:00 AM
    0 responses
    3 views
    0 likes
    Last Post poplagelu  
    Working...
    X