OPEN-SOURCE SCRIPT
Cập nhật #BLTA - CARE 7891

🔷 #BLTA - CARE 7891: Ny session toolkit + Risk box + Confirmed levels + Asia box + Structure + Imbalances
Description:
#BLTA - CARE 7891 is an overlay toolkit 🧭🛠️ built for structured discretionary trading preparation. Its main purpose is to keep your chart reading and pre-trade planning in one place by combining time context, confirmed reference levels, liquidity framing, manual risk sizing, and context overlays (structure + imbalances).
🚫 This script is an indicator, not a strategy. It does not place orders.
🧩 Why these modules are combined (and how they work together)
This is not a “mashup for the sake of mixing”. Each module supports a specific step of a practical workflow:
🕒 Time context (new york session mapping)
Background highlights mark precise NY-time windows (day division at 17:00, london blocks, and new york blocks).
This provides the timing framework for when you typically scan, plan, or execute.
📰📅 Confirmed reference levels (previous day/week highs & lows)
Instead of plotting live extremes, this script confirms levels at defined boundaries:
Trading day: 17:00 → 17:00 NY
Weekly boundary: Sunday 17:00 NY
Lines start exactly at the candle where the high/low occurred and extend forward.
Optional “stop on hit” 🧊 freezes a level once price touches it, keeping the chart clean and realistic for forward analysis.
🈵 Asian range liquidity box (session that can cross midnight)
A dedicated Asian range container tracks high/low and an optional 50% midline.
It uses NY timestamps and safely handles sessions that cross midnight (storing the correct session date).
This gives you a daily liquidity “frame” often used for sweeps, breaks, and invalidations.
💸 Manual risk planning (trade box + lot sizing + table)
You select Entry (EP) and Stop (SL) directly on the chart using input.price(..., confirm=true) and time anchors.
The script then calculates:
It draws a risk box + target box and shows a compact table for quick verification.
🔁 Re-confirm mode (wizard) is included to prevent “stale” anchor points after timeframe changes or when you want a clean reset. While enabled, the risk table is replaced with a step guide and temporary EP/SL markers.
📈 Market structure overlay (1H zigzag projected to any timeframe)
A zigzag swing engine is computed on 1H via request.security() and projected onto the current chart.
Opacity is automatically reduced on non-1H charts so it stays contextual, not dominant.
Optional live extension of the last leg helps you see the active swing in progress.
📊 Imbalance map (fvg / og / vi) + optional dashboard
The script detects and draws:
Optional filters allow minimum width by points / % / atr, and each imbalance type can be extended forward.
A dashboard 📱 can summarize bullish/bearish frequency and fill rates for context review.
✅ Quick start (recommended order)
⚠️ Notes & limitations
Description:
#BLTA - CARE 7891 is an overlay toolkit 🧭🛠️ built for structured discretionary trading preparation. Its main purpose is to keep your chart reading and pre-trade planning in one place by combining time context, confirmed reference levels, liquidity framing, manual risk sizing, and context overlays (structure + imbalances).
🚫 This script is an indicator, not a strategy. It does not place orders.
🧩 Why these modules are combined (and how they work together)
This is not a “mashup for the sake of mixing”. Each module supports a specific step of a practical workflow:
🕒 Time context (new york session mapping)
Background highlights mark precise NY-time windows (day division at 17:00, london blocks, and new york blocks).
This provides the timing framework for when you typically scan, plan, or execute.
📰📅 Confirmed reference levels (previous day/week highs & lows)
Instead of plotting live extremes, this script confirms levels at defined boundaries:
Trading day: 17:00 → 17:00 NY
Weekly boundary: Sunday 17:00 NY
Lines start exactly at the candle where the high/low occurred and extend forward.
Optional “stop on hit” 🧊 freezes a level once price touches it, keeping the chart clean and realistic for forward analysis.
🈵 Asian range liquidity box (session that can cross midnight)
A dedicated Asian range container tracks high/low and an optional 50% midline.
It uses NY timestamps and safely handles sessions that cross midnight (storing the correct session date).
This gives you a daily liquidity “frame” often used for sweeps, breaks, and invalidations.
💸 Manual risk planning (trade box + lot sizing + table)
You select Entry (EP) and Stop (SL) directly on the chart using input.price(..., confirm=true) and time anchors.
The script then calculates:
- 💰 cash at risk from balance and risk %
- 📏 stop distance in pips (forex-aware pip sizing)
- 📦 lot size using units-per-lot and account currency inputs
- 🎯 target price using a reward ratio
It draws a risk box + target box and shows a compact table for quick verification.
🔁 Re-confirm mode (wizard) is included to prevent “stale” anchor points after timeframe changes or when you want a clean reset. While enabled, the risk table is replaced with a step guide and temporary EP/SL markers.
📈 Market structure overlay (1H zigzag projected to any timeframe)
A zigzag swing engine is computed on 1H via request.security() and projected onto the current chart.
Opacity is automatically reduced on non-1H charts so it stays contextual, not dominant.
Optional live extension of the last leg helps you see the active swing in progress.
📊 Imbalance map (fvg / og / vi) + optional dashboard
The script detects and draws:
- 🤏 fair value gaps (fvg)
- 👐 opening gaps (og)
- 🔎 volume imbalances (vi)
Optional filters allow minimum width by points / % / atr, and each imbalance type can be extended forward.
A dashboard 📱 can summarize bullish/bearish frequency and fill rates for context review.
✅ Quick start (recommended order)
- Turn on 🕒 session visualization to align with NY timing.
- Enable 📰 pdh/pdl and 📅 weekly highs/lows to map confirmed reference liquidity.
- Use 🈵 the asian range box to frame the early-session liquidity container.
- Plan your trade with 💸 risk module (pick EP/SL, verify pips + lots + target).
- Add 📈 zigzag structure and 📊 imbalances only as supporting context.
⚠️ Notes & limitations
- This tool is for planning and chart reading, not automated execution.
- Lot sizing is an estimate based on your inputs; always confirm broker contract specs.
- Some modules draw many objects (boxes/lines/tables) 🧱, which may slow very small timeframes.
Phát hành các Ghi chú
New Feature: Multi-Timeframe Candles VisualizationThis update introduces Higher Timeframe (HTF) Candles directly overlaid on the chart, allowing traders to read market context and intraday execution within the same visual space.
You can now display candles from multiple timeframes (e.g. 5m, 30m, 1H, 4H, Daily, Weekly) while operating on a lower timeframe, making it easier to align entries with higher-timeframe structure and bias.
Key highlights:
- Up to 6 configurable higher timeframes
- Fully customizable candle bodies, borders, and wicks
- Adjustable spacing, width, and offset to avoid chart clutter
- Optional labels showing timeframe name and remaining candle time
- Integrated trace levels (Open, High, Low, Close)
- Optional detection and visualization of FVGs and Volume Imbalances per HTF
- Designed to remain clean, lightweight, and non-intrusive
This module is purely contextual and visual — it does not generate signals or affect risk calculations.
Its purpose is to help traders read structure, liquidity, and bias more efficiently without switching charts.
Phát hành các Ghi chú
This update introduces major visual and structural improvements 🚀Including fully independent color settings for each HTF candle 🕯️ (bullish/bearish body, border, and wick), allowing a much clearer and more customizable multi-timeframe analysis without relying on global styles 🎨; additionally, the Frankfurt module has been refined 📍 to improve extreme detection and confirmation, and the range/zone boxes system 📦 has been optimized with better object management, resulting in cleaner visuals, improved stability, and smoother behavior when enabling or disabling modules — all without changing any trading logic, keeping this update focused on clarity, order, and professional usability.
Phát hành các Ghi chú
🔄 Update – EMA Trend Filter & ZigZag Structure Added (Trend ZigZag by LANZ)This update introduces two complementary analytical layers designed to improve trend context and structural clarity without turning the indicator into a strategy.
📈 EMA Trend Filter (MTF)
A new EMA-based trend layer has been added to provide a smooth, higher-level directional context.
What it does
- Displays an EMA calculated on a user-defined timeframe (default: 1H).
- The EMA dynamically changes color:
- Green when price is above the EMA.
- Red when price is below the EMA.
- Optional visibility control allows the EMA to be:
- Shown on all chart timeframes, or
- Visible only when the chart timeframe matches the EMA timeframe.
Why it matters
Helps identify the dominant trend context.
Reduces noise when reading swing structure.
Improves interpretation of pullbacks vs. continuation.
Designed as a context filter, not a signal generator.
📉📈 ZigZag Swing Structure
A confirmed ZigZag swing engine has been integrated to visualize market structure more clearly.
What it does
- Detects confirmed swing highs and swing lows based on pivot logic.
- Draws clean swing-to-swing legs without repainting.
- Provides a structural foundation for:
- Market ranges
- Breaks of structure (BOS)
- Changes of character (ChoCH)
- Swing-based analysis and extensions
Why it matters
Transforms raw price movement into readable structural swings.
Prevents over-interpretation of minor price fluctuations.
Keeps structure logic objective and repeatable.
🧠 How EMA and ZigZag Work Together
EMA = trend context
ZigZag = structural framework
Used together:
- The EMA defines whether the structure is occurring in trend or correction.
- The ZigZag explains how price is moving inside that context.
- This separation keeps the indicator analytical and unbiased.
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.