Indicator · Pine Script v6 · On the chart

Raschke Patterns

by TradersPost

This overlay indicator marks Linda Raschke short-term bar setups on the price chart.

View on GitHub

Repaints

GitHub stars218on the repository
Pine versionv6current
Lines of code506
Settings37inputs
LicenceNone stated
Last update3 months ago23 Jul 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

TradersPost on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Candlestick patterns, Breakout, Volatility & bands, Oscillators & momentum

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Turtle SoupbooltrueenTS
Turtle Soup +1booltrueenTSP
80-20 Barbooltrueen8020
Inside BarbooltrueenInside
FIB (failed inside bar)booltrueenFID
Outside Up/Down (ODUP/ODDN)booltrueenOD
NR4booltrueenNR4
NR7booltrueenNR7
Bar Gap ReversalbooltrueenGap
Holy GrailbooltrueenHG
Turtle Soup Lookback (bars)int20tsLookback
Turtle Soup: require prior extreme is olderbooltruetsRequireOld
Show all 37 settings
SettingTypeDefaultVariable
min bars since prior extremeint4tsMinBarsAgo
80-20: require wide rangebooltruewide8020
range > ATR xfloat1.5wideMult
ATR Lengthint14atrLen
Inside Bar: breakout buffer (% of box)float5.0ibBreakBufPct
Gap: bars unfilled before reversalint3gapLookback
Gap: max bars to trackint15gapMaxBars
Holy Grail: ADX/DI lengthint14adxLen
Holy Grail: ADX thresholdfloat30.0adxThresh
Holy Grail: EMA lengthint20emaLen
Show MarkersbooltrueshowMarkers
Recolor Contraction Bars (NR/Inside)booltrueshowCandleColor
Highlight Signal Bars (plotcandle)booltrueusePlotcandle
Show Boxes (inside / gap zones)booltrueshowBoxes
Show Lines (swept levels)booltrueshowLines
Show Holy Grail EMAbooltrueshowEMA
Show LegendbooltrueshowLegend
Legend PositionstringTop RightlegendPos
Monochrome (gray shades)boolfalsemonoMode
Bullishcolor#2962ffbullColorIn
Bearishcolor#ff9800bearColorIn
Contraction (NR4/NR7)color#4aa3a3contractColorIn
Inside Barcolor#574b90insideColorIn
Fire alert() on any enabled patternbooltruealertOn
Log events to Pine LogsbooltruelogEvents
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.

Similar Pine Scripts

Five-in-one Strategy

by capissimo
114 stars

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

Indicator v4 TrendBreakout Repaints
Updated 1 year ago · None stated GitHub repository of Five-in-one Strategy

Zen Z Bars V1

by Zen-Tim
29 stars

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

Indicator v5 Candlestick patternsBreakout
Updated 2 weeks ago · MIT GitHub repository of Zen Z Bars V1

Squeeze Momentum

by mihakralj
99 stars

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

Indicator v6 Volatility & bandsOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Squeeze Momentum

Renko Acceleration

by f-cksociety
11 stars

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,

Indicator v4 Volatility & bandsOscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of Renko Acceleration

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

Indicator v6 Candlestick patternsVolatility & bands
Updated yesterday · MIT GitHub repository of Candle Pressure & Response (JMA)

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers