OPEN-SOURCE SCRIPT

BB + RSI & Volume Filter

786
This script overlays three sets of technical filters on your price chart and generates signals when conditions align:

Bollinger Bands

Calculates upper, middle, and lower bands using either SMA or EMA.

Buy signal when price crosses up through the lower band.

Sell signal when price crosses down through the upper band.

Volume Filter

Computes a simple moving average of volume.

Ensures breakout moves have sufficient volume by requiring current volume > SMA(volume) × multiplier.

RSI Filter

Computes RSI on the chosen source.

Buy when RSI crosses above the oversold threshold.

Sell when RSI crosses below the overbought threshold.

Only plots RSI signals that pass the volume filter.

You get:

Bollinger entry/exit shapes (labeled “BB ↑/↓”).

RSI entry/exit shapes (labeled “RSI”) only when volume confirms the move.

Alerts for each signal type.

This combination reduces false breakouts by requiring both volatility (Bollinger) or momentum (RSI) and volume confirmation

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.