All posts
PublishedByEvidence recordRCIRank correlationThree linesMean reversionBacktestUSDJPY

Is RCI Below -80 a Buy? 2,484 Backtests on USD/JPY

RCI ranks the last N closes and drops the size of the move. The textbook buy under -80, against the plain change over those closes and four other readings.

RCI stands for Rank Correlation Index and runs from -100 to +100. The reading it is always introduced with is "under -80 is oversold, over +80 is overbought". This is 2,484 runs asking whether that reading makes money.

First, what the indicator is doing. RCI reads only the order of the last N closes and throws the size of the move away. If the last nine closes fell in a straight line, RCI is -100 whether price dropped ten pips or a hundred.

So the control is the thing RCI discards: the percentage change across those same nine closes.

Three results before the detail.

One. Past ±80 is not a rare state. RCI sat at or under -80 on 6.99% to 17.69% of bars and at or over +80 on 9.56% to 31.31%. The 5th percentile of the reading runs from -93.33 to -84.96, so the line spends more time near its ends than near zero.

Two. The textbook fade came last of the five readings. Settings that ended both 2024 and 2025 in profit: 4 of 72 on the 15-minute chart, 3 of 72 on the hourly, 9 of 72 on the 4-hour. Read the same threshold as momentum instead, buying over +80, and those become 39, 33 and 6.

Three. The ranking did not beat the magnitude it replaced. Comparing the bars RCI puts under -80 with the same number of bars taken from the smallest changes, RCI's set won on the next ten bars in 17 of 36 cells.

0%20%40%60%Level extreme (fade)5.64.212.5Level break (follow)54.245.88.3Break out of ±level58.345.84.2Level cross40.060.016.7Three lines aligned22.222.20share of each reading's settings profitable in both years
15-minutehourly4-hourshare profitable in both 2024 and 2025
Of each reading's settings, the share that ended both 2024 and 2025 in profit. The textbook fade — buy under -80 — is the shortest bar on the 15-minute and hourly charts: 4 of 72 and 3 of 72. Reading the same threshold the other way gives 39 and 33 of 72.

What RCI measures

RCI builds two rankings over the closes in its window and measures how well they agree.

  1. Rank by time: number the bars 1, 2, 3 from the oldest.
  2. Rank by price: number the closes 1, 2, 3 from the lowest.

A straight climb puts the oldest bar at the lowest close, the two rankings agree exactly, and RCI reads +100. A straight fall reverses them and reads -100.

The formula squares the rank differences and sums them. At period 9 a squared-difference sum of 216 lands the reading exactly on -80.

Two consequences follow from that construction.

The size of the move is not in the formula. Only ranks are, so nine bars that fell ten pips and nine bars that fell a hundred read the same if the order was the same.

The reading lands on a lattice. The squared-difference sum is an integer, so RCI at period 9 can only take values 0.833 apart. Across two years of hourly bars (13,482 of them) it took 313 distinct values. Period 52 has a step of 0.004 and took 11,429.

At period 9, the reading was exactly +100 on 51 bars and exactly -100 on 39: nine closes in perfect order, with nowhere further for the line to go. That is 0.67% of bars together. At period 21 and above it never happened.

RCI settings and how they are read

RCI is drawn in a panel under the price chart, scaled -100 to +100. Formiq draws the ±80 lines from the start; MT4 does not, so they have to be added by hand there.

The pane takes one to three lines. The three-line version most RCI material is written around uses a short 9, a mid 26 and a long 52.

WhereSettingDefaultWhat it does
ChartShort period9How many closes are ranked
ChartMid period00 draws nothing; 26 adds the second line
ChartLong period00 draws nothing; 52 adds the third line
BacktestReadingLevel extremeOne of the five below
BacktestPeriod9How many closes are ranked
BacktestMid and long26 and 52Read only by the three-line rule
BacktestDirectionBelowWhich side the condition opens
BacktestLevel-80The value the rule compares against

The five readings

ReadingBuys whenSells when
Level extreme (fade)RCI is under the levelRCI is over the level
Level break (follow)RCI is over the levelRCI is under the level
Break out of ±levelRCI crosses up through +levelRCI crosses down through -level
Level crossRCI crosses up through the levelRCI crosses down through the level
Three lines alignedAll three are under -levelAll three are over +level

The fade and the follow are the same number read two ways. Each opens one side only, so both were swept as a long rule and a short rule separately. The close is a return through a second level: "buy under -80, close at 0" is the published form.

The remaining three open both sides, so entry and exit share one rule set.

How this was measured

ItemValue
InstrumentUSD/JPY
Timeframes15-minute, 1-hour, 4-hour
Period1 January 2024 to 31 December 2025, with 2025 also split in halves
RCI periods9, 14, 21, 26, 36, 52
Fade and follow levels70, 80, 90 to open; 0 and 40 to close
Break levels50, 70, 80, 90
Crossing levels-80, -40, 0, 40, 80
Three-line sets9/26/52, 9/14/21, 14/26/52 at levels 50, 70, 80
ControlThe change across the same closes (ROC with a lookback one bar shorter)
Runs207 settings x 3 timeframes x 4 windows = 2,484
Spread0.3 pips, fixed
Lot size0.1
FillClose of the signal bar

How the control was built. RCI at period 9 reads nine closes, so the move across those same nine closes is the change from the close nine bars back. Formiq's rate-of-change condition at period 8 covers exactly that span. The bars RCI put under -80 were counted, the same number of bars was taken from the small-change end, and both sets were measured to the close ten bars later.

Past ±80 is not a rare state

Before any trading, how often the line reaches the level. Every 2025 bar:

TimeframePeriodBarsAt or under -80At or over +805th pct95th pct
15-minute924,89314.96%16.47%-92.0893.33
15-minute2624,89312.45%13.62%-89.8191.25
15-minute5224,89313.02%14.91%-89.4990.95
Hourly96,21615.70%16.04%-93.3393.33
Hourly266,21614.03%14.43%-91.5990.29
Hourly526,21614.56%14.54%-89.7089.39
4-hour91,60017.69%16.88%-93.3391.67
4-hour261,6009.94%16.25%-87.9790.97
4-hour521,60011.25%9.56%-88.7387.07

Across all 36 cells of two years, three timeframes and six periods, the reading was at or under -80 on 6.99% to 17.69% of bars and at or over +80 on 9.56% to 31.31%. At period 9 the two sides together cover 31.28% to 34.57% of bars: one bar in three is in an extreme.

The percentiles are worth a second look. In every cell the 5th percentile sits between -93.33 and -84.96 and the 95th between 87.07 and 96.67. The line spends more time near ±90 than near zero, which makes "RCI reached ±80" an ordinary event rather than a signal.

How often the three lines agree

Counting bars where the short 9, mid 26 and long 52 are all outside ±80:

TimeframeShort line aloneAll threeShare of barsShare of the short line's
15-minute7,8248053.23%10.29%
Hourly1,9731221.96%6.18%
4-hour553291.81%5.24%

All three align on 1.81% to 5.14% of bars, and on 5.24% to 14.98% of the bars where the short line alone is outside. The 4-hour chart offers 29 such bars in a year. Any figure from a sample that size needs its trade count read beside it.

What changes when only the order is read

Comparing the bars RCI puts under -80 with the same number taken from the smallest changes over the same closes, measured to the close ten bars later. 2025:

TimeframePeriodCorrelationRCI barsOverlapRCI meanChange meanAll bars
15-minute90.7563,72362.56%+0.59 pips-0.03 pips-0.03 pips
15-minute260.7733,10059.61%-0.18 pips+1.73 pips-0.03 pips
15-minute520.7853,24258.95%-3.17 pips+0.30 pips-0.03 pips
Hourly90.79897664.65%-4.91 pips+0.15 pips-0.07 pips
Hourly260.81087259.40%+3.42 pips+7.57 pips-0.07 pips
Hourly520.82390562.98%+5.29 pips+5.67 pips-0.07 pips
4-hour90.82828365.37%-1.86 pips+7.05 pips-0.48 pips
4-hour260.83215950.31%+12.96 pips+13.24 pips-0.48 pips
4-hour520.77718051.11%+28.25 pips+9.57 pips-0.48 pips

Correlation between RCI and the change runs 0.679 to 0.855. High, and not 1.

The two sets overlap by 50.31% to 70.83%. Three to five bars in ten that RCI calls oversold are not in the set the plain change picks. The ranking really is selecting different bars.

What it is not doing is selecting better ones. Across all 36 cells, RCI's set beat the change's set on pips in 17 and on win rate in 18. Either measure lands where a coin would.

Did the discarded magnitude carry anything

If RCI drops the size of the move, the size might still be informative. Taking only the bars where RCI is at or under -80 and splitting them into quarters by the change over the same nine closes, in 2025:

TimeframeQuarter by changeBarsChange rangeWin rateMean over 10 bars
15-minuteLargest fall930-1.622% to -0.269%52.37%+0.86 pips
15-minuteSecond930-0.269% to -0.174%55.70%+1.75 pips
15-minuteThird930-0.174% to -0.110%52.37%-0.74 pips
15-minuteSmallest fall933-0.110% to -0.007%51.98%+0.51 pips
HourlyLargest fall244-2.047% to -0.535%50.82%-6.63 pips
HourlySecond244-0.532% to -0.377%48.36%-4.19 pips
HourlyThird244-0.377% to -0.250%48.36%-3.01 pips
HourlySmallest fall244-0.250% to -0.027%46.72%-5.81 pips

There is no ordered relationship between the size of the fall and what followed. On the 15-minute chart the second quarter did best at +1.75 pips while the largest falls returned +0.86. All four hourly quarters were negative, the largest falls at -6.63 pips and the smallest at -5.81.

So what RCI discards carried nothing here. What it keeps did not do better than what it discards, either.

Trading all five readings

207 settings, traded. Settings that ended the year with positive pips:

2025

ReadingSettings15-minuteHourly4-hour
Level extreme (fade)72133465
Level break (follow)7254367
Break out of ±level2418133
Level cross3019216
Three lines aligned9676

2024

ReadingSettings15-minuteHourly4-hour
Level extreme (fade)7214912
Level break (follow)72496359
Break out of ±level24182020
Level cross30162222
Three lines aligned9222

One year at a time, the ordering changes. The fade took 65 of 72 on the 4-hour chart in 2025 and 12 of 72 on the same chart in 2024. The three-line reading had 19 of 27 in profit in 2025 and 6 of 27 in 2024.

Requiring both years narrows it. Settings profitable in 2024 and in 2025:

ReadingSettings15-minuteHourly4-hour
Level extreme (fade)72439
Level break (follow)7239336
Break out of ±level2414111
Level cross3012185
Three lines aligned9220

The textbook fade is the thinnest row on the 15-minute and hourly charts, at 4 and 3 of 72. Reading the same threshold as momentum instead gives 39 and 33.

Splitting 2025 into halves and requiring all four windows narrows it again:

ReadingSettings15-minuteHourly4-hour
Level extreme (fade)72204
Level break (follow)72871
Break out of ±level241170
Level cross30781
Three lines aligned9220

All 72 hourly fade settings lost money in at least one of the four windows.

The textbook buy, period by period

Opening at level 80 and closing on a return to 0, in 2025:

TimeframeSidePeriodTradesWin rateAnnual pipsBars held
15-minuteLong975066.13%+367.411.2
15-minuteLong1445665.13%-336.618.5
15-minuteLong2622665.93%-426.235.2
15-minuteLong5211661.21%-1,074.478.1
15-minuteShort975363.08%-1,194.313.5
HourlyLong917664.20%-652.913.7
HourlyLong364967.35%+322.650.6
HourlyShort219366.67%+358.628.8
4-hourLong211872.22%+1,150.328.3
4-hourShort262386.96%+1,396.628.2
4-hourShort95352.83%-441.012.6

Win rates run 52.83% to 86.96%, and all 36 cells of three timeframes, two sides and six periods cleared 50%. The annual pips column still fills with negative numbers.

The 15-minute long side at period 9 won 66.13% for +367.4 pips; the short side of the same setting won 63.08% for -1,194.3. That is 1,561.7 pips between two sides of one rule. On 15-minute closes USD/JPY rose 1,633.2 pips through 2024 and fell 56.8 pips through 2025, so the long and the short were reading different markets.

The setting closest to the shipped defaults, period 9 at level 80 closing at 0, ranked 179th of 207 by annual pips on the hourly chart's long side in 2025 (176 trades, 64.20%, -652.9 pips), and 185th on the short side in 2024 (200 trades, 55.50%, -1,255.6 pips). This reading sits below the middle in both years.

Three lines worked in 2025 only

All 27 settings of three timeframes, three period sets and three levels, in both years:

TimeframePeriodsLevel2025 trades2025 win2025 pips2024 trades2024 win2024 pips
15-minute9/26/527012361.79%+865.612166.94%+1,638.0
15-minute9/14/218024464.34%+2,788.621657.87%-2,607.5
Hourly9/26/52703577.14%+3,340.02259.09%+215.5
Hourly9/14/21807266.67%+1,499.16266.13%-1,414.5
Hourly14/26/52703971.79%+2,476.52060.00%-1,612.6
4-hour9/14/21703479.41%+3,759.21330.77%-3,108.0
4-hour9/14/21801978.95%+3,282.0922.22%-3,224.6
4-hour9/26/52501573.33%+949.11040.00%-3,103.7
4-hour14/26/5280250.00%-843.2771.43%+788.6

Four of the 27 ended both years in profit. All nine 4-hour settings lost money in one of the two.

The 4-hour 9/14/21 at level 70 makes it plain. In 2025 it took 34 trades, won 79.41% and made +3,759.2 pips, the best of the 207 settings that year. The same setting in 2024 took 13 trades, won 30.77% and lost 3,108.0 pips, which is 205th of 207. A rule that trades 13 to 34 times a year moves that far between years on its own.

Last year's winner, this year

Taking the setting with the highest annual pips in one year and running it in the other, with its rank among the 207:

TimeframePicked inSettingPips that yearPips the other yearRankMedian that year
15-minute2024Level cross, period 36, level -40+3,805.8+996.524th+89.1
15-minute2025Three lines, 9/14/21, level 80+2,788.6-2,607.5205th-81.2
Hourly2024Level cross, period 21, level -40+4,028.1+659.640th+77.7
Hourly2025Three lines, 9/26/52, level 70+3,340.0+215.5105th+226.3
4-hour2024Break out of ±level, period 21, level 80+3,652.5-3,086.7206th-265.1
4-hour2025Three lines, 9/14/21, level 70+3,759.2-3,108.0205th+95.1

Three of the six landed 205th or 206th of 207 in the other year. Two beat that year's median, and both are the 2024 picks on the 15-minute and hourly charts.

Those two are the same reading at the same level: a crossing of -40. That is not the ±80 the indicator is introduced with. The only choice that stayed above the median a year later was the one furthest from the textbook.

Notes on scope

  • USD/JPY only, 2024 and 2025, on the 15-minute, 1-hour and 4-hour charts
  • Fills at the close, a fixed 0.3 pip spread, 0.1 lots, no slippage
  • The three-line reading trades 2 to 45 times a year on the 4-hour chart; win rate and pips from counts that small move a great deal
  • The control is a single measure of magnitude, not an inventory of everything the ranking discards

Questions people ask

What is the best RCI period?
The period did not settle it here. Taking the textbook fade at level 80 with a give-back at 0, the 15-minute long side is profitable at period 9 only (750 trades, 66.13% win rate, +367.4 pips) and negative at 14 through 52. The hourly long side is profitable at 36 and 52 only. On the 4-hour chart all six periods ended positive. Change the timeframe and the answer changes with it.
Do three RCI lines beat one?
In 2025 they look better: 19 of 27 settings positive, and the 4-hour 9/14/21 at level 70 won 79.41% of 34 trades for +3,759.2 pips. The same setting in 2024 won 30.77% of 13 trades for -3,108 pips, which ranks 205th of 207. Four of the 27 cleared both years and none of the nine 4-hour settings did.
How unusual is RCI under -80?
Not unusual. At period 9 it happens on 11.70% to 17.69% of bars. The 5th percentile of the reading runs from -93.33 to -84.96 and the 95th from 87.07 to 96.67, so the line spends more time near its ends than near zero.
How is RCI different from the plain change?
RCI reads only the order of the closes and drops how far price moved. Its correlation with the change over the same closes runs 0.679 to 0.855, and of the bars RCI calls oversold, 50.31% to 70.83% are also in the same-sized set of smallest changes. So it does pick different bars. Those bars did not do better, though: over the next ten bars RCI's set won 17 of 36 cells.
Can I test RCI in Formiq?
Yes. Enable RCI in the condition list and the reading picker offers all five. The chart pane now takes a period as well, and setting the mid and long periods to anything but 0 draws the three-line version. All 2,484 runs here were built that way.

Formiq is a free browser-based FX terminal with replay practice and no-code backtesting. Open the chart or see what the free plan includes.