SuperTrend + RSI & MA Signals by HillolSuperTrend + RSI/MA Cross Signals
Overview
This is a trend-following confirmation indicator that plots directly on the main price chart. It combines the trend-detecting power of the SuperTrend with the momentum confirmation of the Relative Strength Index (RSI) and its Moving Average. Instead of cluttering your chart with lines, it runs the calculations in the background and prints clean "BUY" and "SELL" labels when all conditions align.
How the Signals Work
The script looks for a shift in the primary trend, but filters out false breakouts by requiring momentum confirmation from the RSI.
Buy Signal: Fires when the SuperTrend flips from Bearish to Bullish (Red to Green) AND the RSI is currently trading above its Moving Average.
Sell Signal: Fires when the SuperTrend flips from Bullish to Bearish (Green to Red) AND the RSI is currently trading below its Moving Average.
Settings Breakdown
1. SuperTrend Settings
ATR Length (Default: 10): The lookback period for the Average True Range. Higher numbers make the indicator less sensitive to recent price spikes.
Factor (Default: 3.0): The multiplier for the ATR. A higher factor keeps you in trades longer but triggers signals later. A lower factor triggers earlier but may cause "whipsaws" (false signals).
2. RSI & RSI MA Settings
RSI Length (Default: 14): The lookback period for calculating the RSI.
RSI Source (Default: Close): The price point used for the calculation.
RSI MA Length (Default: 14): The lookback period for the Moving Average applied to the RSI.
RSI MA Type (SMA vs EMA): Choose whether the RSI's average is a Simple Moving Average (smoother, slower) or an Exponential Moving Average (reacts faster to recent momentum changes).
3. Signal Logic Settings
Require ST Flip & RSI Cross on the EXACT same candle? (Default: Unchecked)
Unchecked (Recommended): The script fires a signal if the SuperTrend flips green and the RSI is already above its MA. This is the most practical setting, as trend flips and momentum crosses rarely occur on the exact same tick.
Checked (Strict): The script will ONLY fire a signal if the SuperTrend flips direction and the RSI crosses its MA on the exact same candle. This is highly restrictive and will result in very few signals.
Best Practices for Use
Because this indicator relies on the SuperTrend, it performs best in trending markets. During ranging or sideways markets, the SuperTrend may flip back and forth rapidly. The RSI MA condition is built in to filter out some of this "chop," ensuring you only enter trades when momentum supports the new trend direction.
Pine Script® göstergesi






















