Indicator · Pine Script v6 · On the chart

High Prob Adaptive RSI — Filtered + Cooldown + Structure

by Jitheandra98

This indicator plots an adaptive RSI on the price chart for gold.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code296
Settings31inputs
LicenceNone stated
Last update3 months ago23 Jul 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

High Prob Adaptive RSI — Filtered + Cooldown + Structure calculates RSI with adaptive lookback and filters signals using EMA trend, higher timeframe bias, slope threshold, ATR volatility, and structure confirmation near swings. Signals appear as buy and sell labels with divergence detection, showing weak signals optionally. It draws SL and TP lines based on ATR multipliers and enforces cooldown between high-probability signals. Main settings adjust RSI length, margins, filters, and killzone enforcement.

Details

Published by

Jitheandra98 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Oscillators & momentum, Divergence, SMC / ICT / price action, Support & resistance

Markets

Gold

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
RSI Lengthint120rsiLength
Adaptive Lookbackint60lookback
Oversold Sensitivityfloat0.15oversoldMargin
Overbought Sensitivityfloat0.15overboughtMargin
EMA Trend Lengthint20emaLength
Use Higher TF Trend FilterbooltrueuseHtfTrend
HTF Timeframetimeframe60htfTimeframe
HTF EMA Lengthint50htfEmaLength
RSI Slope Thresholdfloat0.30slopeThreshold
Require Above-Avg VolatilitybooltrueuseAtrFilter
ATR Lengthint14atrLength
ATR Average Lengthint50atrAvgLength
Show all 31 settings
SettingTypeDefaultVariable
Min ATR / AvgATRfloat0.8atrMinRatio
Require Structure ConfirmationbooltrueuseStructure
Structure Lookbackint20structureLookback
Max ATR distance from swingfloat2.0structureMaxDist
Bars Between High-Prob Signalsint10signalCooldown
Divergence Pivot Leftint5divPivotLeft
Divergence Pivot Rightint5divPivotRight
Show DivergencesbooltrueshowDivergences
Killzone ModestringBothkillzoneMode
Enforce Killzone for High-ProbbooltruekillzoneOn
Enable Opposite Market ConfirmationbooltrueuseOpposite
Opposite SymbolsymbolTVC:DXYoppSymbol
Opposite EMA Lengthint20oppEmaLength
Show Buy/Sell Labelsbooltrueshowsignals
Show Weak (non-high-prob) SignalsboolfalseshowWeakSignals
Show SL/TP LinesbooltrueshowLevels
Stop Loss ATR Multiplierfloat1.5slAtrMult
Take Profit ATR Multiplierfloat3.0tpAtrMult
Track Win/Loss in DashboardbooltruetrackPerformance
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

23 stars

This indicator collection calculates and plots previous daily high and low price levels on the chart to identify potential supply and demand zones. It includes real-time intraday high and low calculations, RSI divergence detection across a customizable period

Indicator v4 Support & resistanceDivergence
Updated 3 years ago · None stated GitHub repository of Daily High and Low Strategy

Bandz HTF

by samuelharting
18 stars

Bandz HTF projects higher-timeframe candle structures, ranges, and key levels directly onto the main price chart. It visualizes multiple configurable timeframe lanes from intraday to weekly alongside primary and macro range levels, including 25%, 50%, and 75%

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 weeks ago · MPL-2.0 GitHub repository of Bandz HTF

This indicator implements a full Chanlun pipeline on the price chart. It merges contained bars, marks top and bottom fractals, and connects alternating fractals into strokes. Overlapping strokes form pivot boxes, and MACD area ratios flag trend or consolidatio

Indicator v6 Support & resistanceDivergence
Updated 2 months ago · GPL-3.0 GitHub repository of 缠论 - 分型与笔 [Chanlun Core]

This overlay indicator scores liquidity-sweep reversals on the price chart. It looks for a swing high or low violation followed by a recovery close, then grades optional conditions such as RSI and structure into a 0–2 quality score with separate long and short

Indicator v6 SMC / ICT / price actionOscillators & momentum
Updated yesterday · MIT GitHub repository of Reversal Engine Score v1 [WavesUnchained]

Larper Suite

by DeolinNaidoo
8 stars

Larper Suite is an overlay indicator for ICT and quarterly-theory analysis. It plots true session, daily, weekly, monthly, and yearly opens plus prior and current high-low liquidity levels. It tracks multi-asset SMT, swing divergence, fair-value-gap fills, and

Indicator v6 SMC / ICT / price actionDivergence Repaints
Updated 3 months ago · GPL-3.0 GitHub repository of Larper Suite
6 stars

Apex Protocol v3.0 - The SMC Engine is an overlay indicator designed for Smart Money Concepts (SMC) trading strategies. It detects market structure shifts (MSS), breaks of structure (BOS), M5 Fair Value Gaps (FVG), Order Blocks (OB), and Asian session ranges.

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Apex Protocol v3.0 - The SMC Engine

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers