OPEN-SOURCE SCRIPT
BUY/SELL CROSS 1 WEEK SKIDD

What it does
SRSI prints candle-attached BUY/SELL labels when StochRSI %K crosses %D in either direction—no numeric thresholds. Labels are vertically ATR-adjustable so they’re visible without clutter. A continuous MACD direction line sits above price, turning green when MACD > Signal and red when MACD < Signal.
Why it helps
Keeps entries/exits simple: true crossovers only.
Uses higher-TF StochRSI (weekly by default) to cut noise.
Visual regime filter via the color-changing MACD line.
Labels stick to the candle and move with it—clean on any zoom.
How to use
For swing trading, leave StochRSI on Weekly and enable Only signal on confirmed bar.
Use the MACD line as a directional filter: prefer BUYs when the line is green, prefer SELLs when red.
Adjust Label Vertical Distance (ATR x) so labels clear long wicks and stay readable.
Inputs
StochRSI: RSI Length, Lookback, %K/%D smoothing, Calculation TF.
Confirmation: Only signal on confirmed bar.
Labels: Vertical Distance (ATR x), Size.
MACD: Fast/Slow/Signal, MACD TF, line positioning, vertical distance, width.
Alerts
BUY (StochRSI Cross Up) and SELL (StochRSI Cross Down) included.
Notes
If you switch Only signal on confirmed bar OFF, signals can appear intra-bar and may repaint before close—use with care.
This is not financial advice; test on multiple symbols/timeframes.
Optional “Change log” (for future updates)
v1.0 — Initial public release: candle-attached StochRSI BUY/SELL labels + MACD direction line; vertical ATR spacing; weekly StochRSI default.
SRSI prints candle-attached BUY/SELL labels when StochRSI %K crosses %D in either direction—no numeric thresholds. Labels are vertically ATR-adjustable so they’re visible without clutter. A continuous MACD direction line sits above price, turning green when MACD > Signal and red when MACD < Signal.
Why it helps
Keeps entries/exits simple: true crossovers only.
Uses higher-TF StochRSI (weekly by default) to cut noise.
Visual regime filter via the color-changing MACD line.
Labels stick to the candle and move with it—clean on any zoom.
How to use
For swing trading, leave StochRSI on Weekly and enable Only signal on confirmed bar.
Use the MACD line as a directional filter: prefer BUYs when the line is green, prefer SELLs when red.
Adjust Label Vertical Distance (ATR x) so labels clear long wicks and stay readable.
Inputs
StochRSI: RSI Length, Lookback, %K/%D smoothing, Calculation TF.
Confirmation: Only signal on confirmed bar.
Labels: Vertical Distance (ATR x), Size.
MACD: Fast/Slow/Signal, MACD TF, line positioning, vertical distance, width.
Alerts
BUY (StochRSI Cross Up) and SELL (StochRSI Cross Down) included.
Notes
If you switch Only signal on confirmed bar OFF, signals can appear intra-bar and may repaint before close—use with care.
This is not financial advice; test on multiple symbols/timeframes.
Optional “Change log” (for future updates)
v1.0 — Initial public release: candle-attached StochRSI BUY/SELL labels + MACD direction line; vertical ATR spacing; weekly StochRSI default.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。