OPEN-SOURCE SCRIPT

Rsi Long-Term Strategy [15min]

wielkieef의
업데이트됨
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
;)
릴리즈 노트
update
Bitcoin (Cryptocurrency)botBTCbtcbotBTCUSDBTCUSDTcryptocryptobotPrice Volume Trend (PVT)Relative Strength Index (RSI)Simple Moving Average (SMA)
wielkieef

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항