What is RSI + Stochastic Extremes?
RSI + Stochastic Extremes marks the bars where two oscillators agree that price is stretched. A label above the bar means both the RSI and the Stochastic RSI are overbought. A label below the bar means both are oversold.
The label's colour shows how far the RSI went. Red is the most extreme, orange less so and yellow the mildest. Nothing is drawn in a sub-pane; the labels sit on the price chart.
This is a closed-source premium script. It runs on Altrady's servers, so only its output reaches your chart and its code is not published.
How to use RSI + Stochastic Extremes
- Label above a bar. RSI is above its overbought level and the Stochastic RSI's %K and %D are both above 80. Momentum has been strong to the upside.
- Label below a bar. RSI is below its oversold level and %K and %D are both below 20. Momentum has been strong to the downside.
- Colour. Red when the RSI is above 80 or below 20, orange above 75 or below 25, yellow otherwise.
- Runs of labels. In a strong move the conditions can hold for many bars in a row, and every one of those bars is labelled. An extreme can stay extreme.
Settings
Settings
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Stoch Length | 14 | 1 to 100 | |
| K | 3 | 1 to 50 | |
| D | 3 | 1 to 50 | |
| RSI Length | 14 | 1 to 100 | |
| RSI Overbought Level | 70 | 50 to 100 | |
| RSI Oversold Level | 30 | 0 to 50 |
How it works
The script computes the RSI of the close over RSI Length bars, 14 by default. It then takes the Stochastic of that RSI over Stoch Length bars, 14 by default, smooths it with a K bar average to get %K and smooths %K with a D bar average to get %D, both 3 by default.
A bar is overbought when %K and %D are both above 80 and the RSI is above RSI Overbought Level, 70 by default. It is oversold when %K and %D are both below 20 and the RSI is below RSI Oversold Level, 30 by default. The 80 and 20 Stochastic levels are fixed.
Each bar is judged on its own values, so there is no lookback pattern beyond the indicator lengths. On the bar still forming, the values move with the price, so a label can appear and disappear until that bar closes. The script has no alert conditions.
Limitations
- Overbought is not a top. RSI and Stochastic can stay at extremes through a whole trend. A label says the oscillators are stretched, not that price will turn.
- Fixed Stochastic levels. The 80 and 20 thresholds for %K and %D are not settings. Only the RSI levels can be changed.
- Indicator lag. Both oscillators are built from averages of past bars, and the Stochastic is smoothed twice, so they react after price does.
- The forming bar can change. A label on the bar still forming is provisional until it closes.
- No alerts. The script draws labels. It has no alert conditions.
- It is not a strategy. The labels mark an oscillator reading. They carry no entry or exit rule.
Get RSI + Stochastic Extremes
RSI + Stochastic Extremes is free in the Altrady marketplace and runs for every Altrady account. There is nothing to buy.
Frequently asked questions
Above a bar when %K and %D of the Stochastic RSI are both above 80 and the RSI is above its overbought level, 70 by default. Below a bar when both are below 20 and the RSI is below its oversold level, 30 by default.
The Stochastic oscillator applied to the RSI instead of to price. It shows where the RSI sits within its own recent range, from 0 to 100.
They show the RSI's level: red above 80 or below 20, orange above 75 or below 25, yellow otherwise.
Each bar is checked on its own. While both oscillators stay at an extreme, every bar gets a label.
No. The Stochastic levels are fixed. The RSI overbought and oversold levels are settings.
No. RSI + Stochastic Extremes declares no alert conditions.