OPEN-SOURCE SCRIPT
已更新 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!
發行說明
Better labeling on the J_Intradaytrade SS levels automated發行說明
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.發行說明
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.發行說明
Updated incorrect rendering on last candle of a move that did not also serve as the extreme low or high of the move發行說明
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.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。