OPEN-SOURCE SCRIPT
업데이트됨

Correlation with P-Value & Confidence Interval (alt)

5 195
Shows the Pearson correlation between two symbols, including statistical significance test.

This is a fork of the original script by Balipour, with the addition of EMA that can be used instead of SMA in the Pearson correlation as an attempt to capture correlation trend changes more quickly, and conversion to pinescript v5. In the end, the EMA does not help much, for a faster capture of correlation trend changes, another kind of correlation is necessary, such as sign test correlation (another one of my indicators implement this idea).

Please show the original indicator's author some love if you appreciate this work:
Correlation with P-Value & Confidence Interval [pig]
릴리즈 노트
Update: add support for Multi-Timeframe resolution (MTF) per request, but had to remove the Panel to avoid side effects, otherwise PineScript would not compile.
릴리즈 노트
Fix a small typo in a function that caused side effects (no difference in calculations, but useful to reuse the function elsewhere).

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.