OPEN-SOURCE SCRIPT

RSI+BOLLINGER (LONG & SHORT)

146
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。