OPEN-SOURCE SCRIPT

My Custom Indicator

193
This script implements a simple yet effective RSI-based trading strategy. It uses the Relative Strength Index (RSI) to generate buy and exit signals based on overbought and oversold conditions.

How It Works:
Buy Entry: When RSI crosses above 30 (indicating recovery from an oversold state).

Exit: When RSI crosses below 70 (potential reversal from an overbought state).

Plots the RSI line and key thresholds (30/70) directly on the chart.

Designed for backtesting with TradingView’s strategy function.

Features:
Fully automated entry and exit logic

Customizable RSI settings (just edit the code)

Visual RSI plot and threshold lines

Works on any asset or timeframe

This strategy is suitable for trend-following or mean-reversion setups, and is best used in combination with other filters (like moving averages or price action patterns) for improved accuracy

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。