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
STA Breakout Companion - Human-in-the-Loop plots key moving averages, measures relative strength against a benchmark index like SPY, identifies pivot support and resistance levels, and evaluates breakout candle quality. The indicator detects candle patterns, supply rejection warnings, volume expansion, and ATR volatility contraction signals, presenting key findings in an on-screen decision checklist table to aid manual trade evaluation.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Pivot left bars
int
5
pivotLeft
Pivot right bars
int
5
pivotRight
Lookback bars for resistance/support
int
120
lookbackBars
Breakout buffer % above resistance
float
0.30
breakoutBufferPc
Near resistance zone %
float
2.00
nearLevelPc
Retest zone % around breakout level
float
1.00
retestPc
Volume average length
int
20
volLen
RVOL breakout confirmation
float
1.50
rvolConfirm
ATR length
int
14
atrLen
ATR average length
int
50
atrMaLen
ATR contraction ratio
float
0.85
atrTightRatio
Relative strength benchmark
symbol
SPY
rsSymbol
Show all 16 settings
Setting
Type
Default
Variable
Max extension from SMA50 %
float
12.0
maxExtFrom50Pc
Show decision checklist table
bool
true
showTable
Show support/resistance zones
bool
true
showZones
Show candle/supply warnings
bool
true
showWarnings
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
Sideway Zones Live is an overlay indicator that estimates inner and outer sideways bands from recent highs and lows with a rational quadratic kernel. It tracks swing pivots over a loopback period and counts bars that remain between the outer high and low. Afte
This indicator identifies High Of Low Price (HOLP) and Low Of High Price (LOHP) candlestick setups based on price extremes over a specified lookback period. A HOLP signal triggers when the current bar closes above the high of a recent session low, whereas a LO
Five-in-one Strategy combines five analytical tools into a single price chart overlay: the Dual Thrust Trading Algorithm (DTTA), Semafore, HalfTrend, Nick Rypock Trailing Reverse, and Tweezer or Kangaroo Tail candlestick patterns. It generates trade signals us
This indicator calculates dynamic upper and lower trendlines from pivot highs and pivot lows across a specified bar length. Trendline slopes are derived using ATR, standard deviation, or linear regression methods. It plots trendlines and breakout signal labels
Ghost Channels fits dynamic parallel trend channels over a configurable lookback window using linear regression or pivot swing methods. It layers confirmation signals onto the channel geometry, detecting candlestick pattern reactions at the rails, volume-confi