Gamma Levels - Options Flow# 📊 Gamma Levels - Options Flow Indicator
## TradingView Free Indicator - By AsiaQuant
---
## 🎯 What Is This?
**Gamma Levels** is a simplified TradingView indicator that shows estimated support and resistance levels based on institutional options positioning. It helps traders identify key price zones where options market makers are likely positioned.
### Key Features:
- **⚡ Gamma Flip Level**: The inflection point where dealer hedging behavior changes
- **🔴 Call Wall**: Overhead resistance from call option concentration
- **🟢 Put Support**: Downside support from put option concentration
- **🎯 Trading Zone**: The range between support and resistance
- **📊 Regime Detection**: Positive vs Negative Gamma environments
---
## 📈 How To Use
### 1. **Gamma Flip Level (⚡)**
The Gamma Flip is the most critical level. It represents where market maker hedging flips from stabilizing to destabilizing:
- **Above Gamma Flip**: Positive gamma environment → Lower volatility, mean reversion
- **Below Gamma Flip**: Negative gamma environment → Higher volatility, trend continuation
**Trading Strategy:**
- When price is **above** gamma flip: Fade extremes, trade ranges
- When price is **below** gamma flip: Follow momentum, breakouts more likely
### 2. **Call Wall (🔴)**
The Call Wall represents overhead resistance where heavy call open interest sits:
- Acts as a **magnet** when price approaches from below
- Acts as **resistance** when price tests it
- Breaking above often leads to squeeze moves
**Trading Strategy:**
- Use as profit target for long positions
- Watch for rejection and reversal setups
- Breaking through = potential gamma squeeze
### 3. **Put Support (🟢)**
The Put Support level shows where heavy put positioning provides downside support:
- Acts as **support** on pullbacks
- Breaking below signals bearish momentum
- Often bounces near this level
**Trading Strategy:**
- Use as entry zone for long positions
- Stop loss just below this level
- Breaking through = potential flush lower
### 4. **Trading Zone (Blue Shaded Area)**
The zone between Call Wall and Put Support shows the expected trading range:
- **Narrow zones** = Low volatility, potential breakout setup
- **Wide zones** = High volatility, choppy action expected
- Price tends to stay within this zone
---
## 🚦 Regime Guide
### Positive Gamma Regime (Green Background)
- Price above Gamma Flip
- Lower volatility expected
- Mean reversion strategies work better
- Selling premium strategies favorable
### Negative Gamma Regime (Red Background)
- Price below Gamma Flip
- Higher volatility expected
- Trend following strategies work better
- Directional trades more profitable
---
## ⚠️ Important Limitations
This is a **SIMPLIFIED** indicator that uses price action and volume as proxies for options positioning. It does NOT use real options chain data.
### What This Indicator Does:
✅ Estimates levels using VWAP and ATR
✅ Shows general zones of interest
✅ Provides educational framework
✅ Works on any timeframe
### What This Indicator CANNOT Do:
❌ Access real options open interest
❌ Calculate actual gamma exposure
❌ Account for 0DTE dynamics
❌ Include Vanna/Charm effects
❌ Use volatility surface interpolation
---
## 🔓 Want The Full Professional Version?
### **GEX Pro - Institutional Grade Analysis**
**Visit: (gexpro.asiaquant.com)**
#### What You Get:
- ✅ **Real Options Data**: Live OI and volume from actual options chains
- ✅ **20+ Metrics**: GEX, DEX, Vanna, Charm, Volga, IV Skew, and more
- ✅ **0DTE Logic**: Proprietary algorithm for same-day expiration positioning
- ✅ **Volatility Surface**: Cubic spline interpolation eliminates "ghost walls"
- ✅ **Shadow Gamma**: Advanced second-order risk exposure
- ✅ **Multi-Expiration**: Analyze 0DTE, weekly, and monthly expirations simultaneously
- ✅ **Directional Scoring**: AI-powered conviction scoring with 5 components
- ✅ **Trade Ideas**: Specific setups based on positioning
- ✅ **440+ Tickers**: SPY, QQQ, IWM, AAPL, TSLA, NVDA, and more
#### The Difference:
| Feature | TradingView Free | GEX Pro |
|---------|------------------|---------|
| Data Source | Price/Volume Proxy | Real Options Chains |
| Gamma Calculation | Estimated | Actual Black-Scholes |
| Advanced Greeks | ❌ | ✅ Vanna, Charm, Volga |
| 0DTE Handling | ❌ | ✅ Volume Priority |
| Vol Surface | ❌ | ✅ Cubic Spline |
| Conviction Score | ❌ | ✅ 5-Component Model |
| Trade Setups | ❌ | ✅ Directional Ideas |
---
## 📚 Educational Resources
### Recommended Reading:
1. **"Gamma Exposure and Market Dynamics"** - Understanding dealer hedging
2. **"Volatility Trading"** by Euan Sinclair - Options Greeks in practice
3. **"The Volatility Surface"** by Jim Gatheral - Advanced vol modeling
### Key Concepts:
- **Gamma Exposure (GEX)**: The rate of change of delta with respect to price
- **Dealer Hedging**: How market makers adjust their stock positions
- **Positive Gamma**: Dealers buy dips, sell rips → stabilizing
- **Negative Gamma**: Dealers sell dips, buy rips → destabilizing
- **Vanna**: Sensitivity to spot and volatility changes
- **Charm**: Time decay of delta
---
## 🎓 Best Practices
### ✅ DO:
- Use in conjunction with price action and volume
- Combine with support/resistance levels
- Pay attention to regime changes
- Use for planning entries/exits
- Monitor gamma flip proximity
### ❌ DON'T:
- Rely solely on this indicator
- Ignore overall market conditions
- Trade against strong trends
- Over-leverage based on levels
- Treat estimates as absolute truth
---
## 📊 Example Scenarios
### Scenario 1: Approaching Call Wall
- Price rallies toward Call Wall ($595 on SPY)
- Volume increases as it approaches
- **Action**: Consider taking profits on longs, watch for rejection
### Scenario 2: Gamma Flip Cross
- Price crosses below Gamma Flip
- Regime changes to Negative Gamma
- **Action**: Reduce range trading, prepare for momentum
### Scenario 3: Bouncing Off Put Support
- Price tests Put Support ($580 on SPY)
- High volume at the test
- **Action**: Entry for longs with stop below support
---
## 🔧 Settings Guide
### Lookback Period (Default: 20)
- **Lower (10-15)**: More responsive, better for day trading
- **Higher (30-50)**: Smoother, better for swing trading
### Volatility Multiplier (Default: 1.5)
- **Lower (1.0-1.2)**: Tighter zones, more frequent tests
- **Higher (2.0-3.0)**: Wider zones, fewer tests but stronger
### Display Options
- Toggle individual levels on/off based on your strategy
- Customize colors to match your chart theme
---
## ❓ FAQ
**Q: Why don't the levels match actual options strikes?**
A: This free version uses price action approximations. For real strike-level precision, use GEX Pro.
**Q: How often should levels update?**
A: The indicator recalculates every bar. For real options data that updates throughout the day, use GEX Pro.
**Q: Can I use this for day trading?**
A: Yes, but it's approximations. For intraday 0DTE positioning, GEX Pro has specialized logic.
**Q: What timeframe works best?**
A: Works on all timeframes, but 15min-1hour is optimal for the simplified calculation.
**Q: Is this better than just support/resistance?**
A: It adds an options perspective, but should complement (not replace) standard TA.
---
## 🚀 Upgrade To GEX Pro
Ready for institutional-grade analysis?
### ** (gexpro.asiaquant.com)**
- Real options data from 440+ tickers
- 20+ advanced metrics
- AI-powered trade signals
- Professional-grade analytics
- API access available
**Stop guessing. Start knowing where the institutions are positioned.**
---
## 📧 Support & Contact
- **Website**: (gexpro.asiaquant.com)
- **Questions**: Contact form on website
- **TradingView**: Leave comments on the indicator
---
## ⚖️ Disclaimer
This indicator is for **educational purposes only**. It is not financial advice. Options and derivatives trading involves significant risk. Past performance does not guarantee future results. Always do your own research and consult with a financial advisor before making trading decisions.
The simplified calculations in this free version are approximations and may not reflect actual market conditions. For professional trading decisions, use verified data sources and professional-grade tools.
---
**Version**: 1.0
**Last Updated**: December 2024
**Created By**: AsiaQuant Research
### 🔓 **Unlock the full power: (gexpro.asiaquant.com)**
Educational
HTF Wicks OHLC & Key Defense Levels @ MaxMaserati 3.0HTF Wicks OHLC & Key Defense Levels @ MaxMaserati 3.0
This indicator provides a sophisticated view of price rejection and supply/demand exhaustion by mapping the "hidden" levels within candle wicks across multiple timeframes. It combines precise wick geometry with volume-weighted defense zones to help traders identify where price is likely to stall or reverse.
1. Multi-Timeframe Wick Analysis
The script identifies significant wicks from up to four different timeframes (e.g., H1, H4, Daily, Weekly) and projects three critical horizontal levels:
Wick High/Low: The absolute extreme of the rejection.
50% Mid-Wick: The "equilibrium" of the rejection, often acting as a magnet or a pivot point for local price action.
Body Edge: The Open or Close level where the rejection began.
HTF Live wick
HTF Closed Wick
Dynamic Filtering: You can filter these levels based on the "Wick-to-Body Ratio" to ensure you only see significant rejections, avoiding "noisy" candles with small wicks.
2. Volume Defense Levels (Supply/Demand)
A proprietary volume defense level visuals, so beyond simple price action, the script identifies Institutional Defense Levels based on high-volume pivots.
Volume Strength: It calculates the volume of swing highs and lows relative to a lookback average.
Visual Representation: High-volume zones are drawn as dashed lines with accompanying "strength" boxes. The thicker the line and more opaque the box, the higher the relative volume backing that level.
Auto-Invalidation: Defense levels automatically disappear once price closes through them, keeping your chart clean and focused only on active zones.
3. Key Features
Auto-Wick Detection: Choose to see only Upper wicks (Supply), Lower wicks (Demand), or let the script automatically detect the dominant rejection.
Sentiment Labels: Includes real-time calculation of Buyer vs. Seller dominance within the wick structure.
Clean UI: Fully customizable styling for lines, labels, and offsets to match any chart theme.
How to Use
Look for "Confluence Zones" where an HTF 50% Wick Line aligns with a Volume Defense Level. These areas represent high-probability reversal zones where both historical price rejection and significant volume are present.
Auto Price-to-Bar ScaleIt adjusts the chart’s scaling according to Mitotic scaling rules, as defined in the book Geometrical Analysis by Anand Kene (available on Amazon). This method of scaling allows the application of various angles and Gann boxes, resulting in more precise target levels.
Hookes Kinetics | IkkeOmarHooke's Kinetics: A Physics-Based Volatility System
This indicator applies the principles of Hooke's Law to financial time series data to model market volatility as a system of potential and kinetic energy.
Theoretical Foundation: Hooke's Law In physics, Hooke's Law states that the force (F) needed to extend or compress a spring by some distance (x) scales linearly with respect to that distance: F = -kx, where k is the spring constant.
Potential Energy (PE): PE = 0.5 * k * x^2 Kinetic Energy (KE): Energy possessed due to motion.
In this system, we treat Price Action as a spring. Compression (Potential Energy): When price consolidates, volatility compresses. The "spring" is being wound up. Energy is accumulated, not released. Release (Kinetic Energy): When price breaks out of compression, potential energy transforms into kinetic energy. The spring snaps back, driving price motion.
Indicator Mechanics The Hooke's Kinetics oscillator visualizes this energy transfer cycle to identify trend origins and exhaustion points.
Accumulating Energy (Potential): The Blue Area represents the buildup of Potential Energy. This occurs during periods of low volatility (consolidation). The algorithm detects when price variance drops below a threshold (representing spring compression) and aggregates this "stored force" over time. As long as the price remains compressed, the Blue potential energy grows.
Energy Conversion (Kinetic Release): The Red Histogram represents Kinetic Energy. When volatility expands significantly (a breakout), the system triggers a release event. The accumulated Blue potential energy is discharged and converted into the Red kinetic spike. This marks the moment the "spring" is released.
Trend Direction & Decay: Once the Kinetic Energy (Red spike) appears, the "explosive" phase is active. As the Red histogram decays (lowers back to zero), the market enters a coasting phase. The trend direction is established by the price movement during the initial Kinetic release. Traders observe the price vector as the Red energy dissipates to confirm the prevailing trend.
Reversion Signals (Bonus): Extreme peaks in Kinetic Energy (exceptionally high Red spikes) indicate a maximum extension of the spring. Just as a physical spring oscillates, extreme kinetic release often precedes a mean reversion. If price action opposes the direction of the Kinetic decay, it signals a likely reversal.
Visual Reference Referencing the chart above: Blue Ramp: Note the linear buildup of the blue area during sideways price action. This is the "loading" phase. Red Spike: Note the immediate drop in Blue and spike in Red coinciding with the green highlight circles on the chart. These are the breakout points. Green Circles: These highlight the specific candles where Potential converted to Kinetic, marking the optimal entry or decision points.
Code Description
The system defines market state using a composite variable "k" (Stiffness), which combines Price Volatility (NATR) and Relative Volume (RVOL).
k_price = range_natr != 0 ? 1.0 - ((natr - lowest_natr) / range_natr) : 0 k = (k_price * price_weight) + (k_vol * vol_weight) Here, we normalize volatility relative to a historical lookback. High values of "k" indicate high compression—this is the "winding" of the spring.
if is_compressed potential_energy := potential_energy + k kinetic_energy := kinetic_energy * DECAY_RATE When the market is tighter than the user-defined "stiff_thresh", the system accumulates Potential Energy. Note that Kinetic Energy actively decays during this phase, simulating friction or inertia slowing down price movement.
else drain_factor = (1.0 - k) transfer = potential_energy * drain_factor potential_energy := potential_energy - transfer kinetic_energy := (kinetic_energy * DECAY_RATE) + (transfer * ENERGY_MULT) This acts as the conservation of energy. We do not reset Potential to zero instantly; we drain it. The "drain_factor" ensures that a violent expansion (low k) drains potential energy faster than a mild move. This transferred energy is scaled up and added to the Kinetic state.
Note - AMPLITUDE MATTERS!
Observe the amplitude of the Kinetic Energy - higher peaks are more significant. Lower values are usually artifacts, but they can indicate mean reversion on a smaller scale while price remains within a range.
SM Ghost Protocol 80 - Sniper AlphaSM Ghost Protocol 80 - Smart Money Sniper
Where the retail sees exhaustion, we see institutional opportunity. The SM Ghost Protocol 80 was engineered to track the "footprints" of the Smart Money in high-volatility environments.
This indicator filters market noise by combining an intermediate trend axis (EMA 80) with specific momentum manipulation zones (RSI 68/35). When the Protocol lights up the candles, it signals that the institutional flow has taken control of the price, moving towards high-liquidity pools.
Key Features:
Ghost Line (EMA 80): The definitive boundary between retail chaos and institutional trend.
SM Manipulation Zones: Advanced RSI logic to identify where big players are squeezing the market.
Ghost Candles: Real-time visual confirmation for quick decision making.
Verified Astro-Table SimplifiedThis script, titled the **Financial Astrological Ephemeris Table**, is designed to be a high-precision astronomical dashboard for TradingView. Unlike standard indicators that rely on price formulas, this script serves as a **digital bridge** between professional Swiss Ephemeris data and your trading chart.
Here is a detailed breakdown of what the script provides and how to maximize its utility.
---
**1. What the Script Provides**
**A. 100% Ephemeris Synchronization**
Most "Astro" indicators in TradingView use "mean motion" math, which drifts over time. This script uses **Static Switch Logic**. By hard-coding the data from the Swiss Ephemeris, the script ensures that the degrees you see on your chart match the physical reality of the sky.
* **Sun & Moon**: Accurate to the degree for the current period.
* **Saturn & Outer Planets**: Corrects the "sign drift" found in other scripts, keeping Saturn in its true position (late Pisces for 2025).
**B. Sign & Degree Tracking**
The script translates raw longitude (0–360°) into the traditional 12-sign zodiac format (`Sign` + `Degree`). This allows you to immediately identify where planets are transiting relative to key price levels.
**C. The Sun-Relative House System**
The script calculates an **Equal House System** based on the Sun's current position.
* This treats the Sun as the "Rising" point for the day's dashboard, showing you how other planets are "angled" relative to the Sun's current solar light.
**D. Stability and Performance**
Because the script uses `barstate.islast`, it only calculates for the most recent candle. This prevents "Runtime Errors" and ensures your TradingView platform remains fast and responsive, even on low-powered laptops.
---
**2. How to Use it Effectively**
**A. Identifying Confluence with Price**
Watch for "Degree Hits." If the table shows **Saturn at 25° Pisces** and your asset is hitting a major resistance level at a number ending in **25** (or a harmonic like 2.50), it signifies a moment of "Astro-Price Confluence." These are often high-probability reversal points.
**B. Customizing the Visual Experience**
You can tailor the dashboard to your specific chart layout via the **Settings (Gear Icon)**:
* **Position**: Move the table to any corner (Top Right, Bottom Left, etc.) so it doesn't block your price action.
* **Transparency**: Adjust the "Background Color" to make the table more subtle or more prominent.
* **Text Size**: If you trade on a mobile device, set the text to "Normal." If you use a 4K monitor, set it to "Tiny" to save space.
**C. Managing the "Switch" Data**
To keep the script accurate for the long term, I will update the `get_pdf_lon` block once a month (or once a year) with the new coordinates from the Swiss Ephemeris.
**D. Directional Trading (The "Dir" Column)**
The script includes a "Direction" column. Use this to track if a planet is **Direct (D)** or **Retrograde (Rx)**.
**Strategy**: If a planet is listed as "D," its influence is considered "forward-moving" and predictable. If you update the code to show "Rx," expect the market sectors associated with that planet to experience "re-evaluations" or delays.
---
### Summary of Benefits for the User
1. **Eliminates Guesswork**: You no longer have to flip between an Ephemeris and TradingView; the data is on your screen.
2. **Historical Analysis**: You can manually change the data in the script to a historical date to see exactly how the "Astro-Weather" looked during a previous market crash or rally.
Screener Ichimoku SignalScreener Ichimoku Signal for longer time frame charts. Not suitable for intraday
FX-CLINIC MARKET STRUCTUREThis indicator help the treaders by SMC/ICt to mark the structure MSS/BOS automatically, and you can choose the length of the structure as 5 for fractal, 10 for internal and 15 for external
use it free
note: check your information and correct the structure as you know,
it is first edition and go to upgrade and correct
feel free to sent any note in telegram
privet: @DRALIAWWAD
and the public channel: @ictdrawwad
55 theory by haze!The 55 Theory by Haze! This innovative indicator embodies the essence of day trading mastery, empowering traders to decipher and capitalize on the subtle clues—or "breadcrumbs"—that major institutional banks inadvertently leave in the market when executing their substantial orders. Providing clear visual support and resistance levels for informed decision-making. Users can choose between a streamlined "Today Only" mode, which displays lines solely for the most recent session or an expansive "Historical Mode" that allows toggling the display of multiple past days simultaneously for deeper trend analysis. Additional customization options include adjustable line colours, widths, and styles to suit individual preferences and chart aesthetics, making it a versatile tool for both novice and seasoned traders navigating volatile markets.
Liquidity Sweep Pro [Whale Edition]Liquidity Sweep Pro is a next-generation trading tool that bridges the gap between Smart Money Concepts (SMC) and Quantitative Volume Analysis.
Traditional "Liquidity Sweep" indicators often generate false signals by marking every wick crossover as a trade setup. This indicator solves that problem by filtering setups through a Quant VSA Engine. It asks not just "Did price sweep a level?" but "Was there institutional money behind this move?"
🔬 How It Works
The indicator operates on three synchronized layers:
1. Market Structure (Liquidity Pools) It automatically identifies key pivot points where retail Stop Losses are likely clustered:
Buy Side Liquidity (BSL): Areas above swing highs.
Sell Side Liquidity (SSL): Areas below swing lows.
2. The Quant Engine (Whale Detection) Instead of using simple volume averages, we apply statistical modeling to detect anomalies:
Log-Normal Z-Score: Normalizes volume data to detect statistically significant outliers (Sigma > 2.5). This adapts to market volatility, filtering out noise.
Kaufman Efficiency Ratio (KER): Analyzes the quality of price movement to classify the "Whale" type:
❄️ Absorption (Iceberg): High Volume + Low Price Movement. Signals a potential reversal.
🚀 Propulsion (Drive): High Volume + High Price Efficiency. Signals an aggressive breakout.
3. The Trigger (Smart Entry) A trade signal is generated ONLY when:
Price sweeps a liquidity level (wicking below/above).
Price closes back within the range.
Institutional Activity is confirmed (High Z-Score Volume).
Trend (EMA 200) and Momentum (RSI) filters are aligned.
🛡️ Features
Intrabar Analysis: Uses request.security_lower_tf to analyze the internal volume delta of the candle for maximum precision.
Automated Risk Management: Plots Entry, Take Profit, and Stop Loss levels directly on the chart based on ATR (Average True Range) and your preferred Risk:Reward ratio.
Unified Alerts: Includes a single "ANY SWEEP" alert condition, allowing you to monitor both Long and Short setups with just one TradingView alert.
Visual Classification: Candles with institutional activity are marked with a 🐋 symbol, even if no sweep occurs, helping you read the narrative.
⚙️ Best Settings & Usage
Timeframes: Works best on 15m, 1h, and 4h charts.
LTF Interval (Input): This is crucial.
If trading on the 1h chart, set LTF to 1 minute.
If trading on the 4h chart, set LTF to 5 minutes.
Whale Threshold: Default is 2.5 Sigma. Increase to 3.0 for fewer, higher-confidence signals, or decrease to 2.0 for more frequency.
⚠️ Disclaimer
This tool is for educational purposes only. It identifies statistical probabilities, not certainties. Always manage your risk and do not rely solely on one indicator.
3D Isometric MFI (Christmas Edition) [Kodexius]3D Isometric MFI (Christmas Edition) is a visual-first interpretation of the classic Money Flow Index, rendered as a projected 3D-style ribbon using an isometric mapping. Instead of plotting a standard oscillator line, the script reconstructs recent MFI history as a depth-aware ribbon that moves from back to front, producing a layered perspective effect that helps you read momentum shifts, regime transitions, and relative strength changes as a continuous structure.
This Christmas Edition was also built for fun and as a creative seasonal experiment. The goal is to keep the underlying indicator logic familiar, while presenting it in a playful, “3D showroom” style that looks great in a separate oscillator panel.
The indicator is designed for presentation quality and chart readability. It uses controlled object management (lines, polylines, labels) and renders only the most recent portion of the MFI history (user-defined depth). A decorative snow background effect adds atmosphere.
🔹 Features 🎄
🔸 Isometric 3D Projection Engine
The ribbon is produced by projecting 3D points (time offset, MFI value, depth) into 2D chart coordinates.
- X represents bar offset into history
- Y represents the MFI value
- Z introduces depth and perspective
Angle controls the projection direction, and Vertical Zoom scales the perceived amplitude.
🔸 Depth-Limited Ribbon Rendering (Back to Front)
Only the most recent History Depth values are drawn to keep performance and readability stable.
- Each segment connects two consecutive MFI values
- A top edge, bottom edge, and filled face are drawn to simulate thickness
- Older segments fade into the background
🔸 Dynamic Gradient Coloring + Depth Fade
Ribbon color follows a value-based gradient:
- Lower values lean red (risk-off pressure)
- Higher values lean green (risk-on pressure)
- Mid values blend naturally
Transparency increases with depth so older history is less dominant but still readable.
🔸 Tip Label (Value + Candy Marker) 🍭🍬
The most recent ribbon tip displays current MFI value.
A candy symbol that switches based on the 50 midpoint
The label is offset so it does not cover the ribbon tip.
🔸 Projected Reference Grid (80, 50, 20)
A projected grid is drawn at classic MFI reference levels to improve orientation:
- 80 Overbought reference
- 50 Midpoint reference
- 20 Oversold reference
These grid lines use the same projection math, so they stay aligned at any angle or zoom.
🔸 Seasonal Snow Background Effect ❄️
Randomized snow is rendered behind the ribbon using lightweight labels. This is purely decorative and does not alter MFI values or logic.
🔸 Object Lifecycle Management
Because 3D-style drawing uses many objects, the script manages them explicitly by storing references in arrays, deleting old objects, and redrawing on the last bar. This helps prevent visual stacking artifacts and keeps the panel clean.
🔹 Calculations
1) Money Flow Index Computation
The script separates “positive” and “negative” money flow based on the direction of change in the selected source, then converts their ratio into the standard 0 to 100 oscillator. Classic MFI Calculations.
calc_mfi(int length, float source) =>
float upper = math.sum(volume * (ta.change(source) <= 0 ? 0 : source), length)
float lower = math.sum(volume * (ta.change(source) >= 0 ? 0 : source), length)
float mfi = 100.0
if lower != 0
float r = upper / lower
mfi := 100 - (100 / (1 + r))
mfi
Interpretation:
upper accumulates volume-weighted source values on up moves
lower accumulates volume-weighted source values on down moves
if lower is zero, MFI defaults to 100 to avoid division errors
otherwise, MFI is computed from the ratio transform
2) History Buffer Management
The current MFI value is pushed into the front of an array every bar. The array is trimmed to History Depth so rendering stays bounded.
array.unshift(ctx.history_val, mfi_curr)
if ctx.history_val.size() > depth
ctx.history_val.pop()
3) 3D Point Model and Ribbon Thickness
Each segment is built from four projected points to form a filled face (a simple quad). A small thickness is applied to create the “ribbon” look, and depth is used to simulate perspective.
4) Isometric Projection to Chart Coordinates
3D points are mapped into chart coordinates with an angle rotation and scaling for zoom and depth.
method project(Point3 p, int anchor_bar, float angle_rad, float zoom, float z_scale) =>
float x_world = -float(p.x) * 2.0
float z_val = p.z * z_scale
float screen_x_offset = (x_world * math.cos(angle_rad)) - (z_val * 1.0)
float screen_y_offset = (p.y * zoom) + (x_world * math.sin(angle_rad)) * 0.5
int final_x = anchor_bar + int(math.round(screen_x_offset))
float final_y = screen_y_offset
chart.point.from_index(final_x, final_y)
5) Gradient and Depth Transparency
Color is derived from MFI value via a gradient, and transparency increases with segment depth so recent data remains dominant while older context stays visible.
6) Projected Reference Grid Construction
The 80, 50, 20 levels are drawn as dotted segments across the same historical span, using the same projection and depth fade logic for consistent alignment.
🎆 Wishing you a great year ahead 🎄✨
May your charts be clear, your risk be controlled, and your next year be filled with health, peace, and good trades. Happy Holidays and Happy New Year.
VIX Percentile OscillatorWhat is this script?
This is a trading tool that helps you decide when to buy or sell options based on market volatility. Think of it as a "fear meter" for the stock market.
What is VIX?
VIX = Volatility Index (also called the "fear index")
When VIX is HIGH → Market is scared/volatile → Options are EXPENSIVE
When VIX is LOW → Market is calm → Options are CHEAP
What does "Percentile" mean?
Instead of just showing VIX price, this script shows where VIX is compared to history.
Example: If VIX Percentile = 85%
This means VIX is higher than 85% of all past readings
Only 15% of the time was VIX higher than now
Translation: Volatility is unusually HIGH
The 5 Trading Zones
The script divides the market into 5 zones:
🔴 EXTREME SELLING ZONE (90-100%)
VIX is in the top 10% historically
Action: AGGRESSIVELY SELL OPTIONS (collect big premiums)
Market panic = expensive options = profit for sellers
🟠 SELLING ZONE (80-89%)
VIX is elevated but not extreme
Action: SELL OPTIONS (good premiums available)
⚪ NEUTRAL ZONE (20-79%)
VIX is normal
Action: WAIT or use other strategies
🟢 BUYING ZONE (10-19%)
VIX is low
Action: BUY OPTIONS (they're cheap)
🟢 EXTREME BUYING ZONE (0-9%)
VIX is in the bottom 10% historically
Action: AGGRESSIVELY BUY OPTIONS (bargain prices)
Market complacency = cheap options = opportunity
Understanding the Chart
Main Line (Blue/Red/Green):
Shows current VIX percentile
Color changes based on zone
Thick line = easy to see
Histogram (Background bars):
Red bars = above 50% (high volatility)
Green bars = below 50% (low volatility)
Purple Momentum Line:
Shows if VIX is rising or falling
Helps you catch trends early
Background Colors:
Light red/orange = Selling zones
Light green = Buying zones
Triangle Markers:
Appear when entering new zones
"EXTREME" label = strongest signals
The Statistics Table (Top Right)
VIX Price: Current VIX value (e.g., 16.50)
Percentile: Where VIX ranks (0-100%)
Z-Score: Statistical measure
Above +2 or below -2 = extreme
Red text = unusually high/low
Momentum: Rate of change
Red = rising (volatility increasing)
Green = falling (volatility decreasing)
Avg VIX: Average VIX over lookback period
Current Zone: Which zone you're in right now
Bars in Zone: How long you've been in this zone
Simple Trading Rules
FOR OPTION SELLERS (Premium Collectors):
✅ SELL when: Percentile > 80% (especially > 90%)
High premiums available
Examples: Sell covered calls, cash-secured puts, credit spreads
FOR OPTION BUYERS (Hedgers/Speculators):
✅ BUY when: Percentile < 20% (especially < 10%)
Cheap options available
Examples: Buy protective puts, long calls, debit spreads
Key Settings You Can Adjust
Lookback Period (default: 252)
How far back to compare (252 = 1 year of trading days)
Longer = smoother, more stable
Shorter = more sensitive to recent changes
Smoothing Period (default: 3)
Reduces noise/wiggling
Higher = smoother line
Lower = more responsive
Zone Thresholds:
Extreme Sell: 90%
Sell: 80%
Buy: 20%
Extreme Buy: 10%
You can customize these!
Real-World Example
Scenario: VIX Percentile jumps to 92%
What this means:
VIX is higher than 92% of all past readings
Market is in panic mode
Option premiums are INFLATED
Trading Action:
✅ Sell covered calls on stocks you own
✅ Sell cash-secured puts on stocks you want to buy
✅ Sell credit spreads
❌ DON'T buy expensive options right now
Why it works: When fear is extreme, it usually calms down eventually. You profit as premiums deflate.
Important Reminders
⚠️ This is a TIMING tool, not a crystal ball
It tells you WHEN premiums are expensive/cheap
It doesn't tell you WHICH options to trade
You still need proper risk management
⚠️ Works on ALL timeframes
Daily charts = swing trading
Weekly charts = position trading
Intraday charts = day trading volatility
⚠️ Best for:
Option sellers during high VIX (>80%)
Option buyers during low VIX (<20%)
Portfolio hedging decisions
Volatility trading strategies
Bottom Line: This script helps you buy options when they're cheap and sell options when they're expensive. It's like shopping for sales, but for volatility!
DISCLAIMER: This information is provided for educational purposes only and should not be considered financial, investment, or trading advice. Please do boost if you like it. Happy Trading.
52-Week Range Dashboardthis shows the diff in % between the 52 week high and low
this is called coiling method, you may observe whenever the diff in % between 52 week high and low price is 30% or below, that's the time the script will show a move.
Thank you
have a great day
Risk Adjusted Geometric Exponent [VynthraQuant]RAGE Index (Risk-Adjusted Geometric Exponent)
Overview
The RAGE Index is a quantitative momentum oscillator that measures the efficiency and quality of an asset's price trend. Standing for Risk-Adjusted Geometric Exponent , this indicator goes beyond simple price action by evaluating the average logarithmic growth rate relative to the asset's volatility.
In institutional finance, it is not just about how much an asset moves, but how it moves. RAGE identifies trends that exhibit high compounding growth with minimal "noise" or volatility.
The Logic Behind RAGE
The indicator is built on two core quantitative pillars:
1. Geometric Exponent (GE): Instead of simple percentage changes, we calculate the geometric mean of log-returns. This represents the true compounding "velocity" of the price.
2. Volatility Normalization: We divide the GE by the standard deviation of returns (Volatility) over a specific lookback period.
How to Interpret the RAGE Index
* The Zero Line: The most critical level. When RAGE crosses above 0, the asset has entered a state of positive geometric growth. Below 0, the asset is in a state of efficient decay.
* Trend Quality: A rising RAGE value indicates that the trend is becoming more "efficient", growth is increasing while volatility is staying low or decreasing.
* Color-Coded Candles: The script features a `force_overlay` function that colors the candles on your main chart.
* Bullish Color: Efficient growth detected (Long bias).
* Bearish Color: Efficient decay detected (Short bias).
Key Features
* Logarithmic Accuracy: Uses log-returns to ensure time-additivity and eliminate the bias found in standard percentage calculations.
* Adaptive to Volatility: Unlike a standard RSI or MACD, RAGE penalizes "choppy" price action, helping you stay out of sideways markets.
* Optimized Performance: Written in Pine Script v6 with high-efficiency math to ensure fast loading even on lower timeframes.
Settings
* GE Lookback: The window used to calculate the average growth rate.
* Volatility Lookback: The window used to measure the "risk" or noise of the price action.
General Disclaimer
This indicator is for informational and educational purposes only. It does not constitute financial advice. The creator bears no responsibility for any financial decisions or losses resulting from its use. Past performance is not indicative of future results.
Islamic Disclaimer
All trading activity should be approached with awareness of halal and haram principles. Ensure your investments, instruments, and methods align with Islamic ethical standards. This tool does not promote speculative or impermissible practices.
Position Avg Line + P/L Table - SightLine LabsPosition Avg – SLL is a lightweight position-tracking indicator designed to display a persistent average price level on the chart along with a real-time position summary table.
This script is non-trading and does not generate signals, entries, or exits. It is intended strictly for position awareness and visual reference.
What this indicator does:
Plots a persistent horizontal average price line (dashed by default)
Displays a live position statistics table showing:
Shares owned
Average price
Current price
Unrealized profit/loss in dollars
Unrealized profit/loss in percent
Updates automatically as price changes
Works across all timeframes
Does not depend on broker integration or strategy logic
Key features:
Average Price Line:
User-defined average price input
Persistent across the entire chart
Adjustable color and width
Visibility toggle
Position Table:
Six selectable table positions:
Top Left, Top Center, Top Right, Bottom Left, Bottom Center, Bottom Right
Adjustable text size (Tiny through Huge)
Optional table background fill
Optional inner grid lines
Optional outer frame border
Independent color control for:
Header background
Header text
Value text
Positive and negative P/L values
Chart Overlay Options:
Optional chart background tint
Does not modify the global chart theme
Inputs overview:
Position Settings:
Shares Owned
Average Price
Visual Settings:
Show or hide average price line
Line color and width
Table Settings:
Table position
Table text size
Color Settings:
Header background and text colors
Value text color
Positive and negative P/L colors
Optional table background, grid, and frame colors
How to use:
Add the indicator to a chart
Open the settings panel
Enter the number of shares and the average price
Adjust table position, size, and colors as desired
Use the average price line and table as a visual reference for trade and risk management
Notes and limitations:
This indicator does not place trades
It does not connect to any broker
All values are manually entered
Unrealized P/L is calculated using the chart’s current price
Commissions, fees, and slippage are not included
Disclaimer:
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or trade signals. All trading decisions are the sole responsibility of the user.
Developed by SightLine Labs.
Gold Asia Session Highlighter [IST]Here is a polished description and guide for your Gold Asia Session Highlighter. You can use this text for a YouTube description, a Telegram post, or a PDF guide to explain the tool to others.
Gold Asia Session Highlighter (IST) | Visual Indicator
This is a custom TradingView indicator designed to simplify the Gold Asia Strategy. Instead of automating trades, this tool purely handles the visuals. It automatically highlights the correct Asia Session time window (adjusting for Winter/Summer hours) and marks the exact points where you should draw your Fixed Range Volume Profile (FRVP) tool.
Perfect for: Traders who prefer to draw their own FRVP levels manually but want to ensure they are using the exact, error-free time range every single day.
Features
✅ Automatic Time Zone: Strictly calculated using IST (Indian Standard Time), so you don't need to convert time zones manually.
✅ Smart Season Detection: Automatically switches between Winter Session (04:30 – 06:25) and Summer Session (03:30 – 05:25) based on the current month.
✅ Visual Guidance: Highlights the session background and places "START" and "END" labels on the exact candles.
✅ Zero Clutter: Clean visuals with no moving averages or strategy lines—just the session box.
How to Use It
Add to Chart: Apply the script to your Gold (XAUUSD) 5-minute chart. You will see a blue highlighted box appear during the Asia session.
Locate the Labels:
Look for the blue START label (bottom of the candle).
Look for the red END label (top of the candle).
Draw Your FRVP:
Select the Fixed Range Volume Profile tool from your TradingView toolbar.
Click exactly on the START candle.
Drag and release exactly on the END candle.
Trade: You now have the exact Value Area High (VAH), Value Area Low (VAL), and Point of Control (POC) for the day. Use your breakout strategy as usual!
Market time opens @NeoNztime opens marked out new york session , london session, asia session and highs and lows of each one
Sector Flow AnalysisSector Flow Analysis - Track market leadership and rotation across 11 major sector ETFs with real-time performance rankings.
Key Features:
Monitors all 11 S&P sector ETFs (XLK, XLF, XLI, XLU, XLV, XLP, XLY, XLB, XLRE, XLC, XLE)
Configurable lookback period (5-60 days) for performance calculation
Color-coded risk indicators: 🟢 Risk-On sectors leading (bullish), 🟠 Risk-Off sectors leading (defensive), 🟡 Neutral sectors
Display top N sectors (1-11) to declutter your chart
Fully customizable positioning, text size, and color
Clean, minimal table overlay that won't obstruct your chart
Use Cases:
Identify sector rotation patterns and market leadership changes
Gauge market sentiment (risk-on vs risk-off behavior)
Find opportunities by tracking which sectors are gaining/losing momentum
Confirm trend strength when your stock's sector is leading
Perfect companion to comprehensive market analysis tools for a complete picture of sector dynamics.
SMC Alpha Sentiment Pro [Binance Futures Data]The SMC Alpha Sentiment Pro is an advanced decision-support tool developed for the Crypto Trade community. Unlike traditional lagging indicators, this script focuses on Market Sentiment and Smart Money Concepts (SMC) by analyzing real-time data from Binance Futures.
🔍 Key Data Points:
Open Interest (OI): Tracks new capital entering the market to confirm trend strength.
Long/Short Ratio (LSR): Identifies retail positioning. We look for "Smart Money" opportunities when retail (LSR > 1) is trapped or providing liquidity for institutional moves.
RSI & ATR: Used to identify exhaustion levels and ensure sufficient volatility for the trade.
Volume Filter: A built-in security layer that validates signals only when current volume exceeds the 20-period average.
🚥 Signal Logic:
SMC LONG: Triggered when OI is rising, LSR is below 1 and falling (retail selling), RSI is showing extreme strength (>= 68), and volume is surging.
SMC SHORT: Triggered when OI is rising, LSR is above 1 and rising (retail buying), RSI is showing extreme weakness (<= 32), and volume is surging.
📈 Best Practices:
Timeframe: Optimized for 15-minute (15M) charts.
Exchange: Specifically designed to pull ticker data from Binance Futures.
Disclaimer: This script is for educational purposes only. Trading involves significant risk.
Bhuvana Retrace Predictor (ATR + RSI Dive + St Break)It’s a “retracement warning + confirmation” tool. Nothing more.
Concept in simple words
Price runs too far too fast
The script uses EMA + ATR bands to detect when price is “stretched” (far from normal).
The run is losing power
It checks RSI divergence:
Price makes a new high but RSI doesn’t → buyers are getting weaker.
Price makes a new low but RSI doesn’t → sellers are getting weaker.
It waits for proof the pullback started
It then waits for a small structure break:
For a drop: price closes below a recent minor low.
For a bounce: price closes above a recent minor high.
What each label means
SETUP = “Retracement is likely soon” (don’t chase).
CONFIRM = “Retracement probably started” (now it’s tradable).
Brutal truth
This doesn’t predict perfectly. It just stacks 3 common signs:
overextended + weakening momentum + structure break.
Bhuvana Retrace Predictor It’s a “retracement warning + confirmation” tool. Nothing more.
Concept in simple words
Price runs too far too fast
The script uses EMA + ATR bands to detect when price is “stretched” (far from normal).
The run is losing power
It checks RSI divergence:
Price makes a new high but RSI doesn’t → buyers are getting weaker.
Price makes a new low but RSI doesn’t → sellers are getting weaker.
It waits for proof the pullback started
It then waits for a small structure break:
For a drop: price closes below a recent minor low.
For a bounce: price closes above a recent minor high.
What each label means
SETUP = “Retracement is likely soon” (don’t chase).
CONFIRM = “Retracement probably started” (now it’s tradable).
Brutal truth
This doesn’t predict perfectly. It just stacks 3 common signs:
overextended + weakening momentum + structure break.






















