Pine Script® インジケーター
インジケーターとストラテジー
ZigZag Fibo Cluster (PRZ)This indicator is designed to identify high-probability Potential Reversal Zones (PRZ) by combining Multi-Timeframe (MTF) analysis with Fibonacci clusters. It focuses on filtering out market noise to find mathematically validated support and resistance levels, making it highly effective for intraday trading and sniper entries.
Core Logic & Key Features:
Dual-Layer ZigZag Architecture: The system simultaneously tracks two different ZigZag structures on the chart. It calculates a "Major" wave (default 10-5) for higher timeframes (1D, 4H, 1H) and a "Minor" wave (default 6-3) for the active lower timeframe (e.g., 20m).
Fibonacci Cluster (Kissing) Detector: Fibonacci retracements and extensions from different timeframes rarely align perfectly. This indicator continuously cross-references the active Fibo levels from the Major and Minor structures to find algorithmic overlaps.
Strict 0.1% Precision Tolerance: When a Major Fibonacci level and a Minor Fibonacci level converge within a strict 0.1% price margin, the system validates this as a "Cluster" and plots a precise "PRZ ±0.1%" label on the chart.
Visual Clarity & Chart Cleanliness: It prevents chart clutter by hiding hundreds of irrelevant Fibonacci lines. It only prints labels where the 0.1% tolerance condition is met—meaning both the macro and micro structures agree on the reversal point. Historical wave references are kept as subtle dotted lines.
Dynamic Customization: All ZigZag deviation parameters (Left/Right bars) and extended Fibonacci levels (1.272, 1.618, -0.618, etc.) can be fully customized via the settings menu to adapt to different asset volatilities.
How to Use:
When the "PRZ ±0.1%" label appears, it indicates that the current price action has reached both its macro and micro algorithmic targets. These specific zones provide asymmetric risk/reward opportunities, allowing traders to plan trend reversals, define take-profit areas, or execute counter-trend trades with extremely tight stop-loss margins.
Pine Script® インジケーター
MA Endpoint Cluster (MTF)MA Endpoint Cluster (MTF)
MA Endpoint Cluster (MTF) is a multi-timeframe moving average overlay designed to display dynamic MA levels and cluster zones across timeframes. The script includes a reduced Ending Mode for cleaner charts and a flexible Advanced Mode for custom SMA/EMA configurations.
The focus is on market structure, pullback zones, and MA clusters — not on ready-made signals.
Concept
Many traders use moving averages not only as trend filters, but also as dynamic support/resistance reference zones.
They become especially relevant when multiple MAs from different lengths and/or timeframes cluster in the same price area. This script is designed to make those areas easier to see while keeping price action readable.
Two display approaches are available:
Full Mode -> traditional continuous MA lines
Ending Mode -> only the most recent MA segments (reduced visual noise)
This allows you to keep a cleaner chart without losing important MA-based context.
---
Core Features
1) Simple Mode (Fast Setup)
A practical preset mode for quick chart orientation.
Predefined lengths: 10, 20, 50, 100, 150, 200, 360
Separate MA type selection for current timeframe (SMA or EMA)
Separate MA type selection for higher timeframes (SMA or EMA for D / W / M)
Suitable for traders who want immediate structure without deep configuration
2) Advanced Mode (Flexible Configuration)
A configurable MA framework with up to 7 custom moving averages.
Per MA:
Off
Ending (recent segment only)
Full (historical line path)
Additional options:
SMA / EMA / both
Custom lengths
Primary MA highlight (reference / trend filter)
Timeframe visibility logic
Optional weighted line thickness by timeframe
3) Multi-Timeframe Logic (MTF)
Flexible timeframe display control:
Chart
Chart & Higher
All
Specific timeframe only: 5m / 15m / 1h / 4h / 1D / 1W / 1M
Typical use cases:
Intraday: Chart & Higher
Swing trading: selected higher timeframes
Confluence / level mapping: All
4) Ending Mode for Cleaner Charts
Instead of plotting full historical lines, Ending Mode displays only the latest MA segments.
This is useful for traders who want to:
Reduce chart clutter
Focus on the current price area
Keep MA context visible without overwhelming the chart
5) Optional Timeframe-Weighted Line Width
Higher timeframe MA segments can be displayed with thicker lines (e.g., Daily / Weekly / Monthly), making it easier to visually prioritize more significant levels.
Applications (Ambitious Beginners)
A) Trend Context with a Primary MA
Use a highlighted MA (for example, 200) as a context filter:
Price above MA -> bullish context
Price below MA -> bearish context
This is not an entry signal by itself — it is a context framework .
B) Pullback Zone Awareness
In trending conditions, price often reacts around widely observed MAs (e.g., 20 / 50 / 200).
With Chart & Higher , you can also see whether a pullback is approaching a higher-timeframe MA zone, which can improve context before making decisions.
C) Cluster Areas as Decision Zones
When several MAs align in a narrow range, the area may become relevant for:
Reaction monitoring
Pullback evaluation
Potential price magnet behavior
The script helps identify areas of interest , not automated trade decisions.
D) Cleaner Workflow for Learning
If standard MA overlays feel too crowded:
Use Ending Mode
Reduce to key timeframes
Focus on one or two concepts at a time (e.g., trend + pullback)
This can make it easier to learn how MA context interacts with price action.
Applications (Advanced Traders)
1) MTF Confluence Mapping
Combine:
Current timeframe price structure
Higher timeframe MA endpoints
Horizontal levels / swing points / structure zones
Goal: build confluence zones , not isolated signals.
2) Regime / Context Shift Observation
Monitor how price and faster MAs behave relative to a longer primary MA (e.g., 50/200 or 20/200).
This can help differentiate between:
Trend continuation
Pullback phases
Compression / transition regimes
3) Reaction Quality at MA Clusters
The key question is often not just whether price touches a cluster, but how it reacts there:
Sharp rejection
Gradual acceptance / slicing through
Consolidation at the cluster
Retest behavior
This indicator provides the level framework for that analysis.
4) Minimalist MTF Level Overlay
Using Ending Mode + weighted timeframes + selected lengths, you can build a clean but information-dense MA map suitable for discretionary trading workflows.
Notes
This script is a context and analysis tool, not an automated trading system.
Moving averages are derived price values and should be interpreted together with price action, structure, and risk management.
The relevance of specific MA lengths varies by market, timeframe, and instrument.
Best Suited For
Ambitious beginners learning structured chart reading
Discretionary intraday and swing traders
Traders who prefer clean charts with focused context
Users who track MTF MA levels and cluster behavior systematically
Versioning / Legacy Notice
This publication is a major rework and successor to my earlier script "SMA/EMA SR mtf Clusters v0.9" , which remains available as a legacy version for users who rely on its previous workflow and behavior.
This release is not a minor revision. It includes a migration from Pine Script v5 to v6 , a revised workflow with Simple Mode and Advanced Mode , performance/code optimizations, and a restructured presentation/documentation for clearer use.
What’s New vs. v0.9
Migrated from Pine Script v5 to v6
New dual workflow: Simple Mode and Advanced Mode
Performance and code-structure optimizations
Cleaner chart handling and improved usability
Rewritten description/documentation for clearer onboarding and usage
Pine Script® インジケーター
Triple EMA Cross + Close Price Confirm SBFaisalTriple EMA Cross + Close Price Confirm SBFaisal
When a cross happens:
If EMA9 goes up through EMA21 → prepare to confirm a BUY
If EMA9 goes down through EMA21 → prepare to confirm a SELL
But we don’t trigger the signal yet, we wait for price confirmation.
Once a signal fires:
The waiting flag is turned off
The script marks the direction you’re in (long or short)
This prevents duplicate signals in the same direction.
In Simple Terms
✔ The script tracks trend changes using three EMAs
✔ It waits for price confirmation (a close above/below EMA9)
✔ It only sends a signal once per trend shift
✔ It plots clear BUY/SELL labels + alert conditions
If you want, I can also explain how to backtest this as a strategy or how to add stop-loss / take-profit logic.
Pine Script® インジケーター
[TV] Donchian ChannelDonchian Channel Trading Strategy
The Donchian Channel Trading Strategy is a trend-following breakout system based on the Donchian Channel indicator, originally developed by Richard Donchian. The strategy identifies potential entry and exit points by tracking the highest high and lowest low over a specified lookback period.
The upper band represents the highest price over the selected period, while the lower band represents the lowest price. A breakout above the upper band signals potential bullish momentum and may trigger a long position. Conversely, a breakout below the lower band signals bearish momentum and may trigger a short position.
This strategy is designed to capture strong market trends and performs best in trending environments. During sideways or ranging markets, false breakouts may occur, so additional filters such as volume confirmation, moving averages, or volatility indicators can improve performance.
Key features:
Trend-following breakout logic
Dynamic support and resistance levels
Adjustable lookback period
Suitable for multiple asset classes (Forex, stocks, crypto, futures)
Works on various timeframes
Risk management is essential when using this strategy. Stop-loss orders are typically placed on the opposite side of the channel or based on volatility measures to protect against sudden reversals.
The Donchian Channel strategy is simple, systematic, and widely used by traders seeking to capture sustained price movements.
Pine Script® ストラテジー
50 & 200 SMA - Buy the DipKey Indicators for "Dips"
50 SMA (Intermediate Trend): Often acts as dynamic support during a healthy uptrend. A price "dip" to this level is a common entry point for momentum traders.
200 SMA (Major Trend): Viewed as the "ultimate" support line. If a stock is fundamentally strong, a dip to the 200 SMA is often considered a major buying opportunity.
Golden Cross: A bullish signal that occurs when the 50 SMA crosses above the 200 SMA, confirming a long-term trend shift.
Death Cross: A bearish signal when the 50 SMA crosses below the 200 SMA, suggesting it may not be a safe time to "buy the dip" as the overall trend has turned negative.
TradingView
TradingView
+5
How to add it to TradingView
Open TradingView and select a chart.
Click the Pine Editor tab at the bottom of the screen.
Delete any existing code and paste the script provided above.
Click Save (give it a name like "50/200 Dip Finder") and then click Add to Chart.
Pine Script® インジケーター
Confluence Regime Engine 5m timeframeLong-Short trade confidence levels based on RSI, Multi-time frame stochastics (5,15,30,60min) VWAP and ADX.
Pine Script® インジケーター
Custom Price Level Alerts & SignalsDescription
This indicator is a tool designed for traders who focus on specific price levels. It allows you to set a custom price level and receive visual "BUY" and "SELL" signals immediately when a candle closes above or below that line
Pine Script® インジケーター
PredictorSZ: Random-Drift Predictor (v+a+Mean Reversion) is a probabilistic indicator designed to estimate the likelihood of the next price movement direction using a hybrid statistical model.
Instead of giving traditional buy/sell signals, it calculates the probability of upward vs downward movement by combining three core market forces:
Velocity (v) – smoothed price returns to measure momentum
Acceleration (a) – change in momentum to detect strengthening or weakening trends
Mean Reversion Bias – distance from a long-term equilibrium (EMA/SMA center)
These components are merged into a normalized score and transformed using a logistic function, producing a smooth probability curve between 0% and 100%.
Key Features
• Outputs P(Up) and P(Down) as real probabilities
• Combines momentum + acceleration + mean reversion
• Adaptive normalization based on market volatility
• Visual thresholds to identify strong directional bias
• Optional component plots for deeper analysis
• Designed for BTC, crypto, and all liquid markets
How to use
• Above 50% → bullish bias
• Below 50% → bearish bias
• Above threshold (e.g. 55%) → strong bullish probability
• Below inverse threshold (e.g. 45%) → strong bearish probability
This tool does not predict the future with certainty — it measures statistical edge based on current market dynamics.
Ideal for use as a directional filter, confirmation tool, or research instrument.
🇸🇮 Slovenska verzija (krajše)
SZ: Random-Drift Predictor je indikator, ki izračuna verjetnost rasti ali padca cene na podlagi kombinacije:
• momentuma (hitrost)
• spremembe momentuma (pospešek)
• odmika od ravnovesne cene (mean reversion)
Rezultat je verjetnost med 0% in 100%, ki prikazuje statistični bias trga.
Interpretacija
• nad 50% → bias rasti
• pod 50% → bias padca
• nad pragom (npr. 55%) → močan signal rasti
• pod pragom → močan signal padca
Indikator je namenjen kot orodje za oceno statistične prednosti, ne kot klasičen buy/sell signal.
Pine Script® インジケーター
Manual x-Sigma Volatility Trailing StopManual x-sigma volatility trailing stop. Input your average entry and start date, and the script tracks high/low from that point forward, adjusting the stop using x standard deviation of returns. The stop only moves in your favor and adapts to volatility.
Pine Script® インジケーター
Ripster Cloud ScreenerThis si a test to see if the scren will work. this s just a test to see what i can do it wht
Pine Script® インジケーター
Base Gap LevelsNifty d7vgugftgjhftvjjhgrtdfhhhu
Hf5bjoogt5bkijgftjuj
Jgghjkjhgyjoohhgg
Hfthjkjhujghkjhhhjjkk
Gghjj
Pine Script® インジケーター
Hispano Scalping Crosses (EMA 7/25 + HTF)This indicator is designed for short-term scalping on the 1-minute chart, combining fast EMA crossovers with higher timeframe trend confirmation and dynamic support/resistance filtering.
Pine Script® インジケーター
US Tech 100 S/R Levels - Bullish Recovery - Indicator DocumentatOverview
This Pine Script v5 indicator maps key Support/Resistance levels, demand/supply zones, and a Bullish FVG for the US Tech 100 (Nasdaq 100). The setup is structured around a primary bullish recovery thesis targeting the 25,023–25,300 supply zone, underpinned by a HH/HL structural transition, recovering risk appetite, and broad macro tailwinds. Invalidation is defined at 24,618.
Structure & Zones
Support Levels (Green)
24,000 — Psychological support; loss of this level signals significant structural breakdown
24,618 — KEY invalidation level; close below negates the bullish recovery thesis entirely
24,644 — Demand zone upper boundary
24,700 — Bullish FVG lower boundary
Resistance Levels (Red)
24,900 — Bullish FVG upper boundary; clean break confirms imbalance filled and momentum sustained
25,000 — KEY psychological resistance; reclaim signals bullish acceleration
25,023 — Structural resistance; breakout triggers main scenario activation
25,300 — Primary target / supply zone ceiling
Filled Zones
Demand Zone (24,618–24,644): Narrow but high-conviction confluence zone — FVG lower and KEY invalidation level overlap here. Any retest that holds is a strong long signal; loss of this zone invalidates the setup entirely
Supply Zone (25,023–25,300): Primary take-profit and distribution region; expect significant offer and potential mean reversion from this zone
Bullish FVG (24,700–24,900): Imbalance zone from prior impulsive move; acts as a retest magnet on any short-term pullback and should hold as support for continuation
Alert Conditions
Alerts are configured across all critical levels:
Upside alerts: Crossovers at 24,900 / 25,000 / 25,023 / 25,300 — 25,023 break is the main scenario trigger; 25,300 signals target completion
Downside alerts: Crossunders at 24,644 / 24,618 / 24,000 — 24,618 break triggers full invalidation
Zone entry alerts: Demand Zone, Supply Zone, and FVG Zone — supports precise scaling and risk management
Above 25,000 alert: Psychological level reclaim confirms bullish acceleration phase
Near Target alert: Price within 25,000–25,300 flags active take-profit management zone
Trade Setup Logic
ParameterValueLong EntryConfirmed breakout above 25,023Target25,023–25,300 (supply zone)Stop LossBelow 24,618 (KEY invalidation)Risk/RewardMinimum 1:2
For improved R:R, consider a pullback entry on any retest of the FVG zone (24,700–24,900) with SL below 24,618, targeting 25,300 — this yields approximately 1:3.5.
Scenario Probabilities
Main (60%): Price holds above 24,618, clears FVG at 24,900, reclaims 25,000, and breaks 25,023 toward 25,300
Alternative (40%): Rejection at FVG upper (24,900) or 25,000 psychological; retest of demand zone at 24,618–24,644 before resumption
Invalidation: Confirmed close below 24,618 — full structural re-evaluation required; alternative scenario targets 24,000
Note: The 40% alternative probability is elevated relative to a typical recovery setup, reflecting the uncertainty of the HH/HL transition phase. Structure confirmation above 25,023 would significantly shift this probability distribution.
Macro Context (Embedded)
Macro Table
FactorReadingImplicationFed Rate Cut ExpectationsStableRemoves downside rate pressureAI Sector RecoveryBuy-side returningNasdaq-specific bullish catalystEarnings SeasonStrongFundamental support for recoveryRisk AppetiteRecovering (Risk-on)Broad equity tailwind
The confluence of stable Fed expectations, AI sector recovery, and strong earnings provides a robust fundamental backdrop for the technical recovery setup. Risk-on return is the critical macro confirmation — any deterioration here shifts probability toward the alternative scenario.
Sentiment Context (Embedded)
Sentiment Table
IndicatorReadingImplication% Stocks Above 200D MA55.2%Majority of Nasdaq constituents in uptrendPositioningLong exposure increasingInstitutional accumulation underwaySeasonalityLate February positiveHistorical tailwind for periodVIX Change-2.1%Declining volatility supports risk-on positioning
55.2% of Nasdaq constituents trading above their 200-day MA indicates the recovery is broad-based rather than driven by a handful of mega-caps — a structurally healthier signal. Increasing long positioning combined with declining VIX reinforces the probability of sustained upside follow-through.
Display Layout
Top-right: Scenario summary, bias, structure (HH/HL transition), phase, VIX reading, current price
Bottom-right: Active trade setup (Entry condition / Target / R:R)
Top-left: Macro factor overview (Fed, AI, earnings, risk appetite)
Bottom-left: Sentiment indicators (200D MA breadth, positioning, seasonality)
Usage Notes
All levels are static — recalibrate following any confirmed structural break or post-invalidation scenario
Recommended timeframes: 1H / 4H for entry execution, Daily for bias confirmation and invalidation monitoring
The demand zone (24,618–24,644) is unusually narrow at only 26 points — treat any intrabar wick below 24,618 without a closing breach as noise; invalidation requires a confirmed daily close below this level
The 40% alternative probability warrants a split-position approach: partial long on FVG retest (24,700–24,900) with the remainder added only on confirmed 25,023 breakout
Monitor VIX in real time — a reversal back above recent highs while price is below 25,000 would be an early warning signal for the alternative scenario
Sonnet 4.6Claude is AI and can make mistakes. Please double-check responses.
Pine Script® インジケーター
BTCUSD S/R Levels - 2026/02/25 - Indicator DocumentationOverview
This Pine Script v5 indicator maps key Support/Resistance levels, demand/supply zones, an FVG zone, and a compression range for BTCUSD as of February 25, 2026. The setup is built around a primary bearish thesis targeting the 60,000 level, with clearly defined invalidation parameters. Sentiment and macro data are embedded directly on-chart for rapid contextual assessment.
Structure & Zones
Support Levels (Green)
60,000 — Primary downside target (dashed); main scenario completion level
64,000 — Demand zone lower boundary; loss of this level opens extension risk
65,000 — Psychological KEY support; loss triggers demand zone test
65,503 — Recent swing low; structural confirmation level
66,000 — Range lower boundary / FVG upper boundary
Resistance Levels (Red)
66,600 — Recommended short entry zone
67,000 — Stop loss reference level
68,000 — KEY invalidation level; daily close above negates bearish thesis
70,000 — Supply zone lower boundary / compression range upper boundary
72,000 — Supply zone ceiling
Filled Zones
Demand Zone (64,000–65,000): Early accumulation watch area; expect institutional interest and potential mean reversion attempts
Supply Zone (70,000–72,000): Distribution zone; any rally into this region is a secondary short opportunity
FVG Zone (65,000–66,000): Imbalance between demand zone and range floor; likely to act as a short-term support before continuation lower
Compression Range (66,000–70,000): Price consolidation zone with directional resolution pending; bias favors downside breakout given current structure
Alert Conditions
Alerts cover all critical level interactions:
Downside alerts: Crossunders at 66,000 / 65,503 / 65,000 / 64,000 / 60,000 — each signals progressive bearish confirmation
Upside alerts: Crossovers at 66,600 / 67,000 / 68,000 / 70,000 / 72,000 — 68,000 break triggers full scenario invalidation
Zone entry alerts: Demand Zone, Supply Zone, FVG Zone, and Compression Range — granular enough for position scaling and risk management decisions
Below Entry alert: Price below 66,600 flags active short consideration
Trade Setup Logic
ParameterValueShort Entry~66,600 (range mid / resistance confluence)Stop Loss67,000 (above recent structure)Take Profit64,000 (demand zone upper boundary)InvalidationClose above 68,000
Risk/Reward approximately 4:1 from entry at 66,600 targeting 64,000 with SL at 67,000.
Scenario Probabilities
Main (70%): Price breaks below 66,000 → 65,000 → 64,000, with ultimate target at 60,000
Alternative (20%): Compression range resolves to the upside; price reclaims 68,000–70,000
Invalidation: Confirmed close above 68,000 — full re-evaluation of directional bias required
Macro & Market Context (Embedded)
Macro Table
IndicatorValueImplicationDXY97.43Neutral (range-bound)TrendDowntrendBearish pressureRange66k–70k compressionBreakout imminentRisk AppetiteOff (continued)Headwind for BTC
Sentiment Table
IndicatorReadingImplicationFear & Greed Index9 / 100 (Extreme Fear)Capitulation risk; contrarian watchETF Flow-165M USDInstitutional outflows confirmedPositioningShort-heavyShort squeeze risk elevatedRiskSqueeze probability highManage SL tightly
Key Notes for Execution
Short squeeze risk is elevated. Fear & Greed at 9 combined with heavy short positioning creates asymmetric upside tail risk. This does not invalidate the bearish thesis but warrants conservative position sizing and strict adherence to the 67,000 stop.
The FVG zone (65,000–66,000) may act as a temporary floor before continuation — avoid premature adds until 65,503 and 65,000 are cleanly broken on a closing basis.
ETF outflow of -165M USD confirms institutional distribution, reinforcing the directional bias. Monitor daily ETF flow data for any reversal signals that could precede an alternative scenario trigger.
Display Layout
Top-right: Scenario summary, bias, 24h change, Fear & Greed, ETF flow, DXY, date, current price
Bottom-right: Active trade setup (Entry / SL / TP)
Top-left: Macro indicators (DXY, trend, range, risk appetite)
Bottom-left: Sentiment data (Fear index, positioning, squeeze risk)
Usage Notes
All levels are static — manual recalibration required following significant structural shifts or post-invalidation
Recommended timeframes: 1H / 4H for entry execution, Daily for bias and invalidation monitoring
Given extreme fear readings, treat any sharp bounce into 66,600–67,000 as a high-conviction re-entry zone rather than a trend reversal signal unless 68,000 is reclaimed on strong volume
Sonnet 4.6
Pine Script® インジケーター
Swing Data color codded 1. improved float % data - Switched to the more reliable request.financial(..., "FLOAT_SHARES_OUTSTANDING", "D") (daily-updated).
* Calculate directly as (float shares ÷ total shares) × 100.
* Hard-capped at 100% to prevent any future glitches
2. added Today $ Vol - today's actual dollar volume (current volume × current price), formatted exactly like Avg $ Vol with K/M/B and $ sign).
3. added color coding to the following:
Float %:
Green: under 25%
Yellow: 25% – 55%
Red: above 55%
-----------------------------
ADR%:
Red: below 3%
Yellow: 3% to 6%
Green: above 6%
-------------------------
Vol Buzz %:
Red: low/negative buzz (≤ 0% — no unusual interest or below average)
Yellow: moderate buzz (0% – 100% — some pickup but not extreme)
Green: strong/high buzz (>100% — aligns with "volume surge" needed for momentum/EP
---------------------------
Market Cap (in $B, after formatting):
Green: ≤ 10B (small/mid-cap, more explosive potential in momentum styles)
Yellow: 10B – 20B
Red: >20B (larger caps, often slower/less volatile moves)
Pine Script® インジケーター
BTC MVRV & MVRV-Z ScoreBTC MVRV & MVRV-Z Score
A clean, toggleable Bitcoin MVRV indicator with two calculation modes — the classic MVRV ratio and the statistically standardized MVRV-Z Score.
What is MVRV?
MVRV (Market Value to Realized Value) is Bitcoin's Market Cap divided by its Realized Cap. The Realized Cap values each coin at the price it last moved on-chain, making it a proxy for the aggregate cost basis of all holders.
MVRV > 1 → The market is in aggregate profit (price above average cost basis)
MVRV < 1 → The market is in aggregate loss (historically rare, strong buy zone)
What is MVRV-Z?
MVRV-Z adds a layer of statistical analysis by measuring how many standard deviations the current MVRV is from its historical mean:
MVRV-Z = (MVRV - Mean) / Standard Deviation
This standardization makes it more useful for comparing across different market cycles, since raw MVRV values can mean different things as the market matures. A raw MVRV of 3.0 in 2013 had very different implications than 3.0 in 2024. The Z-Score normalizes this.
Z > +2σ → Overheated / historically overbought
Z < −2σ → Undervalued / historically oversold
Features
Toggle between MVRV (Ratio), MVRV-Z (Z-Score), or Plot Both
Adjustable Z-Score lookback period (default 365)
Dynamic reference lines — 1.0 for MVRV, 0.0 for Z-Score
±2σ extreme bands visible in Z-Score mode
Bar coloring based on active mode
Uses on-chain data from TradingView (BTC_MARKETCAP, BTC_MARKETCAPREAL)
How to read it
In MVRV mode: green above 1.0 (market in profit), red below 1.0 (market in loss).
In Z-Score mode: green above 0 (above average), red below 0 (below average). Watch for ±2σ extremes as potential cycle tops/bottoms.
Pine Script® インジケーター
Pine Script® ストラテジー
MFS - Market Footprint Strength Indicator [BySel]The MFS framework conceptualizes price dynamics through a physics-based paradigm in which price is modeled as particles influenced by force vectors rather than static data points. The core computation defines an instantaneous net force derived from three primary components: candlestick body magnitude (representing trend kinetic energy), wick resistance (interpreted as energy dissipation or reactive counterforces at support/resistance), and a user-controlled wick coefficient functioning analogously to a friction parameter. The resulting force equation captures directional impulse adjusted for opposing and reinforcing wick effects.
To obtain a stable and comparable metric across volatility regimes, the model applies renormalization using ATR (Average True Range). This converts raw amplitude into a dimensionless scale, ensuring invariance to time-varying volatility. A discrete-time summation—conceptually equivalent to numerical integration—aggregates force over a lookback window to compute an energy centroid. The final indicator is expressed as a bounded wavefunction (Ψ ∈ ), calculated as the ratio of total net force to total absolute force. Volume serves as inertial mass within this formulation, and a small epsilon constant prevents singularities from division by zero.
Signal smoothing and phase alignment are achieved through ALMA (Arnaud Legoux Moving Average), which employs a shifted Gaussian kernel rather than a conventional moving average. The Gaussian weighting function balances smoothness and responsiveness: the offset parameter biases weighting toward recent data (minimizing phase lag), while sigma controls filter bandwidth, governing the trade-off between noise suppression and sensitivity to micro-structural fluctuations.
From a state-space perspective, the zero line represents a thermodynamic equilibrium (vacuum state) where buying and selling forces are balanced. Positive and negative regions denote structural dominance by buyers or sellers, respectively. Zero crossovers function as phase transitions, analogous to symmetry breaking in physics, marking the emergence of new macroscopic trend regimes.
Finally, the architecture is compact and computationally efficient, yet extensible. More advanced signal-processing techniques—such as Laguerre filtering or Laplace-domain transformations—could further enhance detection of non-harmonic cyclical structures and improve temporal resolution of wave dynamics.
//============================================================
Roadmap from Familiarization to Mastery of the MFS Wave System for Capital Allocation and Trading Efficiency
1. Foundational Level: Understanding the “Vacuum State”
At this level, MFS should be interpreted as a directional compass identifying which side controls market order flow.
Wave above 0 (Positive Region): The Bull side is injecting net energy into the market. Prioritize long (Buy) positions exclusively.
Wave below 0 (Negative Region): The Bear side dominates the net force structure. Prioritize short (Sell) positions exclusively.
Crossover: This marks a phase transition. When the wave transitions from Red to Green, it signals the early emergence of a new bullish cycle.
Golden Rule
Never trade against the wave polarity.
If MFS is Red, avoid bottom-fishing, even if candlestick structures appear to show rejection tails.
2. Intermediate Level: Wave Morphology Analysis
A professional trader does not merely observe color; they analyze wave slope and amplitude.
A. Slope — Market Acceleration
Steep Slope: Indicates extreme momentum impulse. This is the optimal condition for pyramiding positions or maintaining trend-following exposure.
Flattening / Horizontal Slope: Energy saturation. The market is transitioning toward an accumulation or sideways consolidation regime.
B. MFS Divergence — Early Reversal Warning
This is the most critical technique at this level:
Bearish Divergence: Price prints a higher high while MFS forms a lower high. This implies that candlestick body force and volume participation are weakening despite price appreciation. Prepare to realize profits.
Bullish Divergence: Price forms a lower low while MFS prints a higher low. Selling pressure is reaching exhaustion.
3. Advanced Level: Risk Management & “Quantum Entry” Strategy
At a professional tier, MFS is deployed to optimize entry timing and dynamic position sizing.
Strategy: “The Pullback in Quantum Flow”
Rather than entering immediately upon a bullish crossover (which may introduce latency risk), wait for a structured retracement:
Trend Confirmation: MFS remains firmly established in the Positive (Green) region.
Pullback: Price retraces, yet MFS declines only marginally and does not cross below zero.
Entry Trigger: MFS curls upward again (positive acceleration resumes).
This configuration statistically offers the highest win probability with the tightest stop-loss placement.
Risk Management Framework Based on MFS
Partial De-risking: When MFS begins curving toward the zero line, reduce 50% of the position.
Full Exit: When MFS crosses the zero line (polarity shift).
4. Portfolio Manager Mindset: Parameter Optimization
As a capital allocator, parameters must be calibrated according to portfolio risk appetite and investment horizon.
Parameter Scalping Mode (Short-Term) Swing Mode (Medium-Term) Portfolio Mode (Long-Term)
MFS Length 7 – 10 14 (Default) 21 – 34
ALMA Offset 0.90 (Ultra-sensitive) 0.85 0.75 (Ultra-smooth)
Wick Factor 0.3 (Low noise filtering) 0.5 0.8 (Aggressive noise suppression)
Expert Advisory Summary
MFS Quantum Gaussian achieves maximum robustness when integrated with Market Structure analysis.
If MFS generates a Buy signal while price is confronting a major higher-timeframe resistance (H4/D1), exercise patience. Await a confirmed breakout before executing in alignment with wave direction.
Always monitor Volume.
This implementation assigns significant weighting to volume. If the wave exhibits strong displacement without proportional volume confirmation, the signal should be treated as structurally weak or potentially false.
Pine Script® インジケーター
Martell MNQ Quantum Scalper ProTitle: Martell MNQ Quantum Scalper Pro
Description:
Tired of the 1-minute chart "noise" destroying your funded account? Trading the micro Nasdaq (MNQ) requires pinpoint precision and flawless risk management, not generic, lagging indicators.
Presenting the Martell MNQ Quantum Scalper Pro, an institutional-grade algorithmic system specifically designed to dominate the 1-minute timeframe in Nasdaq futures. This isn't just a simple moving average crossover; it's a three-phase mathematical model built to execute trades only when the odds are heavily in your favor.
🧠 THE LOGIC BEHIND THE CODE:
🎯 Zero-Lag Trend Filter (ALMA): Forget traditional EMAs. We use the Arnaud Legoux Moving Average (ALMA) to identify the true institutional money flow. It smooths the price curve by eliminating lag, showing you the real market direction.
🛡️ Dead Zone Detector (Anti-Chop Filter): 80% of losses in funded accounts happen because traders operate during tight consolidations. This algorithm integrates a logarithmic volatility calculation (Choppiness Index). If the market is erratic and choppy, the system blocks entries, protecting your capital from the meat grinder.
⚡ Momentum Exhaustion Trigger (TSI): We don't chase the price when it's already too late. The algorithm detects micro-exhaustions using a double-smoothed True Strength Index. We buy on optimal pullbacks during an uptrend and sell on bounces during a downtrend.
⚖️ Dynamic Risk Management (Auto 1:1 RR): The market breathes differently every day. That's why the Stop Loss and Take Profit are not static. The system reads the current volatility using an ATR multiplier and visually plots your exact exit levels directly on your chart. Every entry has a mathematically perfect 1:1 Risk:Reward ratio.
⚙️ HOW TO USE IT:
Apply it exclusively to the MNQ on the 1-minute timeframe.
Wait for the visual BUY (Green) or SELL (Red) labels to appear on your chart.
Observe the dynamic lines that tell you exactly where to place your Stop Loss and Take Profit.
Supports native TradingView alerts: Set up an alert by selecting "Any alert() function call" so you never miss a high-probability setup.
Perfect for funded account traders (Apex, MyFundedFutures, etc.) looking for mathematical consistency and strict capital protection.
🚀 Did you find this indicator useful?
Hit the Boost 👍 button, add it to your favorites, share it with your community, and FOLLOW ME so you don't miss the upcoming updates and high-level trading tools I'll be publishing!
Pine Script® インジケーター
Mentor Michael - Institutional Flow Engine v4Mentor Michael – Institutional Flow Engine v4 is a professional-grade hybrid indicator designed to detect true institutional activity by combining orderflow pressure, smart money structure, and momentum confirmation into one unified system. It analyzes rolling volume delta and aggression ratios to determine whether buyers or sellers are genuinely in control, rather than relying on price movement alone. By measuring real capital flow beneath the surface, the indicator helps traders understand who is driving the market.
In addition to orderflow, the system integrates key Smart Money Concepts such as Break of Structure (BOS), liquidity sweeps, and Fair Value Gaps (FVG) to identify manipulation zones and potential continuation areas. These structural elements are combined with RSI momentum confirmation, ensuring that trades are aligned with both participation strength and directional momentum. This multi-layered approach reduces false signals and improves overall trade quality.
All components feed into a dynamic 0–100 Institutional Score, providing a clear and actionable bias framework. High scores indicate strong bullish institutional pressure, while low scores suggest dominant selling activity. By blending volume, structure, and momentum into one confluence-based model, the indicator enhances clarity, strengthens decision-making, and helps traders operate with greater confidence across Forex, Gold, Crypto, and index markets.
Pine Script® インジケーター
ICT 1st PFVG (M1 detection shown on all TFs)ICT 1st PFVG
For NY AM session NQ
Minimum 10 points FVG
visible on all timeframes but marked on m1
Pine Script® インジケーター
GME Warrant ParityThis compares GME price to GME/W price. Can be used for other stock comparisons that have odd symbols in their ticker which breaks TradingView's default ticker grab.
Pine Script® インジケーター






















