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 volume profile

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

    indicator volume profile

    Hello,
    Can any one include the code or link to to generate the range volume profile in indicator and need to change the volume profile box color in that.in ninjatrader8
    Please revert back ASAP.

    Thanking you,

    #2
    Thank you for your question [email protected] . To change your VolumeProfile indicator's colors you must first make an editable clone, as its colors are private members. To do so, open up the VolumeProfile indicator in the NinjaScript editor, right click, select "Save As", and give it a new unique name.

    In your clone, the code to change this is on lines 68-72,

    Code:
    [FONT=Courier New]
                    LineBrush                    = Brushes.DarkGray;
                    VolumeDownBrush                = Brushes.Crimson;
                    VolumeNeutralBrush            = Brushes.DarkGray;
                    VolumeUpBrush                = Brushes.DarkCyan;[/FONT]
    If you want to include your new indicator inside another indicator, assuming you called the new indicator MyVolumeProfile, this would be

    Code:
    [FONT=Courier New]
    MyVolumeProfile();[/FONT]
    Please let us know if there are any other ways we can help.
    Jessica P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cre8able, 02-11-2023, 05:43 PM
    3 responses
    232 views
    0 likes
    Last Post rhubear
    by rhubear
     
    Started by frslvr, 04-11-2024, 07:26 AM
    8 responses
    111 views
    1 like
    Last Post NinjaTrader_BrandonH  
    Started by stafe, 04-15-2024, 08:34 PM
    10 responses
    44 views
    0 likes
    Last Post stafe
    by stafe
     
    Started by rocketman7, Today, 09:41 AM
    3 responses
    8 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by traderqz, Today, 09:44 AM
    2 responses
    5 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X