This indicator plugin for grid trading systems calculates dynamic upper, middle, and lower channel boundaries based on historical highest highs and lowest lows.
Users can adjust the lookback period, toggle candle wicks, apply moving average smoothing, add price offsets, and enforce minimum or maximum channel width limits. It includes multi-timeframe security options to fetch levels across higher timeframes without repainting. Plotted in a separate chart pane alongside price candles, it provides visual grid boundary references for grid trading automated setups.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
500
length
Include wick
bool
true
wick
Offset
float
1
offset
Smoothness
int
1
smooth
Min width
float
0
width_min
Max width
float
99999
width_max
Wait for confirm
bool
true
tf_confirmation_wait
No repaint
bool
true
tf_no_repaint_security
Lookahead
bool
false
tf_barmerge_lookahead
Gaps
bool
false
tf_barmerge_gaps
Type
string
Static
tf_type
Static
timeframe
tf_static
Show all 14 settings
Setting
Type
Default
Variable
Custom
int
1
Custom
Candles color
color
color.black
price_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 script plots multiple shapes using the plotshape function in Pine Script v4. It defines fixed y offsets at intervals of 20 and renders flags, squares, diamonds, triangles up, and circles in sizes from tiny to huge. All shapes appear at absolute locations
This script defines a helper function to generate colors via triangular interpolation using TradingView's color.from_gradient. The function blends between minimum, mid, and maximum color points based on an input value. It applies the function to the RSI indica
This indicator combines a scaled Forecast Oscillator with a Point of Force state detector. The Forecast Oscillator calculates the percentage deviation of price from its linear regression curve and normalizes the output between 0 and 1, plotting a line in a sep
Rolling Minimum Index calculates and plots the bar offset to the lowest closing price over a user-defined lookback window using Pine Script's built-in lowestbars function. Plotted in a separate indicator pane, it outputs a negative integer representing how man
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
BTC Multiples calculates and displays Bitcoin macro valuation metrics in a separate pane, including the Mayer Multiple, Stock-to-Flow Multiple, Difficulty Multiple, and Puell Multiple. Each valuation multiple features configurable overvalued and undervalued th