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 kaywai, 09-01-2023, 08:44 PM
    5 responses
    601 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by xiinteractive, 04-09-2024, 08:08 AM
    6 responses
    22 views
    0 likes
    Last Post xiinteractive  
    Started by Pattontje, Yesterday, 02:10 PM
    2 responses
    19 views
    0 likes
    Last Post Pattontje  
    Started by flybuzz, 04-21-2024, 04:07 PM
    17 responses
    230 views
    0 likes
    Last Post TradingLoss  
    Started by agclub, 04-21-2024, 08:57 PM
    3 responses
    17 views
    0 likes
    Last Post TradingLoss  
    Working...
    X