Announcement

Collapse
No announcement yet.

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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    55 views
    0 likes
    Last Post CarlTrading  
    Working...
    X