Tristan's Box: Pre-Market Range Breakout + RetestMarket Context:
This is designed for U.S. stocks, focusing on pre-market price action (4:00–9:30 AM ET) to identify key support/resistance levels before the regular session opens.
Built for 1 min and 5 min timelines, and is intended for day trading / scalping.
Core Idea:
Pre-market range (high/low) often acts as a magnet for price during regular hours.
The first breakout outside this range signals potential strong momentum in that direction.
Retest of the breakout level confirms whether the breakout is valid, avoiding false moves.
Step-by-Step Logic:
Pre-Market Range Identification:
Track high and low from 4:00–9:30 AM ET.
Draw a box spanning this range for visual reference and calculation.
Breakout Detection:
When the first candle closes above the pre-market high → long breakout.
When the first candle closes below the pre-market low → short breakout.
The first breakout candle is highlighted with a “YOLO” label for visual confirmation.
Retest Confirmation:
Identify the first candle whose wick touches the pre-market box (high touches top for short, low touches bottom for long).
Wait for the next candle: if it closes outside the box, it confirms the breakout.
Entry Execution:
Long entry: on the confirming candle after a wick-touch above the pre-market high.
Short entry: on the confirming candle after a wick-touch below the pre-market low.
Only the first valid entry per direction per day is taken.
Visuals & Alerts:
Box represents pre-market high/low.
Top/bottom box border lines show the pre-market high / low levels cleanly.
BUY/SELL markers are pinned to the confirming candle.
Added a "YOLO" marker on breakout candle.
Alert conditions trigger when a breakout is confirmed by the retest.
Strategy Type:
Momentum breakout strategy with confirmation retest.
Combines pre-market structure and risk-managed entries.
Designed to filter false breakouts by requiring confirmation on the candle after the wick-touch.
In short, it’s a pre-market breakout momentum strategy: it uses the pre-market high/low as reference, waits for a breakout, and then enters only after a confirmation retest, reducing the chance of entering on a false spike.
Always use good risk management.
Options
SPX Gamma Pin DetectorUnlock the power of gamma pinning in the S&P 500 (SPX) with this essential overlay indicator, designed for day traders and options enthusiasts. The SPX Gamma Pin Detector highlights key gamma strike levels where market makers and large positions create "sticky" price action, often leading to mean reversion and intraday pins. Based on advanced options flow insights (like those from SpotGamma transcripts), it plots critical support/resistance zones to help you anticipate reversals around high-gamma strikes—such as the 99th percentile levels that stabilize or propel SPX moves.
Key Features:
Visual Gamma Levels: Automatically plots the primary pin strike (e.g., 6475), upper gamma target (e.g., 6550), and lower risk-off support (e.g., 6400). These are customizable via inputs for real-time adaptation to market conditions.
Pin Alert Zone: A dynamic background highlight (yellow) activates when SPX is within 0.1% of the pin strike, signaling potential mean reversion opportunities—perfect for entering 0DTE call flies or put hedges pre-NFP or OPEX.
Buy Dip Alert: Generates TradingView alerts on crossovers above the lower tolerance (e.g., 0.5% below pin), with a message like "SPX near gamma pin - Enter fly!" to catch dip-buying flows from zero-DTE algos.
Vol Crush Filter (Beta): Includes a basic VIX threshold input (default <15) to boost signal strength during low-IV environments, where realized vol contracts and upside is cheap.
How It Works:
This Pine Script v5 indicator overlays horizontal lines and conditional backgrounds on your SPX (or ES1! futures) chart. It uses simple math tolerances to detect proximity to gamma hotspots, mimicking the "sticky gamma" dynamics from options positioning data. For example:
If SPX drifts toward the pin level post-data release (e.g., ADP/NFP), the alert fires to prompt bullish structures like the 6525/6550/6575 call fly (net debit ~$2.25 for $25 max profit).
Negative gamma voids below support warn of slippage risks, aligning with charm effects that support closes near 6465-6475.
Backtest it against historical pins (e.g., Tuesday's 6400 reversal with 5B delta buy) to see 70-80% hit rates in stable regimes. Ideal for our GrokPHDTrading day trading show—pair with transcript parses for edge in low-vol setups (VIX ~15, ATM IV 10-11%).
Usage Tips for Traders:
Setup: Add to a 1-min or 5-min SPX chart. Adjust strikes based on daily gamma maps (e.g., from SpotGamma or our tools).
Entry Signals: Alert triggers? Scale into mean-reversion plays—buy the dip if holds support, target pin for 3-5x ROI.
Risk Management: Stop below risk-off level; hedge with OTM put flies (~$0.30 debit) for tail risks like VIX spikes to 19+.
Customization: Tweak tolerances for ES or SPY equivalents (e.g., SPY 645 for SPX 6465). Add VIX plot for vol confirmation.
Training Integration: Use in our Phase 2: Setup Execution modules—simulates gamma edges for 80% win-rate drills.
Disclaimer: This indicator is for educational and informational purposes only. It draws from public options analysis but does not provide financial advice. Always backtest, use proper risk management, and consult a professional. Past performance isn't indicative of future results. Not affiliated with SpotGamma—purely inspired by their methodologies for our AI-driven trading tools at GrokPHDTrading.com.
Invite to Community: Love gamma trading? Subscribe to our show for live NFP breakdowns and affiliate links to premium flow tools. Questions? Drop in the comments or join our Discord for Pine tweaks!
5 EMA Close/Open Cross StrategyLong Entry - 5 EMA Close crossing above 5 EMA open
exit - 5 EMA Close crossing below 5 EMA open
Short entry - 5 EMA Close crossing below 5 EMA open
exit - 5 EMA Close crossing above 5 EMA open
Slingshot Trend 🎯⏰How to Use the Slingshot Trend Indicator 🎯⏰ (65-Minute Timeframe)
The **Slingshot Trend Indicator** helps spot bullish trend entries using price action and EMAs, optimized for your favorite 65-minute timeframe. Here’s a simple guide:
⚙️ Setup
- Add the indicator to your chart.
- Set the 89 EMA timeframe to 65 minutes (or keep the default 195 minutes for higher-timeframe confirmation).
🔑 Key Features
- **Slingshot EMA**: Short-term EMA (default length: 4) to detect breakouts.
- **EMA Stack**: Confirms bullish trend when 21 EMA > 34 EMA > 55 EMA > 89 EMA.
- **Price Above 89 EMA**: Ensures price is above the 65-minute 89 EMA.
- **ATR Targets**: Uses 14-period ATR for dynamic price targets.
- **Visuals**:
- Blue EMA line (optional).
- Teal bars for bullish conditions (optional).
- Orange labels for entry signals (optional).
- Yellow entry line and green dashed target line (optional).
- Price labels for entry/target (optional).
- ATR dashboard showing average ATR multiple, win %, and time-to-target (optional).
📘 How to Trade
- **Entry**: Go long when an orange label appears (price closes above Slingshot EMA after three closes below, with bullish EMAs on the 65-minute chart).
- **Target**: Aim for the green dashed line (entry price + ATR-based target).
- **Exit**: Close when bullish conditions end (EMAs not stacked or price below 65-minute 89 EMA).
- **Stop Loss**: Not included; consider 2× ATR below entry or a support level.
- **Alerts**: Enable “First Trending SlingShot” for entry notifications.
✨ Customize
Adjust in settings:
- 89 EMA timeframe (e.g., set to 65 minutes).
- Bar color (default: teal).
- Toggle EMA line, bar coloring, entry labels, lines, price labels, and dashboard.
- Slingshot EMA length (default: 4).
💡 Tips
- Backtest on the 65-minute timeframe for your asset.
- Combine with support/resistance or other indicators.
- Use proper risk management.
SPX ORB 60m → 0DTE Credit Spreads (Signals & Webhooks)SPX ORB 60m → 0DTE Credit Spreads (Signals & Webhooks)
This indicator implements a 60-minute Opening Range Breakout (ORB) workflow for SPX and maps the first breakout during a monitoring window to a same-day options credit-spread idea. It’s signal-only (no backtesting) and includes both visual planning tools and automation hooks (webhooks/alerts).
How it works
ORB window: 09:30–10:30 New York. The script builds ORB High/Low and fixes them at 10:30.
Monitoring window: 10:31–12:00 New York.
The first wick break picks direction:
Break above ORB High → bullish bias → PUT credit spread idea (short strike below ORB Low − offset).
Break below ORB Low → bearish bias → CALL credit spread idea (short strike above ORB High + offset).
One signal per day. The bar is tagged “Fired PUT/CALL”.
Key inputs
Spread width ($), strike step ($), and independent short-strike offsets for PUT/CALL.
Eligibility thresholds by % of 09:30 open or points (separate minima for PUT vs CALL), plus an “ignore thresholds” test mode.
Day-of-week filters per side.
Preview before fire: show gray dotted “hypothetical” strikes only when eligible (or always), or hide until the actual trigger.
If the chosen side is blocked by weekday filter, you can still display it disabled (gray).
Visuals
ORB Rectangle: from 10:30 to 16:00 NY spanning ORB High/Low; updates intraday and then stays fixed. Optional label shows the range in pts and %.
Executed lines & labels: customizable style and width; colorized after the first trigger.
“NOT ELIGIBLE” gray label (optional) when thresholds/day filters are not met.
Outcome tag at session close (informational): WIN/LOSE relative to the short strike.
ORB High/Low plotted with plot.style_linebr for clean session edges.
Probability box (informational)
Optional box displayed at the breakout with a 0–100% composite score from:
ORB/ATR size (capped),
ADX (Wilder calculation inside the script),
ATR regime vs a long SMA baseline.
All lengths, caps, weights, colors and opacity are configurable, including a time offset to place the box.
Automation
Two backends supported: DigitalOcean server.js or SignalStack (Tastytrade).
Optional limit_price per leg and time_in_force (day/gtc) for SignalStack.
Alertconditions provided for PUT / CALL signals so you can create alerts from the TradingView dialog.
Additionally, the script can emit alert() payloads on trigger (enable in settings) to drive your webhook.
Notes
Designed for intraday NY session; 1–15m charts are typical.
Signals are for automation/planning, not recommendations. Validate risk, fills, and routing.
Disclaimer
For educational/informational purposes only. Not financial advice. Options trading involves substantial risk.
SPX ORB 60m → Spreads de crédito 0DTE (webhook Tastytrade)
Indicador para estrategia intradía que construye el rango de apertura (ORB) de 60 min en SPX (09:30–10:30 NY), y durante 10:31–12:00 detecta la primera ruptura por mecha. Según la dirección, propone un spread de crédito 0DTE:
Rompe por arriba (High ORB) → sesgo alcista → spread PUT de crédito (short por debajo del Low ORB – offset).
Rompe por abajo (Low ORB) → sesgo bajista → spread CALL de crédito (short por encima del High ORB + offset).
Solo 1 disparo por día, con etiqueta “Fired PUT/CALL”.
Ajustes clave
Ancho del spread ($) y paso de strike ($).
Offsets ($) independientes para PUT/CALL.
Umbrales de elegibilidad por % (vs apertura 09:30) o por puntos, con mínimos distintos para PUT/CALL; modo “ignorar umbrales” para pruebas.
Filtros por día de la semana (activar PUT/CALL por día).
Preview antes del disparo: mostrar u ocultar strikes hipotéticos en gris (solo si cumple o siempre); o no mostrar nada hasta que realmente dispare.
Si el lado elegido está bloqueado por día, puedes mostrarlo en gris (OFF).
Visuales
Rectángulo ORB: de 10:30 a 16:00 NY entre High/Low del ORB; se actualiza en tiempo real y queda fijo el resto del día. Etiqueta opcional con rango en puntos y % para evaluar rápidamente si “vale la pena”.
Líneas/etiquetas de ejecución con estilo y grosor configurables; colores por estado.
Etiqueta “NOT ELIGIBLE” (EN): opcional, en gris cuando no cumple reglas/umbrales.
Etiqueta de resultado al cierre (16:00): WIN/LOSE según el precio vs el strike corto (solo informativa).
Las líneas ORB High/Low usan plot.style_linebr para que corten limpio en los bordes de sesión.
Caja de “probabilidad” (informativa)
Opcional, aparece en la ruptura y muestra un score (0–100%) basado en:
Tamaño del ORB vs ATR,
ADX (cálculo de Wilder),
Régimen de ATR vs su media larga.
Configurable (periodos, límites, pesos, colores, opacidad) y con desplazamiento en minutos para ubicarla.
Automatización / Webhooks
Backends: DigitalOcean server.js o SignalStack (Tastytrade).
Opcional limit_price por pierna y time_in_force (day/gtc) en SignalStack.
Cantidad y preferencia 0DTE configurables.
Las alertas se envían solo cuando dispara (no en previews).
Uso recomendado
Gráficos intradía en sesión NY (1–15m).
Es una herramienta de ejecución/automatización, no una recomendación.
Verifica riesgo, slippage y ejecución con tu bróker.
Aviso
Contenido educativo/informativo. No es asesoría financiera. Operar opciones implica riesgo elevado.
MACD + RSI + EMA Trend Strategy | Buy & Sell Signals with AlertsWhat This Script Does
This strategy combines three well-known indicators — MACD (Moving Average Convergence Divergence), RSI (Relative Strength Index), and EMA (Exponential Moving Averages) — into a unified trading system. The purpose of this mashup is not simply to merge indicators, but to create a layered confirmation process where each tool plays a distinct role:
MACD provides the momentum entry trigger.
RSI ensures that entries are not taken in extreme overbought/oversold conditions.
EMA filter defines the overall market trend so trades align with the bigger picture.
By combining these three conditions, the script reduces noise and avoids false signals that might occur when any single indicator is used in isolation.
How It Works
Trend Filter (EMA):
The strategy plots two EMAs (default: 20 and 50). When the fast EMA is above the slow EMA, the system recognizes an uptrend. When the fast EMA is below the slow EMA, the system recognizes a downtrend.
MACD Momentum Signal:
A bullish signal occurs when the MACD line crosses above the signal line, suggesting upward momentum. A bearish signal occurs when the MACD line crosses below the signal line, suggesting downward momentum.
RSI Confirmation:
The RSI acts as a momentum filter. Buy signals require RSI to be above the oversold threshold (default: 30). Sell signals require RSI to be below the overbought threshold (default: 70).
Entry and Exit Rules
Buy Condition:
MACD line crosses above the signal line.
RSI is greater than oversold (default >30).
Fast EMA is above slow EMA (trend confirmation).
Sell Condition / Exit:
MACD line crosses below the signal line.
RSI is less than overbought (default <70).
Fast EMA is below slow EMA (trend confirmation).
Chart Features
Plots both EMAs on the chart for easy trend visualization.
Displays “BUY” and “SELL” labels when valid conditions occur.
Built-in alert conditions for automated trading systems or notifications.
Info label on the last bar shows current MACD, Signal, and RSI values.
Why This Is Useful
Many traders use MACD, RSI, or EMAs individually, but each has weaknesses:
MACD can lag in choppy markets.
RSI alone can stay overbought/oversold for long periods in strong trends.
EMAs provide trend direction but don’t give precise entry signals.
By combining them, this script creates a triple confirmation system: trend (EMA), momentum trigger (MACD), and momentum filter (RSI). This reduces false entries and helps traders stay aligned with higher-probability trades.
How to Use
Works across multiple assets (forex, stocks, crypto, indices, commodities).
Timeframes: suitable for intraday (5m, 15m) to swing trading (1H, 4H, daily).
Traders can use alerts to receive notifications when a Buy or Sell signal occurs.
Backtestable in TradingView’s Strategy Tester with customizable parameters.
Disclaimer
This script is for educational purposes only. It is not financial advice. Past performance does not guarantee future results. Always test before using in live trading, and apply proper risk management.
SPX ORB 60m → 0DTE Credit Spreads (Signals & Webhooks)SPX ORB 60m → 0DTE Credit Spreads (Signals & Webhooks)
This indicator implements a 60-minute Opening Range Breakout (ORB) workflow for SPX and maps the first breakout during a monitoring window to a same-day options credit-spread idea. It’s signal-only (no backtesting) and includes both visual planning tools and automation hooks (webhooks/alerts).
How it works
ORB window: 09:30–10:30 New York. The script builds ORB High/Low and fixes them at 10:30.
Monitoring window: 10:31–12:00 New York.
The first wick break picks direction:
Break above ORB High → bullish bias → PUT credit spread idea (short strike below ORB Low − offset).
Break below ORB Low → bearish bias → CALL credit spread idea (short strike above ORB High + offset).
One signal per day. The bar is tagged “Fired PUT/CALL”.
Key inputs
Spread width ($), strike step ($), and independent short-strike offsets for PUT/CALL.
Eligibility thresholds by % of 09:30 open or points (separate minima for PUT vs CALL), plus an “ignore thresholds” test mode.
Day-of-week filters per side.
Preview before fire: show gray dotted “hypothetical” strikes only when eligible (or always), or hide until the actual trigger.
If the chosen side is blocked by weekday filter, you can still display it disabled (gray).
Visuals
ORB Rectangle: from 10:30 to 16:00 NY spanning ORB High/Low; updates intraday and then stays fixed. Optional label shows the range in pts and %.
Executed lines & labels: customizable style and width; colorized after the first trigger.
“NOT ELIGIBLE” gray label (optional) when thresholds/day filters are not met.
Outcome tag at session close (informational): WIN/LOSE relative to the short strike.
ORB High/Low plotted with plot.style_linebr for clean session edges.
Probability box (informational)
Optional box displayed at the breakout with a 0–100% composite score from:
ORB/ATR size (capped),
ADX (Wilder calculation inside the script),
ATR regime vs a long SMA baseline.
All lengths, caps, weights, colors and opacity are configurable, including a time offset to place the box.
Automation
Two backends supported: DigitalOcean server.js or SignalStack (Tastytrade).
Optional limit_price per leg and time_in_force (day/gtc) for SignalStack.
Alertconditions provided for PUT / CALL signals so you can create alerts from the TradingView dialog.
Additionally, the script can emit alert() payloads on trigger (enable in settings) to drive your webhook.
Notes
Designed for intraday NY session; 1–15m charts are typical.
Signals are for automation/planning, not recommendations. Validate risk, fills, and routing.
Disclaimer
For educational/informational purposes only. Not financial advice. Options trading involves substantial risk.
T4W Advance Fib Strategy Looking for sharp intraday entries with clear targets?
This strategy is designed especially for Nifty / Bank Nifty / Index traders who love precision and speed.
✨ Key Highlights:
🔹 Auto-calculates 1-Minute High & Low zones for instant trade setup.
🔹 Works on advanced fib labels to define breakout & reversal zones.
🔹 Provides upper & lower side targets with high accuracy.
🔹 Best suited for 1-Min & 3-Min charts (can also be used on 5-Min for confirmation).
🔹 Ideal for scalpers and intraday traders who want clear, rule-based levels.
💡 Whether you’re trading breakouts or reversals, this tool simplifies decision-making and helps you catch moves with confidence.
👉 Try it, backtest it, and take your intraday trading to the next level!
Options Long IndicatorThis indicator is designed for Nifty option buying strategies . It combines VWAP with a VWMA-based trend angle filter to identify strong uptrend conditions. A trade signal is generated when price closes above VWAP and the VWMA shows sufficient upward momentum, while exit signals appear when the trend weakens. Background highlights make it easy to spot active long conditions on the chart, and built-in configurable alerts ensure you never miss a Buy or Exit opportunity.
Grok PHD Options put/call walls.Options put/call walls. Puts support, Calls resistance. Grok PHD Trading dot com.
Delta Surge – The Ultimate Buy/Put Signal Tool for Options Trade⚡ “Built by millionaire 0DTE traders Derrick King & Harold Campbell – Delta Surge unleashes instant Buy/Put signals on SPY, QQQ, TSLA, NVDA & more.” ⚡
Developed by Derrick King and Harold Campbell – legendary 0DTE traders who’ve pulled MILLIONS out of the markets – this script was engineered for options traders, by options traders. Delta Surge is NOT another laggy indicator… it’s a precision-built weapon designed to catch the exact moments when the market is about to erupt.
💥 Why Traders Are Calling This a Cheat Code
✅ Crystal Clear Signals: "BUY CALLS" and "BUY PUTS" print on your chart with zero confusion.
✅ Battle-Tested on the Biggest Movers: Crush trades on SPY, QQQ, TSLA, NVDA, AAPL, META, AMD, MSFT and more.
✅ Volume Surge Detection: No weak setups—only the explosive plays with real momentum.
✅ Session Optimized: Tuned for London → New York prime hours (07:00–17:00) where the million-dollar trades happen.
✅ Instant Alerts: Be first in line when the market lights up—get push/email alerts automatically.
⚡ Imagine catching SPY 0DTE breakouts, Tesla moonshots, or QQQ reversals with laser precision. That’s the Delta Surge edge.
🔥 Built by traders who’ve already done what most only dream about—turning 0DTE plays into millions—this script is your chance to trade with their same blueprint.
👉 Don’t just trade… DOMINATE the market with Delta Surge.
Ajay Nayak - EMA ATR Trailinge strategy RSI aur RSI ke SMA ke crossover par CALL aur PUT signal generate karti hai.
Saath me ATR based stoploss aur crossover target bhi diya gaya hai.
Algo trading ke liye useful hai.
Scalping Oversold/Overbought (RSI + Stochastic + VWAP + MA50)scalping di time frame 1 minute
simple baiii
the moment cross first candle kita buy saja at
second candle
the moment cross below vwap or MA50 kita sell
saja bai , apa problem.
tak payah nak pening kepala dengan macam
teknik turtle soup la , fvg la macam2
ko scalping jer kan
Crypto Position CalculatorAlpha2Million - Crypto Position Calculator (Margin, Leverage, % Fees, Exchange Presets)
This script is a crypto trading risk & position calculator built directly into TradingView.
It helps futures/perpetual traders size positions, calculate margin requirements, and visualize risk-to-reward levels on the chart — with exchange fee presets for real-world accuracy.
• Position Sizing by Risk %
• Enter account size and % risk per trade.
• Script calculates exact position size (coins) based on SL distance.
• Leverage & Margin
• Shows required notional and margin (USDT) for the trade.
• Exchange Fee Presets
• Supports Binance, Bybit, Pionex, MEXC, Gate.io, KuCoin, HTX.
• Maker vs Taker fee selection.
• Custom option to enter your own per-side fee %.
• Fee Breakeven Line (Orange)
• Plots the exact price level you need to reach to cover entry + exit fees.
• Lets you see how far price must move before you are at true breakeven.
• Risk vs Reward Calculation
• Risk is calculated on price movement only (SL distance).
• Profit targets include fees, so “1R / 2R / 3R (net)” lines show realistic levels.
• Smart Table Display
• Account size, leverage, entry, stop, target.
• Position size (coins), notional (USDT), required margin.
• Risk at SL, fees (round trip), fee breakeven move/price.
• Profit @ TP (after fees) and net RR.
ETF→Symbol GEX & IM Mapper (EN)ETF→Symbol GEX & IM Mapper (EN) — Overview
🔎 Purpose
This indicator lets you paste a levels block (compact or long) with GEX walls, IM range, HVL and BS levels, then maps ETF-based prices to the current symbol using a live/fixed ratio (Diff). It draws lines and labels (color-coded), adds an optional HVL fill (green above / red below), and shows an InfoBox with Basis (CT/BW), optional VIX term structure, and an Auto GEX sign.
🧠 Why it’s useful
Quickly project SPY/QQQ/IWM/DIA levels onto futures, single stocks, or other symbols.
Keep levels consistent intraday with 09:30 NY rebase or manual rebase.
Visual context: Call/Put walls, IM range (+optional SDV bands), HVL, and BS levels, all in one view.
Key Features
ETF→Symbol mapping with live or frozen Diff (rebase at 09:30 NY or manual).
Two input formats:
Compact: price,name separated by ;
Long: natural language tokens separated by ,
GEX walls (L1 highlighted; extra GEX above/below price auto-colored).
IM range (Low/High) with optional SDV ±1/2/3σ bands.
HVL line + conditional fill (green/red) anchored to IM or GEX L1 (auto mode included).
BS levels from block (count configurable).
InfoBox: Basis (CT/BW), VIX state (Contango/Backwardation/Flat), GEX sign (Auto/Manual).
Labels: choose position, offsets, and text size.
Inputs You’ll Use Most
Data source
Use COMPACT block instead of LONG (toggle)
Block format: Auto / Long / Compact
Block text: paste your block (long or compact)
Block levels are in ETF (convert with Diff) (toggle)
Prefer 0DTE variants (toggle)
Extra GEX per side (besides L1)
Mapping / Rebase
Anchor: Rebase 09:30 NY / Manual rebase
Rebase now (+1 to execute)
Use ETF open (manual) and ETF open (manual, today)
Drift alert & threshold
Lines / Labels
Line length by: Bars / Days / Full
Label position: Left / Center / Right
Label offsets: bars / days
Label text size: Tiny / Small / Normal / Large / Huge
Styles
Colors, line widths, and styles for GEX / IM / HVL / SDV / BS
Environment
Basis (CT/BW) on/off, VIX on/off (VIX vs. VIX3M), GEX sign (Auto/Manual), InfoBox on/off
How to Use
Select ETF (SPY/QQQ/IWM/DIA) that corresponds to the levels you paste.
Paste your levels block (Compact or Long).
If your block prices are in the ETF, enable “Block levels are in ETF (convert with Diff)”.
Choose Rebase mode:
Rebase 09:30 NY: freezes Diff at RTH open.
Manual rebase: increment “Rebase now” to capture current Diff.
Tweak line span, label size/position, colors, SDV bands, HVL fill, etc.
(Optional) Enable VIX state and GEX sign = Auto to infer regime from VIX term/Basis/HVL.
Compact Block — Format & Example
Format:
Each item: price,name
Separate items with ;
Optional width tag: l1 / l2 / l3 (L1 is thickest)
Names you can use:
Call Wall, Put Wall, HVL, IM, GEX N, BS N
Examples of name variants recognized: Call Wall, Put Wall, HVL, IM, GEX 1, BS 3
Example (Compact):
455.0,Call Wall,l1; 448.0,Put Wall,l1; 451.2,HVL;
450.0,IM; 452.5,IM;
456.5,GEX 2; 447.2,GEX 3;
449.0,BS 1; 453.0,BS 2
Tip: If the Compact block is in ETF prices, toggle Block levels are in ETF (convert with Diff).
Long Block — Tokens & Example
Guidelines:
Separate tokens with ,.
The parser looks for keywords (EN/ES) and grabs the last number in that token.
Recognized tokens (English & Spanish):
Call Wall (L1): "call wall …", "call resistance …", "resistencia call …"
Put Wall (L1): "put wall …", "soporte put …"
0DTE variants: add "0dte" (e.g., "call wall 0dte 456"). If Prefer 0DTE is ON, 0DTE overrides standard.
HVL: "hvl …"
IM range: "1d min …", "1 d min …", "1d max …", "1 d max …"
GEX N: "gex N …"
BS N: "bs N …"
Example (Long):
Call Wall 0DTE 455, Put Wall 0DTE 448, HVL 451.2,
1d min 450, 1d max 452.5,
GEX 2 456.5, GEX 3 447.2,
BS 1 449, BS 2 453
Note: If your Long block is in ETF prices, enable Block levels are in ETF (convert with Diff).
Visual Conventions
Call Wall (L1): green line; Put Wall (L1): red line.
Extra GEX (above/below): auto-colored by side of current price; first extra = L2 (thicker), then L3.
IM Low / High: blue lines (with optional SDV bands).
HVL: blue line + fill (green above / red below) clipped to IM or GEX L1 span (per setting).
BS: gray lines.
Tips & Notes
Use Drift Alert to know when to rebase (e.g., after large intraday divergence).
Auto GEX sign can be based on VIX term (VIX3M vs VIX), Basis (CT/BW), or Price vs HVL.
Label text size controls label readability; adjust offsets to avoid overlaps.
If nothing draws, verify:
You pasted some block.
Block levels are in ETF toggle matches your block.
Token names match the formats above (case-insensitive).
Disclaimer
This is an educational tool for visualization. It does not constitute financial advice. Always do your own research and manage risk.
BTC Sigma CloudOverview
The BTC Sigma Cloud indicator calculates and displays 1, 2, and 3 sigma price movements for Bitcoin (BTC) on a rolling basis, visualized as a cloud. It shows historical volatility bands and projects them forward for the next 7 days.
Settings:
Vol Lookback: Default is 20 periods. Adjust to change the volatility calculation window.
Interpretation:
Cloud Bands: The cloud consists of three shaded layers representing 1σ, 2σ, and 3σ moves above and below the current price.
1σ (Innermost): 68% probability of price staying within this range.
2σ (Middle): 95% probability.
3σ (Outermost): 99.7% probability.
Historical View: The cloud tracks past price movements based on volatility.
Projection: The cloud extends 7 days forward, indicating potential price ranges based on current volatility.
Labels: Subtle labels (1σ, -1σ, 2σ, -2σ, 3σ, -3σ) mark the upper and lower bounds of each sigma level on the latest bar for clarity.
Trading Use:
Use the cloud to gauge potential support/resistance zones.
Monitor price behavior near sigma levels for breakout or reversal signals.
The projected cloud helps anticipate future price ranges for planning trades.
Notes
Best used on daily charts for Bitcoin.
Adjust the lookback period to suit shorter or longer-term analysis.
Combine with other indicators for confirmation.
PDD — Pullback & Breakout Alerts (PopsStocks) • INDICATOR🟢 Trader-Friendly (simple & clear)
Description:
This indicator highlights pullback and breakout trade opportunities on PDD (Pinduoduo). It automatically marks pullback buy zones, breakout levels, stops, and profit targets. Signals are based on bullish reversal candles (inside pullback zones) and confirmed breakouts above resistance. Includes optional EMAs for trend context and built-in alerts, making it easy to catch setups in real time.
🔵 Technical/Backtest-Friendly (for advanced users)
Description:
A price-action based tool for identifying structured entries on PDD (Pinduoduo). The script plots dynamic pullback zones, breakout resistance levels, stops, and risk/reward targets. Signal logic combines candlestick reversals (bullish engulfing, hammer), volume filters, and optional higher-low buildup checks. 20/50 EMA overlays provide trend confirmation. Designed for traders who want defined rules, alert automation, and clear risk-to-reward planning.
ETF→Symbol GEX & IM Mapper🧭 ETF→Symbol GEX & IM Mapper — Descripción e Instrucciones
Resumen 🧩
Indicador (overlay) que convierte niveles calculados sobre un ETF (SPY/QQQ/IWM/DIA) al símbolo actual y los dibuja con estilo profesional: muros de GEX (Call/Put), rango de IM (+ desvíos estándar), HVL con sombreado verde/rojo, BS desde bloque, estado de entorno (Basis/VIX) y signo GEX manual/automático. Ideal para quienes operan futuros/acciones pero consumen niveles originados en el ETF.
¿Qué hace? 🎯
Convierte y plotea niveles de GEX/IM/HVL/BS provenientes de un bloque de texto (formato largo en español o compacto “precio,nombre ”). Permite rebase a apertura 09:30 NY o rebase manual, ajusta etiquetas/colores, controla la longitud de líneas (por barras/días/todo el chart) y muestra un InfoBox con BASE (CT/BW), VIX (opcional) y signo GEX (Manual/Auto). El sombreado HVL puede anclarse a IM o GEX L1 y recortarse al mismo span.
El bloque largo se obtiene directamente (podría requerir suscripción de pago) del sitio:
gammetric.com
Ejemplo de formato del bloque largo:
NQ (Nasdaq 100)
Resistencia Call 23500, Soporte Put 23000, HVL 23360, 1D Min 23200.21, 1D Max 23697.29, Resistencia Call 0DTE 23500, Soporte Put 0DTE 23200, HVL 0DTE 23360, Muro Gamma 0DTE 23500, GEX 1 23550, GEX 2 23300, GEX 3 23600, GEX 4 23650, GEX 5 23350, GEX 6 23750, GEX 7 23800, GEX 8 23700, GEX 9 23900, GEX 10 23100, BS 1 23345.2, BS 2 23700.68, BS 3 23202.48, BS 4 24015.01, BS 5 23861.63, BS 6 23600.78, BS 7 23087.68, BS 8 22873.02, BS 9 24043.37, BS 10 23774.72
EL bloque corto se alimenta manualmente de los datos obtenidos desde sitios como Unusual whales, Option Alpha, etc.
Ejemplo del formato del bloque corto:
575, call wall, l1; 567, put wall, l1; 571, call wall, l2; 565, put wall, l2; 572, call wall, l3; 560, put wall, l3; 560, im; 571, im; 570, hvl
Componentes 🧱
• GEX: Resistencia Call (l1), Soporte Put (l1) + GEX extra por lado (l2/l3) coloreados según el lado del precio.
• IM: Rango IM Low/High con opción de SDV ±1/±2/±3.
• HVL: Línea HVL + sombreado dinámico (verde/rojo) según posición del precio, anclaje (IM/GEX L1/Auto).
• BS: Hasta N niveles en gris (etiqueta “BS k”).
• InfoBox: ETF, precio ETF, BASE (suavizada), VIX (spot vs 3M) y GEX Manual/Auto.
• Rebase: 09:30 NY automático o manual; alerta de deriva configurable.
Entrada de datos (bloque pegado) 📦
• Largo (ES): frases con “Resistencia Call”, “Soporte Put”, “HVL 0DTE/Std”, “1D min/max”, “GEX k”, “BS k”, etc.
• Compacto: precio,nombre separados con ; (ej.: 5200,Call Wall,l1; 5150,GEX 2; 5100,BS 1).
• Marca “Valores del bloque están en ETF (convertir con Diff)” cuando el bloque venga en precio del ETF.
• Preferir 0DTE: prioriza variantes intradía si coexisten 0DTE/Std.
⚙️ Instrucciones de uso
Añade el indicador al gráfico del símbolo donde operas (futuros, acción, etc.). Es un overlay.
En “01) Origen de datos” pega tu bloque y elige el formato (Auto/Largo/Compacto).
En “02) ETF → Símbolo” selecciona el ETF de referencia del que provienen los niveles (SPY/QQQ/IWM/DIA).
En “02-b) Ancla / Rebase” elige “Rebase 09:30 NY” o “Rebase manual”. Si usas manual, pulsa “Rebase ahora” tras abrir mercado. Activa la alerta de deriva para recibir sugerencias de rebase.
Ajusta “04) Líneas / Etiquetas”: longitud (Barras/Días/Completo), posición, offsets, colores y fondos (puedes igualar el fondo de etiqueta al color de línea).
En “05) Estilos” define grosores/estilos/colores; activa SDV si quieres ±σ desde IM. Configura HVL y su sombreado (anclaje, opacidad, lado).
En “06) Entorno” activa Basis y/o VIX; pon GEX en “Manual/Auto”. En Auto puedes basarte en VIX term, Basis o Precio vs HVL.
Revisa el InfoBox para ver BASE, VIX y estado GEX; activa la etiqueta flotante si quieres lectura rápida en el gráfico.
Publica en TradingView con esta ficha, capturas de ejemplo y marcando overlay.
🔧 Parámetros clave (rápido)
• block_format_mode: Auto / Largo / Compacto
• block_prices_in_etf: marcar si el bloque viene en precio de ETF
• block_gex_per_side: cuántos GEX extra (además de L1) por lado
• bs_enable / bs_count_plot: activar y limitar cantidad de BS
• hvl_fill_anchor: “IM”, “GEX L1” o “Auto (IM dentro de GEX L1)”
• line_span_mode: “Barras”, “Días” o “Completo”
• gex_mode: “Manual/Auto” con fuentes “VIX term / Basis / HVL”
🧭 ETF→Symbol GEX & IM Mapper — Description & Instructions (for TradingView)
Summary 🧩
Overlay indicator that converts levels computed on an ETF (SPY/QQQ/IWM/DIA) to the current symbol and renders them with a clean visual style: GEX walls (Call/Put), IM range (+ standard-deviation bands), HVL with green/red shading, BS levels from the pasted block, environment state (Basis/VIX), and GEX sign (manual/auto). Ideal for traders who trade futures/stocks but consume levels originated on the ETF.
What it does 🎯
Parses and plots GEX/IM/HVL/BS levels coming from a text block (Spanish long format or compact price,name ). Supports rebase at 09:30 NY or manual rebase, configurable labels/colors, line length (by bars/days/entire chart), and an InfoBox with BASE (CT/BW), optional VIX, and GEX sign (Manual/Auto). HVL shading can anchor to IM or GEX L1 and matches the same line span.
Components 🧱
• GEX: Call Resistance (l1), Put Support (l1) + extra GEX per side (l2/l3) auto-colored by side vs price.
• IM: IM Low/High range with optional SDV ±1/±2/±3.
• HVL: HVL line + dynamic shading (green/red) based on price vs HVL; anchors (IM/GEX L1/Auto).
• BS: Up to N gray levels (label “BS k”).
• InfoBox: ETF, ETF price, BASE (smoothed), VIX (spot vs 3M), and GEX Manual/Auto.
• Rebase: Auto at 09:30 NY or manual click; configurable drift alert.
Data input (pasted block) 📦
• Long (ES): phrases like “Resistencia Call”, “Soporte Put”, “HVL 0DTE/Std”, “1D min/max”, “GEX k”, “BS k”, etc.
• Compact: price,name separated by ; (e.g., 5200,Call Wall,l1; 5150,GEX 2; 5100,BS 1).
• Enable “Valores del bloque están en ETF (convertir con Diff)” when values are in ETF price (not the current symbol).
• Prefer 0DTE: prioritizes intraday variants when both 0DTE/Std exist.
⚙️ How to use
Add the indicator to the chart of the instrument you trade (future, stock, etc.). It’s an overlay.
In “01) Origen de datos”, paste your block and choose the format (Auto/Long/Compact).
In “02) ETF → Símbolo”, pick the reference ETF the levels were computed on (SPY/QQQ/IWM/DIA).
In “02-b) Ancla / Rebase”, choose “Rebase 09:30 NY” or “Rebase manual”. If manual, press “Rebase ahora” after the market opens. Enable the drift alert to get rebase hints.
Tweak “04) Líneas / Etiquetas”: length (Bars/Days/Full), label position, offsets, colors and backgrounds (you can match label background to line color).
In “05) Estilos”, set widths/styles/colors; enable SDV if you want ±σ around IM. Configure HVL and its shading (anchor, opacity, side behavior).
In “06) Entorno”, turn on Basis and/or VIX; set GEX to “Manual/Auto”. In Auto you may base it on VIX term, Basis, or Price vs HVL.
Check the InfoBox for BASE, VIX and GEX sign; enable the floating label if you want a quick on-chart readout.
Publish on TradingView with this write-up, example screenshots, and overlay flagged.
🔧 Key parameters (quick)
• block_format_mode: Auto / Long / Compact
• block_prices_in_etf: enable if the block is in ETF prices
• block_gex_per_side: how many extra GEX levels (besides L1) per side
• bs_enable / bs_count_plot: enable and cap the number of BS levels
• hvl_fill_anchor: “IM”, “GEX L1” or “Auto (IM dentro de GEX L1)”
• line_span_mode: “Barras”, “Días” or “Completo” (Bars/Days/Full)
• gex_mode: “Manual/Auto” with sources “VIX term / Basis / HVL”
🛠️ Troubleshooting
• Levels look shifted: perform a Rebase or enable the drift alert.
• Label overlap: use bar/day offsets and/or disable “Label background = line color”.
• Block is in ETF and not marked: enable “Valores del bloque están en ETF”.
• Extra GEX duplicates L1: increase dedup tolerance (ε).
• VIX missing: enable VIX and confirm the tickers exist for your broker/plan.
🎨 Design notes
• All UI texts, menus and labels shipped in Spanish by design.
• Compatible with short and long block without breaking existing setups.
• Respects Pine v6 syntax; avoids breaking lines inside parentheses.
⚖️ Disclaimer
This indicator is a visualization/level-management tool. It is not financial advice and does not guarantee results. Use at your own discretion and risk.
SESSIONS Golden Team SESSIONS — Multi-Session Forex Box & Range Analysis
This indicator displays the major Forex market sessions — London, New York, Tokyo, Sydney, and Frankfurt — directly on the chart. Each session is shown as a customizable colored box with optional Fibonacci levels and opening range markers.
It also calculates and displays the average pip range of each session over a user-defined number of past days, allowing traders to analyze volatility patterns for each trading period.
Key Features:
Configurable session times and time zones
Individual on/off toggle for each session
Custom colors, box transparency, and border styles
Optional Opening Range and Fibonacci retracement levels for each session
Average pip range table for quick volatility reference
Works on any intraday timeframe
How It Works:
The script identifies the start and end times of each session based on user settings.
A box is drawn around the high/low of the session period.
At the end of each session, the pip range is recorded, and an average is calculated over the last N sessions (default: 20).
The results are displayed in a statistics table showing average pips and whether the session is currently active.
Suggested Use:
Identify high-volatility sessions for breakout trading
Filter trades to active trading hours
Study historical volatility to refine entry timing
Options Greeks AnalyzerOptions Greeks Analyzer (Training & Learning Guide)
________________________________________
1. Introduction
Options trading is advanced compared to regular stock trading, and one of the most important aspects is Options Greeks. Greeks are mathematical values that measure how the price of an option will react to changes in various factors such as the underlying asset’s price, volatility, interest rates, and time to expiry.
This Options Greeks Analyzer tool is built using TradingView Pine Script v5. It serves as a real time training and analysis dashboard that helps learners visualize how options greeks behave, how option prices change, and how traders can make informed decisions.
📌 Educational Disclaimer:
This tool is only for training and learning purposes. It is not a financial advice tool nor to be used for live trading decisions. The data shown is theoretical Black Scholes model calculations, which may differ from actual option market prices.
________________________________________
2. How the Tool Works
The Options Greeks Analyzer is divided into different modules. Below is a step by step walkthrough:
________________________________________
Step 1: User Inputs
• Implied Volatility (IV%) — You can manually enter volatility, which is the most important factor in option pricing. Higher IV = higher option premium.
• Expiry Selection — Choose from preset durations like 7D, 14D, 30D etc. Days to expiry directly affect time decay (Theta).
• Strike Price Mode — You can select either:
o ATM (At-the-Money = Current price of stock/index)
o Custom strike (Enter your own strike price)
• Risk-Free Rate (%) — A small interest rate factor (like government bond yield) used for theoretical valuation.
• Table Customization — Choose table size, position, and whether to show price lines for easy visibility.
________________________________________
Step 2: Market Data & Volatility
• The tool takes the current market price (Spot Price) as input.
• It calculates realized volatility from historical price fluctuations (using past 30 bars/log returns).
• Implied Volatility (manual input) is then compared to realized vol:
o If IV > Historical Volatility → Market pricing is “expensive” (HIGH IV RANK).
o If IV < Historical Volatility → Market is “cheap” (LOW IV RANK).
o Otherwise, it’s MEDIUM.
📌 Why it matters?
Traders can decide whether buying or selling options is favorable. Beginners learn that timing entry with volatility is more critical than just looking at market direction.
________________________________________
Step 3: Black-Scholes Formula
The core engine uses the Black-Scholes model, a mathematical formula widely used to compute option fair prices.
It uses the following inputs:
• Current price (Spot)
• Strike Price
• Time to Expiry (T)
• Risk Free Rate (r)
• Implied Volatility (σ)
This produces:
• Call Option Price
• Put Option Price
📌 This teaches learners how premiums are derived theoretically and why the same strike can have different values depending on IV and time.
________________________________________
Step 4: Option Greeks Calculation
The tool computes the first order Greeks:
• Delta → Measures how much the option price changes when the underlying stock moves by 1 point.
(Call Delta ranges 0–1, Put Delta ranges -1 to 0).
• Gamma → Sensitivity of Delta to price change. A measure of volatility risk.
• Theta → Time decay. Shows how much value option loses as each day passes. Calls and Puts have negative Theta (decay).
• Vega → Measures how sensitive option price is to volatility changes.
• Rho → Interest rate sensitivity. Mostly minor in equity options but important for training.
📌 New traders learn how each factor impacts profits/losses. Instead of random guessing, they see mathematical impact in numbers.
________________________________________
Step 5: Dashboard & Visualization
The tool builds a professional dashboard table on the chart.
It shows categories such as:
1. Asset Info — Spot, Strike, DTE (days to expiry), IV%, IV Rank, 1-Day Trend, Moneyness (ATM/OTM/ITM).
2. Option Prices — Call, Put, Break-even levels, Time Value, Expected Move (%), Realized vs Implied Vol.
3. Greeks with Visual Progress Bars — Easily shows Delta, Gamma, Vega, Theta, Rho in intuitive graphical representations.
4. Status Bar — Suggests theoretical bias like:
o HIGH IV → Favor Option Selling
o LOW IV → Favor Option Buying
o MEDIUM → Neutral observation
5. Recommendation Line — Offers training-based suggestions like “Buy Straddles”, “Sell Call Spreads”, etc. These are not signals, but scenarios to learn strategies.
________________________________________
3. How It Helps Beginners
1. Learn Greeks in Action:
Beginners often memorize formulas but never see real-time changes. This dashboard updates every bar to show how Greeks change dynamically.
2. Compare Volatilities:
Traders understand difference between historical vs implied volatility and why option premiums behave differently.
3. Understand Risk Levels:
The tool highlights when Gamma risk is high (danger for sellers) or when Theta is most favorable.
4. Training Mode for Strategies:
Helps beginners experiment by changing IV, strike, expiry and seeing how straddles, spreads, naked options would behave theoretically.
5. Prepares Before Live Trading:
Safe environment to practice option analysis without risking capital.
________________________________________
4. Educational Use Cases
• Scenario 1: Change expiry from 7D to 30D — see how Theta becomes slower for longer expiries.
• Scenario 2: Increase IV from 25% to 80% — watch how option premiums inflate, and recommendation changes from “Buy” to “Sell”.
• Scenario 3: Select OTM vs ITM strikes — check how delta moves from near 0 to near 1.
By running these scenarios, learners understand why professional traders hedge Greeks instead of directional gambling.
________________________________________
5. Disclaimer
This Options Greeks Analyzer is built strictly for educational and training purposes.
• It uses theoretical formulas (Black-Scholes) that may not match actual option market prices.
• The recommendations are for learning strategy logic only, not real-world execution signals.
• Trading in options carries significant risks and may result in capital loss.
📌 Always consult with a financial advisor before applying real strategies.
________________________________________
✅ Summary
This Options Greeks Analyzer:
• Teaches how Greeks, IV, and premiums work.
• Provides a real-time interactive dashboard for training.
• Helps beginners practice option scenarios safely.
• Is meant strictly for learning and not live trading execution.
________________________________________
________________________________________
Disclaimer from aiTrendview
This script and its trading signals are provided for training and educational purposes only. They do not constitute financial advice or a guaranteed trading system. Trading involves substantial risk, and there is the potential to lose all invested capital. Users should perform their own analysis and consult with qualified financial professionals before making any trading decisions. aiTrendview disclaims any liability for losses incurred from using this code or trading based on its signals. Use this tool responsibly, and trade only with risk capital.