• 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

Regression for two different instruments

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

    Regression for two different instruments

    Is there a method in NT that can calculate slope or regression value for two instruments? For example, ES and YM or ES and NQ instead of just on the primary instrument itself. What I am trying to see here is based on regression of the two instruments, if the primary instrument is trading at price x, then it implies the price value for the secondary instrument

    #2
    Hello Boonfly8,

    Thanks for your post.

    No, there is no method that would calculate slope or regression value of two instruments. I am not aware of any indicators that would provide that either.

    You might take a look at the NinjaTrader platform new indicator "Correlation" and can perhaps use that as an input to slope().

    From the release note: Added Correlation indicator

    Indicator

    Feature # 13755

    The correlation indicator will plot the correlation of the data series to a desired instrument. Values close to 1 indicate movement in the same direction. Values close to -1 indicate movement in opposite directions. Values near 0 indicate no correlation.



    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Nat11, Today, 04:30 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Option Whisperer, Yesterday, 11:50 AM
    2 responses
    10 views
    0 likes
    Last Post Option Whisperer  
    Started by TraderJim618, Yesterday, 01:20 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by drpapp, 01-24-2019, 06:57 AM
    6 responses
    72 views
    1 like
    Last Post brucerobinson  
    Started by ttodua, 12-06-2019, 11:40 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X