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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.