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

Plot in Different Panel

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

    Plot in Different Panel

    I have an indicator which looks for and plots greater than average volume on a single bar. It runs in a separate panel from the main instrument panel, however, when I detect a large volume bar, I would like to highlight the actual price bar. Is there a way I can do that even though the indicator is plotting in a different panel. I would like to either add a dot above or below the bar, or better yet, paint the bar an entirely different and unique color. Is that possible? If so, could you point me to some sample code to accomplish this?
    Thanks ahead of time for your help.
    DaveN

    #2
    Hi Daven,

    Thank you for your note.

    Yes, this is possible.

    You would want to use BarColor = Color.*Color*.
    Code:
    BarColor = Color.Blue;
    This will change the color of the bar for that particular bar you are testing for.

    Also, you can use any of the Draw Objects and place them at the price data series such as High, Open, Low, or Close.

    Here is a link to the online help guide for the BarColor and Draw Objects
    http://www.ninjatrader.com/support/h...l?barcolor.htm

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    4 responses
    23 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Brevo, Today, 01:45 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by rjbtrade1, 11-30-2023, 04:38 PM
    2 responses
    73 views
    0 likes
    Last Post DavidHP
    by DavidHP
     
    Started by suroot, 04-10-2017, 02:18 AM
    5 responses
    3,021 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Stanfillirenfro, Today, 07:23 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X