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

Uvol dvol

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

    Uvol dvol

    I would like to have the difference (spread) of UVOL - DVOL as an indicator under my chart.

    I found 2 indicators this one is especially good



    Spread indicator with candlesticks.

    The problem is the primary symbol is the chart that is being plotted so if I have UVOL as my chart I can enter DVOL and will get a candlestick chart indicator of the difference.

    I would like to have a seperate chart with this indicator at the bottom.

    Basically I want the ES as my main chart and the UVOL - DVOL as the bottom indicator.

    I looked at the code but was lost trying to figure out how to make the change.


    Any advice how I might accomplish this

    Thanks in advance

    Stefan

    #2
    Hi Stefan, it looks like you would need to add in another input for another added custom series, so you can then calculate in the code with the BarsArray 1 and 2, neglecting the primary one that would be your ES chart in the setup.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks for the response

      I will give that a try.

      I haven't done this before but it should be a good learning experience.

      Do you think it would be easier to start from scratch?

      Comment


        #4
        Hello,

        Yes, I'd recommend reviewing the following link to help you get started:

        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cls71, Today, 04:45 AM
        0 responses
        1 view
        0 likes
        Last Post cls71
        by cls71
         
        Started by mjairg, 07-20-2023, 11:57 PM
        3 responses
        213 views
        1 like
        Last Post PaulMohn  
        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
        4 responses
        544 views
        0 likes
        Last Post PaulMohn  
        Started by GLFX005, Today, 03:23 AM
        0 responses
        3 views
        0 likes
        Last Post GLFX005
        by GLFX005
         
        Started by XXtrader, Yesterday, 11:30 PM
        2 responses
        12 views
        0 likes
        Last Post XXtrader  
        Working...
        X