Supertrend + Stochastic RSI

How It Works
The indicator integrates two technical components to produce actionable signals:
- Supertrend for Trend Direction:
The Supertrend, calculated with a default length of 10 and a factor of 3.0, identifies the prevailing trend. It plots a line above or below the price, turning green when the trend is bullish (price above Supertrend) and red when bearish (price below Supertrend). This helps traders stay aligned with the market’s direction, reducing trades against the trend.
- Stochastic RSI for Momentum Confirmation:
The Stochastic RSI, computed over a 14-period RSI with 3-period smoothing for %K and %D lines, measures momentum. A buy signal is generated when the %K line crosses above the oversold level (default: 20), indicating potential upward momentum, while a sell signal occurs when %K crosses below the overbought level (default: 80), suggesting downward momentum.
Signal Generation
Signals are produced only when both conditions align, using the previous bar’s values to prevent repainting:
- Buy Signal: The Stochastic RSI %K crosses above the oversold level, and the Supertrend confirms a bullish trend (price above Supertrend). Displayed as a green upward triangle below the bar.
- Sell Signal: The Stochastic RSI %K crosses below the overbought level, and the Supertrend confirms a bearish trend (price below Supertrend). Displayed as a red downward triangle above the bar.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Automate TradingView Alerts
tradingviewlink.com/invite?ref=aff_9eq2
🤖🤖🤖🤖
Disclaimer: TradingView Link (tradingviewlink.com) is an independent brand and is not affiliated with, endorsed by, or associated with TradingView.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Automate TradingView Alerts
tradingviewlink.com/invite?ref=aff_9eq2
🤖🤖🤖🤖
Disclaimer: TradingView Link (tradingviewlink.com) is an independent brand and is not affiliated with, endorsed by, or associated with TradingView.