Logo "RollingCorrelation"
Indikator
35 unduhan
Versi 1.0, Mar 2026
Windows, Mac
Gambar unggahan "RollingCorrelation"
Sejak 16/01/2025
2.61M
Volume trading
1.97K
Pip dimenangkan
224
Instal gratis

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 indikator
0.0
Ulasan: 0
Ulasan pelanggan
Belum ada ulasan untuk produk ini. Sudah mencobanya? Jadilah pemberi ulasan pertama!
Forex
Signal
Scalping
Indices
Commodities
Crypto
Stocks
Produk-produk yang tersedia melalui cTrader Store, termasuk bot trading, indikator, dan plugin, disediakan oleh pengembang pihak ketiga serta hanya ditujukan untuk akses teknis dan informasi. cTrader Store bukan broker dan tidak menyediakan saran investasi, rekomendasi pribadi, atau jaminan apa pun tentang kinerja di masa mendatang.

Produk lain dari penulis ini

Indikator
Forex
Crypto
+5
QQE osc. Smoothed RSI with ATR-based smoothing that generates crossover and level-based signals, supports MTF
Logo "FusionStack"
Peringkat teratas
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
Faktor laba
5.36%
Drawdown maks
Indikator
Forex
Crypto
+6
Choppiness Index: identifies trending vs. ranging markets to filter breakouts and improve trend-following entries.

Anda mungkin juga suka

Indikator
Forex
Flexible Volume Profile, designed with performance in mind.
Indikator
Breakout
FlexSR auto‑detects pivot highs/lows to plot dynamic support & resistance lines Features customizable styling and option
Indikator
RSI
Volume
Scan RSI across multiple timeframes/symbols with real-time Telegram alerts and interactive visual mini-charts.
Indikator
SMC
BTCUSD
+8
πŸ”· Multi-Layer Market Structure & Dynamic Regression Indicator / Trend Lines
Indikator
Volume
Key Levels
+4
Session & Kill Zone Highlighter - Visual tool for London, NY, Tokyo, Sydney sessions plus ICT Kill Zones.
Indikator
VWAP
Forex
+2
Custom VWAP Indicator for cTrader
Indikator
RSI
Signal
+1
The QQE enhances the RSI by incorporating moving averages. This version includes fast and slow trailing levels.
Indikator
Volume
Stochastic
Multi-symbol & multi-timeframe Stochastic scanner with interactive mini-charts and Telegram alerts
Indikator
Forex
Crypto
+2
Market Structure Indicator – Your Trading Map in a Noisy Market. No more Panicking Which one, Where, Why and How.
Indikator
VWAP
Forex
+12
Unlock VWAP in cTrader! Choose anchor periods, price sources, and display deviation bands with real-time tick updates.
Indikator
ATR
Forex
+7
Final Moving Average is an adaptive system designed to keep traders aligned with the true direction of the market
Logo "ORB v1"
Populer
5.0
(1)
$19
Indikator
Breakout
Opening Range Breakout (ORB) - Visual Edition
Indikator
Shows daily and sessions highs / lows and session boxes, everything configurable
Indikator
Prop
ZigZag
+5
All-in-One ICT/SMC Institutional Framework β€” Ranges, Structure, Liquidity, Fibonacci & Time Engine.
Indikator
Key Levels
Drawdown Monitor
+1
Real-time position monitor with break-even levels, MTF pivots, profit targets & alerts. Essential risk tool.
Indikator
ATR
Forex
+1
Trade fearlessly: auto-adjusts order blocks, manages risks, and ensures precision. Free for early users.
Indikator
Inducement
Key Levels
+5
Digital Clock Overlay that displays a live, second-by-second clock and optional date directly on the trading chart.
Indikator
Prop
Forex
+4
The Smooth Heiken Ashi indicator is a refined charting tool designed to filter out market noise and highlight true price
Sejak 16/01/2025
2.61M
Volume trading
1.97K
Pip dimenangkan
224
Instal gratis