by vedkanani123· code credited to Forex_Market_Insights
A price-chart indicator that detects swing structure, draws dynamic support and resistance zones from stored pivots, and issues signals only when a confidence percentage, a quality score and an ADX strength minimum are met.
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
Zone touches within a window, volume confirmation and a cooldown shape entries. Each signal draws a stop padded by ATR, targets at R multiples, and a trade box that can cancel on a trend flip before the first target. A dashboard summarises state.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Sensitivity (1 = slow, 10 = fast)
int
6
sens
Swing Length (structure pivots)
int
8
swingLen
ATR Length
int
14
atrLen
Use Volume Confirmation (if available)
bool
true
useVol
Zone Lookback (bars)
int
250
zoneLook
Zone Width (× ATR)
float
0.90
zoneW
Pivot Memory (levels stored)
int
30
zoneMem
Show Support Zone
bool
true
showSup
Show Resistance Zone
bool
true
showRes
Minimum Confidence % for Signal
int
70
confTh
Minimum Signal Quality Score
int
45
minQual
Minimum Trend Strength (ADX)
float
15
minAdx
Show all 39 settings
Setting
Type
Default
Variable
Zone Touch Window (bars)
int
6
touchWin
Signal Cooldown (bars)
int
12
coolDown
Stop Loss Padding (× ATR)
float
0.60
slPad
TP1 (R multiple)
float
1.0
tp1R
TP2 (R multiple)
float
2.0
tp2R
TP3 (R multiple)
float
3.0
tp3R
Final Target (R multiple)
float
4.5
tpFR
Cancel Trade on Trend Flip (before TP1)
bool
true
flipCncl
Trade Box Extension (bars)
int
18
extBars
Show Dashboard
bool
true
showDash
Dashboard Size
string
Medium
dashSize
Dashboard Position
string
Top Right
dashPos
Background
color
color.new(#0d1117, 12)
dashBg
Border
color
color.new(#3b4754, 0)
dashBrd
Text
color
color.new(#e6e9ef, 0)
dashTxt
Bullish Color
color
#089981
bullC
Bearish Color
color
#f23645
bearC
Neutral Color
color
#787b86
neutC
Target Box Color
color
#2962ff
tpC
Support Zone Color
color
#26a69a
supC
Resistance Zone Color
color
#ef5350
resC
Trade Line / Label Color
color
#9598a1
lineC
Zone Transparency
int
78
zoneTr
Show Structure Break Lines
bool
true
showBOSl
Show Adaptive Trend Line
bool
false
showTrLn
Trend Candle Coloring
bool
false
colorBar
Trend Background Tint
bool
false
bgPaint
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 overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona
Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi
Market Monitor - 1m is an overlay indicator designed for multi-chart monitoring and directional bias assessment. It plots a fast, mid, and slow EMA ribbon with a fill cloud, session VWAP with standard deviation bands, and previous day key levels. It evaluates
The Adaptive Trend Finder calculates logarithmic linear regression channels overlaid on the price chart. Operating on the most recent historical bar, it fits a log-transformed regression line and standard deviation bands. It evaluates linear correlation using
5 EMAs calculates and plots five Exponential Moving Averages derived from five configurable timeframes directly onto the main price chart. It also plots the high and low lines fetched from an additional custom timeframe, accompanied by a small on-screen table
Adaptive Supertrend is an overlay indicator that dynamically adjusts its Supertrend band width using a composite conviction score. Conviction is derived from ATR percentile ranking, trend force from EMA distance, and chop detection, narrowing the bands during