OPEN-SOURCE SCRIPT
3 Line Strike [TTF] mit EMA 50

This script is an updated, highly optimized Pine Script v6 version of the classic 3-Line Strike overlay, specifically tailored for trend continuation strategies. It filters out low-probability counter-trend setups by introducing a strict 50 Exponential Moving Average (EMA) body filter.
Key Features:
3-Line Strike Identification: Automatically spots the 4-candle continuation pattern (3 consecutive bearish/bullish candles followed by a powerful opposite-colored engulfing candle).
Strict 50 EMA Body Filter: To ensure you only trade in the direction of the macro trend, Bullish signals will only trigger if the entire candle body (both Open and Close) is completely above the 50 EMA. Conversely, Bearish signals will only trigger if the entire candle body is completely below the 50 EMA.
Standalone Engulfing Signals: Includes an optional toggle to track "Big A$$" Engulfing candles independently, which are also bound to the 50 EMA filter rules.
Fully Customizable Visuals: Switch between standard professional chart shapes or toggle Arty’s classic custom meme icons (🍆/🍑) for a more casual charting experience.
Pine Script v6 Native Alerts: Fully optimized for TradingView's modern dynamic alert engine (alert()), configured to trigger reliably on bar close to avoid repainting issues.
How to Trade It:
This indicator is best utilized as a trend-continuation signal at the end of a brief retracement period. When the market is in a healthy trend (above or below the 50 EMA) and a 3-Line Strike forms, it often signals that the temporary pullback has exhausted itself and the primary trend is ready to resume.
Key Features:
3-Line Strike Identification: Automatically spots the 4-candle continuation pattern (3 consecutive bearish/bullish candles followed by a powerful opposite-colored engulfing candle).
Strict 50 EMA Body Filter: To ensure you only trade in the direction of the macro trend, Bullish signals will only trigger if the entire candle body (both Open and Close) is completely above the 50 EMA. Conversely, Bearish signals will only trigger if the entire candle body is completely below the 50 EMA.
Standalone Engulfing Signals: Includes an optional toggle to track "Big A$$" Engulfing candles independently, which are also bound to the 50 EMA filter rules.
Fully Customizable Visuals: Switch between standard professional chart shapes or toggle Arty’s classic custom meme icons (🍆/🍑) for a more casual charting experience.
Pine Script v6 Native Alerts: Fully optimized for TradingView's modern dynamic alert engine (alert()), configured to trigger reliably on bar close to avoid repainting issues.
How to Trade It:
This indicator is best utilized as a trend-continuation signal at the end of a brief retracement period. When the market is in a healthy trend (above or below the 50 EMA) and a 3-Line Strike forms, it often signals that the temporary pullback has exhausted itself and the primary trend is ready to resume.
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.