NEWCard payments are live · from $18/month, USDT also acceptedSee plans
COINPRED / STRATEGY LIBRARY

Bitcoin RSI Volume Trend Strategy: Purchase Zone Filter and TradingView Setup

Open-source (MPL 2.0) YinYangAlgorithms RSI+volume purchase-zone strategy: entries/exits, defaults, author BTCUSDT 15m charts, and setup steps. No invented backtest stats.

Illustrated guidesPine Script®Included with monthly & annual plans
← All strategies
YinYangAlgorithms · 1.0 · 2026-10-29 · Trend following
Bitcoin RSI Volume Trend Strategy: Purchase Zone Filter and TradingView Setup

What problem this strategy targets

RSI extremes alone often whipsaw in trends. YinYang RSI Volume Trend Strategy builds a purchase zone from RSI and volume RSI: trades are considered when price leaves the zone, with optional stop-loss and a “cross the basis twice” take-profit filter.

It is a Pine Script v5 strategy() script, not an indicator(). The Strategy Tester can run it; Coinpred has not backtested it.

Author chart of RSI volume trend signals on BTCUSDT 15m
Author showcase: BINANCE:BTCUSDT, 15m. From the publication page. Appearance only — not a Coinpred backtest.

Logic overview

The script computes RSI(close, length) and an RSI on volume, combines them into purchaseZoneBasis, then purchaseZoneHigh/Low. Default Trend Length is 80.

Longs arm after price crosses under the lower band, then fire on a crossover back above it while longAvailable is true. Shorts are symmetric on the upper band. Exit Source drives exits, stops, and take-profit.

Entries

  • Long: purchaseSrc crosses over purchaseZoneLow with longAvailable → strategy.entry("buy", strategy.long).
  • Short: purchaseSrc crosses under purchaseZoneHigh with shortAvailable → strategy.entry("sell", strategy.short).
  • Availability resets per Reset Purchase Availability After: Entry, Stop Loss, or None.

Exits, stops, take-profit, sizing

  • Normal exit: long closes when exitSrc crosses over the upper band; short when it crosses under the lower band.
  • Optional stop: Stoploss Multiplier % offsets beyond the zone; a touch flatters the trade.
  • Optional take-profit: after crossing the basis to arm, a second opposing cross takes profit.
  • Sizing uses the strategy defaults (no custom percent-of-equity inputs in this script).
Author showcase of purchase zone and signals
Author showcase: BINANCE:BTCUSDT, 15m. Defaults are those in the source.

Parameters (source defaults)

InputDefaultRole
Trend Length80Lookback for RSI/volume band
Purchase SourcecloseSource for zone entry tests
Exit SourcecloseSource for exits/stops/TP
Use Take ProfittrueEnable basis double-cross TP
Use Stop LosstrueEnable percent stop
Stoploss Multiplier %0.1Stop offset vs the zone
Reset Purchase Availability AfterEntryWhen availability resets
Author showcase related to stops or take-profit
Author showcase: BINANCE:BTCUSDT, 15m. Fill quality not independently verified.

Markets, timeframes, limits

  • Author showcase: BINANCE:BTCUSDT, 15 minutes. Other markets need your own checks.
  • Repaint: not specially tested by Coinpred.
  • No external Pine library imports; no request.security.
  • Includes an alert() template you must configure yourself.
Another author BTC 15m showcase chart
Author showcase: BINANCE:BTCUSDT, 15m. UI reference only.

TradingView setup guide

  1. Download the .pine file from Coinpred (membership required; see below) or compare with the original publication page.
  2. Open TradingView → Pine Editor, create a blank script, paste the full source, then save.
  3. Click Add to chart. Confirm it is a strategy() script so the Strategy Tester is available.
  4. Review defaults in the Inputs panel using the parameter table below, then tune for your symbol and timeframe.
  5. Inspect signals in the Strategy Tester before wiring alerts. Historical curves are not a promise of future results.

Verification and backtests

Download rights and version notes

  • Author: YinYangAlgorithms; original title: YinYang RSI Volume Trend Strategy; version: 1.0 (pine-facade).
  • License: MPL 2.0; Coinpred ships the unmodified full source file.
  • Original page: https://www.tradingview.com/script/cO34DTxx-YinYang-RSI-Volume-Trend-Strategy/
  • Pine version: v5; type: strategy().
  • Charts are author showcase images; image rights are outside MPL and captions are labeled accordingly.
  • Downloads follow Coinpred membership rules; modified source files must remain under MPL 2.0.

Source, license and version

Mozilla Public License 2.0 (MPL 2.0),© YinYangAlgorithms。Mozilla Public License 2.0 (MPL 2.0),依据原脚本源码许可声明。再分发须保留原版权与许可声明;如修改源码文件,修改后的文件仍须按 MPL 2.0 提供。Coinpred 未修改源码。 / Licensed under MPL 2.0 per the source header. Redistribution must keep copyright and license notices; modified files must remain under MPL 2.0. Coinpred ships the unmodified source.

View original source ↗

Check the script license and your TradingView account features. Historical results do not guarantee future performance.