Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

subtract 2 instruments

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

    subtract 2 instruments

    Is there a way to subtract 2 instruments and display with bars?
    Something like the indexes ^UVOL and ^DVOL
    So I want the difference between the up volume and down volume to be displayed with bars.
    Also, is there a way to create custom indexes and display in bars.
    Like AAPL + GE + NFLX
    or can I do a ratio chart like
    AAPL / GE
    etc.

    Can this be accomplished with a custom instrument or if it's possible with an indicator could you mention how to plot the result like an instrument.

    Thanks

    #2
    Hello dtl-saw,

    Thank you for your post,

    For NInjaTrader 7, there is an indicator on our forum that will allow you plot the difference between two instruments, though this was displayed as a line and not candlesticks. Our NinjaScript team is working on converting the NinjaTrader 7 forum indicators over for use with NinjaTrader 8, though this one has not been completed yet.

    http://ninjatrader.com/support/forum...d=4&linkid=367

    Both this and the instrument setups would be possible via custom programming. If you're a programmer yourself, let me know and I can have our NinjaScript team follow up with tips on creating this bar type. If you're not a programmer, our NinjaTrader Ecosystem team can advise third-party consultants that assist clients in developing custom tools for use in NinjaTrader.
    Eric B.NinjaTrader Customer Service

    Comment


      #3
      I am also interested in this. Can you have your NinjaScript team follow up with tips on creating this bar type?

      Thanks

      Comment


        #4
        Hello pcrouleur,

        Thank you for your response.

        This would not be possible in the Bar Type, you would need to create as an indicator.

        Comment


          #5
          I was only asking about the bar type because of Eric B's response.

          Do you have any suggestions on how to go about creating an indicator that would plot the result of one instrument minus another? Something like a candlestick plot of ^UVOL - ^DVOL.

          I've created a few NT8 indicators and strategies but I'm still getting up to speed with the changes so any help would be appreciated.

          Thanks.

          Comment


            #6
            The link Eric provided shows how to plot the difference of two instruments: http://www.ninjatrader.com/support/f...d=4&linkid=367

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by aa731, Today, 02:54 AM
            0 responses
            4 views
            0 likes
            Last Post aa731
            by aa731
             
            Started by thanajo, 05-04-2021, 02:11 AM
            3 responses
            469 views
            0 likes
            Last Post tradingnasdaqprueba  
            Started by Christopher_R, Today, 12:29 AM
            0 responses
            10 views
            0 likes
            Last Post Christopher_R  
            Started by sidlercom80, 10-28-2023, 08:49 AM
            166 responses
            2,237 views
            0 likes
            Last Post sidlercom80  
            Started by thread, Yesterday, 11:58 PM
            0 responses
            4 views
            0 likes
            Last Post thread
            by thread
             
            Working...
            X