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

How to create a bi-directional bar plot in new panel

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

    How to create a bi-directional bar plot in new panel

    How to create a bi-directional bar plot in new panel

    i have two Plots

    Volume1 [Data1] = UpBars;
    Volume2 [Data2] = DownBars;

    I need that on the new panel with the first variable the bars are drawn to the top and from the second variable to the bottom

    How can I do it?

    I attach what you need in the picture

    Click image for larger version  Name:	BarsUpDown.png Views:	0 Size:	5.7 KB ID:	1139423
    Last edited by memonolog; 02-02-2021, 07:14 AM.

    #2
    Hello memonolog,

    Thanks for your post.

    You could use positive values for the up bars and negative values for the down bars. If you would like to add a zero line, you could use AddLine. For example if you are modifying the BuySellVolume indicator, you can ensure the Buys plot is positive and only contains buys, and the Sells plot is negative and only contains sells.

    AddLine - https://ninjatrader.com/support/help...8/?addline.htm

    We look forward to assisting.
    JimNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Jim View Post
      Hello memonolog,

      Thanks for your post.

      You could use positive values for the up bars and negative values for the down bars. If you would like to add a zero line, you could use AddLine. For example if you are modifying the BuySellVolume indicator, you can ensure the Buys plot is positive and only contains buys, and the Sells plot is negative and only contains sells.

      AddLine - https://ninjatrader.com/support/help...8/?addline.htm

      We look forward to assisting.
      and in which indicator is an example to see clearly?

      Comment


        #4
        Hello memonolog,

        You can modify the BuySellVolume indicator that comes with the platform to visualize. Ensure Buys is built only from buys and is positive. Ensure Sells is built only from sells and is negative.

        We look forward to assisting.
        Attached Files
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CommonWhale, Yesterday, 01:12 PM
        1 response
        20 views
        0 likes
        Last Post NinjaTrader_Eduardo  
        Started by rayyyu12, 05-17-2024, 03:59 PM
        1 response
        16 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by alvarosiegar, 05-15-2018, 05:58 PM
        11 responses
        3,185 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by maybeimnotrader, Yesterday, 12:58 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Eduardo  
        Started by James Cowart, Yesterday, 10:55 AM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Eduardo  
        Working...
        X