OPEN-SOURCE SCRIPT

RSI+BOLLINGER (LONG & SHORT)

15 025
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.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。