OPEN-SOURCE SCRIPT

RSI+BOLLINGER (LONG & SHORT)

181
This indicator combines two of the most popular tools in technical analysis, the Relative Strength Index (RSI) and Bollinger Bands (BB), to generate both long (BUY) and short (SELL) trading signals.

Strategy:

Entries (Buy/Short): Entry signals are based on the RSI.

A BUY is suggested when the RSI crosses above an oversold level (default: 29), indicating a possible upward reversal.

A SHORT is suggested when the RSI crosses below an overbought level (default: 71), indicating a possible downward reversal.

Exits (Position Closure): Exit signals are based on Bollinger Bands.

A long position is closed when the price crosses below the upper Bollinger Band.

A short position is closed when the price crosses above the lower Bollinger Band.

Key Features:

Cascade Filter: Includes a smart filter that prevents opening new consecutive trades if the price hasn't moved significantly in favor of a new entry, optimizing signal quality.

Automation Alerts: Generates detailed alerts in JSON format for each event (buy, sell, close), designed for easy integration with trading bots and automated systems via webhooks.

Fully Configurable: All parameters of the RSI, Bollinger Bands, and strategy filters can be adjusted from the indicator’s settings menu.

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.