OPEN-SOURCE SCRIPT
Telah dikemas kini 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!
Nota Keluaran
Better labeling on the J_Intradaytrade SS levels automatedNota Keluaran
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.Nota Keluaran
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.Nota Keluaran
Updated incorrect rendering on last candle of a move that did not also serve as the extreme low or high of the moveNota Keluaran
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 sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.