OPEN-SOURCE SCRIPT
Cập nhật Engulfing Strategy

Core Concept:
This is a price action trading strategy that identifies high-probability trade setups by combining multi-timeframe engulfing patterns with Current Market Price (CMP) validation.
How It Works:
H4 Setup Zone (Primary Timeframe)
Identifies Bullish or Bearish Engulfing patterns on the 4-hour timeframe
When detected, marks a zone at the high and low of the engulfed candle
This zone represents the initial setup area
M30 Trade Control Zone (Confirmation Timeframe)
Looks for Engulfing patterns on the 30-minute timeframe
These patterns must form within or near the H4 setup zone
Acts as a confirmation that the setup is valid
CMP Validation (Current Market Price)
Monitors where price is currently trading relative to the zones
Validates whether the pattern is still active or has been invalidated
Helps determine entry timing and stop loss placement
Trade Setup:
Bullish Setup: Red candle engulfed by green candles → Zone marked at red candle's high/low → Wait for M30 confirmation → Enter when CMP validates the pattern
Bearish Setup: Green candle engulfed by red candles → Zone marked at green candle's high/low → Wait for M30 confirmation → Enter when CMP validates the pattern
This is a price action trading strategy that identifies high-probability trade setups by combining multi-timeframe engulfing patterns with Current Market Price (CMP) validation.
How It Works:
H4 Setup Zone (Primary Timeframe)
Identifies Bullish or Bearish Engulfing patterns on the 4-hour timeframe
When detected, marks a zone at the high and low of the engulfed candle
This zone represents the initial setup area
M30 Trade Control Zone (Confirmation Timeframe)
Looks for Engulfing patterns on the 30-minute timeframe
These patterns must form within or near the H4 setup zone
Acts as a confirmation that the setup is valid
CMP Validation (Current Market Price)
Monitors where price is currently trading relative to the zones
Validates whether the pattern is still active or has been invalidated
Helps determine entry timing and stop loss placement
Trade Setup:
Bullish Setup: Red candle engulfed by green candles → Zone marked at red candle's high/low → Wait for M30 confirmation → Enter when CMP validates the pattern
Bearish Setup: Green candle engulfed by red candles → Zone marked at green candle's high/low → Wait for M30 confirmation → Enter when CMP validates the pattern
Phát hành các Ghi chú
update to include weekly and daily and table status of W D H4 M30Phát hành các Ghi chú
update to consecutive candles logicPhát hành các Ghi chú
refined and fix bugs on consecutive candlesMã 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.