0DTE Options - Iron Condor & ButterflyTo help options traders:
Plan and structure Iron Condor or Butterfly spreads in “Setup Mode.”
Track live trades, including P&L, breach risk, and strike distances, in “Live Mode.”
Visualize the trade on the price chart with profit zones, breakeven lines, strike markers, and alerts.
Evaluate market conditions using IV Rank, ATR-based range modeling, and modeled Delta approximation.
Essentially, it turns your TradingView chart into an options risk graph + planning terminal.
⚙️ Core Modes of Operation
🧱 1. Setup Mode
Used for planning new trades. It automatically suggests strikes based on:
ATR (volatility proxy)
IV Rank
Target Delta
Chosen risk tier (High / Mid / Low / Delta)
You can:
Preview recommended short and long strikes.
See estimated credit, width, and risk/reward ratios in a setup table.
Auto-feed these calculated strikes into the Live Mode to track them later.
Example Use:
Before market open, choose Setup Mode → Mid Risk Tier → see what strike widths and credits make sense for the day.
📈 2. Live Mode
Used to track real trades you’ve already opened.
You can:
Paste your real trade data (strikes, credits, etc.) into the 📋 paste field.
Or auto-feed from Setup Mode (if “Auto-Feed” is enabled).
The indicator then plots:
Short/long strikes
Breakevens
Profit/loss zone
Real-time breach detection and delta drift
Alerts when price nears your strikes or exits your safe zone.
Example Use:
After opening an Iron Condor on SPX, paste in 626,628,620,618,1.20,1, and the chart visually shows your safe range and warning zones.
🧮 Built-In Calculations
1. IV Rank (Volatility Environment)
Uses a 20-day log return volatility model to calculate IV Rank (percentile of volatility over the last 252 bars).
You can use this automatically or manually override it if you have data from your broker.
→ High IV Rank (>50) = better for selling Iron Condors (more premium).
2. ATR (Average True Range)
Measures short-term volatility to estimate expected daily price movement.
Used in Setup Mode to model distance between strikes.
3. Strike Calculations (Setup Mode)
Based on risk tier:
High Risk → wide wings, high credit, high potential drawdown
Mid Risk → balanced setup
Low Risk → narrow wings, safer but less credit
Delta Mode → based purely on target delta (e.g., 0.20)
Uses ATR × multiplier to determine how far short strikes should be from current price.
4. Credit Estimation
Based on strike width × IV Rank multiplier:
IV > 50 → 30% of width
IV 30–50 → 25%
IV < 30 → 20%
5. Profit & Loss Modeling
The indicator computes:
Max Profit:
Iron Condor → credit × 100 × contracts
Butterfly → (wing width − debit) × 100 × contracts
Max Loss:
Iron Condor → width − credit
Butterfly → debit × 100 × contracts
Breakevens:
Iron Condor → short strikes ± credit
Butterfly → body ± debit
Current P&L: Approximated by where the underlying is relative to the short/long strikes.
6. Delta Modeling
Estimates each short strike’s modeled delta based on how far it is from current price.
Displays total delta balance to show directional bias.
If Delta drifts too high → market imbalance → consider rolling or adjusting.
7. Breach Detection System
Automatically classifies your trade as:
🟢 In Range: Price between short strikes (safe zone).
🟠 Near Breach: Price close to short strike (risk zone).
🔴 Breached: Price outside long strike (stop or adjust zone).
This dynamically changes color in your profit box and info label.
🎨 Visual Components
Element Meaning Color
Red Line Put side strikes 🔻 Red
Green Line Call side strikes 🔺 Green
Yellow Dotted Lines Breakevens 🟡 Yellow
Green Box Profit zone 🟩 Light green
Orange Box Adjustment zone (near breach) 🟧 Orange
Red Box Breach zone 🟥 Red
White Line Current price ⚪ White
Optional labels display strike details and distances (e.g., “📉 Short Put: 620 – 5 pts away”).
📊 Setup Table (Setup Mode Only)
Displays a grid comparing all risk tiers:
Tier Short Call Short Put Width Est. Credit R:R
High 632 614 4.0 $1.20 0.43
Mid 630 616 3.0 $0.90 0.43
Low 628 618 2.0 $0.60 0.43
Highlighted row = selected risk tier.
This lets you compare how wide/narrow each setup is before committing to a trade.
🧾 Info Box (Live Mode)
Displays real-time stats such as:
🔶 IRON CONDOR | 1 Contract
📊 Calls: 626 / 628 | Puts: 620 / 618
💵 Credit: $1.20 | 💰 Profit: $120 | 🔴 Loss: $180
⬆️ BE: 627.2 | ⬇️ BE: 618.8
📍 Current: $623 | 💵 P&L: +$35.00 (+29.1%)
📏 To Short Call: 3 | To Short Put: 3
📊 Delta: 0.05 | IV Rank: 56% (FAVORABLE)
🔴 BREACH STATUS: In Range
🚨 Alerts
The indicator generates TradingView alerts for:
⚠️ Approaching Call Zone → nearing short call
⚠️ Approaching Put Zone → nearing short put
🛑 Stop Loss Triggered → current P&L exceeds loss threshold
🟠 Near Breach → price entering adjustment zone
🔴 Breached → price outside protection (long strikes)
These alerts can be used with TradingView notifications or webhooks.
🧠 How to Use It Step-by-Step
A. Planning (Setup Mode)
Set mode to “Setup.”
Adjust:
Risk Tier (High / Mid / Low / Delta)
Target Delta (0.15–0.30 recommended)
Strike Interval (e.g., 1.0 or 5.0)
Check Setup Table → see suggested strikes & credits.
Optionally toggle Auto-Feed → Live to send to live mode later.
B. Executing (Broker)
Confirm and enter your trade in your brokerage (use the strikes shown).
Record your strikes, net credit/debit, and number of contracts.
C. Tracking (Live Mode)
Switch to “Live” mode.
Paste your strikes in the 📋 Paste Data field:
Iron Condor Example: 626,628,620,618,1.20,1
Butterfly Example: 600,620,640,2.50,2
The chart updates:
Lines = your strikes
Boxes = profit/risk zones
Labels = strike info, distance to price
Info box = P&L, delta, IV rank, breach status
Set alerts for automatic notifications.
D. Managing the Trade
When the chart turns orange or red, you’re approaching or breaching a strike.
Use this signal to roll, hedge, or close your trade.
Monitor Gamma Risk: warning appears when price nears short strikes (explosive delta risk).
📌 Summary
Feature Description
Mode Switching Plan (Setup) or Track (Live)
IV Rank & ATR Modeling Estimates volatility environment
Auto Strike Planning Suggests strikes based on risk/delta
Visual Range Map Profit, breakeven, and adjustment zones
Real-Time Alerts Warns when nearing or breaching strikes
Trade Info Box Displays live risk, reward, delta, IV, and P&L
Setup Table Compares setups across risk tiers
Fully Configurable Works for Iron Condors or Butterflies
Pivot Point dan Level
LevelsLevels is a powerful technical analysis tool that automatically identifies and displays key support and resistance levels on the chart. The indicator analyzes historical price data, detecting significant price levels where multiple reversals or price stops have occurred.
How the Indicator Works?
1. Identification of Reversal Points:
- The indicator tracks price extremes using an algorithm to identify local highs and lows
- A reversal point is recorded when:
- Uptrend: price reaches a new low for the last 10 bars
- Downtrend: price reaches a new high for the last 10 bars
2. Level Grouping:
- All found reversal points are analyzed and grouped into key levels
- Levels are combined if they fall within the specified percentage tolerance
3. Filtering Significant Levels:
- Only levels that have been tested the minimum number of times (set in settings) are preserved
- This ensures only statistically significant levels are displayed
How to Use the Indicator?
Trading Scenarios:
1. Bounce from Level:
- When price approaches an identified level, a bounce can be expected
- Opening positions on the bounce with protective stop-loss beyond the level
2. Level Breakout:
- Breaking through a key level may signal trend continuation
- Support level becomes resistance and vice versa
3. Consolidation near Level:
- Prolonged price presence near a level indicates its significance
- Strong movement can be expected after exiting consolidation
Advantages:
- Automatic level identification eliminates subjectivity
- Sensitivity customization for different timeframes and instruments
- Visual simplicity - only significant levels
Indicator Settings
Main Parameters:
- Show Key Levels - enable/disable level display
- Level Tolerance (%) - percentage tolerance for level grouping
- Smaller values: more levels, more precise
- Larger values: fewer levels, more significant
- Minimum Touches - minimum number of touches to form a level
Visual Settings:
- Level Color - level display color
- Level Style - line style (solid, dashed, dotted)
Limitations
- Levels are built only on available historical data
- Does not account for trading volumes
- Parameter adjustment may be required during high volatility periods
The indicator is particularly effective when combined with other analysis tools for signal confirmation.
Liquidity Pool TimesThis script automatically plots key liquidity pool times on your chart. I will release an updated script that plots the names on the far right when i can figure it out. Until then you will see Monthly Open/Close Weekly Open/Close and Midnight/10AM open
Market Structure Trailing Stop MTF [Inspired by LuxAlgo]# Market Structure Trailing Stop MTF
**OPEN-SOURCE SCRIPT**
*208k+ views on original · Modified for MTF Support*
This indicator is a direct adaptation of the renowned **Market Structure Trailing Stop** by **LuxAlgo** (original script: [Market Structure Trailing Stop ]()). The core logic remains untouched, providing dynamic trailing stops based on market structure breaks (CHoCH/BOS). The **only modification** is the addition of **Multi-Timeframe (MTF) support**, allowing users to apply the trailing stops and structures from **higher timeframes (HTF)** directly on their current chart. This enhances usability for traders analyzing cross-timeframe confluence without switching charts.
**Special thanks to LuxAlgo** for releasing this powerful open-source tool under CC BY-NC-SA 4.0. Your contributions to the TradingView community have inspired countless traders—grateful for the solid foundation!
## 🔶 How the Script Works: A Deep Dive
At its heart, this indicator detects **market structure shifts** (bullish or bearish breaks of swing highs/lows) and uses them to generate **adaptive trailing stops**. These stops trail the price while protecting profits and acting as dynamic support/resistance levels. The MTF enhancement pulls this logic from user-specified higher timeframes, overlaying HTF structures and stops on the lower timeframe chart for seamless multi-timeframe analysis.
### Core Logic (Unchanged from LuxAlgo's Original)
1. **Pivot Detection**:
- Uses `ta.pivothigh()` and `ta.pivotlow()` with a user-defined lookback (`length`) to identify swing highs (PH) and lows (PL).
- Coordinates (price `y` and bar index/time `x`) are stored in persistent variables (`var`) for tracking recent pivots.
2. **Market Structure Detection**:
- **Bullish Structure (BOS/CHoCH)**: Triggers when `close > recent PH` (break above swing high).
- If `resetOn = 'CHoCH'`, resets only on major shifts (Change of Character); otherwise, on all breaks.
- Sets trend state `os = 1` (bullish) and highlights the break with a horizontal line (dashed for CHoCH, dotted for BOS).
- Initializes trailing stop at the local minimum (lowest low since the pivot) using a backward loop: `btm = math.min(low , btm)`.
- **Bearish Structure**: Triggers when `close < recent PL`, mirroring the bullish logic (`os = -1`, local maximum for stop).
- Structure state `ms` tracks the break type (1 for bull, -1 for bear, 0 neutral), resetting based on user settings.
3. **Trailing Stop Calculation**:
- Tracks **trailing max/min**:
- On new bull structure: Reset `max = close`.
- On new bear: Reset `min = close`.
- Otherwise: `max = math.max(close, max)` / `min = math.min(close, min)`.
- **Stop Adjustment** (the "trailing" magic):
- On fresh structure: `ts = btm` (bull) or `top` (bear).
- In ongoing trend: Increment/decrement by a percentage of the max/min change:
- Bull: `ts += (max - max ) * (incr / 100)`
- Bear: `ts += (min - min ) * (incr / 100)`
- This creates a **ratcheting effect**: Stops move favorably with the trend but never against it, converging toward price at a controlled rate.
- **Visuals**:
- Plots `ts` line colored by trend (teal for bull, red for bear).
- Fills area between `close` and `ts` (orange on retracements).
- Draws structure lines from pivot to break point.
4. **Edge Cases**:
- Variables like `ph_cross`/`pl_cross` prevent multiple triggers on the same pivot.
- Neutral state (`ms = 0`) preserves prior `max/min` until a new structure.
### MTF Enhancement (Our Addition)
- **request.security() Integration**:
- Wraps the entire core function `f()` in a security call for each timeframe (`tf1`, `tf2`).
- Returns HTF values (e.g., `ts1`, `os1`, structure times/prices) to the chart's context.
- Uses `lookahead=barmerge.lookahead_off` for accurate historical repainting-free data.
- Structures are drawn using `xloc.bar_time` to align HTF lines precisely on the LTF chart.
- **Multi-Output Handling**:
- Separate plots/fills/lines for each TF (e.g., `plot_ts1`, `plot_ts2`).
- Colors and toggles per TF to distinguish HTF1 (e.g., teal/red) from HTF2 (e.g., blue/maroon).
- **Benefits**: Spot HTF bias on LTF entries, e.g., enter longs only if both TF1 (1H) and TF2 (4H) show bullish `os=1`.
This keeps the script lightweight—**no repainting, max 500 lines**, and fully compatible with LuxAlgo's original behavior when TFs are set to the chart's timeframe.
## 🔶 SETTINGS
### Core Parameters
- **Pivot Lookback** (`length = 14`): Bars left/right for pivot detection. Higher = smoother structures, fewer signals; lower = more noise.
- **Increment Factor %** (`incr = 100`): Speed of stop convergence (0-∞). 100% = full ratchet (mirrors max/min exactly); <100% = slower trail, reduces whipsaws.
- **Reset Stop On** (`'CHoCH'`): `'CHoCH'` = Reset only on major reversals (dashed lines); `'All'` = Reset on every BOS/CHoCH (tighter stops).
### MTF Support
- **Timeframe 1** (`tf1 = ""`): HTF for first set (e.g., "1H"). Empty = current chart.
- **Timeframe 2** (`tf2 = ""`): Second HTF (e.g., "4H"). Enables dual confluence.
### Display Toggles
- **Show Structures** (`true`): Draws horizontal lines for breaks (per TF colors).
- **Show Trailing Stop TF1/TF2** (`true`): Plots the stop line.
- **Show Fill TF1/TF2** (`true`): Area fill between close and stop.
### Candle Coloring (Optional)
- **Color Candles** (`false`): Enables custom `plotcandle` for body/wick/border.
- **Candle Color Based On TF** (`"None"`): `"TF1"`, `"TF2"`, or none. Colors bull trend green, bear red.
- **Candle Colors**: Separate inputs for bull/bear body, wick, border (e.g., solid green body, transparent wick).
### Alerts
- **Enable MS Break Alerts** (`false`): Notifies on structure breaks (bull/bear per TF) **only on bar close** (`barstate.isconfirmed` + `alert.freq_once_per_bar_close`).
- **Enable Stop Hit Alerts** (`false`): Triggers on stop breaches (long/short per TF), using `ta.crossunder/crossover`.
### Colors
- **TF1 Colors**: Bullish (teal), Bearish (red), Retracement (orange).
- **TF2 Colors**: Bullish (blue), Bearish (maroon), Retracement (orange).
- **Area Transparency** (`80`): Fill opacity (0-100).
## 🔶 USAGE
Trailing stops shine in **trend-following strategies**:
- **Entries**: Use structure breaks as signals (e.g., long on bullish BOS from HTF1).
- **Exits**: Trail stops for profit-locking; alert on hits for automation.
- **Confluence**: Overlay HTF1 (e.g., 1H) for bias, HTF2 (e.g., Daily) for major levels—enter LTF only on alignment.
- **Risk Management**: Lower `incr` avoids early stops in chop; reset on `'All'` for aggressive trailing.
! (i.imgur.com)
*HTF1 shows bullish structure (teal line), trailing stop ratchets up—long entry confirmed on LTF pullback.*
! (i.imgur.com)
*TF1 (blue) bearish, TF2 (red) neutral—avoid shorts until alignment.*
! (i.imgur.com)
*Colored based on TF1 trend: Green bodies on bull `os=1`.*
Pro Tip: Test on demo—pair with LuxAlgo's other tools like Smart Money Concepts for full structure ecosystem.
## 🔶 DETAILS: Mathematical Breakdown
On bullish break:
- Local min: `btm = ta.lowest(n - ph_x)` (optimized loop equivalent).
- Stop init: `ts = btm`.
- Update: `Δmax = max - max `, `ts_new = ts + Δmax * (incr/100)`.
Bearish mirrors with `Δmin` (negative, so decrements `ts`).
In MTF: HTF `time` aligns lines via `line.new(htf_time, level, current_time, level, xloc.bar_time)`.
No logs/math libs needed—pure Pine v5 efficiency.
## Disclaimer
This is for educational purposes. Not financial advice. Backtest thoroughly. Original by LuxAlgo—modify at your risk. See TradingView's (www.tradingview.com). Licensed under CC BY-NC-SA 4.0 (attribution to LuxAlgo required).
PIVOT-V.13 05-09-25This Pine Script automatically detects pivot levels and generates buy/sell signals based on price action around those pivots. It identifies key support and resistance zones derived from previous period highs, lows, and closes, then marks optimal entry, target, and stop-loss levels on the chart.
The script is designed to assist traders in systematic decision-making using pivot-based strategies.
🔍 Core Features
Automatic Pivot Detection: Calculates and updates pivots in real-time using standard formulas.
Smart Trade Setup:
Buy Signal: Triggered when price action confirms strength above a pivot or resistance level.
Sell Signal: Triggered when price action confirms weakness below a pivot or support level.
Entry, Target & Stop-Loss Levels: Automatically plots potential entry points, stop-loss levels, and take-profit zones based on the nearest pivot structure.
Customizable Settings:
Choose pivot type and timeframe (daily, weekly, or monthly).
Adjust risk ratio, stop size, and confirmation filters.
Enable/disable visual labels or alerts.
Visual Clarity: Clearly marks all pivot levels and trade signals on the chart with colored labels and lines.
🎯 Purpose
This script helps traders quickly identify high-probability entry zones and maintain disciplined trade management by following pre-defined pivot-based rules — reducing emotional bias and enhancing consistency.
Trappp's Advanced Multi-Timeframe Trading ToolkitTrappp's Advanced Multi-Timeframe Trading Toolkit
This comprehensive trading script by Trappp provides a complete market analysis framework with multiple timeframe support and resistance levels. The indicator features:
Key Levels:
· Monthly (light blue dashed) and Weekly (gold dashed) levels for long-term context
· Previous day high/low (yellow) with range display
· Pivot-based support/resistance (pink dashed)
· Premarket levels (blue) for pre-market activity
Intraday Levels:
· 1-minute opening candle (red)
· 5-minute (white), 15-minute (green), and 30-minute (purple) session levels
· All intraday levels extend right throughout the trading day
Technical Features:
· EMA 50/200 cross detection with alert labels
· Candlestick pattern recognition near key levels
· Smart proximity detection using ATR
· Automatic daily/weekly/monthly updates
Trappp's script is designed for traders who need immediate visual reference of critical price levels across multiple timeframes, helping identify potential breakouts, reversals, and pattern-based setups with clear, color-coded visuals for quick decision-making.
KATIK Anchor Levels1. This Pine Script, "KATIK Anchor Levels", automatically identifies recent swing highs and lows to define an active anchor zone on the chart.
2. It accepts three user inputs: `leftBars` and `rightBars` (pivot sensitivity) and `lookback` (how far to consider anchors).
3. Pivot points are detected with `ta.pivothigh()` and `ta.pivotlow()`, which confirm a pivot after the specified left/right bars.
4. The most recent confirmed pivot values are saved into `lastHigh` and `lastLow` (persisting across bars).
5. The script plots the recent swing high as a red line and the recent swing low as a green line for immediate visual reference.
6. It shades the area between those two lines with a yellow fill to highlight the current **anchor zone**.
7. Logical conditions `insideZone`, `breakAbove`, and `breakBelow` determine whether price is neutral, bullish, or bearish relative to the anchor.
8. Three `alertcondition()` calls let you create alerts for price entering the zone, breaking above, or breaking below the anchor.
9. Best used on intraday (15–60 min) or higher timeframes with `leftBars/rightBars` tuned (smaller values = more pivots, larger = stronger pivots).
10. Limitations: pivots require sufficient bars to confirm (so anchors can lag) and the simple method doesn’t use volume/VWAP—adjust sensitivity or combine with other indicators for higher confidence.
Deyler IndicatorMerge indicators:
Nwog
ICT Killzones and Pivots
BTC Keylevels
9h30 First FVG
Round Number
Low and Preceding High (Breakout + Bullis fgv + Extending Fib)🚀 Last Low & Preceding High: Bullish Reversal Strategy
This indicator identifies high-probability long setups by confirming a Bullish Market Structure Shift (BMS) coupled with a strong momentum filter.
🧠 Indicator Logic (How It Works)
The core function of this tool is to automatically locate the key structural points that lead to a bullish bias:
Structure Identification: It first defines a Range between the two most recent Pivot Lows. Within this range, it finds the Preceding High (the highest close before the current low) and the true Low Anchor (the lowest low/tail of the pivot low).
Breakout and Momentum Filter: A valid signal requires two conditions to be met on the current bar:
Bullish Breakout: The price must close above the Preceding High.
Marubozu Confirmation: A strong Bullish Marubozu candle (minimal wicks) must be present in the impulse move from the low, filtering for institutional strength.
Fibonacci Discount Zones: Upon confirmation, the indicator calculates and plots the discount zones (0.50, 0.618, 0.786) using the true extremes (tail-to-tail anchors). These zones start extending from the breakout candle and represent high-value areas for potential entries.
🎯 Entry and Risk Management
The strategy provides clear rules for execution once the logic is confirmed:
Entry Execution:
Wait for Retracement: Enter a Long position when the price retraces back into the colored Discount Zones (0.50 to 0.786).
Risk Control:
🛑 Stop Loss (SL): Placed below the Low Line (the swing low that initiated the move).
✅ Take Profit (TP): Placed above the High Line (the high that was broken).
Final note
"Special thanks to Mr. Mazen (@dr0chart) for developing this strategy."
Mac Sessions High And Low v.1This indicator is mainly for session highs and lows
Just a easy way to see if price sweeps a sessions high or low
Livelli OI-PNCOI-PNC Levels is a script that displays the open interest (OI) and net short positions (PNC) of a selection of 20 of the most significant stocks in terms of traded value on the Italian market.
PNC are indicated by red dotted lines starting from the close of the last reported change date;
The most significant open interest by number of contracts (Top 10 Calls and Top 10 Puts) are displayed using labels, all on a single line (Strike, CALL, PUT);
A summary table can be activated.
the data is hardcoded using static arrays and must be updated periodically. Data updated of 03/11/2025
########### Italiano ############
Livelli OI-PNC è uno script che permette di visualizzare gli open interest (OI) e le Posizioni Nette Corte (PNC) di una selezione di 20 titoli tra i più significativi per controvalore movimentato del mercato italiano.
Le PNC vengono indicate tramite Linee tratteggiate rosse che partono dal close della data di ultima variazione comunicata;
Sono riportati tramite labels, gli Open Interest più significativi per num.Contratti (Top 10 Call e top 10 Put) tutto su una unica riga per ogni strike (Strike, CALL, PUT);
E' attivabile una Tabella di riepilogo.
Poiché Pine Script non può leggere direttamente file da URL esterni, i dati sono hardcorati tramite array statici e vanno aggiornati periodicamente. Dati aggiornati al 03/11/2025
Structure Pro by MurshidfxInspired by the 'mentfx Structure' indicator created by Anton (mentfx) on TradingView,
## Overview
Structure Pro tracks market structure by maintaining an adaptive dealing range and its midpoint. Swing highs and lows become structural boundaries, and the script responds to confirmed breakouts by recalculating the active range. Labels highlight the latest trend flip so the chart stays readable while the range evolves.
## Core Logic
- Detects swing highs/lows using a configurable pivot strength and promotes confirmed pivots to structural levels.
- Applies a percentage buffer to decide when price truly breaks structure; once triggered, the opposite boundary is recalculated with an anchor search that looks back through historical bars.
- Computes equilibrium as the midpoint between the current structural high and low so you can gauge premium versus discount zones.
- Emits a single BULL or BEAR label when the trend state changes, keeping only the most recent signal on the chart.
## How to Use
1. Open a clean chart and apply only this script.
2. Select a swing strength that matches the scale you want to monitor (lower values for responsive intraday swings, higher values for broader moves).
3. Tune the structure sensitivity percentage if you prefer tighter or looser confirmation before declaring a breakout.
4. Track DRH/DRL for the current dealing range, use the equilibrium line as a mean-reversion guide, and look to the BULL/BEAR label for structure confirmation.
5. Combine the levels with your own execution, risk, and position rules—this script does not manage orders.
## Inputs
- Swing Point Strength: bars required on both sides to confirm a pivot.
- Structure Break Sensitivity: percentage buffer applied to the range before calling a breakout.
- Dealing Range display: toggles for visibility, line width/color, label text, and label size.
- Equilibrium display: line style, width, and color controls.
- Trend Signals: enable/disable labels, adjust text size, and pick label colors.
## Notes
- Designed for live structure tracking; the script relies on confirmed pivots and does not peek into future data.
- Built to be chart-agnostic for standard candles; non-standard chart types can distort the measurements.
- Published open-source so traders can review and verify the implementation details.
hbd.Mozanit + Gold UnifiedThis Pine Script indicator implements a comprehensive trading strategy called "Moissanite + Gold Unified." The indicator's primary purpose is to generate buy and sell signals by combining two distinct logic sets: the "Moissanite Logic" and the "Gold Profit Logic." The Moissanite component generates signals using various trend and momentum indicators, such as EMA price filters, minimum agreement oscillators (RSI, MACD, Stochastic, etc.), volume, and ADX. The Gold Profit component focuses on breakout and retracement signals based on the RSI, moving average, volume, and Stochastic oscillator. The indicator also automatically plots falling and rising Fibonacci levels to analyze price action and includes special conditions, such as the "Purple Bearish Candle Alert," which indicates potential trend reversals. Finally, a Probability Setup based on moving averages to identify price extremes at various probability levels (High, Medium, Low) completes the strategy's versatile analysis framework.
Advanced Liquidity Fibonacci Zones - Ace of TradesAdvanced Liquidity Fibonacci Zones – Ace of Trades Theory
How to Use This Script:
This advanced indicator visualizes key "liquidity zones" based on custom Fibonacci levels, reflecting the real areas where market makers, institutions, and advanced algorithms manage risk—far beyond basic retail “golden ratio” retracements. Unlike traditional tools, these zones align with the market maker theory popularized by Ace of Trades (@acethebully on X).
How to Paint the Highs and Lows
Select the Indicator ("Advanced Liquidity Fibonacci Zones – Ace of Trades Theory") and add it to your chart.
Use the two input fields to manually mark your key swing points:
Click the “Swing Low (0.0 Level)” input, then select a price bar on your chart for the swing low.
Click the “Swing High (1.0 Level)” input, then select the bar for your swing high.
These anchors will paint the exact price range that all fib zones are projected between.
The script will automatically draw all major liquidity/retracement/extension zones as colored bands or boxes across your chart, extended into the future for clear reference.
What Do the Zones Mean?
Zones are based on Ace of Trades' market maker theory. They're not just “lines”—they show where professional liquidity providers, algorithms, and institutional traders strategically rebalance, accumulate, or distribute.
Each zone is labeled with its precise fib ratio and price, with zone descriptions acknowledging their theoretical function (e.g., Golden Band, Momentum Pullback, Stop-Hunt Extension, Blow-Off Range, etc).
Best Practices
Use the script to identify areas where liquidity is expected to pool (for reaction or continuation), rather than just following retail golden ratios.
Paint your swing highs/lows cleanly—from the local low before an impulse, to the most relevant high after a move (or vice versa for down moves).
Observe how price reacts at these boundaries and plan entries/exits accordingly.
Special thanks and all intellectual credit to Ace of Trades (@acethebully on X) for his public education and original market maker insights.
This tool was developed to fully honor and operationalize the liquidity geometry theory from his work.
Previous and Penultimate Swings (Single Timeframe • 4 lines)Using chat GPT I've created a swing high and swing low horizontal indicator that helps me personally visualize significant levels.
In particular penultimate swing highs and penultimate swing lows. Hopefully this can help another trader or many! You can add or remove any of the 4 levels. Adjust the lookback period. And extend each line individually to the right of price action.
GutroThis TradingView indicator automatically plots Fibonacci retracement levels based on the day’s first confirmed swing between the session high and low (9:30 AM – 4 PM ET). It includes dynamic 0%, 38.2%, 50%, 61.8%, and 100% levels, a shaded golden zone, VWAP bands with standard-deviation envelopes, and a 9/21 EMA ribbon for trend confirmation.
Custom Horizontal Lines | Trade Symmetry📊 Custom Horizontal Lines
🔍 Overview
The Custom Horizontal Lines is a precision utility designed for traders who perform manual higher-timeframe analysis and want to preserve their marked price levels directly on the chart.
It doesn’t calculate or detect anything automatically — instead, it acts as your personal level memory, preserving your analyzed zones and reference prices throughout the session.
Ideal for traders who manually mark the High, Low, Open, Close, Mean Thresholds, and Quarter Levels of Order Blocks, Fair Value Gaps, Inversion Fair Value Gaps and Wicks before the trading day begins.
⚙️ Key Features
✅ Manual Level Entry — Input your analyzed price levels (OB, FVG, WICK,etc) directly into the indicator settings.
✅ Preserved Levels — Once entered, your lines stay visible and consistent — even after switching symbols, timeframes, or reloading the chart.
✅ Supports All Level Types — Store any kind of manually defined level: OB highs/lows, FVG boundaries, Wicks, Mean Thresholds, Quarter levels, or custom reference prices.
✅ Clean Visualization — Customize line color, style, and labels for easy visual organization.
✅ Session-Ready Workflow — Built for pre-market preparation — enter your HTF levels once, and trade around them all day.
✅ No Auto Calculations — 100% manual by design — ensuring only your analyzed levels are shown, exactly as you defined them.
💡 How to Use
Open the indicator’s settings and manually enter those price values.
The indicator will plot and preserve those exact levels on your chart.
Switch to your lower timeframe and observe how price reacts around them — without ever needing to redraw.
🎯 Why It’s Useful
Keeps your HTF levels organized and persistent across sessions.
Saves time by avoiding redrawing.
Fits perfectly into ICT / Smart Money trading workflows.
Ensures full manual control and precision over what’s displayed on your chart.
🧩 Ideal For
ICT and Smart Money traders
Institutional-style manual analysts
Traders marking Mean Thresholds, or Quarter Levels of OBs, FVGs, Wicks etc
Anyone who wants a clean, reliable way to preserve their manual analysis
Multi-timeframe Pivot PointThis indicator is a lightweight indicator designed to display higher timeframe pivot levels on your chart.
It helps traders quickly identify key support and resistance zones derived from higher timeframes (such as daily or weekly pivots) while analyzing lower timeframes (e.g., 15m or 1h charts).
Calculation Logic
This indicator uses the classic pivot point formula, calculated from high, low, and close values:
PP = (High + Low + Close) / 3
R1 = 2 * PP - Low
S1 = 2 * PP - High
R2 = PP + (High - Low)
S2 = PP - (High - Low)
R3 = R1 + (High - Low)
S3 = S1 - (High - Low)
Additionally, it includes breakout levels:
HBOP = PP + PP + (High - Low) - Low
LBOP = PP + PP - (High - Low) - High
Dynamic Auto Fibonacci - Auto/Manual ModeDynamic Auto Fibonacci - Professional Retracement & Extension Tool
The ultimate Fibonacci tool combining automatic high detection with manual precision for swing low selection.
🎯 Key Features
Hybrid Drawing System
Auto Mode: You manually select your swing low by clicking on the chart, then the indicator automatically finds the highest high after that point - giving you control over your anchor while automating the rest
Manual Mode: Full control - click to select BOTH your swing low (0.0) AND swing high (1.0) for complete precision - perfect for drawing multiple projections to find confluence zones
Logarithmic Scale Support
True logarithmic Fibonacci calculations for accurate levels on log-scale charts
Essential for crypto and growth stocks with significant price appreciation
Smart Level Management
"Key Fibs Only" toggle (ON by default): Shows 13 essential professional levels
All 23 levels unlocked: Turn off Key Fibs to access 10 additional advanced levels including 0.414, 0.707, 0.886, 1.886, 2.272, 3.618, and negative projections
Every level is fully customizable - edit values, toggle on/off, change colors
Essential Fibonacci Levels (Default)
Core: 0.0, 0.236, 0.382, 0.5, 0.618 (Golden), 0.786, 1.0
Extensions: 1.272, 1.382, 1.618 (Golden), 2.0, 2.618 (Golden), 4.236
All golden ratio levels (0.618, 1.618, 2.618, 3.618) highlighted in gold
Professional Display Options
Three display modes: Retracements Only, Extensions Only, or Both
Customizable line styles (Solid/Dashed/Dotted), widths, and lengths
Clean text-only labels or traditional price scale labels
Unified color override for minimalist chart aesthetics
Adjustable label positioning and sizing
Perfect for Professional Trading
Add multiple instances with different manual anchors to identify high-probability confluence zones
Combines the convenience of partial automation with the precision of manual anchor selection
Works on all markets: stocks, forex, crypto, futures
Compatible with all timeframes and markets. Clean code, efficient performance, zero repainting.
Dynamic Auto FibonacciDynamic Auto Fibonacci - Logarithmic Fib Retracements & Extensions
Overview
Dynamic Auto Fibonacci is an advanced Fibonacci analysis tool that automatically identifies swing highs and lows to plot precise retracement and extension levels on your chart. Unlike traditional manual Fibonacci tools, this indicator dynamically updates as price action evolves, with full support for logarithmic scaling - essential for accurate analysis on long-term charts and high-growth assets.
The indicator features a clean, modern aesthetic with customizable vibrant colors and text-only labels that won't clutter your chart, making it perfect for both intraday scalping and long-term position trading.
Key Features
✅ Automatic Fibonacci Detection - Automatically finds the highest high and lowest low within your selected timeframe
✅ Manual Anchor Point - Click directly on the chart to set a custom low point for your Fibonacci analysis
✅ Logarithmic Scale Support - True logarithmic Fibonacci calculations for accurate levels on log-scale charts
✅ Flexible Display Modes - Show retracements only, extensions only, or both simultaneously
✅ Fully Customizable Levels - Adjust any Fibonacci level value, color, or toggle individual levels on/off
✅ Unified Color Mode - One-click option to change all levels to a single color (perfect for minimalist chart styles)
✅ Clean Modern Design - Text-only labels with vibrant colors and adjustable positioning
✅ 13 Default Levels - Includes 0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 0.886, 1.0, 1.236, 1.414, 1.618, 2.0, and 2.618
How to Use
Quick Start (Automatic Mode)
Add the indicator to your chart
By default, it will automatically find the lowest and highest points over the past 12 months
Fibonacci levels will appear with clean colored text labels positioned to the right of current price
Setting a Custom Anchor Point (Manual Mode)
This is the most powerful feature - drawing from a specific swing low:
Click the Settings icon (gear) on the indicator
Navigate to Fibonacci Settings group
Click inside the "Anchor Start Time" field - this will activate anchor selection mode
Click directly on the candle where you want to set your swing low point on the chart
The indicator will automatically:
Lock that candle as your anchor (swing low)
Find the highest high that occurred after your selected anchor point
Draw Fibonacci retracement and extension levels between those two points
Important: The anchor represents the starting point (0.0 level) of your Fibonacci, and the indicator finds the peak after that point as the 1.0 level.
Display Modes
Navigate to Display Settings → Display Mode to choose:
Retracements & Extensions (default) - Shows all levels from 0.0 to 2.618
Retracements Only - Shows only 0.0 to 1.0 levels (great for identifying pullback entry zones)
Extensions Only - Shows 1.0+ levels (useful for profit targets and breakout projections)
Customizing Individual Levels
Under Retracement Levels and Extension Levels groups, each level has three controls:
Toggle checkbox - Show/hide the level
Value field - Adjust the exact Fibonacci ratio (e.g., change 0.618 to 0.65 if desired)
Color picker - Set unique colors for each level
Unified Color Override
Perfect for chart screenshots or minimalist aesthetics:
Go to Unified Color Override settings group
Enable "Use Unified Color for All Levels"
Choose your color (defaults to gray)
All lines and text immediately change to that color - individual settings are preserved when you toggle back off
Line & Label Customization
Display Settings group offers:
Line Style: Solid, Dashed, or Dotted
Line Length: Short (10 bars), Medium (50 bars), or Long (extends right infinitely)
Line Width: 1-5 pixels
Label Size: Tiny to Huge
Label Offset: Adjust how many bars to the right labels appear (default: 12)
Show Anchor Line: Display vertical lines at your swing low and swing high points
Settings Overview
Fibonacci Settings:
Retracement Timeframe (default: 12M)
Anchor Start Time (click to select candle)
Use Log Scale Calculation (highly recommended for crypto and growth stocks)
Display Settings:
Display Mode (Retracements & Extensions / Retracements Only / Extensions Only)
Line Style, Length, Width
On-Chart Labels (clean text) or Price Scale Labels (traditional right-side axis)
Label Size and Offset
Unified Color Override:
One-click monochrome mode for all levels
Individual Level Controls:
8 customizable retracement levels (0.0 to 1.0)
5 customizable extension levels (1.236 to 2.618)
Use Cases
📊 Swing Trading - Identify key support/resistance zones for entries and exits
📊 Scalping - Use short-term anchors to find precise intraday reversal levels
📊 Position Trading - Logarithmic calculations essential for multi-year crypto/stock analysis
📊 Options Trading - Extension levels provide excellent profit target zones
📊 Multi-Timeframe Analysis - Set different anchors to compare short-term vs. long-term Fibonacci structures
Tips for Best Results
For cryptocurrency and growth stocks: Always enable "Use Log Scale Calculation" and view your chart in log scale
For precision: Use the manual anchor feature to draw from confirmed swing lows/highs rather than relying on automatic detection
For clean charts: Toggle off levels you don't actively use (e.g., disable 0.786 and 0.886 if you only trade 0.382/0.618)
For screenshots: Enable Unified Color Override and set to grayscale for professional-looking chart exports
Note on Logarithmic Scale
This indicator includes true logarithmic Fibonacci calculations, which are critical when analyzing assets with significant price appreciation. Standard arithmetic Fibonacci tools become increasingly inaccurate on log-scale charts - this indicator solves that problem by calculating levels using logarithmic mathematics when "Use Log Scale Calculation" is enabled.
Disclaimer: This indicator is a tool for technical analysis and does not constitute financial advice. Always perform your own analysis and risk management before making trading decisions.
Premium/Discount Zones with Confirmation Signals📌 Indicator Description: Premium/Discount Zones with Confirmed Signals
This indicator identifies dynamic Premium, Discount, and Equilibrium zones based on recent swing highs and lows, helping traders visualize where price is considered expensive, cheap, or fair value. It’s designed for Smart Money Concepts (SMC), ICT-style trading, and anyone who values precision in zone-based analysis.
🔍 Key Features
Swing-Based Zones: Automatically detects swing highs/lows over a customizable lookback period (default: 48 bars — equivalent to 2 days on a 1-hour chart).
Premium & Discount Levels: Define overbought and oversold zones using percentage inputs (default: 25%).
Equilibrium Band (middle): Highlights the no-trade value zone with adjustable width (default: 5%).
Signal Engine: Generates trade signals based on two styles:
Bounce: Reversal signals when price reacts to a zone and confirms direction.
Breakout: Continuation signals when price breaks through a zone with momentum.
Trade Type Selector: Choose between Bounce, Breakout, or Both from the input menu.
Signal Filtering: Limits signals to one per direction at a time to reduce noise.
Visual Styling: Toggle between colored or monochrome themes for clean charting.
🧠 How It Works
Buy signals appear when price confirms strength from the discount zone or breaks above the premium zone.
Sell signals appear when price confirms weakness from the premium zone or breaks below the discount zone.
All signals include a built-in 3-bar confirmation delay to reduce false triggers.
🎯 Ideal For
Traders using SMC, ICT, or price action strategies
Zone-based scalping, swing trading, or intraday setups
Visualizing market structure and value areas with clarity
I hope you find this useful — and wish you Happy Trades!






















