OPEN-SOURCE SCRIPT
#BLTA - CARE 7891

🔷 #BLTA - CARE 7891 is an overlay toolkit designed to support structured trading preparation and chart reading. It combines a manual Trade Box + Lot Size/Risk panel, session background highlights (NY time), confirmed Previous Day/Week High-Low levels, an Asian range liquidity box, a 1H ZigZag market-structure projection, and an imbalance map (FVG / OG / VI) with an optional dashboard.
This script is an indicator (not a strategy). It does not place orders and is intended for planning, risk visualization, and market context.
✅ Main Modules
1) 💸 Risk Module (Trade Box + Lot Calculation + Table)
A complete manual trade-planning tool:
Cash at Risk
SL distance (pips) (Forex-aware)
Lot size based on your:
Account balance
Risk %
Units per lot
Account base currency (with conversion if needed)
Risk box (EP ↔ SL)
Target box (RR-based TP)
Displays a clean table panel with the key values.
🔁 Re-confirm Mode (Wizard)
Shows temporary EP/SL labels
Shows a small wizard table guiding you step-by-step
Turn it OFF to return to normal risk table + boxes
Tip: If your chart timeframe changes or you want a fresh selection, Re-confirm mode is the safest way to reset everything cleanly.
2) 🎨 Session Visualization (New York Time)
Day Division (17:00–17:01 NY)
London (03:00–05:00 NY) + sub-windows
New York (08:00–10:30 NY) + sub-windows
Colors are fully configurable from inputs.
3) 📰 Confirmed PDH/PDL (Previous Days)
Trading day is defined as 17:00 → 17:00 NY
Lines start exactly at the candle where the high/low occurred
Lines extend forward and can freeze when price touches them
Configurable: days to keep, style, width, and “stop on hit”
4) 📅 Confirmed Weekly High/Low (Previous Weeks)
Confirmation occurs at Sunday 17:00 NY (typical FX week boundary)
Lines begin at the candle where the weekly extremes formed
Extends forward and can freeze on touch
Configurable: weeks to keep, style, width, stop-on-hit
5) 🈵 Asian Range Liquidity Box
Uses New York time
Dynamic updates while session is active
Optional mid label and configurable line style/width
6) 📈 Market Structure - ZigZag (1H projected)
A ZigZag structure engine calculated on 1H and projected onto any timeframe:
Length
Source type (High/Low or Open/Close)
Colors and width
Opacity when viewing non-1H charts
Optional live extension of the last leg
Includes safe cleanup when toggling OFF (no leftover objects)
7) 📊 Imbalance Detector (FVG / OG / VI) + Dashboard
Fair Value Gaps (FVG)
Opening Gaps (OG)
Volume Imbalances (VI)
Optional dashboard shows frequencies and fill rates.
Attribution / Credits
This module is inspired by / adapted from the public concept widely known as “Imbalance Detector” (LuxAlgo-style logic). This script is independently packaged and integrated as part of the toolkit with additional modules and custom structure.
⚙️ How to Use (Quick Steps)
🔎 Notes & Limitations
This script is an indicator (not a strategy). It does not place orders and is intended for planning, risk visualization, and market context.
✅ Main Modules
1) 💸 Risk Module (Trade Box + Lot Calculation + Table)
A complete manual trade-planning tool:
- Pick an Entry Point (EP) and Stop Loss (SL) directly on the chart using input.price(..., confirm=true).
- Automatically calculates:
Cash at Risk
SL distance (pips) (Forex-aware)
Lot size based on your:
Account balance
Risk %
Units per lot
Account base currency (with conversion if needed)
- Draws:
Risk box (EP ↔ SL)
Target box (RR-based TP)
Displays a clean table panel with the key values.
🔁 Re-confirm Mode (Wizard)
- Use “Re-confirm Trade Box Points” to force a clean logical reset and re-pick EP/SL/time anchors:
Shows temporary EP/SL labels
Shows a small wizard table guiding you step-by-step
Turn it OFF to return to normal risk table + boxes
Tip: If your chart timeframe changes or you want a fresh selection, Re-confirm mode is the safest way to reset everything cleanly.
2) 🎨 Session Visualization (New York Time)
- Highlights chart background for these windows:
Day Division (17:00–17:01 NY)
London (03:00–05:00 NY) + sub-windows
New York (08:00–10:30 NY) + sub-windows
Colors are fully configurable from inputs.
3) 📰 Confirmed PDH/PDL (Previous Days)
- Optional module that plots confirmed Previous Day High (PDH) and Previous Day Low (PDL):
Trading day is defined as 17:00 → 17:00 NY
Lines start exactly at the candle where the high/low occurred
Lines extend forward and can freeze when price touches them
Configurable: days to keep, style, width, and “stop on hit”
4) 📅 Confirmed Weekly High/Low (Previous Weeks)
- Optional module that plots confirmed Weekly High/Low:
Confirmation occurs at Sunday 17:00 NY (typical FX week boundary)
Lines begin at the candle where the weekly extremes formed
Extends forward and can freeze on touch
Configurable: weeks to keep, style, width, stop-on-hit
5) 🈵 Asian Range Liquidity Box
- Draws a session box that tracks high/low and optional midline (50%):
Uses New York time
Dynamic updates while session is active
Optional mid label and configurable line style/width
6) 📈 Market Structure - ZigZag (1H projected)
A ZigZag structure engine calculated on 1H and projected onto any timeframe:
- Configurable:
Length
Source type (High/Low or Open/Close)
Colors and width
Opacity when viewing non-1H charts
Optional live extension of the last leg
Includes safe cleanup when toggling OFF (no leftover objects)
7) 📊 Imbalance Detector (FVG / OG / VI) + Dashboard
- Detects and draws:
Fair Value Gaps (FVG)
Opening Gaps (OG)
Volume Imbalances (VI)
Optional dashboard shows frequencies and fill rates.
Attribution / Credits
This module is inspired by / adapted from the public concept widely known as “Imbalance Detector” (LuxAlgo-style logic). This script is independently packaged and integrated as part of the toolkit with additional modules and custom structure.
⚙️ How to Use (Quick Steps)
- Add the indicator to the chart (overlay).
- Enable 💸 Risk Module if you want trade planning.
- Go to Trade Box Location and pick:
- Entry Point (EP)
- Stop Loss (SL)
- Time anchors for box edges
- Adjust:
- Account balance, risk %, units per lot, RR target
- Enable additional modules as needed:
- Session backgrounds
- PDH/PDL
- Weekly High/Low
- Asian range box
- ZigZag
- Imbalances + dashboard
🔎 Notes & Limitations
- This script is for visual planning and context, not trade execution.
- Lot sizing is based on the selected EP/SL and your inputs; always double-check broker rules, symbol specifications, and contract size.
*Object-heavy features (boxes/lines/tables) may increase load on lower-end devices or very small timeframes.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.