OPEN-SOURCE SCRIPT

BUY/SELL CROSS 1 WEEK SKIDD

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

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.