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 helpwanted, Today, 03:06 AM
    0 responses
    3 views
    0 likes
    Last Post helpwanted  
    Started by Brevo, Today, 01:45 AM
    0 responses
    7 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X