OPEN-SOURCE SCRIPT
Swing High Low Detector + 4 EMA (buy Coi)

Indicator Name: Swing High-Low Detector (Close-Confirmed) & 4 EMA Cross
Key Features:
Confirmed Swing Points: Identifies technical Swing Highs and Lows based on a user-defined strength (default: 5 bars). Unlike standard indicators, it requires a "Close Confirmation":
Swing High: The 5th bar after the peak must close below the peak bar's close.
Swing Low: The 5th bar after the valley must close above the valley bar's close.
Dynamic Support/Resistance: Automatically draws horizontal lines from swing points. Current active levels are thick/solid, while historical levels are thin/dotted.
Liquidity Sweep Option: Optional setting to automatically delete past levels once price breaks through them (sweeping liquidity).
4-EMA Trend Filter: Includes 8, 13, 21, and 55 EMAs.
Crossover Signals: Generates "B" (Buy) and "S" (Sell) labels when the shorter EMAs (8, 13, 21) cross above or below the 55 EMA baseline.
Key Features:
Confirmed Swing Points: Identifies technical Swing Highs and Lows based on a user-defined strength (default: 5 bars). Unlike standard indicators, it requires a "Close Confirmation":
Swing High: The 5th bar after the peak must close below the peak bar's close.
Swing Low: The 5th bar after the valley must close above the valley bar's close.
Dynamic Support/Resistance: Automatically draws horizontal lines from swing points. Current active levels are thick/solid, while historical levels are thin/dotted.
Liquidity Sweep Option: Optional setting to automatically delete past levels once price breaks through them (sweeping liquidity).
4-EMA Trend Filter: Includes 8, 13, 21, and 55 EMAs.
Crossover Signals: Generates "B" (Buy) and "S" (Sell) labels when the shorter EMAs (8, 13, 21) cross above or below the 55 EMA baseline.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.