OPEN-SOURCE SCRIPT
Buy/Sell Signal - Advanced v2

The Buy/Sell Signal – Advanced v2 indicator is a powerful tool designed for traders who seek more reliable and filtered entries. This indicator combines classic technical analysis with modern enhancements to reduce noise and false signals. It generates Buy signals when a bullish candle closes above the 14-period Simple Moving Average (SMA), the RSI is below the oversold threshold (default: 30), and trading volume is higher than the 20-period average—indicating strong momentum and potential reversal from a discounted price zone. Conversely, a Sell signal appears when a bearish candle closes below the SMA, RSI is above the overbought level (default: 70), and volume exceeds its average—signaling potential weakness after a price rally.
In addition to entry signals, the indicator automatically plots dynamic support and resistance levels using pivot highs and lows. These levels help traders identify key zones for confirmation, breakout, or rejection. The SMA provides trend direction context, while the volume and RSI filters act as safeguards to avoid trading in low-quality conditions.
Ideal for scalpers and intraday traders on 5-minute to 1-hour timeframes, this indicator helps capture trend continuations and early reversals with confidence. For best results, use the signals in conjunction with multi-timeframe analysis and price action confirmation. This tool is especially effective on assets like XAUUSD, forex pairs, and indices.
In addition to entry signals, the indicator automatically plots dynamic support and resistance levels using pivot highs and lows. These levels help traders identify key zones for confirmation, breakout, or rejection. The SMA provides trend direction context, while the volume and RSI filters act as safeguards to avoid trading in low-quality conditions.
Ideal for scalpers and intraday traders on 5-minute to 1-hour timeframes, this indicator helps capture trend continuations and early reversals with confidence. For best results, use the signals in conjunction with multi-timeframe analysis and price action confirmation. This tool is especially effective on assets like XAUUSD, forex pairs, and indices.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.