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. קרא עוד ב־תנאי השימוש.