Qualifying candles are stored in a rolling buffer and drawn as price zones on the chart, limited to the most recent count. A side heatmap uses an aqua-to-teal gradient that can invert with candle color. Settings change ATR length, gap multiplier and cap, body size, buffer, zone count, heatmap size, and drawing tolerance. It overlays the price chart and does not place trades.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
base ATR length
int
16
key_gap_atr_len
ATR mult
float
2.618
key_gap_threshold
ATR upper cap
float
4.236
key_gap_cap
Min body percent
float
0.618
key_gap_body_percent
Buffer
int
512
key_gap_buffer
Visible range tolerance (for drawings)
float
0.1
key_gap_visible_range_tolerance
Heatmap offset
int
4
key_gap_heatmap_offset
Heatmap width (0 to disable)
int
6
key_gap_heatmap_width
Draw most recent gaps (0 to disable)
int
5
key_gap_zone_count
key_gap_gradient_low
color
color.new(color.aqua, 90)
key_gap_gradient_low
key_gap_gradient_high
color
color.new(color.teal, 85)
key_gap_gradient_high
Inverse gradient based on candle color
bool
true
key_gap_inverse_gradient
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 overlay indicator marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi
This indicator plots Donchian Channel boundary lines along with dynamic fan projections directly on the price chart. It calculates the highest high, lowest low, and median price over a customizable lookback period. Whenever price establishes a new channel high
This indicator plots a custom Anchored Volume-Weighted Average Price (VWAP) directly on the price chart along with optional standard deviation bands. Users can anchor the VWAP to standard time periods like sessions, weeks, or months, or to corporate events suc
This indicator plots optional candlestick pattern signals on the price chart. It detects engulfing bars, inside bars, HOLP and LOHP, kicker patterns, body-mass extremes, higher highs and lower lows, ATR warnings, and four-bar fractals. Optional pivot marks use
Dynamic Linear Regression calculates and plots linear regression trendlines and standard deviation channels directly on the price chart over a user-selected time period. Traders can configure static channels locked at the end time, dynamic channels that contin
This indicator overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I