Session H/L + Mid + 25%/75% — EvolvingPlots Session High and Low + the Midpoint between the two and also plots at 25% and 75% (Good for initial and rolling up/down stops)
ابحث في النصوص البرمجية عن "session"
Session Anchor Lines (Asia, London, NY)futures relative to 4 HR chart ( it draws a line for each session open )
Session Anchor Lines (Asia, London, NY)it draws a line at each session open ( in relative to the 4 HR candle )
Session Highs and Lows - TWThis indicator plots the following:
- Previous day's high and low (based on previous daily candle) - purple
- Asia high and low (1800-0200) - red
- London high and low (0300-0930) - blue
Once a high or low is hit or passed during the NY session, the line reduces in thickness to show that this point of interest has been taken. The thinner lines remain on the chart as a reference so it's easy to discern POIs that are still in play vs. those that have been taken.
Session Highs and LowsThis indicator plots the following:
- Previous day high and low (based on previous daily candle) - purple lines
- Asian high and low (1800-0200) - red lines
- London high and low (0300-0930) - blue lines
During NY session, once one of these point of interest has been hit or passed, the line thickness reduces so you can tell at a glance which points have been taken, but they still remain on the chart for reference.
Session Prep (RTH only, UTC-4)corrected Session Prep (RTH only, UTC-4) now its working properly. hope it helps! :)
Session LiquidityDescribes if markets are liquid enough for institutions to manipulate. Its often difficult to determine if markets will trend or chop, but by looking at how much volume we have at the open, we can determine of the session will be choppy or trendy, and take trades based on that.
Settings predefined for 1m timeframe on SPY. May work with other tickers, but I have not tested it out yet.
Designed for stocks(as of now, may update later)
Session High Low TimestampDescription: Displays the timestamp of the session's high/low. Useful for finding a pattern to day dips/spikes.
Note: Most useful for ETH (extended hours timeframe)
Central Session Time LinesSession Breaks for Central Time Zone
1. Asian
2. London
3. New York
4. Frankfurt
5. Pre New York
6. Australian
ICT ALL | TTRADES DAILY BIAS | AMD Session Bias & Dol [Pro]ICT ALL | TTRADES DAILY BIAS | AMD Session Bias & Draw on Liquidity
Introduction
The ICT TTRADES DAILY BIAS | AMD Session Bias & Draw on Liquidity is an all-in-one indicator built by professionals upon TTrades' Daily Bias Candle methodology and ICT's Power of Three (PO3) framework. This indicator transforms complex multi-session price action into an intuitive, actionable trading system by visualizing the accumulation, manipulation, and distribution phases across the Asia, London, and New York sessions.
By combining Higher Timeframe (HTF) candle visualization on Lower Timeframes (LTF), intelligent Draw on Liquidity (DOL) projections, and precision entry tools like CISD, Equilibrium, and Imbalances, this indicator provides traders with a comprehensive view of institutional price delivery—from the initial manipulation to the final expansion.
The indicator dynamically adapts to daily conditions, automatically identifying bias direction based on session sweeps and expansion candle analysis. All visual elements remain stable and non-repainting within their defined time periods, offering traders reliable levels for analysis and execution.
Every feature is fully customizable, allowing traders to tailor the indicator to their specific trading style, preferred sessions, and visual preferences.
This indicator is built to guide traders through the daily market narrative, combining Daily Bias, AMD / PO3 session structure, Draw on Liquidity, and precision entry confirmations into a clean, non-repainting framework.
---
key features:
🕯️ HTF Candle Visualization
View Higher Timeframe session candles directly on your Lower Timeframe chart. Supports 1D → 1H fractal pairings, allowing macro structure awareness with micro-precision execution.
---
TTrades Daily Bias Logic
The indicator uses multi-day price action analysis comparing D-1 (yesterday) against D-2 (day before yesterday) to determine today's directional bias:
Three Main Pattern Types:
| Pattern | Condition | Bias |
|---|---|---|
| Break (Expansion) | D-1 closes ABOVE D-2 High or BELOW D-2 Low | Continuation |
| Failure to Break (FTB) | D-1 wicks beyond D-2 High/Low but closes back inside | Reversal
| Inside Bar | D-1 doesn't test either D-2 High or Low | Neutral |
Break (Expansion Day):
- Bullish: D-1 closes ABOVE D-2's High → expect continuation higher
- Bearish: D-1 closes BELOW D-2's Low → expect continuation lower
- Requires ≥50% body for conviction (weak body = Neutral)
Failure to Break (FTB):
- Bullish FTB: D-1 wicks BELOW D-2 Low but closes inside → liquidity sweep below → bullish reversal
- Bearish FTB: D-1 wicks ABOVE D-2 High but closes inside → liquidity sweep above → bearish reversal
- If FTB candle has >50% contradicting body → marked as Weak/Neutral
50% Continuation Level:
- Expansion Day: 50% of D-1's full candle range
- FTB Day: 50% of D-1's manipulation wick only
- Zone between daily open and 50% level highlights high-probability continuation area
- Disappears if violated by Htf candle close
---
🕯️ session Visualization (AMD/PO3)
View Higher Timeframe session candles directly on your Lower Timeframe chart. Supports 1D to 1H pairings.
What it helps you see:
profiling sessions
• When Asia → London → NYC manipulate, reverse, or expand a range
• Session-to-session momentum and volatility shifts
• session Liquidity highs/lows and market narrative
This tool helps traders apply ICT concepts like PO3, It’s particularly useful for identifying liquidity zones, Killzone reactions, and higher timeframe market structure while executing on a lower timeframe
Session Breakdown:
AMD Candle Construction
Session Breakdown (EST)
- CBDR — 14:00 – 20:00
Central Bank Dealers Range (pre-Asia positioning)
- Asia (C2) — 20:00 – 00:00
Accumulation, range establishment & liquidity build
- London Killzone (C3) — 02:00 – 05:00
Manipulation phase, sweeps Asia liquidity
- New York Killzone (C4) — 07:00 – 10:00
Distribution & true expansion
Each candle begins after the previous session ends, fully capturing the Accumulation → Manipulation → Distribution cycle:
- C1 — Starts at CBDR open
- C2 — Asia session
- C3 — opens Asia close and closes London Killzone close
- C4 — opens after London kz close → NYC expansion
This structure reveals where price is in the daily delivery process at a glance.
---
⏰ Killzone Auto Marking
Automatically plots London and New York Killzones with:
- DST-aware session timing
- Custom colors & transparency
- Clean, unobtrusive chart visuals
Trade only during institutional execution windows.
---
🔄 CISD — Change in State of Delivery
Identifies true order-flow shifts:
- Bullish & bearish CISD detection
- Clear visual markers on structure change
- Ideal entry confirmation inside killzones
Helps filter fake moves and confirms institutional intent.
---
📊 Imbalances / Fair Value Gaps (FVG)
Automatic detection of price inefficiencies:
- Configurable lookback period
- Highlights internal range liquidity and premium entry zones
Perfect for precision entries aligned with bias.
---
📈 SMT Divergence (Smart Money Technique)
Detects divergence between correlated pairs:
- Pivot-based high & low comparison
- Adjustable sensitivity
- Visual divergence lines
Reveals hidden institutional positioning when markets fail to confirm.
---
⚖️ Equilibrium (EQ) & T-Spot Levels
Key price levels for reversals and continuations.
Equilibrium (50%)
- Mean reversion level
- Premium vs discount clarity
- Bias validation or invalidation
T-Spot
- Anticipated wick-reaction zone
- Based on TTrades methodology
- Dynamically adapts to bias & session structure
---
🎯 Draw on Liquidity (DOL) Targets
Automatically projects where price is likely headed:
- Previous Day High / Low — External liquidity
- C2 (Asia) High / Low — Internal session liquidity
- Clear labels & target tracking
---
📋 Real-Time Bias Dashboard
A compact information panel showing:
- Daily expansion status
- Current directional bias
- Active liquidity targets
- SMT divergence counts
Fully customizable position, size, and visibility.
---
⚙️ Full Customization
Every element is adjustable:
- Colors, line styles & transparency
- Visibility toggles per feature
- Lookback periods & sensitivity controls
Designed to fit any ICT-based trading style.
---
🔍 Quick Feature Summary
| Feature | Purpose |
|---|---|
| AMD Candles | Visualize accumulation → manipulation → distribution |
| HTF Candles | Higher timeframe structure on LTF |
| DOL Targets | Smart liquidity-based price objectives |
| Killzones | Optimal institutional trading windows |
| CISD | Order-flow reversal confirmation |
| Imbalances (FVG) | Precision entry zones |
| SMT Divergence | Multi-pair smart money signals |
| EQ / T-Spot | Key reversal & continuation levels |
| Dashboard | Live bias & target tracking |
---
How to Use
1. **Add to Chart**
Apply the indicator to any Forex pair.
2. **SMT Comparison Symbol**
By default, SMT tracks **GBPUSD**. Change this in the settings to match a correlated pair for your chart:
- Trading **EURUSD** → Use **GBPUSD** as the comparison
- Trading **GBPUSD** → Use **EURUSD** as the comparison
- Trading **US30** → Use **NAS100** as the comparison
3. **Wait for Bias**
Let the indicator establish direction during **C3 (London)**. Once Asia levels are swept, **DOL targets appear automatically**.
4. **Trade the Killzones**
Enter during **London Killzone (02:00–05:00)** or **New York Killzone (07:00–10:00)** when price reaches DOL targets.
5. **Confirm with CISD**
Look for **Change in State of Delivery (CISD)** signals to confirm reversals at key levels.
6. **Use Imbalances**
Fair Value Gaps (FVGs) provide precision entry points — enter when price returns to fill the gap.
7. **Check Dashboard**
Monitor real-time bias, active targets, and SMT divergence count at a glance.
---
## Pro Tips
- Disable features you don’t use to keep the chart clean.
- Adjust the imbalance days back setting based on your trading style.
- Use killzone boxes to avoid trading outside optimal windows.
Non-Repainting • Fully Customizable • Forex, Indices & Crypto Compatible
QuantumPips Session Trend StructureQuantumPips Session Trend Structure is an indicator built to help you read session structure and spot higher-quality breakout → retest opportunities when trend and momentum conditions agree.
It does three main things:
Maps sessions (Asia / London / New York) with live High/Low boxes
Adds trend direction using EMA bias (50/200 + optional slope)
Prints BUY/SELL labels only after a clean breakout + retest sequence, optionally filtered by volume, range expansion (ATR), and candle body strength
Educational tool only — not financial advice. Always manage risk.
What you’ll see on the chart
Session boxes (structure)
The indicator draws a box for each session and updates the session High/Low while the session is active.
Default settings (Timezone Europe/London):
Asia: 00:00–09:00
London: 08:00–17:00
New York: 13:00–22:00
Optional: vertical dotted lines at session starts.
EMA bias (direction)
Two EMAs are plotted:
EMA Fast (50)
EMA Slow (200)
Bias is:
Bullish: EMA50 above EMA200 (and optionally EMA50 rising)
Bearish: EMA50 below EMA200 (and optionally EMA50 falling)
This is designed to reduce counter-trend signals.
The core idea (simple)
Each major session often reacts to the previous session’s range.
This script uses that concept by selecting a reference range:
During London, reference = Asia High/Low
During New York, reference = London High/Low
During Asia (optional), reference = New York High/Low
The panel shows Ref Range, which is just:
Ref Range = Reference High − Reference Low
Signal logic: Breakout → Retest (with confluence)
A signal is only considered when you are inside a session you enabled (Asia/London/NY toggles).
BUY (Long)
Trend bias is Bullish
Price closes above the reference High (breakout)
Price returns to retest near the broken High (ATR tolerance)
Optional: retest candle must close back up (confirm-close)
Optional confirmations pass (volume / expansion / body)
SELL (Short)
Trend bias is Bearish
Price closes below the reference Low (breakout)
Price returns to retest near the broken Low (ATR tolerance)
Optional: retest candle must close back down (confirm-close)
Optional confirmations pass (volume / expansion / body)
This approach is meant to avoid “first-touch” entries and focus on structured moves.
Filters (optional, but useful)
Volume Spike Filter
Requires elevated participation:
volume ≥ SMA(volume) × multiplier
(Volume varies by market/data feed; use discretion on symbols where volume is not meaningful.)
Range Expansion Filter (ATR)
Requires a candle with enough “energy” to avoid weak breakouts:
(high − low) ≥ ATR × range multiplier
Strong Body Filter (optional)
Filters wick-heavy candles around key levels:
body % of candle range ≥ threshold
Side Panel (Top Right) — how to read it
Session
Shows the active session: Asia / London / New York / Off
EMA Bias
Shows: Bullish / Bearish / Neutral
Ref Range
Shows the size of the reference session range being used for the current session:
London uses Asia range
NY uses London range
Asia (optional) uses NY range
Volume
Shows status of the volume filter:
High = passes
Normal = fails
Off = filter disabled
Expansion
Shows status of the ATR expansion filter:
Yes = passes
No = fails
Off = filter disabled
Body
Shows status of the strong-body filter:
Yes = passes
No = fails
Off = filter disabled
Confluence Example
Recommended starting settings
If you want fewer, higher-quality setups:
Enable London + New York
Keep EMA bias ON
Volume filter ON (1.2–1.5×)
Expansion ON (0.8–1.0× ATR)
Body filter optional (0.55–0.70)
Confirm-close ON
If you want more signals:
Lower volume multiplier (1.1–1.2×)
Lower expansion (0.6–0.8× ATR)
Body filter OFF
Best timeframes (TF) to use
Best overall: 5m, 15m, 30m
Best Pairs for Sessions: EURUSD, GBPUSD, GBPJPY, USDJPY, XAUUSD
IMB Session Scanner (15M+) - TradeWithForbesIMB Session Scanner (15M+) built for session-based imbalance detection.
Scans 15M, 1H, 4H, D1 and W1 ICT-style 3-candle Imbalances (IMB) only during Tokyo, London and New York sessions.
Alerts:
- IMB Formed
- IMB Mitigated (Tapped at Open)
Designed for clean institutional execution and reduced chart lag.
Trading Sessions with Highs and LowsTrading Sessions with Highs and Lows is designed to visually highlight specific trading sessions on the chart, providing traders with key insights into market behavior during these time periods. Here’s a detailed explanation of how the indicator works:
Key Features
1. Session Boxes:
• The indicator plots colored boxes on the chart to represent the price range of defined trading sessions.
• Each box spans the session’s start and end times and encapsulates the high and low prices during that period.
• Two trading sessions are defined by default:
• USA Trading Session: 9:30 AM - 4:00 PM (New York Time).
• UK Trading Session: 8:00 AM - 4:30 PM (London Time).
2. Session Labels:
• The name of the session (e.g., “USA” or “UK”) is displayed above the session box for clear identification.
3. High and Low Markers:
• Markers are added to the chart at the session’s high and low points:
• High Marker: A green label indicating the session high.
• Low Marker: A red label indicating the session low.
4. Dynamic Reset:
• After the session ends, the session high and low values are reset to na to prepare for the next trading day.
5. Customizable Background Colors:
• Each session’s box has a distinct, semi-transparent background color for better visual separation.
How It Works
1. Core Functionality:
• A function, plot_box, takes the session name, start time, end time, and background color as input.
• It calculates whether the current time is within the session.
• During the session:
• It tracks the session’s highest and lowest prices.
• It identifies the bars where the high and low occurred.
• At the session’s end:
• It plots a box on the chart covering the session’s time and price range.
• Labels are created for the session name and its high/low points.
2. Session Timing:
• Timestamps for the USA and UK trading sessions are calculated using the timestamp function with respective time zones.
3. Visual Elements:
• The box.new function draws the session boxes on the chart.
• The label.new function creates session name and high/low labels.
Usage
• Overlay Mode: The indicator is applied directly on the price chart (overlay=true), making it easy to visualize session-specific price behavior.
• Trading Strategy:
• Identify session-specific support and resistance levels.
• Observe price action trends during key trading periods.
• Align trading decisions with session dynamics.
Customization
While the indicator is preset for the USA and UK trading sessions, it can be easily modified:
1. Add/Remove Sessions: Define additional sessions by providing their start and end times.
2. Change Colors: Update the background_color in the plot_box calls to use different colors for sessions.
3. Adjust Time Zones: Replace the current time zones with others relevant to your trading style.
Visualization Example
• USA Session:
• Time: 9:30 AM - 4:00 PM (New York Time).
• Box Color: Semi-transparent orange.
• UK Session:
• Time: 8:00 AM - 4:30 PM (London Time).
• Box Color: Semi-transparent green.
Why Use This Indicator?
1. Market Awareness: Easily spot price behavior during high-liquidity trading periods.
2. Trend Analysis: Analyze how sessions overlap or affect each other.
3. Session Boundaries: Use session high/low levels as dynamic support and resistance zones.
This indicator is an essential tool for intraday and swing traders who want to align their strategies with key market timings.
[AlbaTherium] Sessional & Daily's liquidities - Beta Sessional & Daily Liquidities - Beta: Harnessing the Power of the Institutional Funding Candle (IFC) in Trading
Introduction:
The Sessional & Daily Liquidities - Beta indicator places the Institutional Funding Candle (IFC) at its core. Within the realm of trading, the IFC stands as a key signal for identifying Points of Interest (POIs) , offering traders invaluable insights into market dynamics. This document aims to illuminate the central role of the IFC within the Sessional & Daily Liquidities - Beta indicator, explaining how it can be effectively utilized to spot significant changes in the market and seize trading opportunities.
Chapter 1: Sessional Liquidity concepts
The forex market can be broken up into four major trading sessions: the Sydney session, the Tokyo session, the London session, and Trump’s favorite time to tweet (before he was banned), the New York session.
Historically, the forex market has three peak trading sessions. Traders often focus on one of the three trading periods, rather than attempt to trade the markets 24 hours per day. This is known as the “forex 3-session system“. These sessions consist of the Asian, European, and North American sessions, which are also called Tokyo, London, and New York sessions.
For that reason, a lot of trader put their stoploss right at the High or Low of their session, filling these price levels with liquidities. The market loves liquidities, they are like the “fuel” of the market. Price usually goes to these levels, takes out all the liquidities, and then returns to its original direction. This price behaviour indicates the presence of players – banks, institutions,... – driving the market to their own profit.
The same logic applies with Daily, Weekly and Monthly high/low levels.
Chapter 2: Deciphering the Institutional Funding Candle
2.1 Unveiling the Essence of the Institutional Funding Candle (IFC)
- IFC concept is the core of this indicator. It is recommended to use this indicator on high timeframes, like 1H or 4H charts, as those are the timeframes which big players look at.
- The presence of IFC candles means a significant amount of stop loss is triggered, and price have a tendency to reverse.
2.2 Criteria for IFC Identification
The definition of specific conditions that characterize an IFC within the Sessional & Daily Liquidities - Beta indicator:
- A breach of Previous day, Previous week, or Previous month’s High or Low levels or a breach of major Session Highs or Lows.
- Price made an immediate reverse, creating a decent distance from the wicks.
Chapter 2: Trading Strategies with the IFC
User should treat these signals with cautions, and only take trades with multi confluences.
This pictures below demonstrate a strategy to trade with this indicator, taking 1H HTF trend and 5m LTF ChoCh and Single Candle Order Block as confluences.
Conclusion:
The Sessional & Daily Liquidities - Beta indicator, centered around the Institutional Funding Candle (IFC), stands as a potent tool for traders, offering them the means to spot critical inflection points in the market. By understanding the role of the IFC in violating significant swing highs or lows and major session highs or lows, traders can make informed decisions and seize opportunities within the ever-evolving realm of financial markets. It's crucial to note that while IFC candle colors can provide insights, they do not unilaterally dictate market direction. Furthermore, candle closure can be a valuable consideration in specific situations, particularly when evaluating other High Time Frame POIs.
The real-world examples presented in this document within the Sessional & Daily Liquidities - Beta indicator offer a tangible insight into the world of IFC trading. Harness the potential of the Institutional Funding Candle within the Sessional & Daily Liquidities - Beta indicator to elevate your trading strategies and make well-informed decisions in the dynamic landscape of financial markets.
Market Sessions - by Alexander RottasMarket Sessions - Alexander Rottas
This TradingView indicator displays market sessions for USA, EUROPE, and ASIA on your chart. It provides a clear and intuitive way to identify the active market periods, making it easier to plan your trades.
Features:
Session Display: Optionally show market sessions for USA, EUROPE, and ASIA.
Customizable Timings: Set start and end times in UTC for each market session.
Visual Indicators: Color-coded squares indicate active sessions and their combinations:
USA Session: Blue
EUROPE Session: Purple
ASIA Session: Dull Orange
Combined Sessions: Lighter shades to show overlapping sessions
Session Labels: Dynamic labels at the start of each session to easily identify session beginnings on weekdays.
User-Friendly Design: This indicator is designed to be non-intrusive and easy to use, with a simple setup and clear visual cues. Unlike other complex tools, it integrates seamlessly into your chart without overwhelming your view, making it an ideal choice for traders seeking a straightforward way to track market sessions.
DISCLAIMER: This script is provided for educational purposes only. It cannot be used for commercial purposes or plagiarized. All rights reserved by the author. Unauthorized use or distribution of this script is prohibited. For more details, please contact the author directly.
ICT Session by LasinsName: ICT Session by Lasins
Purpose: To visually identify and differentiate between the Asian, London, and New York trading sessions on the chart.
Features:
Highlights the background of the chart during each session.
Includes a mini dashboard in the top-right corner to show the active session.
Allows customization of time zones (exchange timezone or UTC).
Displays copyright and author information.
Key Components
Inputs:
useExchangeTimezone: A boolean input to toggle between using the exchange timezone or UTC for session times.
showDashboard: A boolean input to toggle the visibility of the mini dashboard.
Session Times:
The script defines three trading sessions:
Asian Session: 2000-0000 UTC (or adjusted for exchange timezone).
London Session: 0200-0500 UTC (or adjusted for exchange timezone).
New York Session: 0700-1000 UTC (or adjusted for exchange timezone).
Session Detection:
The is_session function checks if the current time falls within a specified session using the time function.
Background Coloring:
The bgcolor function is used to highlight the chart background during each session:
Asian Session: Red background.
London Session: Green background.
New York Session: Blue background.
Mini Dashboard:
A table is created in the top-right corner of the chart to display the active session and its corresponding color.
The dashboard includes:
A header row with "Session" and "Color".
Rows for each session (Asian, London, New York) with their respective colors.
Copyright and Author Information:
A label is added to the chart to display the copyright and author information ("© ICT Session by Lasins Raj").
How It Works
The script checks the current time and compares it to the predefined session times.
If the current time falls within a session, the chart background is highlighted with the corresponding color.
The mini dashboard updates to reflect the active session.
The copyright and author information is displayed at the bottom of the chart.
Customization
You can adjust the session times in the script to match your preferred timezone or trading hours.
The useExchangeTimezone input allows you to switch between UTC and the exchange timezone.
The showDashboard input lets you toggle the visibility of the mini dashboard.
Example Use Case
Traders who follow the ICT (Inner Circle Trader) methodology can use this indicator to identify key trading sessions and plan their trades accordingly.
The visual representation of sessions helps traders quickly recognize when major markets are open and active.
SPX Iron Fly Session TrackerOverview
This indicator provides visual tracking for iron fly option structures designed for SPX 0-day-to-expiration (0DTE) intraday trading. It implements a two-phase position management system that adapts to different market conditions throughout the trading day.
This is a visualization and tracking tool only. It does not execute trades, access real options data, or calculate actual profit and loss. All displayed positions are theoretical representations based on underlying price movement.
Strategy Goal and Context
The Core Objective:
The strategy aims to have SPX price expire within your iron fly positions at end of day. When price expires inside a fly's profit zone (between the wings), that position captures maximum premium. The challenge is that price moves throughout the day, so static positioning rarely succeeds.
The Solution: Active Management
Rather than setting positions and hoping price cooperates, this approach continuously manages and repositions flies to keep price centered within your profit zones. As SPX drifts during the trading session, you add new flies at current price levels and close flies that price has moved away from.
The Goal: Multiple Profitable Expirations
By session end, you want as many flies as possible to have price expire within their center zones. This requires:
Adding new flies as price moves away from existing positions
Closing flies when price crosses beyond their optimal range
Building layered coverage in the afternoon to increase probability of capture
Adapting wing widths to time of day and volatility
The Reality: Capital and Time Intensive
This is not a passive strategy. Successful implementation requires:
Substantial capital (each fly requires margin, multiple flies compound this)
Active monitoring throughout trading sessions
Quick decision-making as positions trigger
Multiple position adjustments per session
Disciplined adherence to management rules
How This Indicator Helps:
For backtesting:
Use replay mode to study how positions would have managed on historical sessions
Test different parameter combinations to find optimal settings
Observe position behavior during various market conditions
Understand timing and frequency of position adds and closes
Validate whether your capital can support the required position count
For live session support:
Real-time visual tracking shows current position coverage
Alerts notify you immediately when new positions should be added
Position closure alerts help you manage exits promptly
Reference strike tracking shows where you're measuring movement from
History table provides audit trail of all position activity
The indicator handles the complex tracking and rule application, allowing you to focus on execution and risk management.
Key Use Cases
1. Replay Mode - Backtest and Study
Use TradingView's replay feature to validate the strategy on historical sessions:
Step through past SPX sessions bar-by-bar
See exactly when positions would have opened and closed
Count how many flies would have expired profitably
Analyze different parameter settings on the same historical data
Study position behavior during trending vs ranging conditions
Calculate approximate capital requirements for your setup
Refine your parameters before risking real capital
2. Live Session Alerts
Set up real-time notifications for active trading sessions:
Get alerted immediately when new positions trigger
Receive notifications when positions close
Alerts include strike level, wing width, and closure reason
Works on mobile, desktop, email, or webhook
Never miss a position signal during active trading
Maintain awareness even when away from screens briefly
3. Fully Customizable Parameters
Adapt every aspect to your risk tolerance and capital:
Adjust trigger distances for more or fewer position adds
Modify wing widths for different volatility environments
Change session timing to match your trading schedule
Set maximum concurrent positions to your capital limits
Fine-tune spacing to match available strike increments
Iron Fly Structure
An iron fly is a neutral options strategy with four legs:
- Short 1 ATM Call
- Short 1 ATM Put
- Long 1 OTM Call (upper wing protection)
- Long 1 OTM Put (lower wing protection)
The structure creates a defined risk zone. Maximum profit occurs when price expires at the center strike. Loss increases as price moves toward the wings (breakeven points). Maximum loss is defined and occurs beyond the wings.
Expiration Goal:
You want SPX to close inside the fly's wings. If SPX expires at the strike, you capture maximum premium. If SPX expires between the strike and either wing, you still profit (reduced). If SPX expires beyond the wings, you realize a loss (but it's defined and limited by the wings).
Two-Phase Management System
The indicator tracks positions across two distinct trading phases with different management rules:
Phase 1: TWO_GLASS - Morning Session (Default 10am-1pm ET)
Conservative positioning with active repositioning:
- Trigger new positions when price moves 7.5 points from reference strike (configurable)
- Maintain maximum 2 concurrent positions (configurable)
- 10-point spacing between position strikes (configurable)
- 40-point wing width (configurable)
- Exit rule: When two positions are active and price crosses to one strike level, close the OTHER position
This phase uses a "follow the price" approach. You're not trying to stack multiple positions yet - you're maintaining one or two flies centered on wherever price currently is. As price drifts, you add a new fly at the current level and close the old one when price moves too far away.
Phase 2: THREE_GLASS - Afternoon Session (Default 1pm-4pm ET)
Accumulation mode with layered coverage:
- Trigger new positions every 2.5 points of price movement (configurable)
- Maintain maximum 6 concurrent positions (configurable)
- 5-point spacing between strikes (configurable)
- 20-point wings early, reducing to 10 points after 3pm (configurable)
- Exit rule: Positions only close when price reaches wing extremes
This phase builds a stacked profit zone. Instead of swapping positions, you accumulate multiple flies as price moves. The goal is to have several flies active at expiration, creating a wider net to capture price. Tighter spacing and more frequent triggers create this layered coverage.
Why Two Different Phases?
Morning (Phase 1):
Earlier in the day, price has more time to move substantially. Maintaining many concurrent positions is riskier because price could trend and hit multiple wings. The strategy uses selective positioning with wider wings and active replacement.
Afternoon (Phase 2):
Closer to expiration, price movements typically compress. Time for large moves decreases. The strategy shifts to accumulation, building a net of positions to increase probability that final expiration price falls within at least one (ideally several) of your flies. Tighter wings and more positions become appropriate.
Exit Mechanisms
Strike Cross Exit (Phase 1 Only)
When two positions are active, if price moves to or beyond one position's strike level, the OTHER position closes. This keeps your coverage centered on current price action rather than maintaining positions price has moved away from.
Example: Flies at 5900 and 5910 are open. Price moves to 5910. The fly at 5900 closes because price has moved to the 5910 level. You're now positioned at current price (5910) rather than maintaining coverage at old price (5900).
Wing Extreme Exit (Both Phases)
Any position closes immediately when price touches its upper or lower wing boundary. This represents the breakeven/maximum loss point, so the position is closed to prevent further deterioration.
Dynamic Wing Adjustment
Wing widths automatically adjust based on time of day:
- Phase 1 (Morning): 40 points (customizable)
- Phase 2 Early (1pm-3pm): 20 points (customizable)
- Phase 2 Late (3pm-4pm): 10 points (customizable)
This progressive tightening reflects decreasing price movement potential as expiration approaches. Wider wings earlier provide more protection when price could move substantially. Tighter wings later allow more precise positioning when price movements typically compress.
All values are fully adjustable to match your risk parameters and observed market volatility.
Customization Guide
Every parameter can be modified to suit your trading style, risk tolerance, and capital:
Session Timing
- TWO_GLASS Start Hour: When Phase 1 begins (default: 10am ET)
- THREE_GLASS Start Hour: When Phase 2 begins (default: 1pm ET)
- Wing Width Change Hour: When wings tighten (default: 3pm ET)
- Session End Hour: When tracking stops (default: 4pm ET)
Phase 1 Parameters (Fully Adjustable)
- Trigger Distance: How far price must move from reference strike to add new position (default: 7.5, range: 0.1+)
- Fly Spacing: Distance between position strikes (default: 10, range: 1.0+)
- Wing Width: Distance from strike to wings (default: 40, range: 5.0+)
- Max Flies: Maximum concurrent positions (default: 2, range: 1-10)
Phase 2 Early Parameters (Fully Adjustable)
- Trigger Distance: Movement needed to add new position (default: 2.5, range: 0.1+)
- Fly Spacing: Distance between strikes (default: 5, range: 1.0+)
- Wing Width: Strike to wing distance (default: 20, range: 5.0+)
- Max Flies: Maximum concurrent positions (default: 6, range: 1-20)
Phase 2 Late Parameters
- Wing Width: Reduced width after 3pm (default: 10, range: 5.0+)
General Settings
- Strike Rounding: Round strikes to nearest multiple (default: 5.0, range: 1.0+)
- Bars Before Check: Bars to wait before allowing closure (default: 2, prevents premature exits)
Display Options
- Show History Table: Toggle detailed position log (default: on)
- History Table Rows: Number of positions displayed (default: 15, range: 5-30)
Alert Settings
- Enable Alerts: Toggle notifications for opens/closes (default: on)
How to Use
For Backtesting in Replay Mode:
Select a historical SPX trading session
Apply indicator to 1-5 minute timeframe
Configure your preferred parameters
Activate TradingView's replay feature
Play through the session (step-by-step or continuous)
Observe when positions open (green boxes appear)
Watch position closures (boxes turn gray)
Count how many flies would have expired with price inside (green at session end)
Note total number of position adds throughout session
Calculate approximate capital needed (positions × margin per fly)
Test different parameter combinations on same historical data
Study position behavior during trending vs ranging sessions
For Live Trading Sessions:
Apply indicator to SPX on 1-5 minute timeframe
Configure parameters based on your backtest results
Create alerts for "Iron Fly Opened" and "Iron Fly Closed"
Set alert frequency to "Once Per Bar Close"
Choose notification method (popup, mobile app, email, webhook)
Monitor the status table (top-right) for current session and reference strike
Review history table (bottom-right) for position log with timestamps
When alert triggers, use visual cues to manually place actual option orders
Execute position adds and closes as indicated by the tracker
Visual Interpretation:
Green boxes = Active positions (theoretical profit zones)
White lines (Phase 1) / Aqua lines (Phase 2) = Strike levels
Red/Blue dotted lines = Wing boundaries (breakeven/risk limits)
Gray boxes = Closed positions (historical reference)
Current SPX price line = Shows where price is relative to positions
Top-right table = Current session status, reference strike, open/closed counts
Bottom-right table = Complete position history with open/close timestamps
Alert System Details
The indicator generates detailed alert messages for position management:
Position Opened:
- Strike level where fly should be placed
- Wing width (±points from strike)
- Session phase (Phase 1 or Phase 2)
- Alert format example: "Iron Fly OPENED | Strike: 5900 | Wings: ±40 | Session: TWO_GLASS"
Position Closed:
- Strike level of fly being closed
- Closure reason (strike cross, wing extreme, etc.)
- Session phase
- Alert format example: "Iron Fly CLOSED | Strike: 5900 | Reason: Price crossed to lower fly | Session: TWO_GLASS"
Configure alerts once before market open, then receive automatic notifications as positions trigger throughout the trading session.
Parameter Optimization Suggestions
For Higher Volatility Environments:
- Increase trigger distances (e.g., Phase 1: 10-15 points, Phase 2: 3-5 points)
- Widen wing widths (e.g., Phase 1: 50-60 points, Phase 2: 25-30 points early, 15-20 late)
- Increase strike spacing to reduce position frequency
For Lower Volatility Environments:
- Decrease trigger distances (e.g., Phase 1: 5-7 points, Phase 2: 1.5-2 points)
- Tighten wing widths (e.g., Phase 1: 30-35 points, Phase 2: 15-18 points early, 8-10 late)
- Reduce strike spacing for more granular coverage
For Conservative Risk Management:
- Reduce maximum concurrent positions (Phase 1: 1, Phase 2: 3-4)
- Widen wing widths for more breathing room
- Increase bars before check to avoid whipsaws
- Use wider trigger distances to reduce position frequency
For Aggressive Positioning:
- Increase maximum concurrent positions (Phase 2: 8-10)
- Tighten trigger distances for more frequent adds
- Reduce bars before check for faster responses
- Use tighter spacing to create denser coverage
Capital Considerations:
Remember that each fly requires margin. If Phase 2 allows 6 concurrent flies and each requires $10,000 margin, you need $60,000 in available capital just for position requirements, plus additional cushion for adverse movement.
Use replay mode to count maximum concurrent positions that would have occurred on historical sessions with your parameters, then calculate total capital needed.
Practical Application
This tool provides visual guidance and management support. To implement the strategy:
Backtest thoroughly in replay mode first
Validate capital requirements for your parameter settings
Confirm you can actively monitor positions during trading hours
Use displayed positions as reference for manual order placement
Match indicator parameters to your actual option contracts
Account for real-world factors: commissions, slippage, bid-ask spreads, option availability
Implement proper position sizing based on available capital
Set up alerts before market open to catch all signals
Execute actual trades manually in your brokerage platform
Track actual results versus indicator expectations
Important Limitations
Theoretical tracking only - not an automated trading system
No access to real option prices, Greeks, or implied volatility
No profit/loss calculations or risk metrics
Does not account for time decay (theta), delta, gamma, vega changes
Assumes continuous price action - gaps or halts not handled
Designed for 0DTE SPX options - not suitable for other timeframes or instruments
Assumes option availability at all strike levels - may not reflect reality
Does not model actual option bid/ask spreads or liquidity
Assumes instant execution at desired strikes - slippage not considered
Historical replay shows theoretical behavior only - actual market conditions may differ
Does not adjust for changing implied volatility throughout session
Position count and timing may not match what's executable in real markets
Capital and Time Requirements
This strategy is resource-intensive:
Capital Requirements:
Each iron fly requires margin (varies by broker and strike width)
Multiple concurrent positions multiply capital needs
Example: 6 flies at $10,000 each = $60,000 minimum
Additional cushion needed for adverse movement
Pattern Day Trader rules may apply (requires $25,000 minimum)
Time Requirements:
Active monitoring during trading hours (typically 10am-4pm ET)
Quick response to position add/close signals
Multiple position adjustments per session possible
Cannot be passive or set-and-forget
Requires ability to place orders promptly when alerted
Use replay mode to understand the commitment level before attempting live implementation.
Risk Considerations
Iron fly trading involves substantial risk. This indicator provides visualization and management support only - it does not constitute financial advice or trading recommendations.
Options trading can result in total loss of capital. The indicator's theoretical positions do not reflect actual trading results. Backtest analysis and historical visualization do not guarantee similar future outcomes. Multiple concurrent positions multiply both profit potential and loss risk.
Always conduct independent research, understand all risks, validate capital requirements, and never trade with funds you cannot afford to lose. Consider starting with paper trading to validate execution capability before risking real capital.
Technical Notes
The indicator uses price-based triggers only. It does not:
Connect to options data feeds
Calculate theoretical option values or Greeks
Execute trades automatically
Provide specific trading signals or recommendations
Account for option-specific factors (implied volatility, time decay, bid/ask spreads)
All displayed information represents theoretical position placement based solely on underlying SPX price movement and user-configured parameters. The tool helps visualize the management framework but requires the trader to handle all actual execution and risk management decisions.
This is an educational and analytical tool for understanding iron fly position management concepts. It requires active interpretation, backtesting validation, and manual implementation by the user.






















