Logo „RollingCorrelation”
Wskaźnik
35 pobrania
Wersja 1.0, Mar 2026
Windows, Mac
Przesłany obraz „RollingCorrelation”
Od 16/01/2025
2.61M
Wolumen transakcji
1.97K
Zysk w pipsach
224
Bezpłatne instalacje

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.
Profil wskaźnika
0.0
Opinie: 0
Opinie klientów
Ten produkt nie ma jeszcze opinii. Wypróbowałeś(-aś) go już? Bądź pierwszy(-a) i powiedz o tym innym!
Forex
Signal
Scalping
Indices
Commodities
Crypto
Stocks
Produkty dostępne za pośrednictwem cTrader Store, w tym boty handlowe, wskaźniki i wtyczki, dostarczane są przez deweloperów zewnętrznych i udostępniane wyłącznie w celach informacyjnych oraz w celu zapewnienia dostępu technicznego. cTrader Store nie jest brokerem i nie zapewnia doradztwa inwestycyjnego, nie udziela spersonalizowanych rekomendacji ani nie gwarantuje przyszłych wyników.

Więcej od tego autora

Wskaźnik
Forex
Crypto
+5
QQE osc. Smoothed RSI with ATR-based smoothing that generates crossover and level-based signals, supports MTF
Logo „FusionStack”
Najwyżej oceniane
4.3
(3)
$499
/
$600
cBot
ATR
RSI
+22
FusionStack is a configurable multi-signal trading system for cTrader (cAlgo) built around weighted decision scoring.
3.94
Współczynnik zysku
5.36%
Maksymalny spadek
Wskaźnik
Forex
Crypto
+6
Choppiness Index: identifies trending vs. ranging markets to filter breakouts and improve trend-following entries.

Możesz także polubić

Wskaźnik
MCDX is a powerful and innovative indicator.
Wskaźnik
SMC
VWAP
+16
It calculates Anchored VWAP and StdDev bands from a user-defined start date for cTrader charts.
Wskaźnik
ADX
ATR
+5
Signal Quality Score - 0-100 filter combining RSI, Volume, ATR, Trend Strength & Alignment. Works on ANY chart type.
Wskaźnik
RSI
Forex
+4
😎Read the description before purchasing💩
Wskaźnik
CCI
Volume
Monitor multiple pairs and timeframes with this interactive CCI dashboard. Includes mini-charts & Alerts.
Wskaźnik
AI
ATR
+27
Read aggressive flow in real time. Flexible resets (Day/Week/Month), optional EMA smoothing, and non-repainting cumulati
Wskaźnik
ATR
Forex
+3
LevelMaster S/R: Pinpoint key support & resistance zones with precision. Perfect for traders of all levels Trade smarter
Wskaźnik
RSI
MACD
Unlock market insights with our Multi-Timeframe Market Levels indicator, enhancing your trading strategies effortlessly
Wskaźnik
Prop
Forex
NEW - PNLs as % - daily, weekly, monthly, or yearly & Spread, Time To Close, PNL Alerts, custom Bid / Ask lines
Wskaźnik
ATR
RSI
+5
One of the best indicators we have ever developed, with a very high profit ratio.
Wskaźnik
EMA
RSI
+5
MACD Colour Histogram with 11 Moving Average Types, Multi-timeframe confirmation and Sound Signal Alert.
Wskaźnik
Key Levels
Order Block
+5
FVG Levels — Auto-Detection of Multi-Timeframe Fair Value Gaps & GAPs, Smart Filters and Liquidity Zone Monitoring
Wskaźnik
JMA-like is a highly responsive and ultra-smooth moving average designed to replicate the behavior of the original JMA!
Wskaźnik
MACD
Prop
+14
Enhance MACD Histogram! Visualize bull and bear price changes with vibrant colors for clearer, more insightful trading.
Wskaźnik
ATR
BOS
+4
Based on market structure and draws liquidity zones, institutional flows, and consolidation ranges. Smart Money Concepts
Wskaźnik
Prop
Forex
+13
VIX Pro: Volatility Index Tool with ATR-Based Breakout Alerts
Wskaźnik
SMC
Prop
+15
Automatic Elliott Wave Detection with Professional Filters
Wskaźnik
[Hamster-Coder] Pivot Points (Demo)
Od 16/01/2025
2.61M
Wolumen transakcji
1.97K
Zysk w pipsach
224
Bezpłatne instalacje