OPEN-SOURCE SCRIPT
BUY/SELL/R/B

Buy/Sell/R/B by SeanKidd
Purpose: A clean, anchored signal system combining StochRSI crossovers, CVI top/bottom detection, and a MACD direction line that moves with price.
⚙️ How It Works
BUY / SELL – Generated from a higher-timeframe StochRSI crossover.
BUY (Green) → %K crosses above %D
SELL (Red) → %K crosses below %D
R (Reverse) – Yellow “R” appears above the candle when the CVI model detects a local top or exhaustion point.
B (Bottom) – Blue “B” appears below the candle when CVI detects a local bottom.
MACD Direction Line –
Green = MACD above Signal → bullish momentum
Red = MACD below Signal → bearish momentum
The line rides just above the candles, offset by ATR so it always tracks price.
🧭 How to Use It
Add the indicator:
Search for Buy/Sell/R/B by SeanKidd under Community Scripts.
Click ★ to favorite it.
Apply it to your chart.
Open ⚙️ Settings → Inputs
Calculation Timeframe (StochRSI) → pick how fast or slow you want signals (default Weekly).
MACD Line Offset (ATR ×) → raise or lower the MACD line if it overlaps candles.
Adjust Top/Bottom thresholds to control how often R/B appear.
Toggle Highlight bars or Color candles for visual clarity.
Go to Settings → Scales and ensure it’s set to
✅ “Scale with Price Chart” or
✅ same scale side as the candles.
This keeps everything perfectly attached to the chart.
Optional: Add alerts
Create → Alert → Condition → Buy/Sell/R/B by SeanKidd
Choose: SRSI BUY, SRSI SELL, Top (R), or Bottom (B).
📈 Reading the Chart
Marker Meaning Color Position
BUY StochRSI %K cross above %D Lime Below bar
SELL StochRSI %K cross below %D Red Above bar
R CVI-detected top / reversal Yellow Above bar
B CVI-detected bottom Blue Below bar
Line MACD momentum direction Green/Red Above highs
💡 Tips
Works on any symbol or timeframe.
Slower charts (Daily–Weekly) give cleaner swing signals.
Faster charts (15m–1h) show short-term reversals.
Combine the MACD line direction with BUY/SELL for stronger confirmation.
Purpose: A clean, anchored signal system combining StochRSI crossovers, CVI top/bottom detection, and a MACD direction line that moves with price.
⚙️ How It Works
BUY / SELL – Generated from a higher-timeframe StochRSI crossover.
BUY (Green) → %K crosses above %D
SELL (Red) → %K crosses below %D
R (Reverse) – Yellow “R” appears above the candle when the CVI model detects a local top or exhaustion point.
B (Bottom) – Blue “B” appears below the candle when CVI detects a local bottom.
MACD Direction Line –
Green = MACD above Signal → bullish momentum
Red = MACD below Signal → bearish momentum
The line rides just above the candles, offset by ATR so it always tracks price.
🧭 How to Use It
Add the indicator:
Search for Buy/Sell/R/B by SeanKidd under Community Scripts.
Click ★ to favorite it.
Apply it to your chart.
Open ⚙️ Settings → Inputs
Calculation Timeframe (StochRSI) → pick how fast or slow you want signals (default Weekly).
MACD Line Offset (ATR ×) → raise or lower the MACD line if it overlaps candles.
Adjust Top/Bottom thresholds to control how often R/B appear.
Toggle Highlight bars or Color candles for visual clarity.
Go to Settings → Scales and ensure it’s set to
✅ “Scale with Price Chart” or
✅ same scale side as the candles.
This keeps everything perfectly attached to the chart.
Optional: Add alerts
Create → Alert → Condition → Buy/Sell/R/B by SeanKidd
Choose: SRSI BUY, SRSI SELL, Top (R), or Bottom (B).
📈 Reading the Chart
Marker Meaning Color Position
BUY StochRSI %K cross above %D Lime Below bar
SELL StochRSI %K cross below %D Red Above bar
R CVI-detected top / reversal Yellow Above bar
B CVI-detected bottom Blue Below bar
Line MACD momentum direction Green/Red Above highs
💡 Tips
Works on any symbol or timeframe.
Slower charts (Daily–Weekly) give cleaner swing signals.
Faster charts (15m–1h) show short-term reversals.
Combine the MACD line direction with BUY/SELL for stronger confirmation.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.