Trend Levels Pro SR Zones (Density+Recency+Reaction) Short Description
Trend Levels Pro — SR Zones (Density+Recency+Reaction) draws dynamic Support/Resistance zones (bands + center lines) using mathematical clustering of pivots and ATR-normalized sizing.
Instead of “manual lines”, it detects price-density areas where the market has historically reacted (bounce / break / retest), then ranks the most relevant levels around current price.
Best use: trade “level-to-level” moves, spot key reaction zones, and combine with confirmation/exhaustion tools for timing.
How it Works (very short)
Pivots → Clusters: Pivot highs/lows are grouped into zones (clusters) by proximity.
ATR Adaptive: Band width, spacing, and max distance scale with ATR (volatility).
PRO Score (optional): Ranks zones by Density + Recency + Reaction to prioritize the most actionable levels.
This indicator is for educational/informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Trading involves risk and you are responsible for your own decisions. Use proper risk management and consider testing on different markets/timeframes before live trading.
Indicadores y estrategias
SKYLERBOTyeah so basically the bot uses price action divergences with cvd delta volume to find areas of selling or buying dont use it as a main use it as double confirmation with regular cvd divergence analysis
4 TEMA OverlayThis indicator plots four customizable Triple Exponential Moving Averages (TEMA) — 20, 40, 80, and 100 — directly on the price chart for trend and structure analysis across any timeframe.
Waduji - Day Closing LevelThis Indicator will help to plot the EMA with the 2 days closing with option to add 1 day closing, this can be used with some momentum indicator as complete system to catch early momentum.. please contact author for rule of the engagement and other supporting indicators
XAU PRO [EN]XAU PRO is a macro-driven dashboard for Gold (XAUUSD) designed to provide a clear, structured, and actionable macro context without adding clutter to the chart. It is a table-only indicator: no lines, no oscillators, no background painting, and no buy/sell arrows. Its purpose is to support decision-making, not to replace price action or execution strategies.
The indicator analyzes Gold using a hybrid macro framework that combines interest rates (nominal and real), USD behavior, inflation expectations, liquidity conditions, volatility and market stress, and intermarket confirmation (Gold, Silver, and Miners). All of this information is consolidated into a single, easy-to-read panel.
A key feature of XAU PRO is its hybrid timeframe logic. Macro data from FRED (such as real yields, inflation breakevens, and liquidity) is only available on Daily or higher timeframes. Market instruments like XAUUSD, DXY, VIX, and ETFs can be intraday. When an intraday calculation timeframe is selected (for example 15m, 1h, or 4h), the indicator automatically forces FRED series to Daily while keeping other symbols on the chosen timeframe. This avoids unsupported-resolution errors and ensures stable, consistent behavior. The table explicitly displays the calculation timeframe so the user always knows what is being used.
The table is designed to answer practical trading questions. It shows the calculation timeframe, the current macro regime (such as Risk-Off, Inflation, Tightening, Liquidity-Up, or Neutral), and a clear permission state that tells whether trading conditions are favorable: LONG OK, SHORT OK, WAIT, AVOID, or BLOCKED. It also displays the macro bias direction, the adjusted macro score that reflects the strength of drivers, the confluence percentage that measures environment quality, a divergence filter between Gold and real yields, the relevance of correlation between Gold and 5-year real yields, and a filtered historical accuracy metric. Each row includes color-coded status, plain-English explanations, and directional arrows showing whether conditions are improving or deteriorating.
XAU PRO is intended to be used as a professional workflow tool. Traders use higher-timeframe macro information to define context and risk conditions, then execute trades using their own price-based setups. The indicator does not tell you when to enter or exit; it tells you when trading makes sense and when it does not.
The indicator is fully configurable. Users can choose whether calculations follow the chart timeframe or a custom timeframe, move the table to different screen positions, adjust fonts and colors, and enable or disable specific macro components such as VIX, MOVE, or GVZ.
This is not a signal indicator. It does not repaint, does not rely on curve-fitting, and is designed for clarity, stability, and macro awareness. It is best suited for Gold traders who separate market context from execution and want a clean, professional macro dashboard directly on their chart.
ORB/Premarket Strategy# ORB/Premarket Strategy - Strategy Description 🚀
## English Description
**The ORB/Premarket Strategy** is an advanced trading system designed to capture explosive moves during the market open. It identifies high-momentum breakouts based on the Opening Range (ORB) and Pre-Market High levels.
The strategy focuses on "Power Candles"—high-volume, strong-bodied bars that signal institutional intent—to ensure high-probability entries. It includes automated trade management with 5 Take-Profit targets and a dynamic trailing stop-loss to protect profits.
---
## الوصف بالعربي
**استراتيجية اختراق البري ماركت و الـ ORB** هي نظام تداول متقدم مصمم لاقتناص التحركات القوية عند افتتاح السوق. تعتمد الاستراتيجية على تحديد نقاط الاختراق لقوة الدفع (Momentum) بناءً على مستويات افتتاح أول 5-15 دقيقة (ORB) وأعلى سعر تم تحقيقه قبل افتتاح السوق (Pre-Market High).
تتميز الاستراتيجية بالتركيز على "الشموع القوية" التي تظهر سيولة عالية وزخم حقيقي لضمان جودة نقاط الدخول. كما تتضمن إدارة آلية كاملة للصفقة من خلال 5 أهداف للربح ووقف خسارة متحرك لحماية الأرباح وتأمين الصفقة تلقائياً.
---
## 📢 Get Alerts & Automation / لتفعيل التنبيهات والأتمتة
To activate **Real-time Alerts**, **JSON Webhooks** (for automated trading), and access the **Full Premium Version**, please contact the developer directly:
لتفعيل **التنبيهات الفورية**، وربط التداول الآلي (**Webhooks**)، والحصول على **النسخة الممتازة الكاملة**، يرجى التواصل مع المطور مباشرة:
### 📱 Contact Info / معلومات التواصل:
* **Telegram:** (t.me)
* **Username:** `@themmmh`
Ultimate Major Contextual Dashboard (Multi-Asset)Overview : The Ultimate Major Dashboard is a performance-optimized market overview tool designed to provide a consolidated snapshot of the 7 major Forex pairs and Gold. It aggregates correlation, trend, momentum, and volatility data into a single, clean table, allowing users to view broader market context without switching charts.
Technical Logic & Components : This indicator utilizes a modular function to analyze EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD, and XAUUSD across four key dimensions:
Intermarket Correlation (Pearson Coefficient): Uses ta.correlation() to compare each asset against the symbol currently on your main chart.
Logic: Values above 0.7 (Dark Green) suggest a strong positive relationship, while values below -0.7 (Dark Red) suggest inverse behavior. This is calculated over a rolling 50-period window to balance stability with current market sensitivity.
Trend Bias (EMA-200): Evaluates the long-term trend by checking price position relative to the 200-period Exponential Moving Average.
Visuals: An upward arrow (⬆) indicates price is above the EMA; a downward arrow (⬇) indicates it is below.
Momentum (RSI-14): Calculates the Relative Strength Index. The dashboard automatically highlights readings above 70 (OB) or below 30 (OS) to help identify potential momentum extremes.
Volatility (ATR-14): Displays the Average True Range as a reference for the current active range of each market, helping users compare volatility levels across the majors.
How to Interpret the Dashboard
Asset Alignment: Correlation values help identify when pairs are moving in "unison" versus when a specific currency is diverging from the group.
Directional Context: Combining the Trend (EMA) and Momentum (RSI) columns provides a quick view of whether a market is trending strongly or reaching an exhaustion point.
Volatility Benchmarking: The ATR values offer perspective on which pairs are currently the most active, assisting in market comparison based on volatility preference.
Data Handling & Customization
Multi-Symbol Sync: Data is fetched using request.security(). The calculations are synchronized with the chart's current bar state for real-time accuracy.
Dynamic TF: Users can select the analysis timeframe (60, 240, D, W) via the settings menu.
Flexibility: The dashboard position can be toggled between all four corners of the chart to avoid overlapping with price action.
Disclaimer
This tool is provided for analytical and educational purposes only. It does not generate trading signals and should not be considered financial advice.
Support Resistance-Session Box Breakout Support Resistance-Session Box Breakout สามารถใช้แนวรับแนวต้านจากSupport Resistance-Session Box หาจุกลับตัวหรือหาจุดเข้าเทรดได้
PSP Divergence - Trader GuyPSP candle divergence.
This is my personal code I developed to find candle body closure divergences between
NQ vs ES,
NQ vs YM,
ES vs YM
When a divergence happens between example NQ (up close candle) and the same bar on ES is a (down close candle) then the candle will be colour green Bullish and red Bearish.
It works on all time frames.
Start on the HTF to find a PSP then move to a LTF for entry.
ProfitHub FVGShows Fair Value Gaps on the
5min, 15min, 30min, 1 hour, 4 hour
You can change color of each one and enable CE
RSI Fibonacci Flow [JOAT]RSI Fibonacci Flow - Advanced Fibonacci Retracement with RSI Confluence
Introduction
RSI Fibonacci Flow is an open-source overlay indicator that combines automatic Fibonacci retracement levels with RSI momentum analysis to identify high-probability trading zones. The indicator automatically detects swing highs and lows, draws Fibonacci levels, and generates confluence signals when RSI conditions align with key Fibonacci zones.
This indicator is designed for traders who use Fibonacci retracements but want additional confirmation from momentum analysis before entering trades.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and Fibonacci tools. It is an original implementation that creates a synergistic relationship between two complementary analysis methods:
Why Combine RSI with Fibonacci? Fibonacci retracements identify WHERE price might reverse, but they don't tell you WHEN. RSI provides the timing component by showing momentum exhaustion. When price reaches the Golden Zone (50%-61.8%) AND RSI shows oversold conditions, the probability of a successful bounce increases significantly.
Original Confluence Scoring System: The indicator calculates a 0-5 confluence score that weights multiple factors: Golden Zone presence (+2), entry zone presence (+1), RSI extreme alignment (+1), RSI divergence (+1), and strong RSI momentum (+1). This scoring system is original to this indicator.
Automatic Pivot Detection: Unlike manual Fibonacci tools, this indicator automatically detects swing highs and lows using a configurable pivot algorithm, then draws Fibonacci levels accordingly. The pivot detection uses a center-bar comparison method that checks if a bar's high/low is the highest/lowest within the specified depth on both sides.
Dynamic Trend Awareness: The indicator determines trend direction based on pivot sequence (last pivot was high or low) and adjusts Fibonacci orientation accordingly. In uptrends, 0% is at swing low; in downtrends, 0% is at swing high.
Each component serves a specific purpose:
Fibonacci levels identify potential reversal zones based on natural price ratios
RSI provides momentum context to filter out low-probability setups
Confluence scoring quantifies setup quality for position sizing decisions
Automatic pivot detection removes subjectivity from level placement
Core Concept: RSI-Fibonacci Confluence
The most powerful trading setups occur when multiple factors align. RSI Fibonacci Flow identifies these moments by:
Automatically detecting price pivots and drawing Fibonacci levels
Tracking which Fibonacci zone the current price occupies
Monitoring RSI for overbought/oversold conditions
Generating signals when RSI extremes coincide with key Fibonacci levels
Scoring confluence strength on a 0-5 scale
When price reaches the Golden Zone (50%-61.8%) while RSI shows oversold conditions in an uptrend, the probability of a bounce increases significantly.
Fibonacci Levels Explained
The indicator draws nine Fibonacci levels based on the most recent swing:
0% (Swing Low/High): The starting point of the move
23.6%: Shallow retracement - often seen in strong trends
38.2%: First significant support/resistance level
50%: Psychological midpoint of the move
61.8% (Golden Ratio): The most important Fibonacci level
78.6%: Deep retracement - last defense before trend failure
100% (Swing High/Low): The end point of the move
127.2% (TP1): First extension target for take profit
161.8% (TP2): Second extension target for take profit
The Golden Zone
The area between 50% and 61.8% is highlighted as the "Golden Zone" because:
It represents the optimal retracement depth for trend continuation
Institutional traders often place orders in this zone
It offers favorable risk-to-reward ratios
Price frequently bounces from this area in healthy trends
When price enters the Golden Zone, the indicator highlights it with a semi-transparent box and optional background coloring.
Pivot Detection System
The indicator uses a configurable pivot detection algorithm:
pivotDetect(float src, int len, bool isHigh) =>
int halfLen = len / 2
float centerVal = nz(src , src)
bool isPivot = true
for i = 0 to len - 1
if isHigh
if nz(src , src) > centerVal
isPivot := false
break
else
if nz(src , src) < centerVal
isPivot := false
break
isPivot ? centerVal : float(na)
This identifies swing highs and lows by checking if a bar's high/low is the highest/lowest within the specified depth on both sides.
Visual Components
1. Fibonacci Lines
Horizontal lines at each Fibonacci level:
Solid lines for major levels (0%, 50%, 61.8%, 100%)
Dashed lines for secondary levels (23.6%, 38.2%, 78.6%)
Dotted lines for extension levels (127.2%, 161.8%)
Color-coded for easy identification
Configurable line width
2. Fibonacci Labels
Price labels at each level showing:
Fibonacci percentage
Actual price at that level
Golden Zone label highlighted
TP1 and TP2 labels for targets
3. Golden Zone Box
A semi-transparent box highlighting the 50%-61.8% zone:
Gold colored border and fill
Extends from swing start to current bar (or beyond if extended)
Provides clear visual of the optimal entry zone
4. ZigZag Lines
Connecting lines between detected pivots:
Cyan for moves from low to high
Orange for moves from high to low
Helps visualize market structure
Configurable line width
5. Pivot Markers
Small labels at detected swing points:
"HH" (Higher High) at swing highs
"LL" (Lower Low) at swing lows
Helps track market structure
6. Entry Signals
BUY and SELL labels when confluence conditions are met:
BUY: RSI oversold + price in entry zone + uptrend + positive momentum
SELL: RSI overbought + price in entry zone + downtrend + negative momentum
Labels include "RSI+FIB" to indicate confluence
Confluence Scoring System
The indicator calculates a confluence score from 0 to 5:
+2 points: Price is in the Golden Zone (50%-61.8%)
+1 point: Price is in the entry zone (38.2%-61.8%)
+1 point: RSI is oversold in uptrend OR overbought in downtrend
+1 point: RSI divergence detected (bullish or bearish)
+1 point: Strong RSI momentum (change > 2 points)
Confluence ratings:
STRONG (4-5): Multiple factors align - high probability setup
MODERATE (2-3): Some factors align - proceed with caution
WEAK (0-1): Few factors align - wait for better setup
Dashboard Panel
The 10-row dashboard provides comprehensive analysis:
RSI Value: Current RSI reading (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
Fib Trend: UPTREND or DOWNTREND based on last pivot sequence
Price Zone: Current Fibonacci zone (e.g., "GOLDEN ZONE", "38.2% - 50%")
Price: Current close price (large text)
Confluence: Score rating with numeric value (e.g., "STRONG (4/5)")
Nearest Fib: Closest key Fibonacci level with price
TP1 (127.2%): First take profit target price
TP2 (161.8%): Second take profit target price
Input Parameters
Pivot Detection:
Pivot Depth: Bars to look back for swing detection (default: 10)
Min Deviation %: Minimum price move to confirm pivot (default: 1.0)
RSI Settings:
RSI Length: Period for RSI calculation (default: 14)
Source: Price source (default: close)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Fibonacci Display:
Show Fib Lines: Toggle Fibonacci lines (default: enabled)
Show Fib Labels: Toggle price labels (default: enabled)
Show Golden Zone Box: Toggle zone highlight (default: enabled)
Line Width: Thickness of Fibonacci lines (default: 2)
Extend Fib Lines: Extend lines into future (default: enabled)
ZigZag:
Show ZigZag: Toggle connecting lines (default: enabled)
ZigZag Width: Line thickness (default: 2)
Signals:
Show Entry Signals: Toggle BUY/SELL labels (default: enabled)
Show TP Levels: Toggle take profit in dashboard (default: enabled)
Show RSI-Fib Confluence: Toggle confluence analysis (default: enabled)
Dashboard:
Show Dashboard: Toggle information panel (default: enabled)
Position: Choose corner placement
Colors:
Bullish: Color for bullish elements (default: cyan)
Bearish: Color for bearish elements (default: orange)
Neutral: Color for neutral elements (default: gray)
Golden Zone: Color for Golden Zone highlight (default: gold)
How to Use RSI Fibonacci Flow
Identifying Entry Zones:
Wait for price to retrace to the 38.2%-61.8% zone
Check if RSI is approaching oversold (for longs) or overbought (for shorts)
Look for STRONG confluence rating in the dashboard
Enter when BUY or SELL signal appears
Setting Take Profit Targets:
TP1 at 127.2% extension for conservative target
TP2 at 161.8% extension for aggressive target
Consider scaling out at each level
Using the Price Zone:
"BELOW 23.6%" - Price hasn't retraced much; wait for deeper pullback
"23.6% - 38.2%" - Shallow retracement; strong trend continuation possible
"38.2% - 50%" - Good entry zone for trend trades
"GOLDEN ZONE" - Optimal entry zone; highest probability
"61.8% - 78.6%" - Deep retracement; trend may be weakening
"78.6% - 100%" - Very deep; trend reversal possible
"ABOVE/BELOW 100%" - Trend has likely reversed
Confluence Trading Strategy:
Only take trades with confluence score of 3 or higher
STRONG confluence (4-5) warrants larger position size
MODERATE confluence (2-3) warrants smaller position size
WEAK confluence (0-1) - wait for better setup
Alert Conditions
Ten alert conditions are available:
RSI-Fib BUY Signal: Strong bullish confluence detected
RSI-Fib SELL Signal: Strong bearish confluence detected
Price in Golden Zone: Price enters 50%-61.8% zone
New Pivot High: Swing high detected
New Pivot Low: Swing low detected
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
Bullish Divergence: Potential bullish RSI divergence
Bearish Divergence: Potential bearish RSI divergence
Strong Confluence: Confluence score reaches 4 or higher
Understanding Trend Direction
The indicator determines trend based on pivot sequence:
UPTREND: Last pivot was a low after a high (expecting move up)
DOWNTREND: Last pivot was a high after a low (expecting move down)
Fibonacci levels are drawn accordingly:
In uptrend: 0% at swing low, 100% at swing high
In downtrend: 0% at swing high, 100% at swing low
Bar Coloring
When confluence features are enabled:
Cyan bars on strong bullish signals
Orange bars on strong bearish signals
Gold-tinted bars when price is in Golden Zone
Best Practices
Use on 1H timeframe or higher for more reliable pivots
Adjust Pivot Depth based on timeframe (higher for longer timeframes)
Wait for price to enter Golden Zone before considering entries
Confirm RSI is in favorable territory before trading
Use extension levels (127.2%, 161.8%) for realistic profit targets
Combine with support/resistance and candlestick patterns
Higher confluence scores indicate higher probability setups
Limitations
Pivot detection has inherent lag (must wait for confirmation)
Fibonacci levels are subjective - different swings produce different levels
Works best in trending markets with clear swings
RSI can remain overbought/oversold in strong trends
Not all Golden Zone entries will be successful
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Fibonacci levels are not guaranteed support/resistance - they are probability zones based on historical price behavior. Always conduct your own analysis and use proper risk management.
- Made with passion by officialjackofalltrades :D
[UNITY] PO3 Fractal ModeOverview: This indicator is built to identify accumulation, manipulation, and distribution phases across correlated timeframes.
Visual Guide:
SFP/PO3 Labels:
C1: The reference candle (liquidity point).
C2: The sweep candle (manipulation).
C3: The confirmation candle (reversal).
XC2 (Red): Indicates the setup has failed (C2 high/low was breached).
Ghost Map (Mini-Map):
Displays the HTF candles (Open, High, Low, Close) relative to the current price.
TS (Turtle Soup): Marks a liquidity sweep on the HTF.
DOL (Draw on Liquidity): Marks the target liquidity on the HTF.
Lines: Solid lines indicate confirmed sweeps; standard lines mark structural openings.
Imbalance:
Candles responsible for FVGs are highlighted in Blue (Bullish) or Red (Bearish).
Requirements: This script requires a valid monthly password to function.
Important Note: This script is protected by a security system. Even if you have access to the script on TradingView, you will need the current month's password to view the data. The password changes monthly. Contact me for details.
Shares to Stop Loss📊 Shares to Stop Loss Calculator
This indicator automatically calculates the optimal number of shares to trade based on your predefined risk amount and dynamic stop loss levels.
🎯 Key Features:
Automatic Position Sizing: Calculates exact number of shares for both LONG and SHORT positions based on your risk tolerance
Dynamic Stop Loss Levels: Uses relative highs and lows from a customizable lookback period
Visual Reference Lines: Displays horizontal lines showing your stop loss levels on the chart
Real-time Updates: Position size adjusts automatically with price movement
Clean Interface: Compact table showing all relevant information without cluttering your chart
⚙️ How It Works:
For SHORT positions:
Stop loss is placed at the relative high (highest price in the lookback period)
Calculates shares needed to risk your specified dollar amount
For LONG positions:
Stop loss is placed at the relative low (lowest price in the lookback period)
Calculates shares needed to risk your specified dollar amount
📝 Inputs:
Amount for stop loss ($): Your maximum risk per trade in dollars (default: $100)
Look back candles for rel. HIGH: Period to calculate the relative high for SHORT stops (default: 20)
Look back candles for rel. LOW: Period to calculate the relative low for LONG stops (default: 20)
Line colors: Customize the appearance of reference lines
💡 Use Case:
Perfect for traders who practice proper risk management and want to maintain consistent dollar risk across different price levels and volatility conditions. Simply set your risk amount once, and the indicator does the math for you on every candle.
⚠️ Note: This indicator calculates position sizes based on technical levels. Always consider liquidity, account size, and broker requirements before entering positions.
[CT] D&W PPO + RBF + DivergenceThis indicator combines two separate ideas into one tool so you can read trend context from your price chart while timing momentum shifts from a clean oscillator panel. The first component is the Daily and Weekly Percentage Price Oscillator (D&W PPO), which measures the relationship between two EMA spreads that are intentionally built to reflect two “speeds” of market structure. The “weekly” leg is calculated as the percentage distance between a slower and faster EMA pair (L1 and L2), and the “daily” leg is calculated as the percentage distance between a shorter EMA pair (L3 and L4), but both are normalized by the same long EMA (e2) so the values behave like a percent-based oscillator rather than raw points. The script then combines those two legs by creating R = W + D, and it plots the histogram as R − W, which simplifies to D. That is not a mistake, it is the point of the design. By setting the baseline at “R equals W,” the zero line becomes a very intuitive threshold that tells you whether the shorter-term push is adding to the longer-term bias or subtracting from it. When the histogram is above zero, the daily component is supportive of the larger trend pressure, and when it is below zero, the daily component is opposing it. The histogram color is intentionally binary and stable, green when the histogram is at or above zero and red when it is below, so the panel reads like a momentum confirmation tool rather than a noisy oscillator that constantly shifts shades.
The second component is the RBF Price Trail, which is drawn on the upper price chart even though the indicator itself lives in a lower panel. This line is not a moving average in the traditional sense. It is a Radial Basis Function kernel smoother that weights recent prices based on their similarity rather than only their recency. In plain terms, the kernel attempts to build a smoother “baseline” that adapts to the shape of price action, and then the script optionally wraps that baseline inside an ATR band and applies a Supertrend-like trailing clamp. When the ATR band is enabled, the line will not simply track the kernel value, it will trail price and hold its position until price forces it to ratchet. This behavior is what makes it useful as a structure-aligned trend line rather than just another smoothing curve. When the adaptive band boost is enabled, the band width is multiplied by a factor that grows when recent price change is large relative to a lookback normalization window. That means the trailing mechanism can adapt to fast markets by changing the effective band behavior, which helps reduce whipsaws in choppy conditions while still allowing the line to respond when volatility expands. The line color is determined by where price closes relative to the trail, bullish when price is above the trail and bearish when price is below it, and you can optionally color your actual chart candles from either the PPO state or the RBF state depending on what you want your eyes to follow.
The settings are organized so you can control each module without changing how the core PPO trend logic behaves. The PPO settings L1, L2, L3, and L4 define the EMA lengths used to compute the weekly leg W and the daily leg D. Increasing these values makes the oscillator slower and smoother, while decreasing them makes it react faster to recent movement. “Show W line” is simply a visual aid, it plots the W line in the oscillator panel so you can see the longer-term component, but it does not change the histogram logic. “Histogram thickness” is purely visual and controls how thick the column bars are. The PPO colors are the two base colors used for the histogram state, green when the daily component is supportive and red when it is opposing.
The RBF settings control what you see on the upper chart. “Show RBF on Price Chart” turns the trail line on or off. “Source” chooses which price series feeds the kernel, and close is usually the cleanest choice. “Kernel Length” determines how many bars the kernel uses; a larger value makes the baseline smoother and slower, and a smaller value makes it more reactive. “Gamma Adj” controls how quickly the kernel’s weights decay as price becomes dissimilar, so higher gamma tends to make the kernel react more sharply to changes while lower gamma produces a broader smoothing effect. “Use ATR Trail Band” is the switch that turns the kernel baseline into a trailing band line, and it is the reason the line can “hold” and then ratchet instead of moving continuously like a normal moving average. “ATR Length” and “ATR Factor” control the width of that band, and widening the band will generally reduce flips and noise at the cost of later signals. “Use Adaptive Band Boost” turns on the volatility normalization idea, “Boost Normalization Lookback” defines how far back the script looks to determine what counts as a large price change, and “Boost Multiplier” controls how strongly the band behavior is adjusted during those periods. The line width and bull/bear colors are visual controls only.
Price bar coloring is intentionally handled with a single selector so you do not end up with two modules fighting to color candles differently. If you choose “Off,” nothing on the main chart is recolored. If you choose “PPO,” your price candles reflect whether the PPO histogram is above or below zero. If you choose “RBF,” your price candles reflect whether price is above or below the RBF trail. Most traders will pick one and stick with it so the chart communicates a single bias at a glance.
The divergence module is optional and is designed to be a confirmation layer rather than a primary trigger. When enabled, it can mark regular divergence and hidden divergence, and it lets you decide what the pivots should be based on. The divergence source can be the PPO histogram or the R line, depending on whether you want divergence measured on the cleaner momentum component or on the combined series. “Key off pivots” determines whether pivot detection is driven by oscillator pivots or by price pivots. If you choose oscillator pivots, divergence anchors are found where the oscillator makes pivot highs or lows and those are compared against price at the same points. If you choose price pivots, the pivots are taken from price first and the oscillator value at those pivot bars is used for the comparison, which can feel more intuitive when you want divergence to respect obvious swing structure on the chart. Pivot Left and Pivot Right control how strict the swing definition is, larger values create fewer but more meaningful pivots and smaller values create more frequent signals. “Mark on Price Chart” adds tiny markers on the candles at the pivot location so you can see where the divergence event was confirmed, while the oscillator panel uses lines and labels to make the divergence relationship obvious.
For trading, the cleanest way to use this tool is to separate “bias” from “timing.” The RBF Price Trail is your bias filter because it is structure-like and tends to hold and ratchet rather than constantly drifting. When price is closing above the trail and the trail is colored bullish, you treat the market as long-biased and you focus on long setups, pullbacks, and continuation entries. When price is closing below the trail and the trail is bearish, you treat the market as short-biased and you focus on short setups, rallies, and continuation shorts. The PPO histogram is then your timing and pressure confirmation. In an up-bias, the highest quality continuation conditions are when the histogram is above zero and stays above zero through pullbacks, because that means the shorter-term pressure is still supporting the longer-term drift. When the histogram dips below zero during an up-bias, it is a warning that the daily component is now opposing, which often corresponds to a deeper pullback, a rotation, or a period of consolidation, so you either wait for the histogram to recover above zero or you tighten expectations and manage risk more aggressively. In a down-bias, the mirror logic applies: the best continuation conditions are when the histogram is below zero, and pushes above zero tend to represent countertrend rotations or pauses inside the bearish condition.
Divergence is best used as an early warning and a location filter, not as a standalone entry button. Regular bullish divergence, where price makes a lower low but the oscillator makes a higher low, can signal bearish pressure is weakening and is most useful when it appears while price is below the RBF trail but failing to continue downward, because it often precedes a reclaim of the trail or at least a meaningful rotation. Regular bearish divergence, where price makes a higher high but the oscillator makes a lower high, can signal bullish pressure is weakening and is most useful when it appears while price is above the trail but extension is failing, because it often precedes a drop back to the trail or a full flip. Hidden divergence is a continuation concept. Hidden bullish divergence, where price makes a higher low while the oscillator makes a lower low, often shows up during pullbacks in an uptrend and can help you confirm continuation as long as the RBF bias remains bullish. Hidden bearish divergence, where price makes a lower high while the oscillator makes a higher high, often shows up during rallies in a downtrend and can help you confirm continuation as long as the RBF bias remains bearish. In practice, you’ll get the best results when you only act on divergence that aligns with the RBF bias for hidden divergence continuation, and you treat regular divergence as a caution or reversal setup only when it occurs near a meaningful swing and is followed by a bias change or a strong momentum shift on the PPO.
The most practical workflow is to keep the RBF trail visible on the price chart as your regime guide, keep the PPO histogram as your momentum confirmation, and decide in advance whether you want candle coloring to represent the PPO state or the RBF state so your eyes are not reading two different meanings at once. if you want the cleanest “trend-following” behavior, color candles by the RBF trail and use the PPO histogram as the timing trigger. If you want the cleanest “momentum-first” behavior, color candles by PPO and treat the RBF trail as the higher-level filter for whether you should press a move or fade it.
Continuation Gauge - Bull vs BearDivergence/ strength detector - great for tracking entry at key divergences and visualizing volatility.
Scalp PRO Visual momentum through the candlestick pattern. Gradients to show acceleration and deceleration to assist with entry and exits. Different color settings and optimizations. Enjoy!
[GYTS] Volatility Toolkit Volatility Toolkit
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- INTRODUCTION --------- 🌸
💮 What is Volatility Toolkit?
Volatility Toolkit is a comprehensive volatility analysis indicator featuring academically-grounded range-based estimators. Unlike simplistic measures like ATR, these estimators extract maximum information from OHLC data — resulting in estimates that are 5-14× more statistically efficient than traditional close-to-close methods.
The indicator provides two configurable estimator slots, weighted aggregation, adaptive threshold detection, and regime identification — all with flexible smoothing options via
GYTS FiltersToolkit integration.
💮 Why Use This Indicator?
Standard volatility measures (like simple standard deviation) are highly inefficient, requiring large amounts of data to produce stable estimates. Academic research has shown that range-based estimators extract far more information from the same price data:
• Statistical Efficiency — Yang-Zhang achieves up to 14× the efficiency of close-to-close variance, meaning you can achieve the same estimation accuracy with far fewer bars
• Drift Independence — Rogers-Satchell and Yang-Zhang correctly isolate variance even in strongly trending markets where simpler estimators become biased
• Gap Handling — Yang-Zhang properly accounts for overnight gaps, critical for equity markets
• Regime Detection — Built-in threshold modes identify when volatility enters elevated or suppressed states
↑ Overview showing Yang-Zhang volatility with dynamic threshold bands and regime background colouring
🌸 --------- HOW IT WORKS --------- 🌸
💮 Core Concept
The toolkit groups volatility estimators by their output scale to ensure valid comparisons and aggregations:
• Log-Return Scale (σ) — Close-to-Close, Parkinson, Garman-Klass, Rogers-Satchell, Yang-Zhang. These are comparable and can be aggregated. Annualisable via √(periods_per_year) scaling.
• Price Unit Scale ($) — ATR. Measures volatility in absolute price terms, directly usable for stop-loss placement.
• Percentage Scale (%) — Chaikin Volatility. Measures the rate of change of the trading range — whether volatility is expanding or contracting.
Only estimators with the same scale can be meaningfully compared or aggregated. The indicator enforces this and warns when mixing incompatible scales.
💮 Range-Based Estimator Overview
Range-based estimators utilise High, Low, Open, and Close prices to extract significantly more information about the underlying diffusion process than close-only methods:
• Parkinson (1980) — Uses High-Low range. ~5× more efficient than close-to-close. Assumes zero drift.
• Garman-Klass (1980) — Incorporates Open and Close. ~7.4× more efficient. Assumes zero drift, no gaps.
• Rogers-Satchell (1991) — Drift-independent. Superior in trending markets where Parkinson/GK become biased.
• Yang-Zhang (2000) — Composite estimator handling both drift and overnight gaps. Up to 14× more efficient.
💮 Theoretical Background
• Parkinson, M. (1980). The Extreme Value Method for Estimating the Variance of the Rate of Return. Journal of Business, 53 (1), 61–65. DOI
• Garman, M.B. & Klass, M.J. (1980). On the Estimation of Security Price Volatilities from Historical Data. Journal of Business, 53 (1), 67–78. DOI
• Rogers, L.C.G. & Satchell, S.E. (1991). Estimating Variance from High, Low and Closing Prices. Annals of Applied Probability, 1 (4), 504–512. DOI
• Yang, D. & Zhang, Q. (2000). Drift-Independent Volatility Estimation Based on High, Low, Open, and Close Prices. Journal of Business, 73 (3), 477–491. DOI
🌸 --------- KEY FEATURES --------- 🌸
💮 Feature Reference
Estimators (8 options across 3 scale groups):
• Close-to-Close — Classical benchmark using closing prices only. Least efficient but useful as baseline. Log-return scale.
• Parkinson — Range-based (High-Low), ~5× more efficient than close-to-close. Assumes zero drift. Log-return scale.
• Garman-Klass — OHLC-optimised, ~7.4× more efficient. Assumes zero drift, no gaps. Log-return scale.
• Rogers-Satchell — Drift-independent, handles trending markets where Parkinson/GK become biased. Log-return scale.
• Yang-Zhang — Gap-aware composite, most comprehensive (up to 14× efficient). Uses internal rolling variance (unsmoothed). Log-return scale.
• Std Dev — Standard deviation of log returns. Log-return scale.
• ATR — Average True Range in absolute price units. Useful for stop-loss placement. Price unit scale.
• Chaikin — Rate of change of range. Measures volatility expansion/contraction, not level. Percentage scale.
Smoothing Filters (10 options via FiltersToolkit):
• SMA / EMA — Classical moving averages
• Super Smoother (2-Pole / 3-Pole) — Ehlers IIR filter with excellent noise reduction
• Ultimate Smoother (2-Pole / 3-Pole) — Near-zero lag in passband
• BiQuad — Second-order IIR with configurable Q factor
• ADXvma — Adaptive smoothing, flat during ranging periods
• MAMA — MESA Adaptive Moving Average (cycle-adaptive)
• A2RMA — Adaptive Autonomous Recursive MA
Threshold Modes:
• Static — Fixed threshold values you define (e.g., 0.025 annualised)
• Dynamic — Adaptive bands: baseline ± (standard deviation × multiplier)
• Percentile — Threshold at Nth percentile of recent history (e.g., 80th percentile for high)
Visual Features:
• Level-based colour gradient — Line colour shifts with percentile rank (warm = high vol, cool = low vol)
• Fill to zero — Gradient fill intensity proportional to volatility level
• Threshold fills — Intensity-scaled fills when thresholds are breached
• Regime background — Chart background indicates HIGH/NORMAL/LOW volatility state
• Legend table — Displays estimator names, parameters, current values with percentile ranks (P##)
💮 Dual Estimator Slots
Compare two volatility estimators side-by-side. Each slot independently configures:
• Estimator type (8 options across three scale groups)
• Lookback period and smoothing filter
• Colour palette and visual style
This enables direct comparison between estimators (e.g., Yang-Zhang vs Rogers-Satchell) or between different parameterisations of the same estimator.
↑ Yang-Zhang (reddish) and Rogers-Satchell (greenish)
💮 Flexible Smoothing via FiltersToolkit
All estimators (except Yang-Zhang, which uses internal rolling variance) support configurable smoothing through 10 filter types. Using Infinite Impulse Response (IIR) filters instead of SMA avoids the "drop-off artefact" where volatility readings crash when old spikes exit the window.
Example: Same estimator (Parkinson) with different smoothing filters
Add two instances of Volatility Toolkit to your chart:
• Instance 1: Parkinson with SMA smoothing (lookback 14)
• Instance 2: Parkinson with Super Smoother 2-Pole (lookback 14)
Notice how SMA creates sharp drops when volatile bars exit the window, while Super Smoother maintains a gradual transition.
↑ Two Parkinson estimators — SMA (red mono-colour, showing drop-off artefacts) vs Super Smoother (turquoise mono colour, with smooth transitions)
↑ Garman-Klass with BiQuad (orangy) and 2-pole SuperSmoother filters (greenish)
💮 Weighted Aggregation
Combine multiple estimators into a single weighted average. The indicator automatically:
• Validates scale compatibility (only same-scale estimators can be aggregated)
• Normalises weights (so 2:1 means 67%:33%)
• Displays clear warnings when scales differ
Example: Robust volatility estimate
Combine Yang-Zhang (handles gaps) with Rogers-Satchell (handles drift) using equal weights:
• E1: Yang-Zhang (14)
• E2: Rogers-Satchell (14)
• Aggregation: Enabled, weights 1:1
The aggregated line (with "fill to zero" enabled) provides a more robust estimate by averaging two complementary methodologies.
↑ Yang-Zhang + Rogers-Satchell with aggregation line (thicker) showing combined estimate (notice how opening gaps are handled differently)
Example: Trend-weighted aggregation
In strongly trending markets, weight Rogers-Satchell more heavily since it's drift-independent:
• Estimator 1: Garman-Klass (faster, higher weight in ranging)
• Estimator 2: Rogers-Satchell (drift-independent, higher weight in trends)
• Aggregation: weights 1:2 (favours RS during trends)
💮 Adaptive Threshold Detection
Three threshold modes for identifying volatility regime shifts. Threshold breaches are visualised with intensity-scaled fills that grow stronger the further volatility exceeds the threshold.
Example: Dynamic thresholds for regime detection
Configure dynamic thresholds to automatically adapt to market conditions:
• High Threshold Mode: Dynamic (baseline + 2× std dev)
• Low Threshold Mode: Dynamic (baseline - 2× std dev)
• Show threshold fills: Enabled
This creates adaptive bands that widen during volatile periods and narrow during calm periods.
Example: Percentile-based thresholds
Use percentile mode for context-aware regime detection:
• High Threshold Mode: Percentile (96th)
• Low Threshold Mode: Percentile (4th)
• Percentile Lookback: 500
This identifies when volatility enters the top/bottom 4% of its recent distribution.
↑ Different threshold settings, where the dynamic and percentile methods show adaptive bands that widen during volatile periods, with fill intensity varying by breach magnitude. Regime detection (see next) is enabled too.
💮 Regime Background Colouring
Optional background colouring indicates the current volatility regime:
• High Volatility — Warm/alert background colour
• Normal — No background (neutral)
• Low Volatility — Cool/calm background colour
Select which source (Estimator 1, Estimator 2, or Aggregation) drives the regime display.
Example: Regime filtering for trade decisions
Use regime background to filter trading signals from other indicators:
• Regime Source: Aggregation
• Background Transparency: 90 (subtle)
When the background shows HIGH volatility (warm), consider tighter stops. When LOW (cool), watch for breakout setups.
↑ Regime background emphasis for breakout strategies. Note the interesting A2RMA smoothing for this case.
🌸 --------- USAGE GUIDE --------- 🌸
💮 Getting Started
1. Add the indicator to your chart
2. Estimator 1 defaults to Yang-Zhang (14) — the most comprehensive estimator for gapped markets
3. Keep "Annualise Volatility" enabled to express values in standard annualised form
4. Observe the legend table for current values and percentile ranks (P##). Hover over the table cells to see a little more info in the tooltip.
💮 Choosing an Estimator
• Trending equities with gaps — Yang-Zhang. Handles both drift and overnight gaps optimally.
• Crypto (24/7 trading) — Rogers-Satchell. Drift-independent without Yang-Zhang's multi-period lag.
• Ranging markets — Garman-Klass or Parkinson. Simpler, no drift adjustment needed.
• Price-based stops — ATR. Output in price units, directly usable for stop distances.
• Regime detection — Combine any estimator with threshold modes enabled.
💮 Interpreting Output
• Value (P##) — The volatility reading with percentile rank. "0.1523 (P75)" means 0.1523 annualised volatility at the 75th percentile of recent history.
• Colour gradient — Warmer colours = higher percentile (elevated volatility), cooler colours = lower percentile.
• Threshold fills — Intensity indicates how far beyond the threshold the current reading is.
• ⚠️ HIGH / 🔻 LOW — Table indicators when thresholds are breached.
🌸 --------- ALERTS --------- 🌸
💮 Direction Change Alerts
• Estimator 1/2 direction change — Triggers when volatility inflects (rising to falling or vice versa)
💮 Cross Alerts
• E1 crossed E2 — Triggers when the two estimator lines cross
💮 Threshold Alerts
• E1/E2/Aggr High Volatility — Triggers when volatility breaches the high threshold
• E1/E2/Aggr Low Volatility — Triggers when volatility falls below the low threshold
💮 Regime Change Alerts
• E1/E2/Aggr Regime Change — Triggers when the volatility regime transitions (High ↔ Normal ↔ Low)
🌸 --------- LIMITATIONS --------- 🌸
• Drift bias in Parkinson/GK — These estimators overestimate variance in trending conditions. Switch to Rogers-Satchell or Yang-Zhang for trending markets.
• Yang-Zhang minimum lookback — Requires at least 2 bars (enforced internally). Cannot produce instantaneous readings like other estimators.
• Flat candles — Single-tick bars produce near-zero variance readings. Use higher timeframes for illiquid assets.
• Discretisation bias — Estimates degrade when ticks-per-bar is very small. Consider higher timeframes for thinly traded instruments.
• Scale mixing — Different scale groups (log-return, price unit, percentage) cannot be meaningfully compared or aggregated. The indicator warns but does not prevent display.
🌸 --------- CREDITS --------- 🌸
💮 Academic Sources
• Parkinson, M. (1980). The Extreme Value Method for Estimating the Variance of the Rate of Return. Journal of Business, 53 (1), 61–65. DOI
• Garman, M.B. & Klass, M.J. (1980). On the Estimation of Security Price Volatilities from Historical Data. Journal of Business, 53 (1), 67–78. DOI
• Rogers, L.C.G. & Satchell, S.E. (1991). Estimating Variance from High, Low and Closing Prices. Annals of Applied Probability, 1 (4), 504–512. DOI
• Yang, D. & Zhang, Q. (2000). Drift-Independent Volatility Estimation Based on High, Low, Open, and Close Prices. Journal of Business, 73 (3), 477–491. DOI
• Wilder, J.W. (1978). New Concepts in Technical Trading Systems . Trend Research.
💮 Libraries Used
• VolatilityToolkit Library — Range-based estimators, smoothing, and aggregation functions
• FiltersToolkit Library — Advanced smoothing filters (Super Smoother, Ultimate Smoother, BiQuad, etc.)
• ColourUtilities Library — Colour palette management and gradient calculations
Market Zones ProMarket Zones Pro
Market Zones Pro is an advanced, multi-timeframe market profile indicator built for professional traders who demand deep insight into market structure, volume distribution, and time-at-price dynamics. Its hybrid volume/time-weighted engine delivers real-time value areas, points of control, and proprietary extended levels — all in one clean, customizable overlay. This invite-only script distinguishes itself with original features like the Venom Pivots projection system, intelligent 80% Rule confirmation logic, and flexible stacked composite profiles that create long-term distribution views not available in standard tools.
Core Features & Concepts
• Hybrid Market Profile Engine Seamlessly blends volume-based and time-at-price (TPO) data — originally developed by J. Peter Steidlmayer in the 1980s — into a configurable hybrid mode (pure volume, pure time, or balanced). This creates robust, adaptive profiles that perform reliably across quiet sessions and high-volatility environments alike.
• Value Area & Point of Control (POC) The shaded value area captures one standard deviation of trading activity (~68% of total volume/time). The POC marks the price level with the highest concentration — widely regarded as the “fairest” price and a natural magnet for price action
• Virgin POCs (VPOCs) Prior POCs that price has not yet revisited. These untouched levels frequently act as powerful support or resistance, often producing stalls or reversals when finally tagged.
• Venom Pivots Proprietary extended support and resistance levels projected from the current value area dimensions. Up to six levels above and below provide harmonic targets: closer pivots (R1/S1) for short-term moves, farther ones for trend extensions
• 80% Rule Detection Automated implementation of the observation popularized by James Dalton : when price opens outside the value area and enters it, there is historically an ~80% probability of reaching the opposite side. The script intelligently distinguishes potential vs. confirmed states, handles breakout scenarios, and applies tailored confirmation logic
• Developing (Future) Value Areas Real-time projection of the current incomplete period’s value area, POC, and Venom levels — essential for intraday and swing traders.
• Stacked Composite Profiles Merges multiple completed periods into a single long-term histogram (e.g., 12 months = 1-year composite). Ideal for identifying persistent “shelves” and overall market distribution.
• High Volatility Warnings & Visual Zones Automatically flags compressed value areas that often precede explosive moves. Gradient zones outside the value area, up/down volume histograms, and multi-timeframe color coding provide instant visual context.
• Smart Alerts & Status Table Custom alerts for 80% Rule states, value area breakouts, VPOC touches, and volatility warnings — all with price levels included. A real-time status table offers an immediate position summary relative to key levels.
• Extensive Customization Over 50 inputs control visuals, labels, opacity, data modes, and session handling (regular + extended hours supported with accurate rollover alignment for futures and forex).
How to Use It
1. Add to chart → select desired Profile Timeframe (Auto or manual).
2. Enable Extended Trading Hours in chart settings for precise developing value areas on 24/7 instruments.
3. Interpret: range-trade inside the value area; look for trends on breaks; use VPOCs and Venom levels for entries/exits; follow confirmed 80% Rule signals for high-probability targets.
4. Leverage the status table for instant context and set rich alerts for live trading.
Why Market Zones Pro?
The unique combination of proprietary Venom projections, sophisticated 80% Rule logic, hybrid volume/time weighting, developing value areas, and flexible stacked composites delivers insights and automation far beyond conventional market profile indicators. Proven across diverse assets and timeframes (as shown in screenshots), it saves significant analysis time while providing clear, actionable edges.
BTC Swing Plan Levels & ZonesThis indicator visualizes a clean, rules-based Bitcoin swing-trade plan with clearly defined entry, target, and risk zones.
🔹 What it shows
• Breakout Entry Level
• Multiple Profit Target Zones (T1 → T4)
• Primary & Hard Stop Risk Zone
• Mid-levels for structure awareness
• Optional background highlight when price is above the breakout (plan active)
All levels are fully editable from the settings panel, allowing you to adapt the framework to any BTC market regime or timeframe.
🔹 How to use
Wait for price to break and hold above the Entry level
Manage the trade target-by-target
Respect the defined stop zone for risk control
Stretch target (T4) is optional and meant for strong trend continuation
🔹 Designed for
• Swing traders
• Structure-based traders
• Risk-managed BTC positioning
• Clean chart layouts (no indicators, no noise)
This tool is not a signal generator — it is a visual trade-planning framework.
Always manage position size and risk responsibly.
M8B Golden Rules - Butterfly# Golden Rules Butterfly Strategy Specification - The content provided is for educational and informational purposes only
This document details the exact rules and calculation logic for the "Golden Rules" Butterfly trading strategy. This specification is designed to be used for implementing the strategy in a live trading environment.
## 1. Strategy Overview
The Golden Rules strategy is a selective, rules-based approach for SPX Butterfly options. It focuses on high-probability windows (Mondays, Tuesdays, Fridays) and uses market momentum and volume-weighted average price (VWAP) as filters to ensure the market is in a "pinning-friendly" regime.
---
## 2. Core Entry Rules
A trade is only considered for entry if **ALL** of the following conditions are met simultaneously:
### Rule 1: Golden Windows (Temporal Filter)
The entry time (US/Eastern) must fall within these specific windows:
* **Monday**: 09:30 AM – 11:00 AM ET (Early session momentum/decay).
* **Tuesday**: 11:00 AM – 03:00 PM ET (Mid-day stability).
* **Wednesday**: 10:00 AM – 01:00 PM ET (Morning/Mid-day momentum).
* **Thursday**: 10:00 AM – 12:00 PM ET (Morning session only).
* **Friday**: 11:00 AM – 03:00 PM ET (Expiration pinning window).
### Rule 2: Momentum Validation
* **Condition**: `30 <= SPX RSI (14) <= 75`
* **Calculation**: Standard 14-period Relative Strength Index (RSI) calculated on 5-minute closing prices of SPX.
* **Purpose**: Ensures the market is in a "Stability Zone." RSI < 30 indicates extreme weakness, while RSI > 75 indicates overbought conditions where sharp reversals frequently "burn" butterfly wings.
### Rule 3: VWAP-Strike Proximity
* **Condition**: `abs(Current_VWAP - Center_Strike) < 10 points`
* **Calculation**:
* `Daily_VWAP = Σ(Price * Volume) / Σ(Volume)` since 09:30 AM ET.
* *Note: Since SPX does not have native volume, use **SPY Volume** as the proxy.*
* **Purpose**: Ensures the market's volume-weighted center of gravity is near your intended pin. This indicates the market has "found" the price level you are betting on.
---
## 3. Data Requirements & Calculations
### A. Technical Indicators
1. **SPX RSI (14)**:
* Timeframe: 5-Minute Bars.
* Smoothing: Standard Wilder's smoothing.
* Lookback: 14 periods.
2. **Daily VWAP**:
* Reset: Every day at 09:30 AM ET.
* Price: `(High + Low + Close) / 3` or simply `Close` of the 5-min bar.
* Volume: Total volume of the corresponding 5-min SPY bar.
### B. Option Parameters
* **Center_Strike**: The middle (short) strike of the Butterfly spread.
* **Butterfly Spread**: The distance between the wings and the center strike (e.g., 50-point wings).
---
## 4. Execution Logic
1. **Scanning**: Every 5 minutes during the Golden Windows, check Rule 2 (RSI) and Rule 3 (VWAP).
2. **Trade Selection**: If multiple Butterfly spreads are available, select the one where the `Center_Strike` is closest to the `Current_Price`.
3. **Entry Limit**: Maximum of **one trade per day**. Once a trade is entered, stop scanning for the remainder of the day.
4. **Baseline Benchmark**: Always compare live performance against a "Random Entry" baseline (entering 3 random butterflies throughout the day) to verify ongoing alpha.
---
## 5. Expected Performance (Historical Backtest)
Based on 2024-2025 backtesting data:
* **Strategy Win Rate**: ~66.4%
* **Average Profit per Trade**: ~$334
* **Best Performing Day**: Monday (Avg Profit ~$519)
* **Selective Trading**: Trades ~75% of available market days (375 out of 500 days).






















