OPEN-SOURCE SCRIPT
Cập nhật Books Retouch Levels Pro

English Description
📌 What is Books Retouch Levels Pro?
This indicator visualizes key price levels based on engulfing price action (“Books”) and tracks how price reacts when revisiting those levels.
In simple terms:
👉 Strong price moves often leave behind levels that matter later.
⸻
🔍 Concept
• When an engulfing pattern occurs, the open price of the engulfed candle becomes a key level
• These levels act as potential liquidity or reaction zones
• The first retouch of these levels is especially important
⸻
⚙️ Features
• ✅ Automatically detects buy and sell levels
• ✅ Tracks whether levels are active or invalidated
• ✅ Detects the first retouch of each level
• ✅ Highlights retouched levels for clarity
• ✅ Fades opposite-side levels based on latest retouch direction
• ✅ Fully customizable visibility (signals, inactive levels, etc.)
⸻
📊 How to Read
🟢 Buy Levels
→ Open of engulfed bearish candle
→ Often acts as support
🔴 Sell Levels
→ Open of engulfed bullish candle
→ Often acts as resistance
⸻
🔁 What is a Retouch?
A retouch happens when price returns to a level after moving away.
This indicator focuses on:
👉 The first retouch, which often provides high-probability setups
⸻
❌ Invalidation
A level becomes invalid when price clearly breaks it.
Examples:
• Buy level → broken to the downside
• Sell level → broken to the upside
⸻
🧠 How to Use
• Identify newly formed levels
• Wait for price to return (retouch)
• Combine with market structure or trend
• Focus on the most recent retouch for directional bias
⸻
✨ What’s Improved
• More accurate retouch detection
• Cleaner and more intuitive visuals
• Better distinction between active / retouched / invalid levels
• Cleaner default setup:
• Inactive levels OFF
• Retouch signals OFF
📌 What is Books Retouch Levels Pro?
This indicator visualizes key price levels based on engulfing price action (“Books”) and tracks how price reacts when revisiting those levels.
In simple terms:
👉 Strong price moves often leave behind levels that matter later.
⸻
🔍 Concept
• When an engulfing pattern occurs, the open price of the engulfed candle becomes a key level
• These levels act as potential liquidity or reaction zones
• The first retouch of these levels is especially important
⸻
⚙️ Features
• ✅ Automatically detects buy and sell levels
• ✅ Tracks whether levels are active or invalidated
• ✅ Detects the first retouch of each level
• ✅ Highlights retouched levels for clarity
• ✅ Fades opposite-side levels based on latest retouch direction
• ✅ Fully customizable visibility (signals, inactive levels, etc.)
⸻
📊 How to Read
🟢 Buy Levels
→ Open of engulfed bearish candle
→ Often acts as support
🔴 Sell Levels
→ Open of engulfed bullish candle
→ Often acts as resistance
⸻
🔁 What is a Retouch?
A retouch happens when price returns to a level after moving away.
This indicator focuses on:
👉 The first retouch, which often provides high-probability setups
⸻
❌ Invalidation
A level becomes invalid when price clearly breaks it.
Examples:
• Buy level → broken to the downside
• Sell level → broken to the upside
⸻
🧠 How to Use
• Identify newly formed levels
• Wait for price to return (retouch)
• Combine with market structure or trend
• Focus on the most recent retouch for directional bias
⸻
✨ What’s Improved
• More accurate retouch detection
• Cleaner and more intuitive visuals
• Better distinction between active / retouched / invalid levels
• Cleaner default setup:
• Inactive levels OFF
• Retouch signals OFF
Phát hành các Ghi chú
Release Note* Added Original sell logic as an alternative to Pro
* Added the public release header for the published version
Phát hành các Ghi chú
Release NoteRepublished to replace the preview image with the correct screenshot.
There are no functional changes to the script logic in this update.
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.