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
Raschke Patterns flags Turtle Soup and Turtle Soup plus one false breakouts of a prior extreme, 80-20 bars, inside bars, failed inside-bar breakouts, outside up and down bars, NR4 and NR7 contractions, and unfilled-gap reversals. An ADX-and-EMA setup marks pullbacks to a moving average after a strong trend. Toggles, lookbacks, ATR width, ADX threshold, and EMA length control which patterns and drawings appear, including markers, boxes, swept levels, and a legend. Signals use the bar close and can change until that bar closes.
Turtle Soup and Turtle Soup plus one false-breakout markers
Inside bar, failed breakout, and NR4/NR7 contraction detection
ADX pullback to EMA after a strong trend
Boxes, swept-level lines, candle highlights, and legend
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Turtle Soup
bool
true
enTS
Turtle Soup +1
bool
true
enTSP
80-20 Bar
bool
true
en8020
Inside Bar
bool
true
enInside
FIB (failed inside bar)
bool
true
enFID
Outside Up/Down (ODUP/ODDN)
bool
true
enOD
NR4
bool
true
enNR4
NR7
bool
true
enNR7
Bar Gap Reversal
bool
true
enGap
Holy Grail
bool
true
enHG
Turtle Soup Lookback (bars)
int
20
tsLookback
Turtle Soup: require prior extreme is older
bool
true
tsRequireOld
Show all 37 settings
Setting
Type
Default
Variable
min bars since prior extreme
int
4
tsMinBarsAgo
80-20: require wide range
bool
true
wide8020
range > ATR x
float
1.5
wideMult
ATR Length
int
14
atrLen
Inside Bar: breakout buffer (% of box)
float
5.0
ibBreakBufPct
Gap: bars unfilled before reversal
int
3
gapLookback
Gap: max bars to track
int
15
gapMaxBars
Holy Grail: ADX/DI length
int
14
adxLen
Holy Grail: ADX threshold
float
30.0
adxThresh
Holy Grail: EMA length
int
20
emaLen
Show Markers
bool
true
showMarkers
Recolor Contraction Bars (NR/Inside)
bool
true
showCandleColor
Highlight Signal Bars (plotcandle)
bool
true
usePlotcandle
Show Boxes (inside / gap zones)
bool
true
showBoxes
Show Lines (swept levels)
bool
true
showLines
Show Holy Grail EMA
bool
true
showEMA
Show Legend
bool
true
showLegend
Legend Position
string
Top Right
legendPos
Monochrome (gray shades)
bool
false
monoMode
Bullish
color
#2962ff
bullColorIn
Bearish
color
#ff9800
bearColorIn
Contraction (NR4/NR7)
color
#4aa3a3
contractColorIn
Inside Bar
color
#574b90
insideColorIn
Fire alert() on any enabled pattern
bool
true
alertOn
Log events to Pine Logs
bool
true
logEvents
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.
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
Zen Z Bars V1 analyzes bar-by-bar price action, candle range expansion, and internal bar strength (IBS). It identifies breakouts, inside and outside bars, climax candles based on range expansion factors, and tiered range multiple bars. The indicator draws brea
This indicator identifies unusually large candles and high trading volume directly on the price chart. It checks whether the current bar range exceeds the maximum high-low range over a specified lookback period. If the range breaks the record with volume below
This indicator plots Squeeze Momentum in a separate pane. It compares Bollinger Bands with a Keltner Channel to mark a squeeze when the bands sit inside the channel. Momentum is a linear regression of price relative to a Donchian midline and an SMA, shown as a
Calculates the time elapsed between consecutive bars to measure market speed and volatility, designed primarily for Renko chart blocks where bar duration varies. In Momentum mode, it contrasts the current duration against a 100-period moving average baseline,
Candle Pressure & Response (JMA) evaluates price action dynamics by calculating bidirectional candle pressure, upper and lower wick rejection fractions, body efficiency, and range expansion metrics relative to ATR. Each output series is smoothed using a Jurik