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

Pearson correlation coefficient

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

    Pearson correlation coefficient

    Hi,

    Is there an indicator that would plot the time-series of the correlation coefficient between two instruments?

    Thanks

    #2
    Hello vstoichk,

    Thank you for your post.

    I am unaware of a specific indicator for pearson correlation coefficient. The system indicators do not include an indicator which could be used as this directly. There is the RSquared indicator which calculates a correlation coefficient but I am unsure how similar this would be to pearsons calcualtion. This is included with 8 so you could take a look at the code to get an idea of what changes would be needed if you wanted to create this yourself.

    There is another item listed in the public available user app share that calculates coefficients: https://ninjatraderecosystem.com/use...correlation%20

    Also, one is listed for NT7, if that was closer to what you needed you could potentially use that as a base for a conversion as well.

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by andrewtrades, Today, 04:57 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    4 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    7 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X