OPEN-SOURCE SCRIPT
Buy/Sell Signal (KenshinC)

### Buy/Sell Signal (KenshinC)
This custom indicator helps traders identify potential BUY and SELL opportunities by combining:
- Two independent RSI calculations (one from Low, one from High)
- 3-bar price action patterns
- Long-term and short-term Moving Average trend filters
---
### KEY FEATURES
- Dual Separate RSI System (Buy RSI on Low + Sell RSI on High)
- 3 Consecutive Bars Momentum Confirmation
- Dynamic MA Threshold Filters
- Clean visual plots (EMA 5/10/20, SMA 50/200, Long & Short MA)
- Real-time Information Table
- Built-in Alert Conditions
---
### HOW TO USE
**1. Adding the Indicator**
1. Open your chart on TradingView
2. Click "Indicators" → Search "Buy/Sell Signal (KenshinC)"
3. Add to chart
**2. Main Settings**
**RSI Buy Settings**
- RSI Buy Source: Low (default)
- RSI Buy Length: 14
- RSI Buy Level: 15.0 (Buy when below this)
**RSI Sell Settings**
- RSI Sell Source: High (default)
- RSI Sell Length: 14
- RSI Sell Level: 80.0 (Sell when above this)
**Trend Filter**
- MA Long-term (Buy Filter): 365 periods
- % Below MA Long-term for Buy: 10%
- MA Short-term (Sell Filter): 32 periods
- % Above MA Short-term for Sell: 70%
**Display Settings**
- Show Table: On/Off
- Table Position: Top Right, Top Left, etc.
---
### SIGNAL CONDITIONS
**BUY Signal** (Large Green Triangle)
All conditions must be true:
- 3 consecutive down bars
- RSI Buy < Buy Level
- Price < Long-term MA by at least X%
- Price < Short-term MA
**SELL Signal** (Large Red Triangle)
All conditions must be true:
- 3 consecutive up bars
- RSI Sell > Sell Level
- Price > Short-term MA by at least X%
- Price > Long-term MA
---
### RECOMMENDED USAGE
- Best performance on higher timeframes (1H, 4H, Daily, Weekly)
- Use together with support/resistance and volume
- Always wait for candle close before entering
- Enable alerts for real-time notification
- Monitor the information table to check signal readiness
---
### IMPORTANT DISCLAIMER
**This indicator is for educational and entertainment purposes only.**
It is **NOT** financial advice, investment recommendation, or trading advice.
Past performance does not guarantee future results.
Trading carries a high level of risk and you may lose all your capital.
Always conduct your own research and consult a professional financial advisor before making any trading decisions.
---
**Created by KenshinC**
This custom indicator helps traders identify potential BUY and SELL opportunities by combining:
- Two independent RSI calculations (one from Low, one from High)
- 3-bar price action patterns
- Long-term and short-term Moving Average trend filters
---
### KEY FEATURES
- Dual Separate RSI System (Buy RSI on Low + Sell RSI on High)
- 3 Consecutive Bars Momentum Confirmation
- Dynamic MA Threshold Filters
- Clean visual plots (EMA 5/10/20, SMA 50/200, Long & Short MA)
- Real-time Information Table
- Built-in Alert Conditions
---
### HOW TO USE
**1. Adding the Indicator**
1. Open your chart on TradingView
2. Click "Indicators" → Search "Buy/Sell Signal (KenshinC)"
3. Add to chart
**2. Main Settings**
**RSI Buy Settings**
- RSI Buy Source: Low (default)
- RSI Buy Length: 14
- RSI Buy Level: 15.0 (Buy when below this)
**RSI Sell Settings**
- RSI Sell Source: High (default)
- RSI Sell Length: 14
- RSI Sell Level: 80.0 (Sell when above this)
**Trend Filter**
- MA Long-term (Buy Filter): 365 periods
- % Below MA Long-term for Buy: 10%
- MA Short-term (Sell Filter): 32 periods
- % Above MA Short-term for Sell: 70%
**Display Settings**
- Show Table: On/Off
- Table Position: Top Right, Top Left, etc.
---
### SIGNAL CONDITIONS
**BUY Signal** (Large Green Triangle)
All conditions must be true:
- 3 consecutive down bars
- RSI Buy < Buy Level
- Price < Long-term MA by at least X%
- Price < Short-term MA
**SELL Signal** (Large Red Triangle)
All conditions must be true:
- 3 consecutive up bars
- RSI Sell > Sell Level
- Price > Short-term MA by at least X%
- Price > Long-term MA
---
### RECOMMENDED USAGE
- Best performance on higher timeframes (1H, 4H, Daily, Weekly)
- Use together with support/resistance and volume
- Always wait for candle close before entering
- Enable alerts for real-time notification
- Monitor the information table to check signal readiness
---
### IMPORTANT DISCLAIMER
**This indicator is for educational and entertainment purposes only.**
It is **NOT** financial advice, investment recommendation, or trading advice.
Past performance does not guarantee future results.
Trading carries a high level of risk and you may lose all your capital.
Always conduct your own research and consult a professional financial advisor before making any trading decisions.
---
**Created by KenshinC**
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Made with passion by KenshinC
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Made with passion by KenshinC
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.