• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
        Patrick H.NinjaTrader Customer Service

        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
            Patrick H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by uiwislth, Yesterday, 11:25 PM
            0 responses
            4 views
            0 likes
            Last Post uiwislth  
            Started by Steve L, Yesterday, 10:04 PM
            0 responses
            3 views
            0 likes
            Last Post Steve L
            by Steve L
             
            Started by marianfed, Yesterday, 09:47 PM
            0 responses
            4 views
            0 likes
            Last Post marianfed  
            Started by hir04068, Yesterday, 09:29 PM
            0 responses
            2 views
            0 likes
            Last Post hir04068  
            Started by iq200, 03-11-2018, 07:49 PM
            24 responses
            1,017 views
            0 likes
            Last Post mrlucky1x  
            Working...
            X