OPEN-SOURCE SCRIPT

LANZ Strategy 7.0

577
🔷 LANZ Strategy 7.0 — Multi-Session Breakout Logic with Midnight-Cross Support, Dynamic SL/TP, Multi-Account Lot Sizing & Real-Time Visual Tracking

LANZ Strategy 7.0 is a robust, visually-driven trading indicator designed to capture high-probability breakouts from a customizable market session.
It includes full support for sessions that cross midnight, dynamic calculation of Entry Price (EP), Stop Loss (SL) and Take Profit (TP) levels, and a multi-account lot sizing panel for precise risk management.
The system is built to only trigger one trade per day and manages the full trade lifecycle with automated visual cleanup and detailed alerts.

📌 This is an indicator, not a strategy — it does not place trades automatically, but provides exact entry setups, SL/TP levels, risk-based lot size guidance, and real-time alerts for execution.

🧠 Core Logic & Features

🚀 Entry Signal (BUY/SELL)
  • The trading day begins with a Decision Session (yellow box) where the high/low range is recorded.
  • Once the Operative Session starts (blue zone), the first touch of the session’s high triggers a BUY setup, and the first touch of the session’s low triggers a SELL setup.
  • Only one valid trade can be triggered per day — the system locks after the first signal.


⚙️ Dynamic Stop Loss & Take Profit
  • SL levels are derived from the Decision Session high/low using customizable Fibonacci multipliers (independent for BUY and SELL).
  • TP is dynamically calculated from the EP–SL distance using a user-defined Risk:Reward ratio (R:R).
  • All EP, SL, and TP levels are drawn as independent lines with customizable colors, label text size, and style.


⏳ Session & Midnight-Cross Support
  • Works with any custom Decision/Operative session hours, including sessions that start one day and end the next.
  • Properly tracks time zones using New York session time for consistency.
  • Includes Cutoff Time: after this limit, no new entries are allowed, and all visuals are auto-cleared if no trade was triggered.


💰 Multi-Account Risk-Based Lot Sizing
  • Supports up to 5 independent accounts.
  • Each account can have:

  1. Own capital
  2. Own risk percentage per trade

  • Lot size is auto-calculated based on:

  1. SL distance (in pips or points)
  2. Pip value (auto-detected for Forex or manually set for indices/commodities)

  • Results are displayed in a clean lot size info panel.


🖼️ Real-Time Visual Tracking
  • Dynamic updates to all levels during the Decision Session.
  • EP, SL, TP lines update if the session high/low changes before the Operative Session starts.
  • Trade result labels:

  1. SL hit → “–1.00%” in red
  2. TP hit → “+X.XX%” in green
  3. Manual close at Operative End → shows actual % result in blue or purple.


🔔 Alerts for Every Key Event
  • Session start notification
  • EP entry triggered
  • SL or TP hit
  • Manual close at session end
  • Missed entry due to cutoff


🧭 Execution Flow
  1. Decision Session (Yellow) — Capture high/low range.
  2. Operative Session (Blue) — First touch of high = BUY setup; first touch of low = SELL setup.
  3. Plot EP, SL, TP lines + calculate lot sizes for all active accounts.
  4. Track trade until SL, TP, or Operative End.
  5. If no entry triggered by Cutoff Time → clean all visuals and notify.


💡 Ideal For:
  • Traders who operate breakout logic on specific sessions (NY, London, Asian, or custom).
  • Those managing multiple accounts with strict risk per trade.
  • Anyone trading assets with sessions crossing midnight.


👨‍💻 Credits:
  • Developer: LANZ
  • Logic Design: LANZ
  • Built For: Multi-timeframe session breakouts with high precision.
  • Purpose: One-shot trade per day, risk consistency, and total visual clarity.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.