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**
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
Made with passion by KenshinC
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
Made with passion by KenshinC
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。