DinexSpace Rolling Return Autocorrelation
- 지표
- 버전: 1.0
DinexSpace Rolling Return Autocorrelation is an indicator for MetaTrader 5 (MT5) that shows whether the recent returns of a symbol tended to continue or to reverse. It calculates the correlation between each log return of the close and the previous one over a rolling window, using closed bars.
The formula
- Return = natural log of (close ÷ previous close).
- Value = Pearson correlation between each return and the return before it, over the last N returns (50 by default). It runs from −1 to +1.
- Bands = plus and minus factor ÷ square root of N (factor 2.0 by default). A value outside the bands is larger than the usual noise of a window of this size.
What you get
- The line in its own window, with dotted lines at the two bands and at zero.
- Three colours: green above the upper band, orange below the lower band, blue inside the bands.
- Panel on the chart: the value, where it stands against the bands and for how many bars. You can turn it off or move it to any corner.
- Alerts: pop-up or push notification when a closed bar takes the value across a band. Alerts are not sent in the Strategy Tester.
- Light: the formula is computed directly from the closes, and the number of bars calculated is an input.
How to read it
- Above the upper band: in the window, a return was often followed by a return in the same direction.
- Below the lower band: in the window, a return was often followed by a return in the opposite direction.
- Inside the bands: no clear pattern in this window.
- It is a statistic of past returns. A small window gives noisy values, so check how the line behaves on your symbol and timeframe.
Inputs
- Calculation: window length in returns, band factor, maximum bars to calculate.
- Panel: on or off, corner, font size.
- Alerts: on or off, pop-up, push notification.
Notes
- Values are calculated from closed bars. The bar being formed is not drawn.
- When all returns in the window are equal the correlation is undefined and the bar is left empty.
- The indicator describes past prices. It gives no entries or exits and does not predict any move.
Requirements
- MetaTrader 5, any symbol and timeframe.
