OPEN-SOURCE SCRIPT

BUY/SELL CROSS 1 WEEK SKIDD

147
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.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.