OPEN-SOURCE SCRIPT
Diupdate Colby's SS Finder

For people using J_Intradaytrade's Shit Show model, here is my version of a finder. I use his method for my swing locations, I don't fully trade his way, but I find great application in these levels. In particular, I'm not going short with 2 or 3 SS levels just above me. I hope you find use in this!
Catatan Rilis
Better labeling on the J_Intradaytrade SS levels automatedCatatan Rilis
v2.0 — Refined detection logic. Added HH/LL confirmation so only impulsive swing sequences qualify. Improved duplicate filtering using price proximity instead of exact bar match. Swept levels now preserved as historical segments rather than deleted. Pattern pending queue uses P1 break for activation and P2 breach for invalidation.Catatan Rilis
Cleaned up the logic considerbly. Also, re-integrated deprecated levels that have been taken (faded, dashed) so they don't get in the way of the live SS levels still on the chart.Catatan Rilis
Updated incorrect rendering on last candle of a move that did not also serve as the extreme low or high of the moveCatatan Rilis
v5.0 — Rewritten detection logic based on explicit #1/#2/#3 swing confirmation model.Direction (UP/DOWN) now switches only on x-2 bars (strict HH+HL or LL+LH vs prior bar). Inside/outside bars are ignored — direction persists through them.
A swing is the extreme of a segment between two opposite-direction reversals. Each swing is classified vs the most recent same-type swing: HH/LL if it sweeps the prior extreme by 1+ tick, otherwise LH/HL.
An SS level forms only when two CONSECUTIVE qualifying swings appear in opposite directions:
• (LL, HH) → Sell-side (orange) candidate, drawn at the HH
• (HH, LL) → Buy-side (cyan) candidate, drawn at the LL
A non-qualifying intermediate swing silently invalidates the setup.
The SS line is drawn the moment price wicks 1+ tick past #1 (#3 confirmation — no reversal required, wick is sufficient). If price wicks past #2 in the #1→#2 direction before #3 fires, the candidate is killed.
Swept levels are preserved on-chart as dashed/faded history for context.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.