ICT Institutional Order Flow (Riz)This indicator implements Inner Circle Trader (ICT) institutional order flow concepts to identify high-probability entry points where smart money is actively participating in the market. It combines volume analysis, market structure, and price action patterns to detect institutional accumulation and distribution zones.
Core Concepts & Methodology
1. Institutional Order Blocks Detection
Order blocks represent the last opposing candle before a strong directional move, indicating institutional accumulation (bullish) or distribution (bearish) zones.
How it works:
⦁ Identifies the final bearish candle before bullish expansion (accumulation)
⦁ Identifies the final bullish candle before bearish expansion (distribution)
⦁ Validates with volume spike (2x average) to confirm institutional participation
⦁ Requires minimum 0.5% price displacement to filter weak moves
⦁ Tracks these zones as future support/resistance levels
2. Fair Value Gap (FVG) Analysis
FVGs are price inefficiencies created by aggressive institutional orders that leave gaps in price action.
Detection method:
⦁ Bullish FVG: When current low > high from 2 bars ago
⦁ Bearish FVG: When current high < low from 2 bars ago
⦁ Minimum gap size filter (0.1% default) eliminates noise
⦁ Monitors gap fills with volume for entry signals
⦁ Gaps act as magnets drawing price back for "rebalancing"
3. Liquidity Hunt Detection
Institutions often trigger retail stop losses before reversing direction, creating liquidity for their positions.
Algorithm:
⦁ Calculates rolling 20-period highs/lows as liquidity pools
⦁ Detects wicks beyond these levels (0.1% sensitivity)
⦁ Identifies rejection back inside range (liquidity grab)
⦁ Volume spike confirmation ensures institutional involvement
⦁ These reversals often mark significant turning points
4. Volume Profile Integration
Analyzes volume distribution across price levels to identify institutional interest zones.
Components:
⦁ Point of Control (POC): Price level with highest volume (institutional consensus)
⦁ Value Area: 70% of volume range (institutional comfort zone)
⦁ Uses 50-bar lookback to build volume histogram
⦁ 20 price levels for granular distribution analysis
5. Market Structure Analysis
Determines overall trend bias using pivot points and swing analysis.
Process:
⦁ Identifies swing highs/lows using 3-bar pivots
⦁ Bullish structure: Price above last swing high
⦁ Bearish structure: Price below last swing high
⦁ Filters signals to trade with institutional direction
Signal Generation Logic
BUY signals trigger when ANY condition is met:
1. Order Block Formation: Bearish-to-bullish transition + volume spike + strong move
2. Liquidity Grab Reversal: Sweep below lows + recovery + volume spike
3. FVG Fill: Price fills bullish gap with institutional volume (within 3 bars)
4. Order Block Respect: Price bounces from previous bullish OB + volume
SELL signals trigger when ANY condition is met:
1. Order Block Formation: Bullish-to-bearish transition + volume spike + strong move
2. Liquidity Grab Reversal: Sweep above highs + rejection + volume spike
3. FVG Fill: Price fills bearish gap with institutional volume (within 3 bars)
4. Order Block Respect: Price rejects from previous bearish OB + volume
Additional filters:
⦁ Signals align with market structure (no counter-trend trades)
⦁ No new signals while position is active
⦁ All signals require volume confirmation (institutional fingerprint)
Trading Style Auto-Configuration
The indicator features intelligent preset configurations for different trading styles:
Scalping Mode (1-5 min charts):
⦁ Volume multiplier: 1.5x (more signals)
⦁ Tighter parameters for quick trades
⦁ Risk:Reward 1.5:1, ATR multiplier 1.0
Day Trading Mode (15-30 min charts):
⦁ Volume multiplier: 1.7x (balanced)
⦁ Medium sensitivity settings
⦁ Risk:Reward 2:1, ATR multiplier 1.5
Swing Trading Mode (1H-4H charts):
⦁ Volume multiplier: 2.0x (quality focus)
⦁ Conservative parameters
⦁ Risk:Reward 3:1, ATR multiplier 2.0
Custom Mode:
⦁ Full manual control of all parameters
Visual Components
⦁ Order Blocks: Colored rectangles (green=bullish, red=bearish)
⦁ Fair Value Gaps: Orange boxes showing imbalances
⦁ Liquidity Levels: Dashed blue lines at key highs/lows
⦁ Volume Spikes: Yellow background highlighting
⦁ POC Line: Orange line showing highest volume price
⦁ Value Area: Blue shaded zone of 70% volume
⦁ Buy/Sell Signals: Triangle markers with text labels
⦁ Stop Loss/Take Profit: Dotted lines (red/green)
Information Panel
Real-time dashboard displaying:
⦁ Current trading mode
⦁ Volume ratio (current vs average)
⦁ Market structure (bullish/bearish)
⦁ Active order blocks count
⦁ Position status
⦁ Configuration details
How to Use
Step 1: Select Trading Style
Choose your style in settings - all parameters auto-adjust
Step 2: Timeframe Selection
⦁ Scalping: 1-5 minute charts
⦁ Day Trading: 15-30 minute charts
⦁ Swing: 1H-4H charts
Step 3: Signal Interpretation
⦁ Wait for BUY/SELL markers
⦁ Check volume ratio >2 for strong signals
⦁ Verify market structure alignment
⦁ Note automatic SL/TP levels
Step 4: Risk Management
⦁ Default 2:1 risk:reward (adjustable)
⦁ Stop loss: 1.5x ATR from entry
⦁ Position sizing based on stop distance
Best Practices
1. Higher probability setups occur when multiple conditions align
2. Volume confirmation is crucial - avoid signals without volume spikes
3. Trade with structure - longs in bullish, shorts in bearish structure
4. Monitor POC - acts as dynamic support/resistance
5. Confluence zones where OBs, FVGs, and liquidity levels overlap are strongest
Important Notes
⦁ Not a standalone system - combine with your analysis
⦁ Works best in trending markets with clear structure
⦁ Adjust settings based on instrument volatility
⦁ Backtest thoroughly on your specific markets
⦁ Past performance doesn't guarantee future results
Alerts Available
⦁ ICT Buy Signal
⦁ ICT Sell Signal
⦁ Volume Spike Detection
⦁ Liquidity Grab Detection
This indicator provides a systematic approach to ICT concepts, helping traders identify where institutions are entering positions through volume analysis and key price action patterns. The auto-configuration feature ensures optimal settings for your trading style without manual adjustment.
Disclaimer
This tool is for educational and research purposes only. It is not financial advice, nor does it guarantee profitability. All trading involves risk, and users should test thoroughly before applying live.
Cari dalam skrip untuk "high low"
Pivot + OHLC【Pivot + OHLC|使い方(日本語)】
■ 概要
前日のOHLCラインと、当日の高値/安値(点線)を表示しつつ、標準ピボット(複数方式)を同一チャートに描画するインジケーターです。デイトレ~スイングでの当日レンジ把握、前日基準の反発/ブレイク確認、ピボット到達の可視化に向きます。
■ 主な機能
- 前日OHLC:前日の「Open/High/Low/Close」を水平ステップラインで描画(色変更可)
- 当日H/L:当日の「高値/安値」を点線のライン&ラベルで表示(最終バーのみ)
- ピボット:Traditional / Fibonacci / Woodie / Classic / DM / Camarilla に対応
- 表示制御:ピボット各レベル(P, R1~R5, S1~S5)の個別ON/OFF、色、ラベル位置を設定可
- パフォーマンス:古いピボットは自動削除(件数を設定可能)
■ 基本の使い方
1) チャートに追加したら、時間軸を普段の取引足に設定します。
2) 「OHLC Resolution」で前日の参照解像度(通常は1D)を選択。
3) 「Hide past OHLC」をONにすると、前日のOHLCは“表示用解像度の最終バー”付近のみ表示され、過去の混雑を抑えます。
4) 「Display resolution (for OHLC)」はOHLCラベルの表示基準となる時間足(通常は1D)です。
5) 「Line Width」で前日OHLC&当日H/L&ピボットの線幅を共通で調整します。
6) ピボットは「Pivot Type」「Pivots Timeframe」「Use Daily-based Values」等で調整します。
- デイトレ用途:Pivot Timeframe=“Auto or Daily”、Use Daily-based Values=ON が手堅い構成です。
7) 「labels」グループで「Show Labels」「Show Prices」「Labels Position(Left/Right)」を調整します。
■ パラメータ早見表
- OHLC Resolution:前日データの参照足(既定:1D)
- Hide past OHLC:過去の前日OHLCを非表示(既定:ON)
- Display resolution (for OHLC):OHLCラベルの表示基準足(既定:1D)
- Open/High/Low/Close:前日ライン色
- Line Width:全ライン共通の太さ
- Show Labels / Show Prices:ラベルの名称/価格の表示切替
- Pivot Type:ピボット方式(Traditional / Fibonacci / Woodie / Classic / DM / Camarilla)
- Pivots Timeframe:ピボット計算のアンカー(Auto / Daily / Weekly / … / Yearly派生)
- Number of Pivots Back:履歴ピボット保持数(古いものは自動削除)
- Use Daily-based Values:日足ベースで安定描画(短期足での未確定ずれを抑制)
- Labels Position:ピボットラベルの左右
■ 表示仕様のポイント
- 当日H/Lは点線ライン+ラベル(日本語表記:当日高値/当日安値)。最新バー時のみ表示・更新。
- 前日OHLCはステップライン。色を変更すると対応するラベル色も自動で連動。
- ピボットは方式により有効なレベル数が異なります(例:DMは少なめ、Traditional/CamarillaはR5/S5まで可)。
- レベルの個別トグル(Show P, Show R1 …)で混雑を抑えられます。
■ 注意事項 / ヒント
- 低スペック環境や極端に長い履歴では「Number of Pivots Back」を下げると安定します。
- 取引所/銘柄のセッションや休日によっては、1日の切替タイミングと当日H/Lの更新に差異が出る場合があります。
- Intradayでの“開場直後~日足切替前後”はリフレッシュによりH/Lやラベル位置が追随します。
- 「Use Daily-based Values」をONにすると、短期足でのピボット再計算による細かなズレを抑制できます。
■ 使いどころ
- 前日安値→当日戻り高値→ピボットR1の順に到達など、日内の“基準面”を連結して相場の節目を確認。
- ブレイク判定時に当日H/Lとピボット到達を併読して、利確/押し目候補を素早く評価。
- 指値戦略では、前日値幅(H-L)とピボット帯の重なりで「厚い」価格帯を抽出。
■ Overview
This indicator overlays prior-day OHLC lines, today’s high/low (dotted), and standard Pivot Points on the same chart. It’s built for quick intraday context: prior-day anchors, current-day range, and pivot confluence.
■ Key Features
- Yesterday’s OHLC: horizontal step-lines with customizable colors
- Today’s High/Low: dynamic dotted lines + labels (shown/updated on the latest bar)
- Pivot Points: Traditional / Fibonacci / Woodie / Classic / DM / Camarilla
- Fine control: per-level toggles (P, R1–R5, S1–S5), colors, label side
- Performance-aware: old pivots are auto-pruned by “Number of Pivots Back”
■ Quick Start
1) Add to your chart and choose your working timeframe.
2) Set “OHLC Resolution” (usually 1D).
3) Turn ON “Hide past OHLC” to keep charts clean by only showing recent prior-day OHLC.
4) “Display resolution (for OHLC)” defines the baseline timeframe for OHLC label placement (usually 1D).
5) Adjust “Line Width” to control all line thicknesses at once.
6) Configure pivots via “Pivot Type”, “Pivots Timeframe”, and “Use Daily-based Values”.
- For day trading, “Auto or Daily” + “Use Daily-based Values = ON” is a robust setup.
7) In “labels”, toggle “Show Labels”, “Show Prices”, and choose “Labels Position (Left/Right)”.
■ Parameter Cheatsheet
- OHLC Resolution: timeframe used for prior-day data (default 1D)
- Hide past OHLC: hide historical prior-day OHLC (default ON)
- Display resolution (for OHLC): baseline for OHLC label placement (default 1D)
- Open/High/Low/Close: colors for the four prior-day lines
- Line Width: global thickness for OHLC / Today H/L / Pivots
- Show Labels / Show Prices: text/price display for labels
- Pivot Type: Traditional / Fibonacci / Woodie / Classic / DM / Camarilla
- Pivots Timeframe: anchor timeframe (Auto / Daily / Weekly / … / Yearly variants)
- Number of Pivots Back: how many historical pivot sets to keep (older ones are deleted)
- Use Daily-based Values: stabilize pivot drawing on intraday charts
- Labels Position: left or right for pivot labels
■ Display Notes
- Today’s H/L are dotted lines with labels (“Today’s High” / “Today’s Low”); they update only on the latest bar.
- Prior-day OHLC uses step-lines; label color automatically follows line color.
- Available pivot levels depend on the chosen type (e.g., DM has fewer, Traditional/Camarilla support up to R5/S5).
- Use per-level toggles (Show P, Show R1, …) to reduce clutter.
■ Tips / Caveats
- On modest hardware or very long histories, reduce “Number of Pivots Back” for stability.
- Exchange sessions/holidays can slightly shift the daily roll and when Today’s H/L updates.
- Around the daily roll, intraday charts may refresh H/L/labels as new data confirms.
- “Use Daily-based Values = ON” helps avoid micro-shifts from frequent intraday recalculations.
■ Practical Use
- Chain prior-day low → intraday pullback high → pivot R1 to frame day structure.
- On breakouts, read Today’s H/L with pivot reaches to judge take-profit / pullback zones.
- For limit orders, intersect prior-day range (H–L) with pivot bands to find “thick” price zones.
Day 3 PlayDay 3 Play — Indicator Summary
The Day 3 Play indicator is designed to identify outsized moves on Day 1 with a consolidation on Day 2 and are primed for a breakout on Day 3.
Day-1: A stock makes an outsized move (configurable, default = ±3% from prior close) on above-average relative volume (default = ≥3× 30-day average).
Day-2: The stock consolidates inside the Day-1 range (an inside bar).
Day-3: Price is primed for a breakout beyond the Day-2 high (bullish) or Day-2 low (bearish).
How It Works in the Pine Screener
The script computes Day-1 moves, Day-2 ranges, and checks volume requirements in the daily timeframe.
In the Screener, add a watchlist that includes your custom list of stocks. Then, add the custom Day 3 Play indicator. Select the time frame and the parameters from the indicator.
Screener columns (hidden by default) report whether a setup is found, whether it’s bullish or bearish, and the precise trigger/offset levels.
Alerts and Offsets
Alerts are available for:
Breakout at the Day-2 high/low (the trigger).
Approaching within an offset (configurable, default = 0.25%) from the Day-2 high or low.
This lets you catch moves as they’re forming intraday, even in extended hours, and not just after the breakout occurs.
Customization
Thresholds: Adjust the Day-1 % move (default 3%) and minimum relative volume (default 3×).
Alert Offset: Change the proximity level (default 0.25%) where alerts should fire before the breakout.
Visibility: Toggle chart lines (levels and offsets) and a debug panel separately.
Lookback: Control how many past days are scanned for the most recent valid setup.
On-Chart Levels
Day-2 High/Low: Shown as reference levels.
Bull/Bear Level: The breakout level (Day-2 high or low depending on setup).
Alert Offset Lines: Offset from the breakout level by your chosen % for early alerts.
Key Calculations
Relative Volume (RVOL): Day-1 volume ÷ 30-day average (excluding the day itself).
Inside Bar: Day-2 high ≤ Day-1 high and Day-2 low ≥ Day-1 low.
Breakout Levels:
Bullish = Day-2 High (with offset below).
Bearish = Day-2 Low (with offset above).
Session Levels [odnac]This indicator plots the high and low levels of the three main trading sessions—Asia, Europe, and New York—along with the previous day’s high, low, and open. Each session’s time range can be customized using a UTC offset, and the indicator automatically tracks session highs and lows as price develops.
Functions:
Plots session highs and lows for Asia, Europe, and New York.
Shows previous day’s high, low, and open as reference levels.
Session times are fully configurable with hour and minute precision, including UTC offset adjustment.
Each session level is marked with both a line and a label for clarity.
Color customization for each session and previous day levels.
Designed for intraday timeframes (1–60 minutes).
Filter Condition:
When the filter option is enabled, the indicator adjusts how levels are drawn:
A session high above the current close is displayed as a solid line with a visible label.
Once price closes above that high, the line becomes dotted and dimmed, and the label also becomes less emphasized.
Similarly, a session low below the current close is displayed as a solid line and label.
If price closes below that low, the line switches to dotted and dimmed, with the label adjusted accordingly.
This behavior highlights only the most relevant levels for the current market position while still keeping breached levels visible in a subdued style, making it easier to spot active breakout or liquidity zones.
Smart Structure Breaks & Order BlocksOverview (What it does)
The indicator “Smart Structure Breaks & Order Blocks” detects market structure using swing highs and lows, identifies Break of Structure (BOS) events, and automatically draws order blocks (OBs) from the origin candle. These zones extend to the right and change color/outline when mitigated or invalidated. By formalizing and automating part of discretionary analysis, it provides consistent zone recognition.
Main Components
Swing Detection: ta.pivothigh/ta.pivotlow identify confirmed swing points.
BOS Detection: Determines if the recent swing high/low is broken by close (strict mode) or crossover.
OB Creation: After a BOS, the opposite candle (bearish for bullish BOS, bullish for bearish BOS) is used to generate an order block zone.
Zone Management: Limits the number of zones, extends them to the right, and tracks tagged (mitigated) or invalidated states.
Input Parameters
Left/Right Pivot (default 6/6): Number of bars required on each side to confirm a swing. Higher values = smoother swings.
Max Zones (default 4): Maximum zones stored per direction (bull/bear). Oldest zones are overwritten.
Zone Confirmation Lookback (default 3): Ensures OB origin candle validity by checking recent highs/lows.
Show Swing Points (default ON): Displays triangles on swing highs/lows.
Require close for BOS? (default ON): Strict BOS (close required) vs loose BOS (line crossover).
Use candle body for zones (default OFF): Zones drawn from candle body (ON) or wick (OFF).
Signal Definition & Logic
Swing Updates: Latest confirmed pivots update lastHighLevel / lastLowLevel.
BOS (Break of Structure):
Bullish – close breaks last swing high.
Bearish – close breaks last swing low.
Only one valid BOS per swing (avoids duplicates).
OB Detection:
Bullish BOS → previous bearish candle with lowest low forms the OB.
Bearish BOS → previous bullish candle with highest high forms the OB.
Zones: Bull = green, Bear = red, semi-transparent, extended to the right.
Zone States:
Mitigated: Price touches the zone → border highlighted.
Invalidated:
Bull zone → close below → turns red.
Bear zone → close above → turns green.
Chart Appearance
Swing High: red triangle above bar
Swing Low: green triangle below bar
Bull OB: green zone (border highlighted on touch)
Bear OB: red zone (border highlighted on touch)
Invalid Zones: Bull zones turn reddish, Bear zones turn greenish
Practical Use (Trading Assistance)
Trend Following Entries: Buy pullbacks into green OBs in uptrends, sell rallies into red OBs in downtrends.
Focus on First Touch: First mitigation after BOS often has higher reaction probability.
Confluence: Combine with higher timeframe trend, volume, session levels, key price levels (previous highs/lows, VWAP, etc.).
Stops/Targets:
Bull – stop below zone, partial take profit at swing high or resistance.
Bear – stop above zone, partial take profit at swing low or support.
Parameter Tuning (per market/timeframe)
Pivot (6/6 → 4/4/8/8): Lower for scalping (3–5), medium for day trading (5–8), higher for swing trading (8–14). Increase to reduce noise.
Strict Break: ON to reduce false breaks in ranging markets; OFF for earlier signals.
Body Zones: ON for assets with long wicks, OFF for cleaner OBs in liquid instruments.
Zone Confirmation (default 3): Increase for stricter OB origin, fewer zones.
Max Zones (default 4 → 6–10): Increase for higher volatility, decrease to avoid clutter.
Strengths
Standardizes BOS and OB detection that is usually subjective.
Tracks mitigation and invalidation automatically.
Adaptable: allows body/wick zone switching for different instruments.
Limitations
Pivot-based: Signals appear only after pivots confirm (slight lag).
Zones reflect past balance: Can fail after new events (news, earnings, macro data).
Range-heavy markets: More false BOS; consider stricter settings.
Backtesting: This script is for drawing/visual aid; trading rules must be defined separately.
Workflow Example
Identify higher timeframe trend (4H/Daily).
On lower TF (15–60m), wait for BOS and new OB.
Enter on first mitigation with confirmation candle.
Stop beyond zone; targets based on R multiples and swing points.
FAQ
Q: Why are zones invalidated quickly?
A: Flow reversal after BOS. Adjust pivots higher, enable Strict mode, or switch to Body zones to reduce noise.
Q: What does “tagged” mean?
A: Price touched the zone once = mitigated. Implies some orders in that zone may have been filled.
Q: Body or Wick zones?
A: Wick zones are fine in clean markets. For volatile pairs with long wicks, body zones provide more realistic areas.
Customization Tips (Code perspective)
Zone storage: Currently ring buffer ((idx+1) % zoneLimit). Could prioritize keeping unmitigated zones.
Automated testing: Add strategy.entry/exit for rule-based backtests.
Multi-timeframe: Use request.security() for higher timeframe swings/BOS.
Visualization: Add labels for BOS bars, tag zones with IDs, count touches.
Summary
This indicator formalizes the cycle Swing → BOS → OB creation → Mitigation/Invalidation, providing consistent structure analysis and zone tracking. By tuning sensitivity and strictness, and combining with higher timeframe context, it enhances pullback/continuation trading setups. Always combine with proper risk management.
ICT KEY LEVELS (L3J)📊 Overview
The ICT KEY LEVELS (L3J) indicator is a tool designed to automatically identify and display key levels based on Inner Circle Trader (ICT) concepts.
This indicator combines session-based levels with multi-timeframe highs/lows analysis to provide traders with critical price zones for decision-making.
Developed by L3J - This indicator can be used in conjunction with other indicators I have developed for enhanced market analysis.
🎯 Key Features
Session-Based Levels
- Previous Day High/Low (PDH/PDL): Automatically identifies and displays the previous trading day's high and low levels
- Asian Session Levels: Tracks high and low during Asian trading hours (20:00-03:00 GMT+4)
- European Session Levels: Captures London session high and low levels (03:00-08:30 GMT+4)
Multi-Timeframe Analysis
- H1 Pivot Levels: Identifies 2-candle reversal patterns on 1-hour timeframe
- H4 Pivot Levels: Detects 4-hour pivot points using advanced pattern recognition
- Smart Visibility: Levels are only shown on appropriate timeframes (H1 levels on H1, H4 levels on H4)
Advanced Features
- Priority System: Automatically hides overlapping levels based on importance (Previous Day > Sessions > H4 > H1)
- Dynamic Labels: Real-time labels that update with price action
- Intelligent Cleanup: Removes crossed or outdated levels to maintain chart clarity
- Customizable Anchoring: Choose between precise timestamp anchoring or candle middle anchoring
- Performance Optimized: Built with efficient code structure for smooth chart performance
⚙️ Configuration Options
Note: Currently, the user interface settings are displayed in French. This will be updated to English in a future version.
General Settings
- Timezone: Configurable timezone for session calculations (default: GMT+4)
- Trading Days: Number of trading days to analyze (1-20 days)
- Extension: Right extension length for level lines
- Anchoring Mode: Precise timestamp or candle middle anchoring
Visual Customization
Each level type (Asia, Europe, Previous Day, H1, H4) includes:
- Color Selection: Separate colors for highs and lows
- Line Styles: Solid, Dotted, or Dashed lines
- Line Width: Adjustable thickness (1-4 pixels)
- Show/Hide Toggle: Individual control for each level type
🕒 Session Times
- Trading Day: 18:00-16:00 (CME session)
- Asian Session: 20:00-03:00 GMT+4
- European Session: 03:00-08:30 GMT+4
All times are configurable and timezone-aware
📈 How It Works
Level Detection
1. Session Levels: Continuously tracks price action during specific trading sessions
2. Pivot Detection: Uses 2-candle reversal patterns (bullish then bearish for highs, bearish then bullish for lows)
3. Multi-Timeframe Data: Requests higher timeframe data for H1 and H4 analysis
Smart Management
- Automatic Cleanup: Removes levels that have been crossed or are too old
- Priority Filtering: Hides duplicate levels based on importance hierarchy
- Dynamic Updates: Real-time adjustment of level positions and labels
🎨 Visual Elements
- Horizontal Lines: Extend from level creation point to the right
- Dynamic Labels: Show level type and session information
- Color Coding: Different colors for each session and timeframe
- Transparency: Automatically hides overlapping or less important levels
🔧 Technical Specifications
- Pine Script Version: v6
- Chart Overlay: True
- Max Lines: 500
- Max Labels: 50
- Performance: Optimized with intelligent memory management
📋 Usage Tips
1. Best Timeframe: Works on all timeframes, but H1 and lower provide optimal detail
2. Combine with Price Action: Use levels as confluence zones for entry/exit decisions
3. Risk Management: Levels can serve as stop-loss and take-profit targets
4. Market Structure: Helps identify key support/resistance in market structure analysis
🔄 Compatibility
This indicator is designed to work alongside other L3J indicators for comprehensive market analysis.
📞 Support & Updates
For questions, suggestions, or updates, please contact L3J through TradingView messaging.
---
Disclaimer : This indicator is for educational and analysis purposes. Always practice proper risk management and never risk more than you can afford to lose.
Version: 1.0
Author: L3J
Last Updated: 30/08/2025
Institutional Interest DisplayIndicator Overview:
This dashboard helps evaluate stocks quickly based on Market Cap, 52-week positioning, and liquidity metrics. It combines price strength with volume demand signals for breakout or institutional interest.
Logic Implemented:
1. Market Cap Classification:
- Market Cap = close × shares_outstanding (built-in value if available)
- Large-cap: ≥ ₹20,000 Cr
- Mid-cap: ₹5,000 – 20,000 Cr
- Small-cap: < ₹5,000 Cr
2. 52-Week Range (% from High/Low):
- 52W High = ta.highest(high, 252)
- 52W Low = ta.lowest(low, 252)
- % from 52W High = (Close ÷ 52W High – 1) × 100
- % from 52W Low = (Close ÷ 52W Low – 1) × 100
- CANSLIM logic → Prefer stocks near highs, avoid near lows
3. Average Daily Volume (ADV):
- ADV = ta.sma(volume, 50)
- Chosen 50D (more reliable than 20/30D, smooths anomalies)
4. Breakout Volume Confirmation:
- Volume Signal = Current Volume ÷ ADV
- Breakout Threshold = >1.5 × ADV
- Helps detect demand-driven price breakouts
5. % Change in Volume vs ADV:
- %Chg = ((Current Vol ÷ ADV) – 1) × 100
- Indicates abnormal activity vs typical trading
6. Up/Down Volume Ratio (U/D Ratio):
- Defined as: (Sum of volume on up days ÷ Sum of volume on down days)
- 50-day window
- U/D > 1 = net buying pressure
- U/D > 1.2 = stronger institutional demand
7. Up Days with Volume ≥ 1.5 × ADV:
- Counts number of up days (Close > Previous Close) in last 50 days where Volume ≥ 1.5 × ADV
8. Average Turnover:
- AvgTurnover = Avg Volume × Price
- Thresholds:
- Large-cap ≥ 1000M
- Mid-cap ≥ 200M
- Small-cap ≥ 50M
Table Layout:
- 4 Columns:
- Col 1 → Category, Market Cap, % from 52W Low, % from 52W High
- Col 2 → Values for above
- Col 3 → Avg Volume, Vol Today, %Chg Vol, U/D Ratio
- Col 4 → Values for above + Up Days >1.5 × ADV, Avg Turnover
Color Coding:
- Value cells have distinct background colors
- Labels = black text, grey background
- Green highlights signify thresholds met
Essa - Market Structure Crystal Ball SystemEssa - Market Structure Crystal Ball V2.0
Ever wished you had a glimpse into the market's next move? Stop guessing and start anticipating with the Market Structure Crystal Ball!
This isn't just another indicator that tells you what has happened. This is a comprehensive analysis tool that learns from historical price action to forecast the most probable future structure. It combines advanced pattern recognition with essential trading concepts to give you a unique analytical edge.
Key Features
The Predictive Engine (The Crystal Ball)
This is the core of the indicator. It doesn't just identify market structure; it predicts it.
Know the Odds: Get a real-time probability score (%) for the next structural point: Higher High (HH), Higher Low (HL), Lower Low (LL), or Lower High (LH).
Advanced Analysis: The engine considers the pattern sequence, the speed (velocity) of the move, and its size to find the most accurate historical matches.
Dynamic Learning: The indicator constantly updates its analysis as new price data comes in.
The All-in-One Dashboard
Your command center for at-a-glance information. No need to clutter your screen!
Market Phase: Instantly know if the market is in a "🚀 Strong Uptrend," "📉 Steady Downtrend," or "↔️ Consolidation."
Live Probabilities: See the updated forecasts for HH, HL, LL, and LH in a clean, easy-to-read format.
Confidence Level: The dashboard tells you how confident the algorithm is in its current prediction (Low, Medium, or High).
🎯 Dynamic Prediction Zones
Turn probabilities into actionable price areas.
Visual Targets: Based on the highest probability outcome, the indicator draws a target zone on your chart where the next structure point is likely to form.
Context-Aware: These zones are calculated using recent volatility and average swing sizes, making them adaptive to the current market conditions.
🔍 Fair Value Gap (FVG) Detector
Automatically identify and track key price imbalances.
Price Magnets: FVGs are automatically detected and drawn, acting as potential targets for price.
Smart Tracking: The indicator tracks the status of each FVG (Fresh, Partially Filled, or Filled) and uses this data to refine its predictions.
🌍 Trading Session Analysis
Never lose track of key session levels again.
Visualize Sessions: See the Asia, London, and New York sessions highlighted with colored backgrounds.
Key Levels: Automatically plots the high and low of each session, which are often critical support and resistance levels.
Breakout Alerts: Get notified when price breaks a session high or low.
📈 Multi-Timeframe (MTF) Context
Understand the bigger picture by integrating higher timeframe analysis directly onto your chart.
BOS & MSS: Automatically identifies Breaks of Structure (trend continuation) and Market Structure Shifts (potential reversals) from up to two higher timeframes.
Trade with the Trend: Align your intraday trades with the dominant trend for higher probability setups.
⚙️ How It Works in Simple Terms
1️⃣ It Learns: The indicator first identifies all the past swing points (HH, HL, LL, LH) and analyzes their characteristics (speed, size, etc.).
2️⃣ It Finds a Match: It looks at the most recent price action and searches through hundreds of historical bars to find moments that were almost identical.
3️⃣ It Analyzes the Outcome: It checks what happened next in those similar historical scenarios.
4️⃣ It Predicts: Based on that historical data, it calculates the probability of each potential outcome and presents it to you.
🚀 How to Use This Indicator in Your Trading
Confirmation Tool: Use a high probability score (e.g., >60% for a HH) to confirm your own bullish analysis before entering a trade.
Finding High-Probability Zones: Use the Prediction Zones as potential areas to take profit, or as reversal zones to watch for entries in the opposite direction.
Gauging Market Sentiment: Check the "Market Phase" on the dashboard. Avoid forcing trades when the indicator shows "😴 Low Volatility."
Confluence is Key: This indicator is incredibly powerful when combined with your existing strategy. Use it alongside supply/demand zones, moving averages, or RSI for ultimate confirmation.
We hope this tool gives you a powerful new perspective on the market. Dive into the settings to customize it to your liking!
If you find this indicator helpful, please give it a Boost 👍 and leave a comment with your feedback below! Happy trading!
Disclaimer: All predictions are probabilistic and based on historical data. Past performance is not indicative of future results. Always use proper risk management.
Monday Open [Bellsz]Plots the NY Monday range with box, High/Low, EQ, and Monday Open, then projects those levels forward by N bars. Clean weekly framing for liquidity targets and mean reversion.
Purpose
Maps the full New York Monday (00:00–23:59 NY time) and projects its High, Low, EQ (midpoint), and Monday Open forward. Use it to frame the week’s liquidity map, “magnet” levels, and mean-reversion targets with one glance.
What it draws
Monday Box — live-updating box for the NY Monday session (fill + border).
High/Low (solid lines) — locked at Monday close and optionally extended N bars.
EQ / Midline (dashed) — (High + Low) ÷ 2, extended N bars.
Monday Open (solid line) — projected from Monday’s first bar, extended N bars during Monday (temporary), then replaced by a fixed Monday-Open line at session end.
How it works
Detects NY calendar day without dayofyear and anchors to America/New_York.
Starts tracking at NY Monday 00:00; updates the box/high/low in real time.
When Monday ends, the script freezes the range and plots final H/L/EQ + Open, extending each by your chosen number of bars.
No lookahead; levels are only finalized after Monday completes.
Inputs
Extend lines (bars →) — how far to project H/L/EQ/Open into the future.
Monday Box Fill / Border — style the range box.
High/Low Line Color / Width — style Monday H & L.
EQ Line Color / Width — style midpoint.
Monday Open Color / Width — style the Monday open.
Why use this indicator
Weekly bias framing: Monday’s range often acts as the reference box for the week’s expansion.
Liquidity targeting: Equal highs/lows and EQ act as common magnet/rebalance areas.
Confluence: Combine with sessions/killzones, FVGs, order blocks, or news timing.
Best practices
Keep chart on your normal trading TF (M5–H1 for intraday, H4–D for swing).
Watch EQ taps and previous Monday H/L sweeps Tuesday–Friday.
Pair the projection length with your strategy’s average holding horizon.
Notes & limitations
All timing is NY session-based (America/New_York). If your symbol trades Sunday evening (futures/FX), Monday begins at 00:00 NY as coded.
Market holidays that shift liquidity can affect the “feel” of Monday’s range.
Works on any symbol/TF supported by TradingView. No repainting after Monday close.
ORB Dashboard for the TFLX Strategy# ORB Range/ATR Dashboard - Technical Indicator Description
## Main Function
This indicator analyzes Opening Range Breakout (ORB) patterns by calculating a defined time period and its relation to historical volatility. The indicator combines multiple technical analysis methods and presents results in a configurable dashboard format.
**Purpose:** This indicator automates the manual calculation steps of the TFLX analysis methodology, providing real-time computation of volatility ratios, trend filters, and risk management parameters that would otherwise require manual calculation and monitoring.
## Requirements and Limitations
**Additional Indicator Required:** This dashboard indicator works in conjunction with a separate ORB range visualization indicator that displays the actual high/low range levels on the chart. The dashboard provides analysis and calculations, while the range indicator provides visual reference points.
**Important Notice:** This indicator serves as an analytical tool and calculation assistant for the TFLX methodology. It does not execute trades automatically but provides data analysis to support manual decision-making processes.
## TFLX Analysis Methodology Framework
### Core Analysis Rules (Discretionary Implementation)
**Primary Conditions:**
- Market position relative to neutral zones (BB analysis)
- Volatility range between 15-60% of ATR(3)
- News event screening (high-impact economic releases)
- Market session timing constraints (before calculated session end)
- US Bank Holiday considerations
**Exception Conditions:**
- High-impact news with rebreak patterns
- Reversal patterns during neutral market conditions
### Technical Specifications of the Methodology
**Range Definition:**
- Time Period: First 15 minutes after market open
- Measurement: High-Low range calculation
- Breakout Trigger: 5-minute close outside established range
**Volatility Analysis:**
- Formula: (Range Points / ATR(3) Previous Day) × 100
- Threshold Ranges:
- <15%: Below minimum threshold
- 15-20%: Low volatility range
- 25-30%: Moderate volatility range
- 30-40%: Good volatility range
- 40-50%: High volatility range
- 50-60%: Very high volatility range
- >60%: Above maximum threshold
**News Event Categories:**
- Major Events: NFP, CPI, PPI, FOMC releases
- Minor Events: All significant economic releases during market hours
- Impact Assessment: Market reaction analysis framework
**Trend Analysis Framework (1H Bollinger Bands):**
- Base Calculation: EMA(200) with standard deviation bands
- Reference Points: Market Open, ORB Close, Trigger Bar
- Decision Logic: 2 out of 3 reference points determine bias
- Zone Classifications:
- Within 0.5 multiplier: Neutral zone
- Within 1.5 multiplier: Directional bias zone
- Outside 1.5 multiplier: Strong directional zone
**Timing Constraints:**
- Session Window: Market open to calculated session end (typically 4.5 hours)
- Retracement Analysis: Maximum adverse movement before breakeven or stop loss
**Manual Calculation Process (Automated by Indicator):**
1. Measure range in points using chart measurement tools
2. Switch to daily timeframe
3. Set ATR period to 3
4. Extract previous day's ATR value
5. Calculate: (Range Points ÷ ATR Value) × 100
6. Apply percentage thresholds for analysis
## Core Components and Calculation Methods
### 1. Opening Range Calculation
**Data Source:** High/Low/Close prices of current timeframe
**Calculation:**
- Defines a configurable time period (default: 15 minutes)
- Collects during this period: `range_high = max(high)` and `range_low = min(low)`
- Calculates Range Size: `range_size = range_high - range_low`
- Stores the last close price of the period: `final_orb_close`
### 2. ATR (Average True Range) Integration
**Data Source:** Daily True Range values
**Calculation:**
```
daily_atr = ta.atr(length) // Default 3 periods
atr_yesterday = daily_atr // Previous trading day
```
**Available Methods:** RMA (default), SMA, EMA, WMA
### 3. Volatility Ratio Calculation
**Formula:**
```
ratio = (range_size / atr_yesterday) * 100
```
**Purpose:** Normalization of current range against historical volatility
**Configurable Parameters:** Min/Max thresholds (default: 15-60%)
### 4. Bollinger Bands Integration (1H Timeframe)
**Data Source:** 1-hour chart data via `request.security()`
**Calculation:**
```
bb_ema = ta.ema(close, 200) // 1H timeframe
bb_std = ta.stdev(close, 200) // 1H timeframe
bb_upper = bb_ema + (bb_std * multiplier)
bb_lower = bb_ema - (bb_std * multiplier)
```
**Configurable Multipliers:**
- Neutral Zone: 0.5x standard deviation
- Strong Zone: 1.5x standard deviation
### 5. Trend Filter System (2/3 Method)
**Components:**
1. **NY Open Signal:** Compares 1H open price with BB levels
2. **ORB Close Signal:** Compares final ORB close with BB levels
3. **Trigger Signal:** Compares breakout price with BB levels
**Logic:**
```
if (bullish_signals >= 2) → "BULLISH"
if (bearish_signals >= 2) → "BEARISH"
else → "MIXED" or "NO TREND"
```
## Component Interaction
### Trade Signal Generation
**Algorithm:**
```
trade_allowed = (orb_ratio >= min_threshold AND orb_ratio <= max_threshold)
AND (bb_signal != "NEUTRAL")
AND (trend_filter_result contains "BULLISH" OR "BEARISH")
```
### Risk Management Calculation
**Entry Points:**
- Long Entry: `range_high`
- Short Entry: `range_low`
**Stop Loss Calculation:**
```
sl_level = range_low + (range_size * sl_position_percent / 100)
```
**Take Profit Calculation:**
```
tp_distance = range_size * tp_factor_percent / 100
long_tp = long_entry + tp_distance
short_tp = short_entry - tp_distance
```
**Position Sizing (CFD-optimized):**
```
risk_per_contract = avg_risk_points * contract_value * lot_size
max_contracts = max_risk_amount / risk_per_contract
```
**Margin Calculation (CFDs):**
```
position_value = total_units * entry_price
margin_required = position_value / leverage
```
## Dashboard Elements
### 1. Volatility Filter Section
- **ORB Range:** Current range in points
- **ATR Previous:** Yesterday's ATR values
- **ORB Ratio:** Calculated ratio with color coding
### 2. Trend Filter Section
- **NY Open vs BB:** Position of 1H open relative to BB
- **ORB Close vs BB:** Position of ORB close relative to BB
- **Trigger Bar vs BB:** Position of breakout price relative to BB
- **Trend Result:** Summary of 2/3 filter
### 3. Risk Management Section (optional)
- **R/R Ratio:** Calculated from TP/SL distances
- **Risk per Lot:** Based on instrument type
- **Max Lot Packages:** Automatic position sizing calculation
- **Margin Required:** For CFD instruments
### 4. Journal Section (optional)
- **Breakout Timing:** Categorization by bars (1-3, 4-6, 7-9, 10-12, 13+)
- **Direction Tracking:** Bullish/Bearish breakout direction
- **Position Analysis:** Distance of breakout to ORB range
## Automatic Instrument Detection
**CFD/Index Treatment:**
```
if (syminfo.type == "cfd" OR syminfo.type == "index")
contract_value = 1.0 * cfd_lot_size
```
**Forex Treatment:**
```
if (syminfo.type == "forex")
contract_value = syminfo.pointvalue * cfd_lot_size
```
**Futures/Stocks:**
```
contract_value = syminfo.pointvalue
```
## Timezone Handling
- All time calculations based on configurable timezone
- Session End Time: ORB Start + 4.5 hours
- Automatic overflow handling for 24h format
## Alert System
**ORB Formation Alert:**
- Triggered upon completion of ORB period
- Includes: Range size, high/low values
**Breakout Alert:**
- Triggered on close price outside ORB range
- Includes: Direction, trade status based on filters
## Configuration Options
- **ORB Period:** Start/end time in hours/minutes
- **ATR Parameters:** Period and calculation method
- **Volatility Thresholds:** Min/max percentage limits
- **BB Parameters:** Period and multipliers
- **Risk Management:** Risk amount, SL/TP positions
- **Dashboard Layout:** Position, size, colors, visibility
## Data Integrity
- State variables with `var` declaration for persistence
- Daily reset of all relevant variables
- Lookahead bias prevention through `barmerge.lookahead_off`
- Multi-timeframe safety through `request.security()` functions
This technical implementation provides a comprehensive analysis framework for Opening Range Breakout patterns with integrated volatility, trend, and risk management components.
Mohammad - Micro-Segments 2Mohammad - Auto Trendlines - Dynamic Support & Resistance
This indicator automatically identifies and draws trendlines by connecting pivot highs and pivot lows, similar to how a professional trader would manually draw them on a chart. Each pivot point is used only once to maintain clean, non-overlapping lines.
Key Features:
Automatically detects and connects pivot points to form trendlines
Distinguishes between resistance lines (connecting highs, drawn from top) and support lines (connecting lows, drawn from bottom)
Each pivot/wick is used for maximum one trendline, preventing messy overlapping
Color-coded: Black for resistance lines (bearish), Blue for support lines (bullish)
Support lines can be toggled on/off (hidden by default for cleaner charts)
Parameters:
Minimum/Maximum Length: Controls the range of bars to search for trendline connections (5-40 bars default)
Pivot Strength: Determines how prominent a high/low must be to qualify as a pivot point
Line Extension: Projects trendlines forward into the future
Tolerance: Flexibility for validating price touches on the trendline
Maximum Lines: Limits the number of visible trendlines to prevent chart clutter
How It Works:
The indicator scans historical price data to identify significant pivot points (local highs and lows). It then connects these pivots with trendlines following these rules:
Resistance lines connect pivot highs where the recent high is lower than the older high (descending)
Support lines connect pivot lows where the recent low is higher than the older low (ascending)
Lines must have intermediate price touches to be considered valid
Each pivot can only be used once, ensuring clean, logical trendline placement
Use Cases:
Identify key support and resistance levels automatically
Spot trend continuations and potential reversal points
Save time by eliminating manual trendline drawing
Maintain consistency in technical analysis
The indicator updates every 5 bars and on the last bar to ensure current relevance while maintaining performance.
Mohammad - Auto Trendlines - Versión EstableMohammad - Auto Trendlines - Dynamic Support & Resistance
This indicator automatically identifies and draws trendlines by connecting pivot highs and pivot lows, similar to how a professional trader would manually draw them on a chart. Each pivot point is used only once to maintain clean, non-overlapping lines.
Key Features:
Automatically detects and connects pivot points to form trendlines
Distinguishes between resistance lines (connecting highs, drawn from top) and support lines (connecting lows, drawn from bottom)
Each pivot/wick is used for maximum one trendline, preventing messy overlapping
Color-coded: Black for resistance lines (bearish), Blue for support lines (bullish)
Support lines can be toggled on/off (hidden by default for cleaner charts)
Parameters:
Minimum/Maximum Length: Controls the range of bars to search for trendline connections (5-40 bars default)
Pivot Strength: Determines how prominent a high/low must be to qualify as a pivot point
Line Extension: Projects trendlines forward into the future
Tolerance: Flexibility for validating price touches on the trendline
Maximum Lines: Limits the number of visible trendlines to prevent chart clutter
How It Works:
The indicator scans historical price data to identify significant pivot points (local highs and lows). It then connects these pivots with trendlines following these rules:
Resistance lines connect pivot highs where the recent high is lower than the older high (descending)
Support lines connect pivot lows where the recent low is higher than the older low (ascending)
Lines must have intermediate price touches to be considered valid
Each pivot can only be used once, ensuring clean, logical trendline placement
Use Cases:
Identify key support and resistance levels automatically
Spot trend continuations and potential reversal points
Save time by eliminating manual trendline drawing
Maintain consistency in technical analysis
The indicator updates every 5 bars and on the last bar to ensure current relevance while maintaining performance.
SMC - OB/Breaker Block/Bos/ChoCh (DeadCat) Based on analyzing your Pine Script code, here are comprehensive descriptions that should comply with TradingView's house rules:
Script 1: "PO3 Liquidity w/ CISD (DeadCat)"
Description:
This indicator implements the Power of Three (PO3) liquidity concept combined with Change in State of Delivery (CISD) pattern recognition for Smart Money Concepts (SMC) trading. The script operates on multi-timeframe analysis using automated timeframe selection.
Core Methodology: The indicator identifies C2 liquidity sweeps by detecting when price breaks previous period highs/lows and then reverses back above/below those levels. It specifically looks for:
C2 Buy Setup: When current low breaks previous period low but closes back above it
C2 Sell Setup: When current high breaks previous period high but closes back below it
CISD Pattern Detection: The script implements sophisticated CISD (Change in State of Delivery) pattern recognition by:
Tracking the first break of previous HTF high/low levels
Identifying imbalance candles (gaps between consecutive candles)
Confirming CISD when price reclaims the imbalance level within 2 HTF periods
Validating setups only when both liquidity sweep AND CISD confirmation occur
Visual Components:
HTF Candles: Displays higher timeframe candle structure on current chart
Trading Zones: Shows zones between HTF open and equilibrium levels
CISD Lines: Marks confirmed change in state of delivery levels
C2/C4 Labels: Identifies liquidity sweep entry points and potential continuation setups
Market Structure: Optional HH/HL/LH/LL pivot markers
Unique Features:
Automatic timeframe calculation (15m→4H, 1H→1D, etc.)
Real-time HTF period countdown
Setup invalidation tracking when stops are hit
Progressive setup confirmation (C2→C4 evolution)
Bias filter for directional trading preferences
Usage: C2 setups provide initial entry opportunities after confirmed liquidity sweeps with CISD confirmation. C4 setups offer additional entries when HTF equilibrium conditions align favorably. The indicator helps traders identify institutional liquidity grabs followed by genuine directional moves.
Script 2: "SMC Toolkit (DeadCat)"
Description:
This comprehensive Smart Money Concepts toolkit provides institutional-level market structure analysis with automated Order Block (OB) and Breaker Block (BB) zone identification, plus Break of Structure (BOS) and Change of Character (ChoCh) detection.
Market Structure Algorithm: The indicator uses a sophisticated pivot-based algorithm to identify and track market structure progression:
Uptrend: HH→HL→HH sequence tracking
Downtrend: LL→LH→LL sequence tracking
Trend Changes: Automatic ChoCh detection when structure breaks occur
Order Block Logic:
Bullish OB Zones: Created at Higher Lows (HL) and Lower Lows (LL) during uptrends
Bearish OB Zones: Created at Lower Highs (LH) and Higher Highs (HH) during downtrends
Uses last bearish candle before bullish moves (and vice versa) to define precise zone boundaries
Breaker Block Logic:
Bullish BB Zones: Former resistance that becomes support after HH/LH breaks
Bearish BB Zones: Former support that becomes resistance after LL/HL breaks
Automatically transitions when structure points are breached
Zone Management: The script employs intelligent zone lifecycle management:
Creates new zones only at confirmed structure points
Makes previous zones transparent when new structure is confirmed
Maintains zone relevance through dynamic extension
Limits total zones to prevent chart clutter
BOS vs ChoCh Detection:
BOS (Break of Structure): Continuation patterns when trend highs/lows are exceeded
ChoCh (Change of Character): Reversal patterns when pullback levels are broken against trend
Requires 2-candle confirmation before finalizing structure changes
Visual Enhancements:
Color-coded zones with transparency controls
Directional arrows (▲/▼) in zone labels
Customizable line styles and text sizing
Clean market structure progression tracking
Originality: This toolkit combines traditional SMC concepts with enhanced zone boundary calculation using multi-candle analysis and intelligent zone lifecycle management, providing more precise entry/exit levels than standard implementations.
Globex Overnight Futures ORB with FIB's by TenAMTrader📌 Globex Overnight Futures ORB with FIB’s – by TenAMTrader
This indicator is designed for futures traders who want to track the Globex Overnight Opening Range (ORB) and apply Fibonacci projections to anticipate potential support/resistance zones. It’s especially useful for traders who follow overnight sessions (such as ES, NQ, CL) and want to map out key levels before the U.S. regular session begins.
⚙️ How It Works
Primary Range (ORB):
You define a start and end time (default set to 18:00 – 18:15 EST). During this period, the script tracks the session high, low, and midpoint.
Opening Range Plots:
High Line (green)
Low Line (red)
Midpoint Line (yellow)
A shaded cloud between High–Mid and Mid–Low for easy visualization.
Fibonacci Projections:
Once the ORB is complete, the script calculates a full suite of Fibonacci retracements and extensions (e.g., 0.236, 0.382, 0.618, 1.0, 1.618, 2.0).
Standard key levels (0.618, 0.786, 1.0, etc.) are always shown if enabled.
Optional extended levels (1.236, 1.382, 1.5, 2.0, etc.) can be toggled on/off.
"Between Range" fibs (such as 0.382 and 0.618 inside the ORB) are also available for traders who like intra-range precision.
🔧 User Settings
Time Inputs: Choose your ORB start/end time.
Color Controls: Customize high, low, midpoint, and fib line colors.
Display Toggles: Turn on/off High, Low, Midpoint lines and Fibonacci projections.
Fib Extensions Toggle: Decide whether to show only major fibs or all extensions.
Alerts (Optional): Alerts can be set for crossing the ORB High, Low, or Midpoint.
📊 Practical Use Cases
Breakout Traders: Use the ORB high/low as breakout triggers.
Mean Reversion Traders: Watch for rejections near fib extension levels.
Overnight Futures Monitoring: Track Globex behavior to prepare for RTH open.
Risk Management: ORB and Fib levels make for natural stop/target placement zones.
⚠️ Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or trading recommendations. Trading futures involves substantial risk of loss and may not be suitable for all investors. Always do your own due diligence and consult with a licensed financial professional before making trading decisions.
FREEDOM - TJR Model\ FREEDOM – TJR Model\ 🚀
\ Automates TJR’s well-known NQ playbook with clean visuals, filters, and alerts—so you can focus on execution.\
\ Core idea\
1. Trade \ NQ\ in the \ New York session\ 🗽
2. Wait for a \ liquidity sweep\ of a \ prior session\ High/Low (Asia or London) ✂️
3. Confirm with \ SMT (NQ vs ES) divergence\ 🔀
4. Act on a \ proprietary entry signal\ 🔒
5. Risk at the swing 🛡️, target \ untapped internal/session liquidity\ 🎯
This indicator draws those session levels for you, tracks sweeps, detects SMT, applies higher-timeframe confluence, and fires alerts that respect your time window and filters.
---
\ What it draws & detects\
\ • Sessions & Liquidity Sweeps\ 🕒
* Plots \ Asia / London / New York\ session bands.
* On session close, it freezes the session’s \ High/Low\ as dotted “previous-session levels” and \ extends them forward\ until price \ crosses\ (choose \ Wicks\ or \ Close\ ).
* When price takes a previous-session \ High\ → \ Buyside sweep\ ; takes a \ Low\ → \ Sellside sweep\ .
* Optional \ Sweep Zones\ expand around the swept level using an \ ATR(21)\ margin; can auto-fade “fake” sweeps.
\ Tip: Keep “Extend previous session High/Low until cross” ON to maintain a clean roadmap into NY open.\
\ • SMT Divergence (NQ vs ES)\ 🔀
* Classic pivot-to-pivot SMT:
* \ Bearish SMT\ = NQ makes a \ higher high\ while ES does \ not\ .
* \ Bullish SMT\ = NQ makes a \ lower low\ while ES does \ not\ .
* Draws \ lines\ from pivot to pivot (no chart spam), with optional inline “SMT” label and optional confidence \ score\ (0–100) based on strength + recency.
* Context aware:
* Only shows \ Bearish SMT\ after a \ buy-side sweep\ (previous-session High taken).
* Only shows \ Bullish SMT\ after a \ sell-side sweep\ (previous-session Low taken).
* Respects your \ NY time window\ if enabled.
\ • Proprietary Entry Signals\ 🔒
* Prints entry lines + arrows only when your rules align (proprietary detection under the hood).
* Respects:
* \ Session-sweep bias\ (optional): Sells only after buy-side sweep; Buys only after sell-side sweep.
* \ Monotonic filter\ : new Sell must be \ higher\ than last Sell; new Buy must be \ lower\ than last Buy (resets each session).
* \ Minimum distance\ to nearest previous-session dotted level (in ticks).
* \ NY time filter\ window.
* \ HTF confluence\ (see below).
---
\ HTF Confluence (optional)\ 📈
* Choose \ MA slope\ (\ EMA/SMA/RMA/WMA\ ) or \ HH/HL structure\ on a higher timeframe (e.g., 60m/240m).
* Entry arrows and alerts can be gated so they only print when HTF bias agrees with the setup.
\ Tip: Start with EMA 50 on 60m for a smooth directional filter; add HH/HL only if you want stricter structure confirmation.\
---
\ Dashboard (bottom-right)\ 🧩
* \ VWAP state\ :
* \ Overbought\ (🔴) if close > VWAP + (mult × stdev)
* \ Oversold\ (🟢) if close < VWAP − (mult × stdev)
* Otherwise \ Neutral\ (⚪️)
* \ Premium / Discount\ vs previous-session 50% midline: Premium = above (red bias), Discount = below (green bias).
* \ SMT row\ : Bullish / Bearish / Neutral with optional score.
---
\ How to use the settings (quick tour)\
\ ENTRY\
* \ Entry Swing Length\ : lower = more signals.
* \ Confirmation\ : \ Candle Close\ or \ Wicks\ for breakout.
* \ Filter entry by session sweeps\ : enforces “sell after buy-side sweep, buy after sell-side sweep.”
* \ Minimum distance (ticks)\ : blocks entries too close to previous-session dotted levels.
* \ Replay mode\ : keeps entries visible in Bar Replay.
* \ NY Time filter\ : default \ 08:00–14:00 NY\ ; arrows/alerts respect the window.
* \ Arrow offset (ticks)\ : how far above/below the candle to plot the arrow.
\ SESSION SWEEPS\
* Toggle \ Buyside/Sellside zones\ , adjust \ ATR(21)\ margin & length.
* \ Hide Fake Sweep Zones\ (default ON).
* \ Extend H/L until cross\ (Wicks/Close).
* Optional \ daily reset\ for unswept dotted lines.
\ SESSIONS\
* Enable/disable \ Asia, London, NY AM, NY PM\ ; set start/end; choose color; extend midline if desired.
* DST toggles for NY/London.
\ HTF Confluence\
* Turn it ON/OFF; pick timeframe & method (MA slope or HH/HL); set MA type/length or swing length.
\ Dashboard\
* Show/hide table; set VWAP stdev length/multiplier.
* SMT settings: comparison symbol (\ default ES1!\ ), pivot length, show score/labels, recency window, etc.
\ Alerts\ (always last) 🔔
* \ Session line cross\ : choose Highs/Lows and crossing mode (\ Same as extension / Wicks / Close\ ).
* \ Entry alerts\ : \ Filtered / Unfiltered / Both\ .
* \ Filtered\ = respects sweep bias, HTF confluence, minimum distance, monotonic rule, and time window.
* \ Unfiltered\ = ignores sweep bias/HTF/monotonic (still respects minimum distance + time window).
* All entry alerts also respect the \ NY time window\ when enabled.
---
\ Suggested workflow\
* Open NQ on a 1–5m chart.
* Let the dotted \ previous-session H/L\ extend into NY; wait for a \ sweep\ .
* Check \ SMT\ : after buy-side sweep → look for \ bearish SMT\ ; after sell-side sweep → look for \ bullish SMT\ .
* Take the \ proprietary entry\ when filters agree.
* Stop at the swing; aim for \ untapped internal/session liquidity\ .
* Let \ alerts\ handle the monitoring.
---
\ Why traders like it\
* It mirrors the model popularized by \ TJR\ while removing the chart admin: sessions, sweeps, SMT, HTF gating, distances, monotonic sequencing, time windows, and ready-to-use alerts—so your execution stays consistent. ✨
---
\ Disclaimer\ ⚠️
\ This tool is for educational purposes only and does not constitute financial advice. Markets involve risk; always do your own research and test in replay/paper before trading live. FREEDOM – TJR Model is inspired by TJR’s publicly known framework but is not affiliated with, endorsed by, or sponsored by TJR. You are solely responsible for your trading decisions and outcomes.\
LANZ Strategy 7.0🔷 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:
Own capital
Own risk percentage per trade
Lot size is auto-calculated based on:
SL distance (in pips or points)
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:
SL hit → “–1.00%” in red
TP hit → “+X.XX%” in green
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
Decision Session (Yellow) — Capture high/low range.
Operative Session (Blue) — First touch of high = BUY setup; first touch of low = SELL setup.
Plot EP, SL, TP lines + calculate lot sizes for all active accounts.
Track trade until SL, TP, or Operative End.
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.