[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.
Indicateurs et stratégies
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).
YUSUF KARA YZLM Moving Average and Buy/Sell SignalsThis indicator is a comprehensive technical analysis tool that combines dynamic trend tracking and a multiple moving average system. It offers four different moving average lines along with pivot points and an ATR (Average True Range) based trailing stop system.
Features
1. Dynamic Trend Following System
Center calculation based on pivot points (high/low)
Adjustable trailing stop levels with ATR factor
Automatic BUY and SELL signals
Colored line according to trend direction (Green: Uptrend, Red: Downtrend)
2. Multiple Moving Average System
4 different periods (default: 10, 50, 100, 200)
4 different calculation methods:
EMA (Exponential Moving Average)
SMA (Simple Moving Average)
WMA (Weighted Moving Average)
HMA (Hull Moving Average)
Same calculation method or source selection for all periods
Parameters
Trend Following Settings:
Pivot Point Period (2): Calculation period of pivot points
ATR Factor (3): ATR multiplier that determines the trailing stop width
ATR Period (10): ATR calculation Period
Moving Average Settings:
Period Type: Select EMA, SMA, WMA, or HMA
Period Type: Data source (Close, Open, High, Low, etc.)
Periods 1-4: Moving average periods
How to Use
Trend Signals:
BUY tag: Beginning of an uptrend (green)
SELL tag: Beginning of a downtrend (red)
The trend line shows the trailing stop level
Moving Averages:
Blue (10), Black (50), Orange (100), Red (200)
Can be used to identify support/resistance levels and trend direction
Crossovers are important signal points
Strategy Suggestions
BUY signal + price above moving averages = Strong buy
SELL signal + price below moving averages = Strong sell
The trend line can be used as a stop-loss level
Moving average crossovers confirm trend changes
Warnings
Each signal means a profitable trade It will not come.
Risk management should always be applied.
It is recommended to use it together with other indicators and analysis methods.
Past performance does not guarantee future results.
VIXO - VIX OscillatorVIXO (VIX Oscillator) is a volatility oscillator built from the CBOE Volatility Index (symbol: TVC:VIX). It helps visualize volatility regime shifts by combining a smoothed VIX RSI with a normalized VIX momentum component, plus a VIX histogram that becomes more/less prominent depending on how far VIX is from its moving average. It helps you assess whether market conditions may be approaching rare but powerful squeeze phases.
WHAT THIS INDICATOR PLOTS
1) VIX RSI (cyan line)
- RSI is calculated on the VIX close and then smoothed (SMA) to reduce noise.
- Use it to observe short-term momentum in volatility rather than price.
2) VIX Normalized Momentum (gray line)
- Momentum is measured as ROC (rate of change) of the VIX close.
- That ROC is normalized to a 0–100 scale using a rolling lookback window:
- 50 is the midpoint of the recent momentum range (neutral within the selected window).
- Values near 0/100 indicate momentum near the low/high of that lookback window.
3) VIX Value Bars (histogram)
- Histogram shows the raw VIX value.
- Bar visibility is dynamically adjusted (transparency changes) based on the ratio of VIX to its 21-period SMA:
- When VIX is close to its MA, bars are more transparent.
- When VIX deviates more from its MA (within a capped range), bars become more visible.
- If VIX High is below 30, the script intentionally keeps bars fully transparent to reduce visual clutter.
LEVELS (REFERENCE ONLY)
The horizontal levels are visual guides to help segment oscillator zones. They are not guarantees and should not be treated as standalone trade signals:
- 80: “Panic of Market”
- 60: “VIX says BUY” (label only; not financial advice)
- 50: “Neutral / Momentum Mid”
- 40: “Get Ready”
HOW TO USE
- Apply VIXO to any chart. The indicator always pulls TVC:VIX data, regardless of the chart symbol.
- Typical interpretation:
- Rising VIX RSI and/or rising normalized momentum can indicate increasing volatility pressure.
- Falling readings can indicate volatility easing.
- Compare changes in VIXO with your chart’s price structure, trend filters, or risk management framework.
INPUTS
- RSI Length: RSI period on VIX close (smoothed afterward).
- Momentum Length: ROC period on VIX close.
- Momentum Normalization Lookback: window used to scale ROC into 0–100.
DATA & BEHAVIOR NOTES
- Data source: request.security("TVC:VIX", timeframe.period, OHLC).
- The script does not use lookahead to access future data.
- On realtime bars, values can update while the current bar is forming; historical bars remain fixed once closed.
- Availability of TVC:VIX data depends on your TradingView data access.
IMPORTANT DISCLAIMER
This indicator is provided for educational and informational purposes only and does not constitute financial, investment, or trading advice. It does not predict the future, does not guarantee results, and should not be used as the sole basis for any trading decision. Always validate signals with additional analysis and use appropriate risk management.
SPY 9EMA + Momentum + Patterns + PT (TF-aware)9ema crossover, candle shapes, call/put on 3m-5m-10-15min time frames
SMC Pro Max Ultra [ by josh]This indicator is a comprehensive hybrid trading system and market-structure assistant designed for **EDUCATIONAL PURPOSES ONLY**. It synergizes advanced Smart Money Concepts (SMC) with quantitative algorithmic filtering (Hybrid Logic) to help traders visualize market context, filter out noise, and identify high-probability areas of interest.
**What it shows**
* **Advanced Market Structure:** Visualizes dual-layer structure mapping (Swing vs. Internal) with automated labeling for BOS (Break of Structure), CHoCH (Change of Character), and MSS (Market Structure Shift), including Strong/Weak High & Low identification.
* **Smart Zones & Logic:** Automatically plots Order Blocks (OB), Breaker Blocks, Fair Value Gaps (FVG), and Supply/Demand zones. Includes a "Mitigation Filter" to auto-hide zones that have already been tested to keep the chart clean.
* **Liquidity & Traps:** Highlights structural liquidity pools (EQH/EQL), detects real-time Liquidity Sweeps (Stop Hunts), and identifies potential Bull/Bear Trap zones.
* **"Sniper" Signal Models:** Features multiple signal engines ranging from Classic RSI reversals (Sni 1) and Trend Following (Sni 2) to the strict "Sniper Protocol" (Sni 3/4) for precision entries.
* **Algorithmic Confluence (The Brain):** A sophisticated rule-based scoring system that weights Higher Timeframe (HTF) alignment, ADX Momentum, Volume Spikes, and Fibonacci "Golden Pocket" confluence.
* **Safety Protocols:** Includes a "Chop Filter" (based on Choppiness Index) to detect low-quality sideways markets and suppress signals during dangerous conditions.
* **Risk Management:** Visualizes simulated Entry, Stop Loss, and Take Profit lines based on customizable Risk:Reward ratios or structural invalidation points.
**About “AI” / Scoring**
The "AI" features in this script refer to **Algorithmic Intelligence**—a complex set of hard-coded conditional logic designed to process multiple data points simultaneously. It is **NOT** Machine Learning and does **NOT** predict the future. The "AI Score" displayed on the dashboard is a statistical evaluation of the current market conditions (Trend + Momentum + Volatility) to serve as a confirmation filter only.
**Important Disclaimer**
This indicator does **NOT** provide financial advice and does **NOT** guarantee profits. Trading involves significant risk, and you can lose money. Any signals, backtest simulations, or dashboard statistics are strictly informational and for research purposes only. Past performance shown in the simulation is not indicative of future results. Always perform your own analysis and manage risk responsibly.
**Recommended Use**
Use it as a systematic decision-support tool:
1. **Identify Context:** Use the structure mapping to determine the dominant trend bias.
2. **Wait for Zone Interaction:** Allow price to retrace into High-Probability zones (OB/FVG).
3. **Check the "Score":** Use the Dashboard to ensure the Market is not "Choppy" and the Confluence Score is high.
4. **Confirm Entry:** Execute only when a specific signal (e.g., Sniper 3 or Engulfing Pattern) aligns with your analysis.
**Automation Note**
This script includes alert functionality compatible with third-party bridges. However, if you choose to connect alerts to an external system for automated execution, you do so entirely at your own risk and responsibility. This script is primarily designed as a visual technical indicator, not a "set-and-forget" trading bot.
Multi-timeframe RSI & Stochastic dashboard with visual gradient █ OVERVIEW
The MTF RSI + Stochastic Dashboard displays RSI and Stochastic values across 6 customizable timeframes in a compact, visual format. Instead of switching between charts or opening multiple indicator windows, see all your momentum data at a glance.
This indicator combines two of the most popular oscillators (RSI and Stochastic) and shows you where they agree—and where they don't.
█ FEATURES
- 6 Customizable Timeframes — Default: 1m, 5m, 15m, 1H, 4H, Daily (fully adjustable)
- Combined RSI + Stochastic Signal — Shows agreement between both indicators
- Visual Gradient Meters — Left side = Stochastic, Right side = RSI
- Color-Coded Status — OB (Overbought), OS (Oversold), Bull, Bear, S.Bull (Strong Bull), S.Bear (Strong Bear), Mixed
- Overall Trend Bias Bar — Shows percentage of timeframes bullish vs bearish
- Built-in Alerts — Trigger when all timeframes align or reach 80%+ agreement
- Fully Customizable — Colors, position, scale, spacing all adjustable
█ HOW TO READ IT
ROW 1 - TIMEFRAME
Shows which timeframe each column represents.
ROW 2 - COMBINED VALUE
The average of RSI and Stochastic for that timeframe. Color indicates the current state.
ROW 3 - STATUS
- OB = Both RSI and Stochastic overbought (>70/80)
- OS = Both RSI and Stochastic oversold (<30/20)
- Bull = Both indicators bullish (>50)
- Bear = Both indicators bearish (<50)
- S.Bull = Strong bullish (one OB, one Bull)
- S.Bear = Strong bearish (one OS, one Bear)
- Mixed = Indicators disagree
ROW 4 - GRADIENT METERS
Visual representation of RSI (right half) and Stochastic (left half) levels.
- Purple/Magenta = Overbought zone
- Green = Bullish zone
- Yellow/Orange = Neutral zone
- Red = Bearish zone
- Cyan = Oversold zone
BOTTOM BAR - TREND BIAS
Shows overall market bias based on all 6 timeframes.
- STRONG BULL = 70%+ timeframes bullish
- BULL = 55%+ timeframes bullish
- STRONG BEAR = 70%+ timeframes bearish
- BEAR = 55%+ timeframes bearish
- MIXED = No clear direction
█ HOW TO USE IT
CONFLUENCE TRADING
Look for multiple timeframes showing the same status. When 4+ timeframes agree, the signal is stronger.
DIVERGENCE SPOTTING
If lower timeframes show bearish while higher timeframes show bullish, price may be pulling back in an uptrend—potential buy opportunity.
OVERBOUGHT/OVERSOLD EXTREMES
When multiple timeframes hit OB or OS together, watch for potential reversals.
TREND CONFIRMATION
Use the bias bar to confirm your directional bias before entering trades.
█ SETTINGS
RSI Settings
- Length, Source, OB/OS levels
Stochastic Settings
- %K Length, %K Smoothing, %D Smoothing
- Choose to display %K or %D
- OB/OS/Mid/Zero levels
Timeframes
- 6 fully customizable slots
Layout
- Position offset, scale, box sizing, spacing
Colors
- Full control over all visual elements
█ ALERTS
- All Timeframes Bullish — Triggers when all 6 show bullish
- All Timeframes Bearish — Triggers when all 6 show bearish
- Strong Bullish Alignment — Triggers at 80%+ bullish
- Strong Bearish Alignment — Triggers at 80%+ bearish
█ BEST WAY TO DISPLAY THIS INDICATOR
For optimal viewing, follow these steps:
1. ADD THE INDICATOR
• Keep all settings at default — they're optimized for immediate use
2. SCALE YOUR CHART
• Right-click on the price scale (right side of chart)
• Select "Reset Price Scale" or double-click the price scale
• Use your mouse scroll wheel on the price scale to zoom OUT vertically
• This enlarges the indicator relative to the price action
3. POSITION ADJUSTMENT (if needed)
• Vertical Offset: Increase if indicator overlaps candles
• Horizontal Offset: Move left/right to your preference
• Overall Scale Size: Increase for larger display (default 2.0)
4. CHART SHIFT (recommended)
• Enable "Shift Chart" at the bottom-right of TradingView
• This gives the indicator room on the right side of your chart
PRO TIP: The indicator scales with your visible price range. Zoom out on the price scale (not the time scale) to make the dashboard larger and easier to read.
█ NOTES
- Non-repainting: Uses confirmed bar data for calculations
- Overlay indicator: Displays directly on your price chart
- Compatible with all markets and timeframes
- Free to use — part of the XRayTrade indicator collection
█ CREDITS
Developed by XRayTrade
Global Market Hours Open/Close Publishes market hour ranges for: London, New York, Toronto, Paris, New Zealand, Tokyo, Australia, Shanghai, Hong Kong and Bonbay.
Accounts for Daylight Savings time
Used for informational purposes only
2-Year Simple Moving Average (SMA)2-Year Simple Moving Average (SMA)
This indicator plots a 2-year Simple Moving Average (SMA) of price, designed to highlight long-term market trends and major support or resistance zones.
The 2-year SMA automatically adapts to the chart’s timeframe:
Daily charts: Uses either trading days (≈252 per year) or calendar days (365 per year)
Weekly charts: Uses 52 weeks per year
Monthly charts: Uses 12 months per year
Intraday charts: Estimates bars per year based on the selected timeframe
An optional secondary smoothing moving average can be applied to the 2-year SMA itself, with multiple smoothing types available:
SMA
EMA
SMMA (RMA)
WMA
VWMA
SMA with optional Bollinger Bands
When “SMA + Bollinger Bands” is enabled, volatility bands are calculated using the standard deviation of the 2-year SMA, helping visualize trend stability and expansion.
This indicator is best suited for:
Identifying long-term trend direction
Locating macro support and resistance
Filtering short-term market noise
Assessing price position relative to long-term fair value
Ideal for investors and swing traders seeking a high-timeframe trend reference rather than short-term trade signals.
By JezzaBTC
OHLC Levels - BhavinMark Daily, Monthly and Weekly levels for any ticker, for any time frame, for any market
TG VolumeOverview
This volume analysis suite goes beyond standard volume bars. It is designed to expose institutional accumulation by dissecting "Real Volume" (buying vs. selling pressure within a single candle), identifying Pocket Pivots, and streaming critical liquidity data directly on your chart via a custom Heads-Up Display (HUD).
How It Works
For The Beginner (Volume Decoded)
Standard volume bars only tell you the total shares traded and are colored based on whether the price closed higher or lower than it opened. This indicator digs deeper:
Split Volume Bars: The bars are visually split into two distinct parts:
Solid/Darker Color: Represents the "winning" side (e.g., buying volume on a green day).
Lighter/Partial Color: Represents the "losing" side (e.g., selling pressure near the top of a wick on a green day).
Why this matters: A green candle with a huge upper wick often looks like strong buying on a normal chart. This tool highlights the selling pressure (wick) in a different color, showing you the real story.
The Dashboard (HUD): A small table in the corner tells you if the stock is trading unusually high volume compared to its average ("Rel Vol"), and if there is enough dollar liquidity for your position size.
For The Technical Trader (The Logic)
This script integrates advanced volume profiling and VSA (Volume Spread Analysis) concepts:
Pocket Pivot Recognition: Automatically highlights specific volume signatures where up-volume is higher than the maximum down-volume of the last X days (default 10). This is a classic signal of institutional footprint often seen before breakouts.
Relative Volume (RVol) Factor: Calculates current volume vs. a moving average (SMA/EMA) to generate an RVol multiplier (e.g., "3.5x average volume").
Highest Volume Detection: Highlights bars that represent the highest "Up Volume" in a set lookback period (e.g., 252 days/1 year), flagging potential climactic buying or "Skyscraper" volume events.
Up/Down Volume Ratio: Calculates the sum of "Real Buying Volume" vs. "Real Selling Volume" over 50 bars to determine who is winning the medium-term war (Bulls vs. Bears).
Key Features & Visuals
1. Advanced Volume Bars
Dual-Tone Coloring: Visualizes the battle between bulls and bears within a single candle.
Green Candle: The body volume is painted dark green (buying), while the upper wick volume is painted light red/pink (selling).
Red Candle: The body volume is painted dark red (selling), while the lower wick volume is painted light green (buying).
Pocket Pivot Highlights: Bars meeting the Pocket Pivot criteria are painted a distinct bright green (Body) and red (Wick) to stand out immediately from standard volume days.
2. The Data Dashboard (HUD)
A concise table displaying actionable data:
Vol / Avg / RelVol: Shows Current Volume, Average Volume, and the Relative Volume Multiplier (e.g., x2.5).
Liquidity Check (Avg $): Displays the Average Daily Dollar Volume (Price * Avg Volume).
Why: Helps you size positions. If a stock trades $2M a day, you know not to trade a $500k position.
Max Position Sizing: Calculates a "Max Trade" value based on a user-defined multiplier of the average daily dollar volume.
U/D Ratio: The Up/Down Volume Ratio over the last 50 periods. A value > 1.0 indicates net accumulation.
3. Smart Alerts
Highest Volume: Visual alerts (special colors) when a bar exceeds the highest up-volume of the last year (252 days).
Threshold Highlights: The dashboard text turns green/red when specific liquidity or relative volume targets are met.
Settings Guide
Volume Colors: Customize the colors for Up, Down, and "Partial" (Wick) volume to fit your chart theme.
Relative Volume:
Length: Lookback period for average volume (default 10).
Target: The RVol multiplier required to highlight the dashboard text.
Pocket Pivot:
Lookback: Number of days to check for down-volume (default 10).
Ratio: Strictness of the pivot calculation.
Avg $ Volume: Set your minimum liquidity target (e.g., $2,000,000) to filter out illiquid penny stocks.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Always verify data and manage risk independently.
BullCycle AllocatorBullCycle Allocator is a bull-only trend allocation strategy designed to capture early bullish cycles using momentum-based entries and structured risk management.
The strategy enters long positions when Elephant Bars (EB) signal strong demand and manages the trade through the Supertrend, which defines the active bullish cycle and protects gains as the trend develops.
Risk is fixed per trade using MLPT (Maximum Loss Per Trade), while position size adapts automatically to volatility.
All exits are close-based only, avoiding intrabar noise.
BullCycle Allocator is not a scalping system.
It is built to enter early, stay aligned with the cycle, and exit when the bullish structure breaks.
BTC vs GOLD Macro RotationBTC vs GOLD Macro Rotation Indicator
BTC vs GOLD Macro Rotation Model
This indicator is a macroeconomic rotation model that compares the relative attractiveness of Bitcoin (BTC) versus Gold (GOLD) based on multiple fundamental macro factors.
How does it work?
The model analyzes weekly data from various macroeconomic indicators and generates a score for each asset. The taller bar indicates the preferred asset to rotate capital into.
- Green bars (above zero): BTC strength
- Yellow bars (below zero):GOLD strength
- Info table:Shows exact percentages and rotation recommendation
Macroeconomic Factors Analyzed:
1. DXY (US Dollar Index)
- Strong dollar → Favors GOLD
- Weak dollar → Favors BTC
2. Oil (WTI Crude)
- Oil rising → Favors GOLD
- Oil falling → Favors BTC
3. Copper
- Copper rising → Favors BTC (risk-on)
- Copper falling → Favors GOLD (risk-off)
4. Real Rates (Fed Funds - YoY Inflation)
- Real rates falling → Favors GOLD
- Real rates rising → Favors BTC
5. Fertilizer/Natural Gas Regime (Urea, Ammonia, Natural Gas)**
- Specific combinations of movements in these commodities generate inflationary/deflationary regime signals
Fertilizer Rules:**
| Urea | Ammonia | Gas | Signal |
|------|---------|-----|--------|
| ↑ | ↑ | ↓ | GOLD +2 |
| ↑ | ↑ | ↑ | GOLD +3, BTC -1 |
| ↓ | ↓ | ↓ | BTC +3, GOLD -1 |
| ↑ | ↓ | ↓ | BTC +3 |
| ↓ | ↑ | ↑ | GOLD +3, BTC -1 |
Technical Features:
- Operates on weekly timeframe regardless of chart
- Normalized changes for signal stability
- Configurable EMA smoothing
- Safe handling of invalid symbols (won't break if a ticker doesn't exist)
- All tickers are user-editable
Configurable Inputs:
- Symbols for all assets (BTC, GOLD, DXY, Oil, Copper, CPI, Fed Funds, Gas, Urea, Ammonia)
- Individual weights for each macro component
- Normalization length
- EMA smoothing
Interpretation:**
- **BTC dominant (taller green):** Macro conditions favor risk/digital assets
- **GOLD dominant (taller yellow):** Macro conditions favor safe-haven/tangible assets
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research before making investment decisions.
Recommended Timeframe: Weekly (W) or Daily (D)
TG ChartOverview
This indicator is a hybrid technical and fundamental analysis suite designed to identify high-probability trend setups. It combines a multi-timeframe moving average system with a "heads-up display" (dashboard) that streams real-time volatility, float rotation, and quarterly financial data directly onto your chart.
How It Works
For The Beginner (The "Traffic Light" Concept)
Think of this indicator as a health check for the stock you are watching.
The Chart: The candlesticks change color based on the "health" of the trend.
Green/Yellow Candles: The stock is in a healthy uptrend.
Standard Colors: The stock is consolidating or trending down.
The Table: This is your dashboard. It looks at the company's "report card" (Earnings and Revenue) and how much the stock price moves on average (Volatility). If you see bright green numbers in the table, the company is growing fast and meeting specific targets.
For The Technical Trader (The Logic)
This script implements a Multi-Timeframe Trend Template combined with fundamental screening.
Trend State Logic: The script calculates daily Moving Averages (EMA 10/21, SMA 50/150/200) regardless of the chart timeframe you are viewing. It confirms an uptrend only when specific criteria are met (e.g., Price > SMA50 > SMA150 > SMA200 and Price > 52-Week Low).
Momentum Filter: It utilizes a proprietary "Strict" mode that analyzes the slope of the SMA200 and recent percentage performance to differentiate between an "Early Uptrend" and a "Confirmed Uptrend."
Fundamental Overlay: It pulls non-price data (Earnings, Revenue, Float, Shares Outstanding) to validate if the technical breakout is supported by fundamental growth.
Key Features & Visuals
1. Smart Candlestick Coloring
Trend Coding: Bars are colored (e.g., Pale Green or Yellow) when the stock enters a defined trend stage. This helps you instantly recognize if a stock is in a "Stage 2" markup phase.
Upside Reversals: Can optionally highlight specific reversal patterns where price undercuts a low but closes strong.
Previous Close Coloring: Option to color bars based on relation to the previous close rather than the open (useful for gap analysis).
2. The Data Dashboard (HUD)
A customizable table displaying critical data points:
Market Cap & Industry: Categorizes the stock size and sector.
VIX Comparison: Real-time monitoring of the Volatility Index (VIX) vs. the previous day's close to gauge broad market sentiment.
Volatility (ADR/ATR): Displays Average Daily Range (ADR) and Average True Range (ATR). It highlights when volatility is contracting (tightening) or expanding.
Float Rotation: Calculates the share float and estimates rotation (Volume / Float) to identify high-demand low-float runners.
Financials: Displays the last 4 quarters of EPS and Revenue, calculating the QoQ (Quarter over Quarter) growth % to highlight accelerating fundamentals.
3. Multi-Timeframe MAs
Plots Daily Moving Averages (10, 21, 50, 150, 200) on lower timeframes (like the 5m or 15m chart), allowing you to see major daily support/resistance levels without switching charts.
Settings Guide
Candlestick: Toggle body/border/wick colors for different trend states (Early vs. Confirmed).
Uptrend Confirmation:
Strict Mode: Requires the SMA200 to have a positive slope (consecutive up days).
Trigger %: Defines the required price performance over a set lookback period to trigger the uptrend state.
Moving Averages: Select which daily MAs to display (EMA vs. SMA) and adjust their lengths.
Table Settings: Fully customizable targets. Set your thresholds for Market Cap, Target ADR %, and Earnings Growth % to control when the dashboard highlights data in green.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Always verify data and manage risk independently.
Z Score FilterComposite Risk Filter
This indicator works because it aggregates several independent but structurally important stress channels (currency strength, rates, equity volatility, bond volatility, and credit conditions) into a single normalized measure. Each input is transformed into a z-score, meaning the composite does not care about absolute levels, narratives, or regimes; it only measures whether conditions are tightening or easing relative to what has been normal recently. That makes the output robust to inflation, secular trends, and structural shifts that break simpler correlations.
What the indicator captures is not direction but constraint. Markets do not move because risk is “on” or “off”; they move because certain behaviors are more or less permitted under prevailing financial conditions. By identifying when systemic pressure is elevated, relaxed, or neutral, the indicator helps align trade expectations with the environment price is operating in. When used as a filter — not a signal — it reduces false confidence, improves expectancy selection, and keeps price in the primary role where it belongs.






















