Pivot point moving averagesPivot Point Moving Averages builds moving averages from confirmed pivots, not from every bar.
Instead of averaging all highs and lows, this script:
Detects swing pivot highs and pivot lows using a configurable Pivot length (pivotLen).
Converts these sparse pivot prices into continuous series of:
last confirmed pivot low
last confirmed pivot high
Applies a user-selectable moving average (SMA / EMA / RMA / WMA / VWMA) to each of those pivot series.
Plots the two resulting lines and shades the area between them as a pivot value cloud.
Because the lines only move when a new pivot is confirmed, they represent structural acceptance rather than raw volatility. Short “noise” moves and stop hunts between pivots have much less impact on these averages.
You can also enable an optional second pivot MA cloud:
Uses the same Pivot length for structural detection.
Has its own MA length and type.
Can run on a different timeframe (e.g. D, 240, W).
Is projected back onto the current chart so you see local pivot value and higher-timeframe pivot value together.
Why it’s useful
Traditional MAs:
React to every bar.
Move on noise, wicks, and stop runs.
Don’t distinguish between “meaningful” structure and random fluctuation.
This tool uses confirmed pivots, so it is better suited to market structure and phase analysis:
Pivot MA low reflects how demand is stepping up (or down) as new swing lows form.
Pivot MA high reflects how supply is pressing down (or easing) as new swing highs form.
The cloud between them acts as a dynamic, structure-based value area.
Typical interpretations:
Price inside the pivot cloud → balance / fair value area.
Price above the pivot cloud → bullish value expansion.
Price below the pivot cloud → bearish value expansion.
Cloud compressing → possible energy build-up, transition between phases.
Cloud expanding → stronger directional conviction.
With the second cloud enabled on a higher timeframe, you can:
See whether lower-timeframe structure is building with or against the higher-timeframe pivot value.
Use the HTF cloud as a background bias and the LTF cloud for timing and fine-grained context.
Notes
All pivot-based tools have inherent delay: a pivot is only confirmed after pivotLen bars to the right.
On very low timeframes, long pivotLen + long MA lengths will make the lines slower to react.
This is intended as a context and structure tool, not a standalone entry signal.
Trend Analysis
Seasonality Table: % Move by Day x Month (Open vs Prev Close)Short description
A compact seasonality heatmap that shows the average daily open vs previous session close move for each calendar day (1–31) across months (Jan–Dec).
What it does
This indicator builds a Day × Month table where each cell displays the historical average of:
(Open/Close-1) -1 x 100
In other words: how the market typically “opened” relative to the prior day’s close, grouped by day of month and month.
How to read it
Rows = Day of month (1–31)
Columns = Months (Jan–Dec)
Cell value = average percentage move (signed format like +0.23% or -0.33%)
Heatmap = stronger color intensity indicates larger absolute average moves
Today highlight = the current calendar day cell is visually highlighted for fast context
Key settings
Reference timeframe (Daily): uses daily session data as the source of truth
Decimals / Signed formatting: control numeric display
Theme controls: fully customizable colors for positive/negative/neutral cells, headers, labels, and text
Font sizes: independently adjust header/labels/values
Heatmap scaling: set “max abs (%)” to match the volatility of the instrument
Notes / limitations
The indicator depends on the historical data available on TradingView for the selected
symbol and timeframe.
This is a statistical visualization tool. It does not predict future returns and does not generate trade signals.
Disclaimer
This script is for educational and informational purposes only and is not financial advice. Trading involves risk. Always do your own research and use proper risk management.
Bollinger Bands + MA 50/100/200📊 Bollinger Bands + MA 50 / 100 / 200 Indicator
This indicator combines Bollinger Bands with key Moving Averages (50, 100, 200) to help you spot trend direction, volatility, and potential reversal zones in one clean view.
🔹 Bollinger Bands
* Customizable length & MA type (SMA, EMA, RMA, WMA, VWMA)
* Visualizes market volatility
* Upper & lower bands help identify overbought / oversold conditions
🔹 Moving Averages
* MA 50 → Short-term trend
* MA 100 → Medium-term trend
* MA 200 → Long-term trend & major support/resistance
* Easy toggle on/off for clean charting
💡 How to use
* Price near upper band + strong MA trend → possible continuation
* Price near lower band → watch for bounce or breakdown
* MA alignment (50 > 100 > 200) → bullish trend
* MA cross & BB squeeze → potential breakout incoming
⚠️ Best used with price action & risk management
📌 Works on stocks, crypto, forex, indices
Volatility State Index [Interakktive]The Volatility State Index (VSI) classifies market volatility into three behavioral states: Expansion, Decay, and Transition. It answers one question visually: Is volatility supporting price movement, withdrawing, or unstable?
Unlike traditional volatility indicators that show levels or bands, VSI diagnoses the current volatility regime so traders can adapt their approach accordingly.
█ WHAT IT DOES
• Classifies volatility into three states: Expansion (teal), Decay (grey), Transition (amber)
• Measures volatility momentum as a percentage rate-of-change
• Applies stability filtering to detect unstable/choppy conditions
• Uses persistence logic to prevent state flickering
• Exports state data for use in alerts and strategies
█ WHAT IT DOES NOT DO
• NO buy/sell signals
• NO entry/exit recommendations
• NO alerts (v1 is diagnostic only)
• NO performance claims
This is a volatility diagnostic tool, not a trading system.
█ HOW IT WORKS
The VSI processes volatility through a five-stage pipeline:
STAGE 1 — Base Volatility
Calculates ATR as the foundation for volatility measurement.
STAGE 2 — Smoothing
Applies EMA smoothing to reduce noise in the volatility series.
STAGE 3 — Volatility Momentum
Computes the percentage rate-of-change of smoothed volatility:
Volatility Momentum (%) = ((Current ATR - Previous ATR) / Previous ATR) × 100
Positive values indicate expanding volatility; negative values indicate contracting volatility.
STAGE 4 — Stability Filter
Tracks how frequently volatility momentum changes direction. Frequent sign changes indicate unstable, choppy conditions.
Stability Score = 1 - (Average Flip Rate)
Low stability forces the Transition state regardless of momentum level.
STAGE 5 — State Classification
Combines momentum thresholds and stability to determine the final state:
• Expansion: Momentum ≥ +5% (default threshold)
• Decay: Momentum ≤ -5% (default threshold)
• Transition: Between thresholds OR low stability
A persistence filter requires states to hold for multiple bars before confirming, preventing visual noise.
█ INTERPRETATION
EXPANSION (Teal)
Volatility is increasing in a sustained way. Price moves are becoming larger.
What it suggests:
• Breakouts are more likely to follow through
• Stops may need wider placement
• Trend-following approaches tend to work better
• Mean-reversion weakens
DECAY (Grey)
Volatility is decreasing. Price is compressing into tighter ranges.
What it suggests:
• Breakouts are more likely to fail
• Ranges tend to hold
• Trend-following underperforms
• Mean-reversion strengthens
TRANSITION (Amber)
Volatility behavior is unclear or unstable. This is NOT neutral — it is uncertainty.
What it suggests:
• Mixed signals — one bar huge, next bar dead
• Higher whipsaw risk
• Reduced conviction in either direction
• Consider waiting for clarity
The key insight: Amber is a warning, not a middle ground. It appears when volatility cannot decide what it wants to do.
█ VISUAL DESIGN
The indicator uses a state-first histogram design:
• Histogram height shows volatility momentum percentage
• Histogram color shows the classified state
• Zero line provides visual anchor
• Optional momentum line for confirmation
• Optional background tint (default OFF for clean charts)
The visual hierarchy prioritizes instant state recognition. A trader should understand the volatility environment in under one second without reading numbers.
█ INPUTS
Core Settings
• ATR Length: Base volatility measurement period (default: 14)
• Smoothing Length: EMA smoothing applied to ATR (default: 10)
• Momentum Length: Rate-of-change lookback (default: 10)
State Classification
• Expansion Threshold (%): Momentum above this = Expansion (default: 5.0)
• Decay Threshold (%): Momentum below this = Decay (default: -5.0)
• Persistence Bars: Bars required to confirm state change (default: 3)
• Stability Lookback: Window for stability calculation (default: 20)
• Stability Threshold: Below this = forced Transition (default: 0.5)
Visual Settings
• Show State Histogram: Toggle main display (default: ON)
• Show Momentum Line: Thin confirmation line (default: OFF)
• Show Zero Line: Baseline reference (default: ON)
• Show Background Tint: Subtle state coloring (default: OFF)
█ DATA WINDOW EXPORTS
When enabled, the following values are exported:
• ATR (Raw)
• ATR (Smoothed)
• Volatility Momentum (%)
• Stability Score (0-1)
• State (-1/0/1): Decay = -1, Transition = 0, Expansion = 1
• Is Expansion (0/1)
• Is Decay (0/1)
• Is Transition (0/1)
These exports allow VSI to be used as a filter in Pine Script strategies or alert conditions.
█ ORIGINALITY
While ATR and volatility indicators are common, VSI is original because it:
1. Classifies volatility into behavioral states rather than showing raw levels
2. Applies momentum analysis to volatility itself (rate-of-change of ATR)
3. Uses stability filtering to detect genuinely unstable conditions
4. Implements persistence logic to prevent state flickering
5. Provides a state-first visual design optimized for instant recognition
VSI is state-first: it classifies volatility regimes (Expansion/Decay/Transition) rather than plotting volatility level alone, using momentum and stability to reduce false regime reads.
This is not a modified ATR or Bollinger Band — it is a volatility regime classifier.
█ SUITABLE MARKETS
Works on: Stocks, Futures, Forex, Crypto
Timeframes: All timeframes — state classification adapts accordingly
Best on: Instruments with consistent volatility patterns
█ RELATED
• Market Efficiency Ratio — measures price path efficiency
• Effort-Result Divergence — compares volume effort to price result
█ DISCLAIMER
This indicator is for educational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis before making trading decisions.
Market Phase Dashboard MTFGetting into a trade is the easy part. if anyone out there could use a little assistance in knowing when to exit a trade this ones for you..
This is a Market Phase Dashboard MTF (Multi-Timeframe) that classifies market conditions into 4 distinct phases based on trend + momentum alignment. Here's what it does:
The 4 Market Phases:
CONTINUATION 🟢 - Uptrend (EMA rising) + Strong momentum (RSI > 55)
Translation: "Trend is strong, keep riding it"
SLOWING 🟠 - Two scenarios:
Uptrend but momentum fading (RSI ≤ 55), OR
Downtrend but momentum not fully committed (RSI ≥ 45)
Translation: "Trend losing steam, be cautious"
EXHAUSTION 🔴 - Downtrend (EMA falling) + Weak momentum (RSI < 45)
Translation: "Trend is dying, possible reversal coming"
NEUTRAL ⚪ - Anything that doesn't fit above (shouldn't happen much with these thresholds)
Multi-Timeframe View:
Shows phases for:
Chart TF - Whatever timeframe you're viewing (only updates on confirmed bar close)
5m - Always shows 5-minute phase
15m - Always shows 15-minute phase
Visual Cues:
Background color changes based on the live chart timeframe phase (updates in real-time, not waiting for bar close)
Table shows confirmed phases for all timeframes
Practical Use:
Helps you understand if different timeframes are aligned. For example:
All 3 showing CONTINUATION = strong aligned trend, high confidence trades
15m EXHAUSTION but 5m CONTINUATION = possible short-term bounce in downtrend
Mixed signals = choppy/transitional market, stay cautious
It's basically a trend health checker across multiple timeframes at a glance! I am also in the works of adding every higher time frame so that it will consist of 5 min all the way to the 12 mo time frame i will keep you guys updated as i update this indicator.
Goldbach Timing Model This indicator is designed as a simple visual framework rather than a rigid signal system. It highlights time-based structure and key alignment zones to help identify when price behavior is more likely to be active or responsive. The logic is intentionally flexible, allowing the user to apply their own discretion instead of relying on strict conditions. Its primary value is visual clarity and context, not automatic entries or exits.
MTF rsi/stoch imdI just built this indicator.
It displays a multi-timeframe (MTF) table directly on the chart, showing Stoch RSI K and RSI values per timeframe.
Cell background colors are driven by predefined value ranges, while text color turns green or red depending on whether the value is rising or falling compared to the previous candle on the same timeframe.
The RSI color conditions are based on the levels 36, 46, 56, and 65.
The Timeframe Pack selector works as follows:
Pack 1 (BNC): 3m, 9m, 27m, 1h, 81m, 3h, 9h, 12h, 1D, 3D, 1W, 9D
Pack 2: 1h through 24h
Pack 3: 1D through 24D
Pack 4 (Custom): fully user-defined timeframes via the 24 slots
Only when Pack 4 (Custom) is selected do the custom timeframe slots apply; in Packs 1–3 they are ignored.
All visual behavior (box colors, text colors, transparency, or a single-color override) is configurable under Style, and the entire table can be toggled on or off.
BTC - AXIS: Coppock + Williams %R CompositeTitle: BTC - AXIS: Coppock + Williams %R Composite | RM
Overview & Philosophy
AXIS (Advanced X-Momentum Intensity Score) is a specialized momentum composite designed to identify market structural shifts. In physics, an axis is the central line around which a body rotates; in this indicator, the Zero-Baseline acts as the AXIS for capital flow.
By fusing a slow-moving momentum engine ( Coppock Curve ) with a high-sensitivity tactical oscillator ( Williams %R ), this tool filters out the "market noise" that leads to overtrading and focuses on the high-conviction "Trend-Aligned Dips."
Methodology
Most indicators either suffer from too much lag (Moving Averages) or too much noise (Standard RSI). AXIS solves this through "Speed-Balanced Normalization."
1. Macro Engine (Coppock Curve): Named after Edwin Coppock, this component identifies major market bottoms by smoothing two separate Rates of Change (RoC). It is your structural compass.
2. Tactical Trigger (Williams %R): Created by Larry Williams, this measures the current close relative to the High-Low range.
• Re-centered Logic: Standard Williams %R oscillates between 0 and -100. Here, this is re-centered to oscillate around zero, ensuring it interacts mathematically correctly with the Coppock baseline.
3. The AXIS Score: The Composite line (Orange) is the weighted sum of these two engines. It provides a singular view of the market's "Net Momentum Intensity."
How to Read the Chart
🟧 The AXIS Composite (Orange Line): The primary signal line. It tracks the speed and exhaustion of the price by fusing macro and tactical data.
• Red Zone (> 150): Overheated. Short and long-term momentum are at extreme highs. Risk of a blow-off top or local reversal is high.
• Green Zone (< -150): Capitulation. The market is statistically exhausted. Historically, these zones represent high-conviction accumulation areas.
• Bullish Momentum (> 0): The market is rotating above the central Axis. Buyers are in control of the trend.
• Bearish Momentum (< 0): The market is rotating below the central Axis. Sellers are in control of the trend.
🟦 The Coppock Line (Blue): The macro filter. When Blue is above 0, the long-term trend is up.
🟥 The Williams %R Line (Red): The short-term cycles. Watch for divergences here to spot early trend fatigue.
Strategy: The "AXIS Alignment" Signal
The highest-conviction entry point—and the primary "Alpha" of this tool—occurs when:
The macro trend is Bullish ( Blue Line > 0 ).
The market experiences a correction, pushing the Orange (AXIS) Line into the Green Capitulation Zone.
The AXIS Score turns back upward.
This indicates that a short-term panic has been absorbed by a long-term bull trend—the ideal "Buy the Dip" scenario.
Settings
• Long/Short RoC: Standardized to 14/11 for cycle accuracy.
• Weighting: Allows you to prioritize trend (Coppock) or cycle sensitivity (%R).
• Visibility Toggles: Fully customizable display switches for each line.
Credits
• Edwin Coppock: For the foundation of long-term recovery momentum.
• Larry Williams: For the Percent Range methodology.
⚠️ Note: This indicator is optimized for the Daily (1D) Timeframe. Please switch your chart to 1D for accurate signal reading.
Disclaimer
This script is for research and educational purposes only. Past performance does not guarantee future results.
Tags
bitcoin, btc, axis, momentum, oscillator, coppock, williams r, on-chain, valuation, cycle, Rob Maths
UIA TrendCompass V1.0UIA TrendCompass v1.0 is a market structure interpretation tool designed to visualize trend states in real time.
The script identifies four structural states based on price behavior and trend continuity:
• T — Trend Start
• E — Trend Extension
• H — Structural High / Low
• X — Trend Exit / Reversal
This indicator is intended for market structure analysis and educational purposes only.
It does NOT provide trading signals, buy/sell recommendations, or investment advice.
All labels are generated based on historical price data and do not predict future market movements.
Users should combine this tool with their own analysis and risk management framework.
This script is provided "as is" with no guarantee of accuracy or performance.
FatihStrategy: Universal Pivot System v3.3.1FatihStrategy: Universal Pivot System v3.3.1 is an advanced technical analysis indicator that combines multi-timeframe pivot averages with EMA trend filters in a single visual system.
🔹 How It Works
Depending on the selected pivot mode, the indicator calculates and visualizes:
Daily & 3-Day Average Pivots
Weekly & 3-Week Average Pivots
Monthly & 3-Month Average Pivots
Yearly & 3-Year Average Pivots
The difference between pivot levels is displayed as colored boxes:
Red Box → Lower timeframe pivot zone
Yellow Box → Higher timeframe pivot zone
These zones help identify potential support, resistance, and consolidation areas.
🔹 EMA Trend Support
Optional exponential moving averages:
20 EMA
50 EMA
200 EMA
can be enabled to assist with trend direction and trade filtering.
🔹 Suitable For
Day traders and swing traders
Pivot-based strategies
Traders looking for clear visual support/resistance zones
Crypto, forex, and stock market analysis
⚠️ Disclaimer
This indicator is not financial advice.
Always use proper risk management and confirm signals with your own trading strategy.
QuantLabs Multi Asset Similarity Matrix [V3 Final]The Market is a graph. See the flows:
The QuantLabs MASM is not a standard correlation table. It is an Alpha-Grade Scanner architected to reveal the hidden "hydraulic" relationships between global macro assets in real-time.
Rebuilt from the ground up for Version 3, this engine pushes the absolute limits of the Pine Script™ runtime. It utilizes a proprietary Logarithmic Math Engine, Symmetric Compute Optimization, and a futuristic "Ghost Mode" interface to deliver a 15x15 real-time correlation matrix with zero lag.
Under the Hood: The Quant Architecture
We stripped away standard libraries to build a lean, high-performance engine designed for institutional-grade accuracy.
1. Alpha Math Engine (Logarithmic Returns) Most tools calculate correlation based on Price, which generates spurious signals (e.g., "Everything is correlated in a bull run").
The Solution: Our engine computes Logarithmic Returns (log(close /close )) by default. This measures the correlation of change (Velocity & Vector), not price levels.
The Result: A mathematically rigorous view of statistical relationships that filters out the noise of general market drift.
Dual-Core: Toggle seamlessly between "Alpha Mode" (Log Returns) for verified stats and "Visual Mode" (Price) for trend alignment.
Calculation Modes: Pearson (Standard), Euclidean (Distance), Cosine (Vector), Manhattan (Grid).
2. Symmetric Compute Optimization Calculating a 15x15 matrix requires evaluating 225 unique relationships per bar, which often crashes memory limits.
The Fix: The V3 Engine utilizes Symmetric Logic, recognizing that Correlation(A, B) == Correlation(B, A).
The Gain: By computing only the lower triangle of the matrix and mirroring pointers to the upper triangle, we reduced computational load by 50%, ensuring a lightning-fast data feed even on lower timeframes.
3. Context-Aware "Ghost Mode" The UI is designed for professional traders who need focus, not clutter.
Smart Detection: The matrix automatically detects your current chart's Ticker ID. If you are trading QQQ, the matrix will visually highlight the Nas100 row and column, making them opaque and bright while dimming the rest.
Dynamic Transparency: Irrelevant data ("Noise" < 0.3 correlation) fades into the background. Only significant "Alpha Signals" (> 0.7) glow with full Neon Saturation.
Key Features
Dominant Flow Scanner: The matrix scans all 105 unique pairs every tick and prints the #1 Strongest Correlation at the bottom of the pane (e.g., DOMINANT FLOW: Bitcoin ↔ Nas100 ).
Streak Counter: A "Stubbornness" metric that tracks how many consecutive days a strong correlation has persisted. Instantly identify if a move is a "flash event" or a "structural trend."
Neon Palette: Proprietary color mapping using Electric Blue (+1.0) for lockstep correlation and Deep Red (-1.0) for inverse hedging.
Usage Guide
Placement: Best viewed in a bottom pane (Footer).
Assets: Pre-loaded with the Essential 15 Macro Drivers (Indices, BTC, Gold, Oil, Rates, FX, Key Sectors). Fully editable via settings (Ticker|Name).
Reading the Grid:
🔵 Bright Blue: Assets moving in lockstep (Risk-On).
🔴 Bright Red: Assets moving perfectly opposite (Hedge/Risk-Off).
⚫ Faded/Black: No statistical relationship (Decoupled).
Key Improvements Made:
Formatting: Added clear bullet points and bolding to make it scannable.
Clarity: Clarified the "Logarithmic Returns" section to explain why it matters (Velocity vs. Price Levels).
Tone: Maintained the "high-tech/quant" vibe but removed slightly clunky phrases like "spurious signals" (unless you prefer that academic tone, in which case I left it in as it fits the persona).
Structure: Grouped the "Modes" under the Math Engine for better logic.
Created and designed with love by David James @QuantLabs : )
Daily/Weekly Swing Highs-Lows + Candle PatternsDescription
Daily/Weekly Swing Highs-Lows + Candle Patterns
This indicator plots the most recent Daily and Weekly Swing Highs and Lows (key support/resistance levels) using a simple and effective logic: a swing high/low is confirmed when the previous bar's extreme is higher/lower than both the current and the one before it.
Features:
• Daily Swing Highs/Lows (teal/maroon circles) – toggleable
• Weekly Swing Highs/Lows (blue/purple circles) – optional
• Visual separators for new daily and weekly bars (light background color)
• Daily candle pattern labels (optional):
- US = Up Swing (strong bullish continuation)
- DS = Down Swing (strong bearish continuation)
- IN = Inside Bar
- OUT = Outside Bar
• Daily close position labels (optional):
- P = Positive (close in upper 25% of the range)
- mP = minor Positive (50–75%)
- mN = minor Negative (25–50%)
- N = Negative (lower 25%)
All elements are fully customizable (colors, visibility) and work on any timeframe.
Best suited for intraday timeframes (1 min to 4 hours) where daily and weekly key levels provide important context for price action and reversals.
The optional "Trading session length" input is mainly useful for markets with shorter sessions (e.g., European indices) and does not affect swing detection.
Open-source, free to use and modify.
How to Use the Indicator + Practical Use Case
Key Settings (Inputs)
Trading session length (hours) → Default 8.5 h (useful for FTSEMIB, DAX, etc.). Leave it as is unless you trade a market with a different session length.
Daily Swing Levels → Show/Hide daily swing highs (teal) and lows (maroon).
Weekly Swing Levels → Usually keep off on intraday charts to avoid clutter (turn on for higher-timeframe context).
Daily Candle Patterns → Enable only if you want to see US/DS/IN/OUT labels on the daily close.
Close Position (P/mP/mN/N) → Enable if you want to quickly see how strong/weak the daily close was.
What You See on the Chart
Teal circles = Last confirmed daily swing high (resistance).
Maroon circles = Last confirmed daily swing low (support).
Blue/purple circles (if enabled) = Weekly swing high/low.
Light gray background = Start of a new trading day.
Purple background (if weekly enabled) = Start of a new week.
Small labels on daily close (if enabled):
- US = strong bullish day
- DS = strong bearish day
- IN = inside bar (consolidation)
- OUT = outside bar (expansion)
- P/mP/mN/N = how far the close was from the high/low of the day.
Best Timeframes 1 min to 240 min charts → Daily levels act as major support/resistance zones for intraday trading.
Avoid using on daily or higher charts (the logic is designed for intraday context).
Why this works well intraday:
The daily swing high/low levels are high-probability zones where institutions and algorithms often defend positions. On intraday charts, they act as “magnets” for price, giving you clean entries and exits with clear invalidation levels.
This indicator keeps your chart clean while providing exactly the context most intraday traders need: key daily levels + daily momentum context.
RS of long term KSTDescription
Relative Strength of KST (Know Sure Thing) momentum between a stock and a reference index (e.g., Intesa San Paolo vs. FTSEMIB).
This indicator computes the KST oscillator separately for the chart symbol and the comparative symbol, then plots the difference (stock KST minus index KST). A positive or rising value indicates the stock has stronger momentum than the benchmark.
Best used on weekly timeframes.
Features:
- Fully configurable KST parameters (ROC lengths, SMA smoothing, weights).
- Signal line (SMA of the RS of KST) for potential crossover signals.
- Zero line for reference.
Rising values or crossings above the signal line may suggest improving relative momentum.
What the Script Does
This indicator calculates the Relative Strength of the KST momentum oscillator between the current chart symbol (e.g., a stock) and a comparative symbol (default: FTSEMIB).
KST Calculation (Know Sure Thing oscillator, originally developed by Martin Pring), computes four Rate-of-Change (ROC) values with different lengths (10, 13, 15, 20 by default). Each ROC is smoothed with its own SMA. The four smoothed ROCs are weighted (weights 1, 2, 3, 4 by default) and summed to create the final KST value.
This is done separately for: The chart symbol → kst
The comparative symbol → kstSymbol
Relative Strength of KST res = kst - kstSymbol
This is a subtraction-based relative strength (difference) of the two KST values, not a ratio, as to avoid singularity (division by zero).
A rising line or value above zero means the stock’s momentum (KST) is stronger than the index’s momentum.
Plotting Plots the RS of KST as a blue line.
Overlays a gray SMA (default length 10) with cross style (acts as a signal line).
Horizontal line at zero for reference.
This is best used on weekly charts (as KST is typically a longer-term momentum indicator).
Simple Trend Pullback Tool (EMA) v1.1Simple Trend Pullback Filter (EMA)
Overview This script is a lightweight, objective tool designed to filter out market noise and identify high-probability entry zones in trending markets. Built on the core principle of "The Rising Tide," it utilizes a dual-EMA cloud to visualize the trend’s health and highlight where the price is likely to find support after an overextended breakout.
How It Works
Trend Identification: The script tracks the alignment between the EMA 50 and EMA 200. When the price is consistently above this "Cloud," the market is in a confirmed uptrend.
The Pullback Logic: Instead of chasing breakouts (which often lead to FOMO-driven losses), this tool highlights the 'Mean Reversion' zone. It signals an entry when price action "pulls back" into the EMA cloud while the primary trend remains bullish.
Simplicity First: There are no laggy oscillators or repainting signals. It uses price action relative to time-weighted moving averages to keep your chart clean and your decisions logical.
Example Use Case: $CUU.V and NASDAQ:RKLB In the current market (December 2025), we see high-velocity breakouts in sectors like Space and Copper. While a stock like Copper Fox ($CUU.V) may jump 28% on merger news, this script helps traders wait for the necessary consolidation back toward the EMA 20/50 support before committing capital.
Settings
EMA 1 (Fast): Default 50 — Tracks intermediate momentum.
EMA 2 (Slow): Default 200 — The "Line in the Sand" for long-term trend direction.
BTC ETF Average Inflow Cost BasisConcept
Since the historic launch of Bitcoin Spot ETFs on January 11, 2024, institutional flows have become a major driver of price action. This indicator aims to visualize the aggregate Cost Basis (average entry price) of the major Bitcoin ETFs relative to the underlying asset.
It serves as an on-chain proxy for institutional positioning, helping traders identify critical support levels where ETF inflows have historically concentrated.
How it Works
The script aggregates daily volume data from the top Bitcoin ETFs (IBIT, FBTC, ARKB, GBTC, BITB) and compares it against the Bitcoin price (BTCUSDT).
ETF Cost Basis (Pink Line):
This is calculated as a Cumulative Volume-Weighted Average Price (VWAP), anchored specifically to the ETF launch date (Jan 11, 2024).
Formula: It accumulates (BTC Price * Total ETF Volume) and divides it by the Cumulative Total ETF Volume.
This creates a dynamic level representing the "breakeven" price for the aggregate volume traded through these funds.
True Market Mean (Gray Line):
This represents the simple cumulative average of the Bitcoin price since the ETF launch date. It acts as a neutral baseline for the post-ETF market era.
How to Use
Institutional Support: The Cost Basis line often acts as a strong dynamic support level during corrections. When price revisits this level, it suggests the market is returning to the average institutional entry price.
Trend Filter:
Price > Cost Basis: The market is in a net profit state relative to ETF flows (Bullish/Trend continuation).
Price < Cost Basis: The market is in a net loss state (Bearish/Capitulation risk).
Confluence: The intersection of the Cost Basis and the True Market Mean can signal pivotal moments of trend reset.
Features
Data Aggregation: Pulls data from 5 major ETFs via request.security without repainting (using closed bars).
Dashboard: Includes a table in the top-right corner displaying real-time values for Price, Cost Basis, and Market Mean.
Customization: You can toggle individual ETF Moving Averages in the settings (disabled by default due to price scale differences between BTC and ETF shares).
Disclaimer
This tool is for educational purposes only and attempts to estimate institutional cost basis using volume proxies. It does not represent financial advice.
AKILLI ANALIZ TERMINALI (V20-REVIZE)SMART ANALYSIS TERMINAL (V20-ULTIMATE)
This indicator is a professional-grade analysis terminal designed for both strategic daily analysis (Swing Trade) and real-time intraday trading (Scalp/Day Trade). It allows you to perform a complete technical X-ray of the market on a single dashboard.
CORE FEATURES:
- Dual-Mode Hybrid Engine: Choose between "NIGHT (ANALYSIS)" or "IN-DAY (AGGRESSIVE)" modes in settings. Mathematical periods and target levels update automatically.
- Smart Scoring System: Blends RSI, MACD, EMA, ADX, and Volume data to produce 5 distinct signals from "VERY POSITIVE" to "VERY NEGATIVE."
- Symmetrical Visual Panel: Left panel displays Live Signal, Pivot Balance, Money Flow, and Target/Support; right panel focuses on RSI, Trend, Momentum, and Volume confirmation.
- Money Flow Algorithm: Detects institutional accumulation (Entry) or distribution (Exit) by analyzing price-volume correlation.
USER GUIDE:
1. NIGHT MODE: Use for evening analysis to plan for the next day. Based on EMA 20/50 and standard MACD values.
2. IN-DAY MODE: Use during live sessions on 5m and 15m charts. Catch instant momentum shifts with EMA 9/21 and aggressive settings.
MARKET CONDITIONS TOOLBOX PROMARKET CONDITIONS TOOLBOX PRO** is a visual market-state dashboard designed to summarize multiple technical conditions of the S&P 500 ETF (SPY) in a single table.
The script pulls SPY data from user-selectable higher timeframes (daily by default) and evaluates several widely used technical indicators, converting each into a simple **Bullish / Neutral / Bearish** status. The results are displayed in a compact table for quick reference.
Indicators included:
-Directional Strength (based on directional movement)
-MACD (positive vs. negative momentum)
-RSI (above or below midpoint)
-Stochastic Oscillator
-CCI
-Momentum Velocity (custom weighted momentum calculation)
-SPY daily candle direction (green/red/neutral)
Each indicator is assessed independently using objective threshold rules (for example, above or below zero or 50). No indicator is modified to repaint or look ahead.
An overall Market Condition is shown:
-Bullish when all indicators and the SPY daily candle align positively
-Bearish* when all indicators and the SPY daily candle align negatively
-Neutral when conditions are mixed
A simplified -Risk Status- (“Risk On”, “Risk Off”, or “Neutral”) mirrors this alignment to provide a high-level market context.
Key characteristics:
-Uses SPY as a broad market proxy
-Multi-timeframe capable via user inputs
-Non-predictive, informational display only
-No alerts, trade entries, exits, or signals
-Designed for market context, not automation
I use this tool really to gauge risk, when i'm paying with the direction of the market, when to risk off.
MA Cross + Trend Stats (Probabilistic)Short description (one-liner)
A MA-regime framework with historical regime stats + forward performance + optional trend/noise filters for trending context.
________________________________________
Full description (TradingView-ready)
Overview
This indicator turns a classic Moving Average Cross into a regime-based trend dashboard. Instead of treating a cross as a standalone “buy/sell” event, it measures what historically happened after similar regime shifts on the current symbol and timeframe, and displays the results in a compact table.
It supports:
• EMA or SMA
• Custom fast/slow lengths (including .5 lengths via floor/ceil averaging)
• Optional trend quality filters for trending decisions:
o Slope filter (Slow MA slope)
o Market noise filter using Efficiency Ratio (ER) in real time
________________________________________
What the table shows (how to read it)
The table has two rows: Bull (Fast > Slow) and Bear (Slow > Fast). Metrics are computed on completed regimes (historical segments that already ended).
N
Number of completed regimes measured. More samples generally means more stable estimates.
μ Δ% / Med Δ%
Average and median regime return from regime start to regime end. Median helps reduce the impact of outliers.
⏱ Bars
Average regime duration (in bars). Useful to calibrate realistic holding expectations for trending.
⬆ MFE% / ⬇ MAE%
• MFE (Maximum Favorable Excursion): max move in favor during the regime
• MAE (Maximum Adverse Excursion): max move against during the regime
These are context metrics for typical run-up and typical heat.
ER μ | Hit
Trend-quality proxy:
• ER μ: average Efficiency Ratio during regimes (0–1, higher = more directional / less noisy)
• Hit: % of regimes with ER above the historical threshold you set
Forward performance (+H μ|Hit)
For two user-defined horizons (e.g., +10 / +20 bars):
• μ: average forward return after the cross
• Hit: probability (%) that the forward return was positive
This is designed to provide probabilistic context, not certainty.
________________________________________
“Trending” decision filters (optional)
These filters apply to signals/alerts/markers, not to the raw regime statistics:
1. Slope filter (Slow MA):
Only allow Bull signals if the Slow MA slope is positive (and Bear signals if negative).
2. Market noise filter (ER realtime):
Only allow signals when current ER exceeds your chosen threshold (helps avoid choppy conditions).
________________________________________
Suggested usage (educational)
• Treat Bull/Bear as a regime label (state), not a prediction.
• Use Forward Hit% as an estimate of historical frequency, not a guarantee.
• If ER realtime is below threshold, consider it a noisier environment (higher whipsaw risk).
• Combine with your own risk rules and confirmation (structure, volatility, volume, HTF context, etc.).
________________________________________
Notes
• Results depend on symbol, timeframe, and loaded history.
• Statistics are historical summaries and can change as more data becomes available.
• This tool is intended for research and decision support, not as standalone trade advice.
________________________________________
Disclaimer
This script is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Trading involves risk. You are responsible for your own decisions and risk management.
Composite Fear & Greed IndexComposite Fear & Greed Index
This is an advanced, professional-grade sentiment analysis engine designed to quantify market psychology. Unlike standard oscillators that rely on a single metric, this script uses a weighted composite of four distinct technical components to generate a holistic "Fear & Greed" score.
It includes Multi-Timeframe (MTF) capabilities, proprietary FOMO/Panic detection logic, and Zero-Lag trend analysis.
1. Unique Mathematical Methodology
This script is not a simple overlay of existing indicators. It uses a Composite Normalization Engine to blend four distinct metrics into a single, bounded 0-100 oscillator.
The "Mashup" Problem Solved: Standard indicators like MACD are "unbounded" (they can go to infinity), while RSI is "bounded" (0-100). You cannot simply average them.
Our Solution: This script calculates the Z-Score of the MACD histogram relative to its historical deviation and normalizes it into a 0-100 percentile. This allows for a mathematically valid combination with RSI and Bollinger Bands.
The Component Logic:
Momentum (RSI): (Weight: 30%) Pure price velocity.
Volatility (Bollinger %B): (Weight: 25%) Relative position within volatility bands.
Trend Strength (Normalized MACD): (Weight: 25%) Uses the custom Z-Score logic described above.
Trend Integrity (ZLEMA): (Weight: 20%) We replaced the standard SMA with a custom Zero-Lag Exponential Moving Average (ZLEMA) algorithm. This removes the "lag" associated with traditional sentiment analysis, allowing the index to react to crypto volatility in real-time.
The Calculation: These raw values are weighted and smoothed to produce the final Index Value.
Greater than 80: Extreme Greed (High risk of reversal)
Less than 20: Extreme Fear (Potential accumulation zone)
2. Unique Features
A. FOMO & Panic Event Detection The script does not just track price; it tracks behavior.
FOMO (Fear Of Missing Out): Triggered when Price breaks the Upper Bollinger Band + RSI is Overbought + Volume spikes > 2.5x the average. This often marks local tops.
PANIC: Triggered when Price drops significantly in one bar + Volume spikes > 3.0x the average + RSI is Oversold. This often marks capitulation bottoms.
B. Divergence Detection The script automatically detects and plots Regular Bullish and Bearish divergences between Price and the Sentiment Index.
Bullish Divergence: Price makes a Lower Low, but Sentiment makes a Higher Low (indicating waning selling pressure).
Bearish Divergence: Price makes a Higher High, but Sentiment makes a Lower High (indicating waning buying pressure). Note: The script plots these signals precisely on the indicator line corresponding to the pivot point.
C. Multi-Timeframe (MTF) Engine Users can view the "Daily" sentiment score while trading on a 5-minute or 15-minute chart. This allows scalpers to align their trades with the higher-timeframe market psychology.
3. Usage Guide
Step 1: Trend Alignment Look at the dashboard or the main line color. Green indicates Greed/Uptrend, Red indicates Fear/Downtrend.
Step 2: Extremes
Sell/Take Profit: When the Index crosses 80 (Extreme Greed) or a "FOMO" triangle appears.
Buy/Long: When the Index crosses 20 (Extreme Fear) or a "PANIC" triangle appears.
Step 3: Confirmation Use the Divergence Dots as confirmation. A "Panic" signal followed by a "Bullish Divergence" dot is a high-probability reversal setup.
Settings
Timeframe: Select the MTF resolution (default is Chart).
Weights: You can adjust the influence of RSI, MACD, BB, or Trend to fit your specific asset class.
Visuals: Fully customizable colors, table position, and toggle switches for shapes/backgrounds.
Disclaimer: This script is for informational purposes only and does not constitute financial advice.
pD Zones [MMT]pD Zones plots a clean set of intraday high‑of‑day (HOD) and low‑of‑day (LOD) zones that automatically extend forward, flip color on mitigation, and archive as historical levels for context. It is designed to give intraday traders a simple visual map of premium/discount zones derived from a chosen calculation timeframe.
Overview
Objective : Highlight the current day’s HOD/LOD wick zones as actionable intraday support and resistance.
Core logic runs on a user‑selectable source timeframe (default 15m), then projects those zones onto any chart you are trading.
Zones extend into the future, react to price via mitigation logic, and then optionally roll into a dimmed historical layer.
Zone logic
Each session, the script tracks the extreme high and low plus their wick limits (open/close‑based) on the source timeframe to form two intraday zones.
When a new day starts, the finalized prior‑day zones are “locked in” and the current day begins tracking a fresh HOD/LOD pair.
Only one HOD and one LOD zone are created per day, reducing clutter and keeping focus on the most relevant levels.
Mitigation & color flips
Active HOD zones behave as resistance: a decisive break above the top of the box flips it to a bullish (supportive) color profile, while a move back below can re‑flip it.
Active LOD zones behave as support: a break below the bottom of the box flips it to a bearish profile, and a sustained reclaim can re‑flip it as well.
Once mitigated and carried into a new day, zones are restyled with a softer historical color so they remain visible but unobtrusive.
Alerts
When price breaks a HOD zone to the upside, the script can trigger an alert message noting that HOD resistance has been broken and showing the exact level.
When price breaks a LOD zone to the downside, an alert notes that LOD support has been broken, again with the precise price printed.
These alerts are meant for intraday confirmation of structure shifts at key daily extremes, rather than frequent scalper signals.
Inputs & customization
- Calculation Timeframe: choose which timeframe defines the daily HOD/LOD zones (e.g., 5m, 15m, 1h), independent from the chart.
- Visual Settings: customize support/resistance fill colors and border color to integrate with existing layouts.
- Logic Settings:
Max Active Zones: cap how many live zones remain on the chart at once to control noise.
Max Historical Zones: keep only the most recent historical levels or show all past days.
Zone Extension Offset (Bars): control how aggressively boxes project into the future.
- Mitigation Settings: choose the historical zone color to distinguish active levels from archived ones at a glance.
Scanner Pro MTF v9.3Manual Script Trading Scanner Pro MTF v9.3
How to Interpret Your New Tool
• Total Alignment (The Holy Grail): When you see the chart turn green (LONG) from 15m to D1, it's a high-probability signal that the cycle's bottom has been confirmed.
• Inside Bars (Yellow Dots): When they appear near a support level, they indicate indecision. If the next candle breaks upwards with high volume ('V' on the chart), it's your entry confirmation.
Here's an explanation of the symbols:
1. The Fuchsia Diamond (The "Little Squares")
This symbol represents a Squeeze (Volatility Compression).
• What it means: It appears when the Bollinger Bands move inside the Keltner Channels.
• Interpretation: It indicates that the market is in a period of extreme calm or accumulation. Historically, after a "Squeeze," an explosive price movement occurs.
• Use in your Roadmap: If Bitcoin reaches $59,000 and these fuchsia diamonds start appearing, get ready: the market is building energy for the next big surge.
2. The White "V" (Unusual Volume)
This signal appears at the top of the chart when there is a spike in volume.
• What it means: It is activated when the volume of the current candle is 50% higher than the average of the last 20 candles (volume > ta.sma(volume, 20) * 1.5).
• Interpretation: It confirms the intention. A breakout from support or resistance with a "V" is much more reliable than one without volume.
• Use in your Roadmap: If you see a strong green candle bouncing off a support level with a "V" above it, it's a sign that institutions ("Smart Money") are buying.
3. The Yellow Circle (Inside Bar)
This symbol appears above candles that are "trapped" within the range of the previous candle.
• What it means: The high of the candle is lower than the previous one, and its low is higher than the previous one.
• Interpretation: It is a sign of pause and indecision. The market is compressing the price into a narrow range.
• Strategy: Often, the price breaks out strongly after an Inside Bar. It's like a spring being compressed.
________________________________________
Trading Summary:
• Ideal Buy Signal: Price near support + Fuchsia Diamond (Squeeze) + Yellow Circle (Inside Bar) + Bullish breakout with a "V" (Volume).
• Confirmation: All of the above occurs while the chart in row D1 or H4 changes to LONG (Green).
• Ideal Sell Signal: Price near resistance + Fuchsia Diamond (Squeeze) + Yellow Circle (Inside Bar) + Bearish breakout with a "V" (Volume).
• Confirmation: All of the above occurs while the chart in row D1 or H4 changes to SHORT (Red).






















