RollingCorrelation
지표
1 다운로드
버전 1.0, Mar 2026
Windows, Mac
"RollingCorrelation" 업로드된 이미지
가입일 16/01/2025
2.43M
거래량
1.94K
핍 수익
2
무료 설치

RollingCorrelation computes the rolling Pearson correlation between each close price and its 1-bar lag over a configurable window. The indicator returns values in the range [-1, 1], where values near +1 indicate strong positive autocorrelation (trend continuation), values near -1 indicate strong negative autocorrelation (oscillatory or reversal behavior), and values near 0 indicate little or no linear autocorrelation.

How it works For each bar it computes the Pearson correlation coefficient between the series of close prices and the same series shifted by one bar across the specified Period window (default 20). The implementation uses the standard covariance / variance formula to produce a single correlation value per bar.

Inputs

  • Period (int, default 20): number of bars in the rolling window. The indicator needs at least Period+1 bars to compute the first value.

Output

  • Correlation (line): rolling correlation value for each bar, range [-1, 1].

Interpretation & practical use

  • Near +1: price shows strong persistence — recent moves likely to continue (useful for trend-following signals).
  • Near -1: strong negative autocorrelation — price often reverses from one bar to the next (useful for mean-reversion tactics).
  • Near 0: no consistent linear relationship at lag 1 — price movement appears random over the window.
  • Typical signal patterns: threshold crossings (e.g., >0.6 or <−0.6), sustained increases/decreases in correlation, divergence between price and correlation, or filtering entries from other systems (require correlation > 0.5 for trend entries, or < −0.5 for reversal setups).

Trading ideas

  • Combine with volatility filters (ATR) to avoid signals during low-volatility noise.
  • Use alongside trend indicators (moving averages, MACD) to confirm direction when correlation is positive.
  • Use as a short-term mean-reversion trigger when correlation is strongly negative and price is at a support/resistance level or extreme Bollinger band.
  • Short timeframes (e.g., M1–M15) & shorter periods can be used for scalping; longer periods/timeframes for swing confirmation.

Recommended settings

  • Default Period = 20 works well as a starting point.
  • Short-term: Period 8–14 (scalping / intraday).
  • Medium-term: Period 20–50 (swing / trend confirmation).
  • Avoid setting Period too large on very noisy symbols or very small on very slow-moving instruments.

Limitations and notes

  • Requires at least Period+1 bars to compute values.
  • If the price variance inside the window is zero (flat prices), the correlation denominator may be zero — this can produce NaN/undefined results. Use sensible Period values and ensure instrument has sufficient price movement.
  • This indicator measures linear lag-1 correlation only; it does not detect nonlinear relationships or multi-bar lags.
  • Not a standalone trading system — best used as a filter or confirmation tool in a strategy.

Suggested examples to include in gallery

  • EURUSD H1 with Period=20 showing strong correlation during a trending phase.
  • BTCUSD 1H showing oscillatory behavior and negative correlation periods.
  • XAUUSD 15m showing scalping use with short Period.
0.0
리뷰: 0
고객 리뷰
이 상품에 대한 리뷰가 아직 없습니다. 이미 사용해 보셨나요? 다른 사람들에게 가장 먼저 소개해 주세요!
Indices
Commodities
Stocks
Forex
Signal
Crypto
Scalping

이 작성자의 상품 더 보기

지표
Indices
Breakout
+6
Choppiness Index: identifies trending vs. ranging markets to filter breakouts and improve trend-following entries.
지표
Indices
Stocks
+5
QQE osc. Smoothed RSI with ATR-based smoothing that generates crossover and level-based signals, supports MTF

좋아하실 만한 다른 항목

지표
NAS100
NZDUSD
+27
SR Commander is a clean and intelligent support and resistance indicator for cTrader, built to help traders identify key
지표
NAS100
NZDUSD
+13
Hurst HCCO Advanced / Cycle Phase Detection / Volatility Filter / Info Table / Momentum Histogram
지표
NAS100
NZDUSD
+15
MACD Advanced -- It combines the standard MACD logic with a rich set of visual tools
지표
NAS100
Breakout
+11
Sessions PRO is a professional session visualization indicator - 4 Fully Customizable Sessions
지표
Indices
Stocks
+5
QQE osc. Smoothed RSI with ATR-based smoothing that generates crossover and level-based signals, supports MTF
지표
NAS100
NZDUSD
+16
Draw a rectangle, label it RRL or RRS. Instant position size, risk, reward targets and full R:R breakdown.
지표
NAS100
NZDUSD
+13
Smart Money Suite (Lite): BOS, CHoCH, Swing structure, PDH/PDL & session killzones. Essential SMC tools, zero clutter.
지표
Indices
Prop
+4
Randomly displays trading quotes for 30s followed by a hidden break. Keeps charts clean while boosting trader mindset.
지표
Indices
Breakout
+6
Choppiness Index: identifies trending vs. ranging markets to filter breakouts and improve trend-following entries.
지표
NZDUSD
Breakout
+10
Traders Panel: Scan 15 pairs across 5 timeframes. Live heatmap, strength rankings and best setups in one panel.
가입일 16/01/2025
2.43M
거래량
1.94K
핍 수익
2
무료 설치