OPEN-SOURCE SCRIPT

Rsi Long-Term Strategy [15min]

wielkieef tarafından
Güncellendi
Hello, I would like to present to you The "RSI Long-Term Strategy" for 15min tf

The "RSI Long-Term Strategy [15min]" is designed for traders who prefer a combination of momentum and trend-following techniques. The strategy focuses on entering long positions during significant market corrections within an overall uptrend, confirmed by both RSI and volume. The use of long-term SMAs ensures that trades are made in line with the broader market trend. The stop-loss feature provides risk management by limiting losses on trades that do not perform as expected. This strategy is particularly well-suited for longer-term traders who monitor 15-minute charts but look for substantial trend reversals or continuations.

Indicators and Parameters:

Relative Strength Index (RSI):
- The RSI is calculated using a 10-period length. It measures the magnitude of recent price changes to evaluate overbought or oversold conditions. The script defines oversold conditions when the RSI is at or below 30 and overbought conditions when the RSI is at or above 70.

Volume Condition:
-The strategy incorporates a volume condition where the current volume must be greater than 2.5 times the 20-period moving average of volume. This is used to confirm the strength of the price movement.

Simple Moving Averages (SMA):
- The strategy uses two SMAs: SMA1 with a length of 250 periods and SMA2 with a length of 500 periods. These SMAs help identify long-term trends and generate signals based on their crossover.

Strategy Logic:

Entry Logic:

A long position is initiated when all the following conditions are met:
The RSI indicates an oversold condition (RSI ≤ 30).
SMA1 is above SMA2, indicating an uptrend.
The volume condition is satisfied, confirming the strength of the signal.

Exit Logic:

The strategy closes the long position when SMA1 crosses under SMA2, signaling a potential end of the uptrend (a "Death Cross").

Stop-Loss:

A stop-loss is set at 5% below the entry price to manage risk and limit potential losses.

Buy and sell signals are highlighted with circles below or above bars:
Green Circle: Buy signal when RSI is oversold, SMA1 > SMA2, and the volume condition is met.
Red Circle: Sell signal when RSI is overbought, SMA1 < SMA2, and the volume condition is met.
Black Cross: "Death Cross" when SMA1 crosses under SMA2, indicating a potential bearish signal.

to determine the level of stop loss and target point I used a piece of code by RafaelZioni, here is the script from which a piece of code was taken
https://pl.tradingview.com/script/xGk5K4DE-BTC-15-min/

I hope the strategy will be helpful, as always, best regards and safe trades
;)
Sürüm Notları
update
Bitcoin (Cryptocurrency)botBTCbtcbotBTCUSDBTCUSDTcryptocryptobotPrice Volume Trend (PVT)Relative Strength Index (RSI)Simple Moving Average (SMA)
wielkieef

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname