Indicator · Pine Script v5 · On the chart

Thrust Breakout Algorithm

by Tradehook-org

A Pine v5 script that looks for a price thrust followed by a pullback entry on the price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code110
Settings9inputs
LicenceNone stated
Last update8 months ago16 Feb 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

A thrust is a rate of change beyond a percent threshold. A pullback is price easing back toward a short EMA or by a small tolerance after the thrust bar, and an RSI level above or below 50 must confirm. Inputs include ATR-based stop and target multiples. It is declared as an indicator but contains strategy order calls.

Details

Published by

Tradehook-org on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Oscillators & momentum, Breakout

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
ROC Lengthinteger14rocLength
Thrust Threshold (%)float0.5thrustThreshold
Pullback MA Lengthinteger5pullbackMALength
Pullback Tolerance (%)float0.005pullbackTolerance
RSI Lengthinteger14rsiLength
RSI Confirmation Levelinteger50rsiConfirmLevel
ATR Lengthinteger20atrLength
Stop Loss Multiplier (ATR)float2.0slMultiplier
Take Profit Multiplier (ATR)float4.0tpMultiplier
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

Raschke Patterns

by TradersPost
228 stars

This overlay indicator marks Linda Raschke short-term bar setups on the price chart. It 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 c

Indicator v6 Candlestick patternsBreakout Repaints
Updated 3 months ago · None stated GitHub repository of Raschke Patterns
114 stars

This indicator identifies standard deviation breakout signals by comparing standard deviation against its simple moving average. A long signal triggers when standard deviation crosses above its moving average during a bullish candle, while a short signal occur

Indicator v4 Volatility & bandsBreakout Repaints
Updated 1 year ago · None stated GitHub repository of Stdev Breakout Strategy

Pattern Recognition [WavesUnchained] automatically identifies chart patterns including ascending, descending, and symmetrical triangles, rising and falling wedges, and parallel channels. It validates formations through multi-point pivot analysis, volume spike

Indicator v6 BreakoutSupport & resistance Repaints
Updated 2 days ago · MIT GitHub repository of Pattern Recognition [WavesUnchained]

GainzAlgo V2 Alpha

by Bakomebandias
8 stars

This overlay indicator scores breakouts of recent highs and lows against failed-breakout checks, EMA trend alignment, RSI momentum, and an ATR volatility band. It plots green buy and red sell labels when conditions pass a minimum score, and it prints ATR-based

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of GainzAlgo V2 Alpha

Target Radar

by eddiebelaval
7 stars

Target Radar is a multi-factor forecasting indicator that plots projection bands, forward boxes, and dynamic target zones directly on the main price chart. It calculates a forecast score by combining z-scores for trend, momentum, volume pressure, and volatilit

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Target Radar

Edge 59

by subos2008
6 stars

This indicator identifies trend-following breakout opportunities by combining directional movement, trend channels, and multi-period price extremes. It calculates an ADX-colored weighted moving average, a linear regression trend filter based on a volatility ch

Indicator v5 TrendBreakout
Updated 2 years ago · Custom licence GitHub repository of Edge 59

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