1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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
Trend Areas - Support/Resistance identifies reversal patterns using candlestick spikes, pivot points, and trend analysis while applying noise filtering for small candles. Areas get shaded with customizable colors and can be filtered by width via ATR, fixed pips, or statistical methods. When price breaks through an area it deletes it automatically. Settings control colors, display filter mode, maximum areas, width thresholds, and volatility-based filtering. The script draws filled areas directly on the chart without a separate pane.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Support Area Color (Red)
color
color.new(color.red, 80)
support_color
Resistance Area Color (Green)
color
color.new(color.green, 80)
resistance_color
Support Border Color
color
color.red
support_border
Resistance Border Color
color
color.green
resistance_border
Area Display Filter
string
SOLO_VISIBILI
area_display_filter
Area Filter Mode
string
STD
area_filter_mode
Maximum Areas to Display
int
30
max_areas
Area Width Filter Mode
string
ATR
area_width_mode
Min Area Width (Pips)
float
0.0
min_area_width_fixed
Min Area Width (ATR %)
float
50.0
min_area_width_atr_mult
Area Width Percentile
float
15.0
area_width_percentile
Filter Mode
string
ATR Filter
filter_mode
Show all 16 settings
Setting
Type
Default
Variable
ATR Period
int
14
atr_period
ATR Multiplier
float
1.0
atr_multiplier
Hybrid Percentage (%)
float
0.15
hybrid_percentage
Legacy Noise Filter (%)
float
10.0
legacy_noise_threshold
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 detects inside candles inside larger parent candles on the price chart. It plots colored boxes around inside and parent candles, fills them with user-adjustable transparency, draws Fibonacci retracement lines and mother candle range lines, and d
This overlay indicator marks bullish and bearish chart patterns on the price chart and can hide either side. Optional filters require agreement from fast and slow EMAs, Supertrend, and ADX, plus volume, RSI, nearby pivot support or resistance, and a user-defin
This overlay indicator detects tweezer tops and bottoms and kangaroo-tail pin bars, then draws supply and demand zones from those patterns. It scores each zone, decays freshness, merges overlapping zones, and can invalidate a zone after a close-through or afte
This indicator plots Smart Money Concepts and price action components directly on the price chart. It highlights bullish and bearish order blocks, multi-timeframe pivot points, market structure swings with key Fibonacci retracement levels (0.618 and 0.786), zo
This indicator implements Rob Smith's TheStrat price action methodology across up to six configurable timeframes. It classifies candles into inside, directional, and outside bars, identifies patterns like hammers, shooters, and failed 2s, and calculates magnit
Hercules Rewrite is a signal and visual trade management indicator that overlays entry setups directly on the price chart. It detects candle setups based on minimum tick movement and engulfing patterns, filtering entries through parameters like moving averages