Strategy · Pine Script v6 · On the chart

BTC RSI Momentum v25 (3-Tier TP, WR~70)

by Dnayaka

BTC RSI Momentum v25 is a momentum breakout strategy engineered for intraday Bitcoin perpetual contracts.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code238
Settings23inputs
LicenceNone stated
Last update3 months ago1 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 strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

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

BTC RSI Momentum v25 (3-Tier TP, WR~70) executes long or short entries when the Relative Strength Index breaches extreme threshold levels aligned with an EMA 200 trend filter, candle confirmation, and ATR volatility limits. An optional secondary sleeve enters on pullback continuations. Positions exit via a three-tier scaled take-profit schedule paired with a fixed percentage stop loss. Plotted directly on the price chart with target zones and signals, it is strictly calibrated for 15-minute BTC data.

Details

Published by

Dnayaka on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

Oscillators & momentum, Breakout, Trend, Moving averages

Markets

Crypto

Timeframes

M15-H1

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
OB Level (breakout long)float79.0ob_level
OS Level (breakout short)float23.0os_level
Gap (RSI pts beyond level)float3.0gap
RSI Periodint14rsi_len
Candle color confirmationbooltrueuse_candle
Use EMA200 filterbooltrueuse_ema
EMA200 buffer %float0.20ema_buf
Max ATR% (ceiling)float1.0max_atr
Min ATR% (floor)float0.2atr_floor
Min body ratiofloat0.3body_min
Min LONG distance above EMA200 % (base only)float1.5long_emadist
Stop Loss % (TETAP — jangan diubah)float1.9sl_pct
Show all 23 settings
SettingTypeDefaultVariable
Cooldown barsint6cooldown
TP1 % (jual porsi-1)float1.0tp1_pct
TP2 % (jual porsi-2)float1.5tp2_pct
TP3 % (jual sisa)float2.0tp3_pct
Close % di TP1float33f1_pct
Close % di TP2float33f2_pct
Pakai sleeve pullback-continuation (OFF = v18/v17)booltrueuse_pullback
Watch window W (bar setelah breakout)int28pb_window
Kedalaman pullback minimal % (retrace off peak)float1.0pb_depth
Garis TP1/TP2/TP3 & SLbooltrueshow_zones
Panah masuk (base + pullback)booltrueshow_arrows
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

ADA4H Optuna Strategy

by skywalker0803r
42 stars

This strategy trades longs and shorts on the price chart. Long entries require a close above the prior Donchian high, a close above a long-term SMA, and RSI above a threshold, with size set as a percentage of equity. Long exits use a stop at the prior Donchian

Strategy v5 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of ADA4H Optuna Strategy

Edge 59

by subos2008
6 stars

Edge 59 is a price-chart strategy that combines an ADX directional filter, a weighted moving average, and a trend-follower channel. The channel uses an exponential moving average of close, optionally smoothed by linear regression, and a percentage of a fixed 2

Strategy v5 TrendOscillators & momentum Repaints
Updated 2 years ago · Custom licence GitHub repository of Edge 59

AG Momentum Breakout

by eltonaguiar
4 stars

AG Momentum Breakout is a strategy that identifies continuation signals after pullbacks in trending markets. It filters for uptrends using EMAs and detects recent pullbacks via RSI conditions before entering on RSI crossovers above 50 with ADX confirmation. Th

Strategy v6 TrendOscillators & momentum
Updated today · None stated GitHub repository of AG Momentum Breakout
4 stars

Christian Qullamaggie Strategy is a trend-following and breakout strategy overlay designed to identify high-momentum trading opportunities directly on the price chart. It evaluates market conditions using fast, mid, and slow EMAs, average true range (ATR), and

Strategy v6 BreakoutTrend
Updated 7 months ago · None stated GitHub repository of Christian Qullamaggie Strategy

RSI-7 Breakout

by aofwittawat
4 stars

This strategy identifies breakout trades using a 7-period RSI combined with price extreme lookbacks. A long entry triggers when the RSI rises above 70 and price reaches a new lookback high, provided price remains above an optional EMA trend filter and passes a

Strategy v5 Oscillators & momentumBreakout
Updated 4 years ago · None stated GitHub repository of RSI-7 Breakout

RSI EMA Breakout

by latentwill
4 stars

This strategy trades momentum breakouts by combining an Exponential Moving Average with the Relative Strength Index. It enters a long position when the closing price is above the EMA and the RSI crosses above the breakout threshold. It enters a short position

Strategy v5 TrendOscillators & momentum
Updated 6 days ago · None stated GitHub repository of RSI EMA Breakout

More strategys

Trade Your Charts With a Regulated Broker

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

Compare brokers