OPEN-SOURCE SCRIPT
Cập nhật The Strat Sequence Continuation / Reclaim Engine v1.0

The Strat Sequence Continuation / Reclaim Engine
The Strat Sequence Continuation / Reclaim Engine is a body-close-based study designed to help traders review how specific Strat candle sequences have historically resolved on the selected chart timeframe.
This indicator combines two separate views:
1. **Markov Regime Permission Panel**
A regime-style table that evaluates recent price behavior and displays market state, return, transition probabilities, permission, and trade behavior context. This table can be turned on/off by the user.
2. **Strat Sequence Continuation / Reclaim Table**
A focused table that measures whether selected Strat sequences continued by body close or failed/reclaimed the relevant reference level.
The sequence table evaluates setups such as:
* Failed 2U → x
* Failed 2D → x
* F2U → 2D → x
* F2D → 2U → x
* F2U → 2D → 2D → x
* F2D → 2U → 2U → x
* 2-2U → x
* 2-2D → x
* 2-1-2U → x
* 2-1-2D → x
* 3-1-2U → x
* 3-1-2D → x
* 3H → x
* 3L → x
For bullish sequences, continuation is counted only when the next candle closes above the applicable reference candle high.
For bearish sequences, continuation is counted only when the next candle closes below the applicable reference candle low.
If price does not close beyond the reference level, the event is classified as reclaim/fail.
The table also includes:
* User-selected lookback
* Live setup candle read
* Live sequence watch
* Body-close decision rule
* Row visibility controls
* Minimum sample threshold filtering
* Optional bull/bear color coding
This tool is intended for historical sequence review, market context, and discretionary analysis. It does not predict future price movement, generate buy/sell signals, or provide financial advice. All outputs depend on the selected symbol, timeframe, lookback settings, and available chart history.
The Strat Sequence Continuation / Reclaim Engine is a body-close-based study designed to help traders review how specific Strat candle sequences have historically resolved on the selected chart timeframe.
This indicator combines two separate views:
1. **Markov Regime Permission Panel**
A regime-style table that evaluates recent price behavior and displays market state, return, transition probabilities, permission, and trade behavior context. This table can be turned on/off by the user.
2. **Strat Sequence Continuation / Reclaim Table**
A focused table that measures whether selected Strat sequences continued by body close or failed/reclaimed the relevant reference level.
The sequence table evaluates setups such as:
* Failed 2U → x
* Failed 2D → x
* F2U → 2D → x
* F2D → 2U → x
* F2U → 2D → 2D → x
* F2D → 2U → 2U → x
* 2-2U → x
* 2-2D → x
* 2-1-2U → x
* 2-1-2D → x
* 3-1-2U → x
* 3-1-2D → x
* 3H → x
* 3L → x
For bullish sequences, continuation is counted only when the next candle closes above the applicable reference candle high.
For bearish sequences, continuation is counted only when the next candle closes below the applicable reference candle low.
If price does not close beyond the reference level, the event is classified as reclaim/fail.
The table also includes:
* User-selected lookback
* Live setup candle read
* Live sequence watch
* Body-close decision rule
* Row visibility controls
* Minimum sample threshold filtering
* Optional bull/bear color coding
This tool is intended for historical sequence review, market context, and discretionary analysis. It does not predict future price movement, generate buy/sell signals, or provide financial advice. All outputs depend on the selected symbol, timeframe, lookback settings, and available chart history.
Phát hành các Ghi chú
v1.1--I saw an error in the markers showing on the table. It is a cosmetic fix to match the markers showing under/above the price candles. Nothing else was changed. 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.