"RollingCorrelation" 标识
指标
35 下载
版本 1.0, Mar 2026
Windows 版、Mac 版
"RollingCorrelation" 已上传图片
注册日期 16/01/2025
2.61M
交易量
1.97K
盈利点数
224
免费安装

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
客户评价
该产品尚无评价。已经试过了?抢先告诉其他人!
Forex
Signal
Scalping
Indices
Commodities
Crypto
Stocks
cTrader Store 提供的所有产品,包括交易机器人、指标和插件,均由第三方开发者提供,仅供信息参考和技术访问之用。cTrader Store 并非经纪商,不提供投资建议、个人推荐或任何未来业绩保证。

该作者的其他作品

指标
Forex
Crypto
+5
QQE osc. Smoothed RSI with ATR-based smoothing that generates crossover and level-based signals, supports MTF
"FusionStack" 标识
评分最高
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
盈利系数
5.36%
最大回撤
指标
Forex
Crypto
+6
Choppiness Index: identifies trending vs. ranging markets to filter breakouts and improve trend-following entries.

猜您喜欢

指标
Forex
Customizable Dynamic Fibonacci Channels and Smart Alerts
指标
Prop
ZigZag
+5
All-in-One ICT/SMC Institutional Framework — Ranges, Structure, Liquidity, Fibonacci & Time Engine.
指标
CCI
Volume
Monitor multiple pairs and timeframes with this interactive CCI dashboard. Includes mini-charts & Alerts.
指标
AI
ATR
+27
Overbought Oversold Indicator
指标
ATR
Forex
+2
Trade fearlessly: auto-adjusts order blocks, manages risks, and ensures precision. Was Free for early users now -80%
指标
AI
ATR
+27
Nadaraya-Watson Envelope Indicator
指标
SMC
Pro Volume Profile with Delta, Session Filters & CSV Export. Precision order flow analysis.
指标
EMA
RSI
+5
MACD Colour Histogram with 11 Moving Average Types, Multi-timeframe confirmation and Sound Signal Alert.
指标
Forex
Fibonacci
+2
Enhance your trading with customizable alerts and dynamic visual tools for trendlines, Fibonacci levels, and more.
指标
AI
EURUSD
Future-AI indicator.
指标
Volume Profile plots traded volume at each price level, highlighting high activity zones of precise support & resistance
指标
Ichimoku Kinkō Hyō with fixed shift to 25 as Ctrader calculate it from 0 and values was wrong for Chikou Span and Kumo.
指标
RSI
Breakout
+1
🚀 TrendHeikinMultiMA: Advanced trend detection using Heikin-Ashi smoothing & MAs! Eliminates noise, confirms real trend
指标
Flag
Key Levels
+5
Zig Zag filters out minor price noise and connects only the most significant swing and lows for key turning points.
指标
AI
ATR
+19
QX SessionBox ORB: Session boxes + ORB levels + clean dashboard with optional closed-candle breakout signals.
指标
SMC
Prop
+8
KILLZONES AND MACRO SESSIONS
指标
ATR
Forex
+7
Final Moving Average is an adaptive system designed to keep traders aligned with the true direction of the market
指标
Forex
Crypto
+3
Custom and native timeframes display with OHLC lines, moving averages, and Fibonacci levels.
注册日期 16/01/2025
2.61M
交易量
1.97K
盈利点数
224
免费安装