OPEN-SOURCE SCRIPT

#BLTA - CARE 7891

75
🔷 #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:

  • 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).

  1. Enable 💸 Risk Module if you want trade planning.
  2. Go to Trade Box Location and pick:
  3. Entry Point (EP)
  4. Stop Loss (SL)
  5. Time anchors for box edges

  • Adjust:

  1. Account balance, risk %, units per lot, RR target
  2. Enable additional modules as needed:
  3. Session backgrounds
  4. PDH/PDL
  5. Weekly High/Low
  6. Asian range box
  7. ZigZag
  8. 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.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน