This indicator calculates both a standard Relative Strength Index and a Relative Liquidity Index, which applies an RSI calculation to Average True Range values.
RSI + Relative Liquidity Index plots these oscillators in a separate pane alongside overbought and oversold threshold levels. It can also project historical climax candle price zones onto the main chart using line fills. Key settings allow customization of RSI and ATR lengths, moving average smoothing choices, threshold levels, and chart background gradients.
Relative Liquidity Index combining ATR and RSI
Standard RSI with configurable moving average smoothing
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Low threshold
float
30
index_low_threshold
High threshold
float
70
index_high_threshold
RSI source
source
close
rsi_src
RSI length
int
14
rsi_len
rsi_ma_type
enum
MaT.sma
rsi_ma_type
rsi_ma_len
int
14
rsi_ma_len
Oversold area color
color
color.new(color.green,50)
oversold_color
Overbought area color
color
color.new(color.red,50)
overbought_color
ATR length
int
34
atr_len
Relative Liquidity Index length
int
14
rli_len
Low liquidity area color
color
color.new(color.maroon,80)
low_liquidity_color
High liquidity area color
color
color.new(color.teal,80)
high_liquidity_color
Show all 19 settings
Setting
Type
Default
Variable
Show gradient background on chart
bool
true
show_chart_background
No background color until threshold exceeded
bool
true
no_background_till_thresholds
Enable
bool
true
climax_candle_enable
Max zones
int
25
climax_candle_max_zones
Max bars to extend zones
int
258
climax_candle_max_extend
climax_candle_zone_low_color
color
color.new(color.red,90)
climax_candle_zone_low_color
climax_candle_zone_high_color
color
color.new(color.green,90)
climax_candle_zone_high_color
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.
This indicator plots the Commodity Channel Index in a separate pane and surrounds it with a Donchian channel whose lookback length changes with volatility. It measures volatility as a ratio of short and long ATR values, then ranks that ratio and shortens or le
Market Pressure Scale plots two oscillator curves in a separate pane. Setup pressure combines ATR and Bollinger compression, support and resistance proximity, and drying volume. Impulse pressure combines range expansion, volume, and candle body size. A range-c
This indicator plots a smoothed fear index in a separate pane. It measures how far the current low sits below the highest close over a lookback, scales that reading by an ATR percentile, and smooths it with a zero-lag EMA. A volatility regime raises or lowers
Range Oscillator (Zeiierman) plots a range-based oscillator in a separate pane. It qualifies a range box from a minimum number of bars and sizes that box vertically with an ATR width multiplier. A heatmap splits the recent high-low span into horizontal levels
This indicator plots a higher-timeframe MACD breakout setup on the price chart and combines it with linear regression channels. It marks support and resistance zones from MACD histogram sensitivity, then filters them with the MACD zero line, a linear regressio
This indicator is a live strategy scanner for cryptocurrency pairs. It runs six strategies on the current chart, tracks their wins and losses, and rates them to show the best one for this pair and timeframe. It uses ATR for adaptive TP/SL, auto-scales based on