The "Fetch Stoch RSI Swing Buy and Sell" script is a custom trading indicator built in Pine Script for TradingView. It leverages the Stochastic RSI to generate both buy and sell signals based on user-defined thresholds for overbought and oversold conditions.
Key Features: 1: Stochastic RSI Calculation: - The script uses the Stochastic RSI indicator, a momentum oscillator that measures the relative strength index (RSI) against its high-low range over a specific period. - The %K and %D lines of the Stochastic RSI are smoothed using moving averages to help refine the signals.
2: Oversold Buy Signals: - A buy signal is triggered when both the Stochastic RSI %K and %D values drop below a user-defined oversold level (default 20). - The script tracks the number of dips below the oversold threshold and fires a buy signal after a specified number of dips (default 10). - When the buy condition is met, a green upward triangle is plotted below the candle, and an alert is triggered.
3: Overbought Sell Signals:
- A sell signal is generated when the Stochastic RSI %K and %D exceed a user-defined overbought level (default 80). - Similar to the buy condition, the script counts the number of tops above the overbought level and triggers a sell signal after a specific number of tops (default 10). When the sell condition is met, a red downward triangle is plotted above the candle, and an alert is triggered.
This script is particularly useful for swing traders looking to capitalize on short-term reversals in the market, as it helps to identify potential entry and exit points based on momentum shifts.
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.