ADR + MOVE BoxADR + Move 20 day average Box for any ticker. Calculates the average daily range as well as the absolute delta from open to close. For Full day as well as NY session only
Indicadores e estratégias
Surge Guru Core✨ Surge Guru Core — Your Ultimate Trading Intelligence Dashboard
Transform your charts into a professional command center with Surge Guru Core, the all-in-one indicator that combines legendary technical analysis with cutting-edge correlation intelligence.
🌊 Multi-Layered Market Vision
Ichimoku Cloud — Ancient wisdom meets modern precision. Navigate bullish and bearish zones with crystal-clear visual guidance
EMA 200 — The institutional trend line that separates the strong from the weak
Bollinger Middle Band — Your volatility compass for perfect entry timing
🔄 Intelligent Correlation & Hedging Assistant
What sets Surge Guru apart? Real-time correlation tracking across multiple assets (BTC, ETH, SOL) with automated hedge signals. Know when to protect your gains and when to strike with confidence.
📊 Live Statistics Dashboard
Instant trend direction analysis
ATR volatility readings
Smart hedge opportunity alerts (🔰 HEDGE / 🔄 REVERSAL)
Multi-asset correlation matrix at a glance
💎 Crystal-Clear Price Action
Elegant dotted price line keeps your focus where it matters — no chart clutter, just pure trading clarity.
Perfect for crypto traders, swing traders, and risk-conscious investors who demand more than basic indicators.
Surge Guru Core — Trade Smarter, Not Harder.
www.Surge.Guru
Nifty Trendometer - Nifty 50 Live Tracker🚀 Nifty Trendometer — The Ultimate Live Market Tracker for the Nifty 50 🚀
🔍 One glance, total clarity. One tool, total control.
The Nifty Trendometer is a next-generation TradingView indicator designed for serious traders and portfolio managers who want to see what institutions see. It merges advanced demand–supply analytics, live breadth monitoring, and macro stress signals — all in one clean, self-updating dashboard.
🧭 What It Does?
Tracks Nifty 50 internals live: See how many of India’s top 30 stocks are gaining, losing, or collapsing beyond key thresholds.
Identifies actionable demand and supply zones: The algorithm automatically scans for low-volume demand zones, supply imbalances, and high-volume consolidation clusters (HVNs) — letting you spot where smart money is active.
Generates precision buy/sell decisions: Smart zone-touch detection coupled with real-time volume validation gives you high-confidence reversal or breakout signals — without repainting.
Measures macro risk instantly: Integrated India VIX, USDINR, Bank Index, and Basis stress readings tell you when the market’s underlying engine is overheating or calming down.
⚡ Key Highlights
✅ Dynamic Zone Mapping — Automatically highlights fresh demand (green), supply (purple), and HVN (blue) regions as they form — no manual drawing needed.
✅ Smart Volume Logic — Detects price reactions backed by significant volume surges — confirming genuine breakouts, not noise.
✅ Crash & Rally Detector — A proprietary “Crash Probability” engine calculates live risk and momentum balance, showing how close the market is to tipping into panic or breakout.
✅ ORB & Gap Analysis — Monitors intraday open-range breakouts, gap fades, and continuation patterns with volatility confirmation.
✅ Macro Stress Dashboard — Instantly shows whether India’s market risk is local, global, or liquidity-driven — using DXY-relative INR movement, bank index health, and basis stress.
✅ Smart Alerts — Be notified automatically when the system detects:
• Crash Symptoms (Warning)
• Crash Confirmation (Crisis)
• Rally Watch
• Rally Start (Go Signal)
🧠 The Logic — Simplified
The Trendometer combines the following:
Volume profile geometry (for hidden demand/supply zones)
Price reaction mapping (for confirmed reversals and rejections)
Multi-factor stress scoring (VIX, currency, banks, basis, and breadth)
Probability modeling (a smooth blend of seven risk dimensions, scaled to a live “Crash–Rally Probability” score)
Everything updates tick-by-tick, producing a dynamic, data-driven market weather report.
📊 One Dashboard, Infinite Insight
The indicator creates a compact, color-coded table on your TradingView chart showing:
VIX % change
USDINR strength (absolute or DXY-relative)
Bank index trend
Nifty breadth and depth (number of stocks down / deeply down)
Basis stress (futures vs spot)
ORB/gap behavior
Overall crash or rally probability (e.g., “↓ 68% | ↑ 32%”)
Visual cues instantly shift from green (safe) to orange (watch) to red (crisis) — no guessing required.
💡 Ideal For:
Intraday traders seeking early directional bias confirmation
Swing traders spotting reversals at demand/supply pivots
Investors wanting macro stress signals before volatility spikes
Quant-oriented analysts tracking multi-factor market health
⚙️ Plug-and-Trade Simplicity
Just add the Nifty Trendometer to your TradingView chart and watch the market structure, sentiment, and institutional footprints reveal themselves in real time.
No parameter tuning. No manual drawing. No data delays.
📈 Nifty Trendometer — When precision meets perspective.
Because the best traders don’t predict — they measure the factors which affect the market.
Visual Trend IndicatorVisual Trend Indicator v1
Combines SuperTrend + EMA Trend Score into a visual color-based overlay for candlestick charts.
Arrows appear when RSI(2) and SlowStochastic(8,3) are countertrend signals and represent good odds to buy the dip / sell the rip.
Ronin Ichimoku Analyzer ProA comprehensive trading indicator combining traditional Ichimoku Cloud analysis with MACD momentum confirmation and intelligent signal scoring. Designed for TradingView Pine Script v6, this tool provides automated verdict generation and real-time visual signals.
1. Ichimoku Cloud System
Tenkan-sen: 9-period midpoint, short-term trend
Kijun-sen: 26-period midpoint, main trend line
Senkou Span A & B: Forward cloud, support/resistance
Chikou Span: 26-period lag for confirmation
Kumo Twist: Detects upcoming trend reversals
2. Multi-Indicator Confirmation
TK Cross: Golden/Death cross with cloud context
Cloud Position: Bullish (above), Bearish (below), Neutral (inside)
Three-Line Agreement: Confirms price, TK, Chikou, cloud color
MACD Check: Cross + histogram momentum strength
3. Verdict Engine
Weighted signal scoring:
Strong Bullish / Bullish / Neutral / Bearish / Strong Bearish
Dead Zone: Price in cloud
High Risk: Multiple warnings
4. Visual Signals
Markers: ▲ Golden Cross, ▼ Death Cross, ☁️ Cloud breakouts, 🔄 Kumo twist alerts
Dashboard: Color verdict (lime/red/orange), signal strength, cloud thickness, trading tips
5. Advanced Logic
Flat-line detection (0.1% threshold over 5 bars)
MACD momentum tracking (expand/contract/flat)
Zero-division safety in calculations
EchoFlowEchoFlow — Where Intelligence Becomes Rhythm
Powered by next-gen AI, EchoFlow transforms data, code, and creativity into seamless motion.
It doesn’t just automate — it anticipates.
From thought to execution, EchoFlow is the pulse of intelligent systems, syncing every action with precision, speed, and intuition.
Gunzo Trend Sniper For Loop🧠 Gunzo Trend Sniper For Loop — Adaptive Trend Momentum Framework
The Gunzo Trend Sniper For Loop is a precision-built, adaptive trend analysis system designed to expose hidden trend strength, exhaustion points, and directional momentum within any market — from cryptocurrencies to equities and forex.
At its core, this indicator integrates a loop-based comparative engine with a multi-type adaptive moving average filter, producing a highly responsive yet smooth measure of directional sentiment.
⚙️ Core Concept
Gunzo Trend Sniper quantifies market bias by comparing the current smoothed weighted average of price to its historical values across a dynamic lookback window.
Through this iterative “for loop” scoring process, the indicator tallies how many of the recent bars exhibit higher or lower values than the present one — forming a trend strength score that oscillates between bullish and bearish dominance.
In essence:
Positive score values indicate sustained upward bias — more candles recently closed below the current value.
Negative or low score values signal downward pressure — suggesting that recent candles are outperforming the current value.
📊 Interpreting the Chart
The indicator plots two complementary visuals:
Gunzo Trend Score (Oscillator Panel)
Green Zones (Above Upper Threshold) → Confirmed uptrend momentum and accumulation.
Red Zones (Below Lower Threshold) → Confirmed downtrend pressure and potential distribution.
Neutral Region (Between Thresholds) → Consolidation or transitional phases.
Gunzo Trend Line (Overlay on Price Chart)
The plotted line dynamically changes color:
🟩 Green: Confirmed bullish trend bias
🟥 Red: Confirmed bearish momentum
⚪ Gray: Neutral or indecisive period
This color transition acts as a visual confirmation layer, aligning the oscillator’s internal score with price structure.
🔍 How to Use It
1. Trend Identification:
When the oscillator consistently remains above the upper threshold, and the overlay line turns green, the market exhibits strong bullish continuation.
Sustained readings below the lower threshold with a red overlay signal dominant bearish control.
2. Entry Confirmation:
Combine this indicator with breakout or pullback setups. For example, enter long positions when:
The oscillator crosses above the upper threshold from below,
The overlay line flips from red to green, confirming new momentum.
Short entries follow the inverse logic.
3. Divergence Detection:
Price forming higher highs while the Gunzo Trend Score forms lower highs may hint at momentum exhaustion — signaling potential reversals.
4. Adaptive Thresholding:
Adjust ThresholdL and ThresholdS to fit volatility.
Tighter thresholds increase sensitivity (useful in lower timeframes).
Wider thresholds filter out noise (ideal for daily or higher intervals).
🧭 Strategic Insights
The Gunzo Trend Sniper is more than an oscillator — it’s a multi-dimensional market bias model.
Its comparative logic captures how consistent recent directional strength has been, effectively quantifying trend persistence. This makes it especially valuable for:
Momentum confirmation before breakouts.
Avoiding false reversals during volatile consolidation phases.
Detecting early trend slowdowns before major reversals.
| Parameter | Description |
| ------------------------------- | ------------------------------------------------------------------- |
| `MA Type` | Selects the smoothing algorithm (SMA, EMA, SMMA, or WMA).
| `MA Source` | Price input (default: OHLC4). |
| `Gunzo Length` | Lookback for the moving average engine. |
| `Smoothing Length` | Additional smoothing layer for refined signals. |
| `From / To` | Defines the historical range for the scoring loop. |
| `Threshold Uptrend / Downtrend` | Determines when a market is considered strongly bullish or bearish. |
💡 Pro Tips
Combine with volume-based indicators or ATR filters for volatility-adjusted entries.
Use in conjunction with higher timeframe confirmation — e.g., align the Gunzo Trend on 4H and 1D for stronger bias.
Works exceptionally well with trend-following strategies, especially when paired with trailing stop systems.
Multi-Entry Position SizerMulti-Entry Position Sizer (with Risk, Margin & Tables)
This tool is designed for traders who manage multiple staggered entries (scaling in) with fixed risk allocation. It calculates position sizes, margin requirements, and liquidation levels for up to 5 custom entry points, based on a defined stop loss and wallet risk.
🔧 Features
Entry Management
Supports up to 5 entries.
Use 0 to ignore an entry, -1 to auto-use current price.
Valid entries are drawn as colored dashed lines.
Invalid entries (e.g., entry on wrong side of stop loss) are flagged with red dotted lines and labels.
Risk Control
Risk defined in Direct USDT or % of wallet size.
Risk automatically split across all valid entries.
Per-entry quantity and margin calculated dynamically.
Visualization
Stop loss line in red.
Liquidation levels drawn as faded dotted lines.
Entry labels show price and required margin in USDT.
Summary table (top-right) with symbol, side, risk, SL, leverage.
Entries table (bottom-right) listing each valid entry with:
Price
Quantity
Margin in USDT
Risk/entry in USDT
Liquidation level
Alerts
Alerts trigger when price touches a valid entry.
Separate alert for stop loss hit.
📊 How to Use
Select Side (Long or Short).
Enter your Wallet Size, Risk Parameters, and Leverage.
Define your Stop Loss Price.
Configure up to 5 Entry Points.
0 = disabled
-1 = current market price
Any positive value = custom entry price
Watch tables and chart update automatically:
Invalid entries turn red (ignored in sizing).
Valid entries show correct margin and liquidation prices.
✅ Who Is It For?
Traders who scale in with multiple orders.
Traders who want precise risk per trade.
Anyone who needs to see margin requirements and liquidation prices before placing orders.
⚠️ Disclaimer:
This script is for educational purposes. It does not place orders automatically and should not be considered financial advice. Always double-check calculations with your exchange before trading.
GainzAlgo Standard🧠 GainzAlgo Standard — Intelligent Multi-Filter Signal System
GainzAlgo Standard is a non-repainting signal system that identifies potential market reversals with structured precision. It does this by combining four analytical layers—candlestick structure, volatility dynamics, RSI momentum confirmation, and short-term trend analysis—into a single, cohesive decision process.
Unlike mashups that simply merge indicators, GainzAlgo integrates these components through conditional sequencing, where each layer must confirm the previous one before a signal is produced. This logical progression filters out noise and isolates high-probability reversal zones.
🔍 How It Works
1. Candlestick Reversal Detection
The algorithm first identifies key reversal structures (e.g., bullish or bearish engulfing patterns). These mark initial signs of exhaustion in directional momentum.
2. Volatility & Range Validation
Each detected candle is evaluated against a dynamically calculated volatility threshold. Only moves exceeding recent average true range or relative candle body strength are considered valid. This ensures weak or indecisive candles are excluded.
3. RSI Momentum Confirmation
The algorithm checks whether the RSI supports the expected direction:
● Bullish setups require RSI recovery from below the mid-range (typically < 50).
● Bearish setups require RSI rejection from above mid-range (> 50).
This momentum filter prevents counter-trend false positives.
4. 5-Bar Trend Context Filter
Finally, GainzAlgo assesses short-term trend direction by comparing the slope and structure of the last five bars. Reversal signals are plotted only if the prior trend contradicts the new signal direction, confirming a genuine shift rather than minor consolidation noise.
Each stage builds upon the previous one, forming a multi-layered validation pipeline. This design means a single noisy candle or RSI fluctuation cannot trigger a signal—only a consensus among volatility, structure, and momentum can.
⚙ Key Features
● ✅ Non-repainting: Signals are calculated and confirmed at bar close.
● 📊 Adaptive logic: Conditions automatically adjust to volatility changes.
● 🌍 Universal compatibility: Works across stocks, forex, crypto, indices, and commodities.
● ⏰ Multi-timeframe ready: Optimized for both intraday and swing analysis.
● 🎯 Signal clarity: Reduces noise through four-step confirmation logic.
📘 How to Use
1. Apply GainzAlgo Standard to your preferred chart and timeframe.
2. Wait for the plotted BUY (✅) or SELL (❌) labels.
3. Use these as confirmation or timing tools within your own strategy.
4. Always complement signals with independent risk management and higher-timeframe context.
💡 Originality & Concept
While the underlying components—candlestick patterns, RSI, volatility measures—are familiar tools, GainzAlgo’s originality lies in its hierarchical sequencing and conditional logic.
Instead of treating these indicators as parallel confirmations, GainzAlgo processes them in a defined order, where failure at any stage cancels the setup. This structured logic mimics discretionary decision-making used by professional traders, but automates it with strict, reproducible criteria.
The result is a systematic reversal detector that improves clarity, reduces over-signaling, and adapts to multiple market conditions.
🔒 Vendor Justification
GainzAlgo Standard is offered as an invite-only tool because it contains proprietary weighting and sequencing logic that determines which pattern and volatility interactions qualify as valid setups.
This logic is not available in public indicators and is designed to help traders:
● Identify cleaner reversal opportunities with less chart clutter.
● Quantify signal confidence through layered confirmations.
● Apply consistent logic across markets without manual tuning.
⚠ Disclaimer: GainzAlgo Standard is an analytical tool for educational purposes. It does not guarantee trading results. Always use proper risk management.
Economic Cycle Signal (USA)📊 Economic Cycle Signal (USA)
This indicator overlays both the U.S. Federal Reserve Funds Rate (Fed Funds) and the U.S. Inflation Rate YoY directly onto your stock market chart (e.g., S&P 500). It visually connects monetary policy and inflation dynamics with equity market performance, helping traders and analysts understand how macroeconomic shifts impact risk assets.
🔹 Key Features
• Plots the monthly U.S. Fed Funds Rate alongside your chart.
• Overlays the U.S. Inflation Rate YoY, offering a direct and realistic view of inflation pressure instead of CPI.
• Shades the background to reflect different economic cycle phases (recovery, recession, expansion, late cycle).
• Highlights how the stock market reacts during shifting monetary and inflationary conditions.
• Provides a clear traffic-light style signal for quick macro interpretation.
• Now includes dynamic inflation color logic based on the Fed’s 2% target and 5% threshold (explained below).
🔹 Inflation Line Color Logic (New)
The inflation line now changes color dynamically to show whether inflation is within or outside the Federal Reserve’s comfort zone, and whether it’s rising or falling:
Inflation Condition Interpretation Line Color
Inflation > 5% and Rising Inflation overheating (well above target) 🔴 Red
Inflation > 5% and Falling Cooling off from high levels 💚 Lime
Inflation < 5% and Falling Disinflation / stable price environment 🟢 Green
Inflation < 5% and Rising Early inflation rebound 🟡 Yellow
This color-coded logic mirrors the interest rate phase colors, giving traders an instant visual cue about inflationary pressure and possible policy turning points.
🔹 How Traders & Analysts Can Use It
• Visualize the interaction between U.S. monetary policy and inflation cycles in real time.
• Identify historically supportive phases when low or easing rates follow moderate inflation.
• Detect tightening cycles when inflation spikes first and the Fed reacts, signaling potential equity headwinds.
• Use as a macro compass to anticipate inflation pressure, policy changes, and market regime shifts.
• Combine with technical analysis, fundamentals, or leading indicators for deeper macro insights.
🔹 Color Legend (Economic Phases)
🟩 Light Green → Recovery (Early Cycle)
• Rates: low or falling
• Inflation: low/stable
🟩 Green → Recession (Down Cycle)
• Rates: cut aggressively
• Inflation: falling
🟨 Yellow → Expansion (Mid Cycle)
• Rates: rising gradually
• Inflation: moderate
🟥 Red → Overheating (Late Cycle)
• Rates: high / rising fast
• Inflation: high
🔹 Inflation Context
• Inflation typically leads the policy rate cycle, offering early insight into future Fed actions.
• The U.S. Inflation Rate YoY provides a direct measure of consumer price changes compared to the same month last year — a clearer gauge of inflation pressure than CPI.
• The new color logic helps visualize whether inflation is accelerating or cooling, relative to the Fed’s 2% target and 5% upper threshold.
• This dual-overlay makes it easy to interpret the cause (inflation) and effect (interest rate policy) in one synchronized chart.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not provide financial advice or trading signals. Always combine it with your own research, proper risk management, and professional judgment.
CCT Gold Synthetic Market Cap🌎 Gold Synthetic Market Cap
Overview
The Gold Synthetic Market Cap indicator transforms the Gold Spot price (XAU/USD) into a synthetic market capitalization chart, allowing traders and analysts to visualize gold’s total estimated valuation as a global asset — similar to how cryptocurrencies are evaluated by total market cap.
This tool uses the current XAU/USD price multiplied by the total amount of gold ever mined (~210,000 metric tons), automatically converting the result into trillions of US dollars (USD T).
The outcome is a precise and dynamic representation of gold’s real-time market value — displayed as full OHLC candles in a separate chart panel.
🧠 Core Concept
Gold’s price per ounce doesn’t tell the full story of its global valuation.
By converting it to market capitalization, we can compare it to other asset classes such as:
Bitcoin’s total market cap (CRYPTOCAP:BTC)
Global equities and ETFs
Precious metals or commodities benchmarks
This indicator bridges the gap between price analysis and macro asset valuation, offering a quantitative visualization of gold’s total monetary footprint.
⚙️ Technical Mechanics
Base Symbol: OANDA:XAUUSD (or any gold pair available on your chart)
Conversion Constant:
210,000 tons × 32,150.7 oz/ton = 6.76 × 10⁹ ounces
Calculation:
MarketCap = (XAUUSD × total_ounces) / 1e12
Displayed Units: Trillions of USD (USD T)
Chart Type: Full OHLC candles (plotcandle)
Each candle represents the daily/weekly/monthly change in gold’s total market value.
🎛️ User Controls (Inputs)
Toggle Function
Show Average Line? Displays a 21-period SMA (in trillions) for trend-following analysis.
Show Info Table? Adds a small info table at the bottom-right corner showing the current market cap value.
Show Market Cap Label? Displays a live label above the last candle showing the latest market cap value.
Normalize Scale? Adjusts scaling for better visual fit. Leave enabled to avoid flat or off-screen candles.
📈 How to Use
1 - Add the indicator to your Gold Spot chart (XAUUSD).
2 - When added, TradingView automatically creates a separate panel below the main price chart.
3 - You can hide the original XAUUSD chart to focus solely on the synthetic market cap.
4 - Maximize the indicator panel (double-click or use the arrow icon) to view the synthetic market cap in full-screen mode.
Apply any drawing tools, trendlines, or visual overlays directly on this panel (they won’t affect the base chart).
Optionally, compare it side by side with Bitcoin Market Cap (CRYPTOCAP:BTC) for macro-level correlation studies.
🪙 Practical Applications
Compare Gold’s global valuation to Bitcoin, equities, or global M2 supply.
Analyze macro rotation trends between risk-off and risk-on assets.
Estimate how much capital is stored in physical gold versus digital assets.
Integrate into broader multi-asset dashboards for portfolio allocation analysis.
💡 Suggested Workflow
Keep the normalize toggle enabled (default).
Maximize the lower panel for a full synthetic chart view.
Combine this tool with the F!72 SuperTrade or MarketMonitor indicators for contextual macro insight.
Use a weekly or monthly timeframe for clearer long-term structure visualization.
📊 Notes
This indicator uses public XAU/USD pricing and does not require any external API.
Works seamlessly with any TradingView theme (light or dark).
Best viewed with logarithmic scale off, as values are already represented in trillions.
Compatible with all resolutions and broker feeds that support XAUUSD.
🔬 Example Interpretation
If Gold trades around $4,000/oz,
the total market cap is approximately:
4,000 × 32,150.7 × 210,000 ≈ 27 Trillion USD
If Gold rises to $5,000/oz,
the global valuation crosses 33.9 Trillion USD —
a move equivalent to adding the entire market cap of all major tech stocks combined.
🧭 Final Recommendation
This script is designed as an analytical overlay, not a trading signal tool.
It complements technical analysis by providing macro context — showing where gold stands as a global store of value in relation to other capital markets.
For best experience:
Use higher timeframes (1W or 1M)
Maximize the indicator panel
Keep Normalize Scale = ON
⚠️ Disclaimer
This indicator is a visualization and educational tool.
It does not provide financial advice or investment recommendations.
Always perform your own research before making financial decisions.
Author: Central Crypto Traders
Version: 1.0 (October 2025)
Type: Informational Overlay
License: Open for personal and educational use
MTF 200 SMAMulti-Timeframe (MTF) 200 SMA: Your Universal Trend Guide
Tired of switching timeframes just to check the major moving averages?
The MTF 200 SMA indicator is a powerful, customizable tool designed to give you a clear, comprehensive view of the trend across multiple timeframes, all on a single chart. It's built on Pine Script v6 for stability and performance.
Key Features:
9 MTF Lines: Simultaneously plot the 200 Simple Moving Average (SMA) for 30m, 1h, 2h, 3h, 4h, 6h, 8h, Daily, and Weekly charts. Understand the overall market structure at a glance.
Single-Click Toggle: Use the 'Current Chart TF Only' checkbox to instantly switch from the crowded MTF view to showing only the standard 200 SMA for your current chart resolution. Perfect for focusing on immediate price action.
Dynamic Highlighting: The 'Highlight Current Chart TF' option (default ON) emphasizes the SMA corresponding to your current chart, making it stand out with a bright Aqua color and a thicker line when in MTF mode.
Full Customization: Easily adjust the SMA Length and the MTF SMA Line Color directly in the indicator settings.
How to Use It:
Trend Confirmation: When all MTF lines (especially the Daily and Weekly) are aligned and moving in the same direction, it provides high-confidence trend confirmation.
Dynamic S/R: The MTF SMAs often act as strong dynamic Support and Resistance levels, even when viewing a lower timeframe like the 5-minute chart.
Clean Analysis: Use the 'Current Chart TF Only' option when you need to declutter your chart and focus on the primary trend of your active trading session.
Elevate your trend analysis today with the MTF 200 SMA!
Major Trading Sessions IndicatorsThis indicator displays vertical lines on your chart to mark the opening times of the major global trading sessions (Tokyo, Shanghai/HK, London, and New York). As a crypto trader I want to find price action patterns after sessions open.
It's fully customizable and extendable (you could add closing time for sessions as well)
Works best on short timeframes.
Features:
6 configurable vertical lines (4 preset for major sessions + 2 custom)
Each line shows a customizable label (e.g., "Tokyo", "London")
Individual time and color settings for each line
UTC offset for each line to handle Daylight Saving Time
Option to fix all labels at a specific price level for cleaner appearance (need to set and save it for each chart, it becomes a mess if you don't). Default behavior and limit of Pine Script is that it will be attached to the price wick.
Default Sessions:
Tokyo: 00:00 UTC (midnight)
Shanghai/HK: 01:30 UTC
London: 08:00 UTC (winter) - adjust offset to +1 for summer
New York: 13:00 UTC (winter) - adjust offset to -4 for summer
DST Adjustments:
Simply change the UTC offset when daylight saving time begins/ends:
London: 0 (winter) or +1 (summer)
New York: -5 (winter) or -4 (summer)
Lines extend from top to bottom of the chart and appear precisely when each session opens.
My preferred configuration: shorten names and reduce opacity of colors to 20-30%.
Volume Surprise [LuxAlgo]The Volume Surprise tool displays the trading volume alongside the expected volume at that time, allowing users to spot unexpected trading activity on the chart easily.
The tool includes an extrapolation of the estimated volume for future periods, allowing forecasting future trading activity.
🔶 USAGE
We define Volume Surprise as a situation where the actual trading volume deviates significantly from its expected value at a given time.
Being able to determine if trading activity is higher or lower than expected allows us to precisely gauge the interest of market participants in specific trends.
A histogram constructed from the difference between the volume and expected volume is provided to easily highlight the difference between the two and may be used as a standalone.
The tool can also help quantify the impact of specific market events, such as news about an instrument. For example, an important announcement leading to volume below expectations might be a sign of market participants underestimating the impact of the announcement.
Like in the example above, it is possible to observe cases where the volume significantly differs from the expected one, which might be interpreted as an anomaly leading to a correction.
🔹 Detecting Rare Trading Activity
Expected volume is defined as the mean (or median if we want to limit the impact of outliers) of the volume grouped at a specific point in time. This value depends on grouping volume based on periods, which can be user-defined.
However, it is possible to adjust the indicator to overestimate/underestimate expected volume, allowing for highlighting excessively high or low volume at specific times.
In order to do this, select "Percentiles" as the summary method, and change the percentiles value to a value that is close to 100 (overestimate expected volume) or to 0 (underestimate expected volume).
In the example above, we are only interested in detecting volume that is excessively high, we use the 95th percentile to do so, effectively highlighting when volume is higher than 95% of the volumes recorded at that time.
🔶 DETAILS
🔹 Choosing the Right Periods
Our expected volume value depends on grouping volume based on periods, which can be user-defined.
For example, if only the hourly period is selected, volumes are grouped by their respective hours. As such, to get the expected volume for the hour 7 PM, we collect and group the historical volumes that occurred at 7 PM and average them to get our expected value at that time.
Users are not limited to selecting a single period, and can group volume using a combination of all the available periods.
Do note that when on lower timeframes, only having higher periods will lead to less precise expected values. Enabling periods that are too low might prevent grouping. Finally, enabling a lot of periods will, on the other hand, lead to a lot of groups, preventing the ability to get effective expected values.
In order to avoid changing periods by navigating across multiple timeframes, an "Auto Selection" setting is provided.
🔹 Group Length
The length setting allows controlling the maximum size of a volume group. Using higher lengths will provide an expected value on more historical data, further highlighting recurring patterns.
🔹 Recommended Assets
Obtaining the expected volume for a specific period (time of the day, day of the week, quarter, etc) is most effective when on assets showing higher signs of periodicity in their trading activity.
This is visible on stocks, futures, and forex pairs, which tend to have a defined, recognizable interval with usually higher trading activity.
Assets such as cryptocurrencies will usually not have a clearly defined periodic trading activity, which lowers the validity of forecasts produced by the tool, as well as any conclusions originating from the volume to expected volume comparisons.
🔶 SETTINGS
Length: Maximum number of records in a volume group for a specific period. Older values are discarded.
Smooth: Period of a SMA used to smooth volume. The smoothing affects the expected value.
🔹 Periods
Auto Selection: Automatically choose a practical combination of periods based on the chart timeframe.
Custom periods can be used if disabling "Auto Selection". Available periods include:
- Minutes
- Hours
- Days (can be: Day of Week, Day of Month, Day of Year)
- Months
- Quarters
🔹 Summary
Method: Method used to obtain the expected value. Options include Mean (default) or Percentile.
Percentile: Percentile number used if "Method" is set to "Percentile". A value of 50 will effectively use a median for the expected value.
🔹 Forecast
Forecast Window: Number of bars ahead for which the expected volume is predicted.
Style: Style settings of the forecast.
Pivot Regime Anchored VWAP [CHE] Pivot Regime Anchored VWAP — Detects body-based pivot regimes to classify swing highs and lows, anchoring volume-weighted average price lines directly at higher highs and lower lows for adaptive reference levels.
Summary
This indicator identifies shifts between top and bottom regimes through breakouts in candle body highs and lows, labeling swing points as higher highs, lower highs, lower lows, or higher lows. It then draws anchored volume-weighted average price lines starting from the most recent higher high and lower low, providing dynamic support and resistance that evolve with volume flow. These anchored lines differ from standard volume-weighted averages by resetting only at confirmed swing extremes, reducing noise in ranging markets while highlighting momentum shifts in trends.
Motivation: Why this design?
Traders often struggle with static reference lines that fail to adapt to changing market structures, leading to false breaks in volatile conditions or missed continuations in trends. By anchoring volume-weighted average price calculations to body pivot regimes—specifically at higher highs for resistance and lower lows for support—this design creates reference levels tied directly to price structure extremes. This approach addresses the problem of generic moving averages lagging behind swing confirmations, offering a more context-aware tool for intraday or swing trading.
What’s different vs. standard approaches?
- Baseline reference: Traditional volume-weighted average price indicators compute a running total from session start or fixed periods, often ignoring price structure.
- Architecture differences:
- Regime detection via body breakout logic switches between high and low focus dynamically.
- Anchoring limited to confirmed higher highs and lower lows, with historical recalculation for accurate line drawing.
- Polyline rendering rebuilds only on the last bar to manage performance.
- Practical effect: Charts show fewer, more meaningful lines that start at swing points, making it easier to spot confluences with structure breaks rather than cluttered overlays from continuous calculations.
How it works (technical)
The indicator first calculates the maximum and minimum of each candle's open and close to define body highs and lows. It then scans a lookback window for the highest body high and lowest body low. A top regime triggers when the body high from the lookback period exceeds the window's highest, and a bottom regime when the body low falls below the window's lowest. These regime shifts confirm pivots only when crossing from one state to the other.
For top pivots, it compares the new body high against the previous swing high: if greater, it marks a higher high and anchors a new line; otherwise, a lower high. The same logic applies inversely for bottom pivots. Anchored lines use cumulative price-volume products and volumes from the anchor bar onward, subtracting prior cumulatives to isolate the segment. On pivot confirmation, it loops backward from the current bar to the anchor, computing and storing points for the line. New points append as bars advance, ensuring the line reflects ongoing volume weighting.
Initialization uses persistent variables to track the last swing values and anchor bars, starting with neutral states. Data flows from regime detection to pivot classification, then to anchoring and point accumulation, with lines rendered globally on the final bar.
Parameter Guide
Pivot Length — Controls the lookback window for detecting body breakouts, influencing pivot frequency and sensitivity to recent action. Shorter values catch more pivots in choppy conditions; longer smooths for major swings. Default: 30 (bars). Trade-offs/Tips: Min 1; for intraday, try 10–20 to reduce lag but watch for noise; on daily, 50+ for stability.
Show Pivot Labels — Toggles display of text markers at swing points, aiding quick identification of higher highs, lower highs, lower lows, or higher lows. Default: true. Trade-offs/Tips: Disable in multi-indicator setups to declutter; useful for backtesting structure.
HH Color — Sets the line and label color for higher high anchored lines, distinguishing resistance levels. Default: Red (solid). Trade-offs/Tips: Choose contrasting hues for dark/light themes; pair with opacity for fills if added later.
LL Color — Sets the line and label color for lower low anchored lines, distinguishing support levels. Default: Lime (solid). Trade-offs/Tips: As above; green shades work well for bullish contexts without overpowering candles.
Reading & Interpretation
Higher high labels and red lines indicate potential resistance zones where volume weighting begins at a new swing top, suggesting sellers may defend prior highs. Lower low labels and lime lines mark support from a fresh swing bottom, with the line's slope reflecting buyer commitment via volume. Lower highs or higher lows appear as labels without new anchors, signaling possible range-bound action. Line proximity to price shows overextension; crosses may hint at regime shifts, but confirm with volume spikes.
Practical Workflows & Combinations
- Trend following: Enter longs above a rising lower low anchored line after higher low confirmation; filter with rising higher highs for uptrends. Use line breaks as trailing stops.
- Exits/Stops: In downtrends, exit shorts below a higher high line; set aggressive stops above it for scalps, conservative below for swings. Pair with momentum oscillators for divergence.
- Multi-asset/Multi-TF: Defaults suit forex/stocks on 1H–4H; on crypto 15M, shorten length to 15. Scale colors for dark themes; combine with higher timeframe anchors for confluence.
Behavior, Constraints & Performance
Closed-bar logic ensures pivots confirm after the lookback period, with no repainting on historical bars—live bars may adjust until regime shift. No higher timeframe calls, so minimal repaint risk beyond standard delays. Resources include a 2000-bar history limit, label/polyline caps at 200/50, and loops for historical point filling (up to current bar count from anchor, typically under 500 iterations). Known limits: In extreme gaps or low-volume periods, anchors may skew; lines absent until first pivots.
Sensible Defaults & Quick Tuning
Start with the 30-bar length for balanced pivot detection across most assets. For too-frequent pivots in ranges, increase to 50 for fewer signals. If lines lag in trends, reduce to 20 and enable labels for visual cues. In low-volatility assets, widen color contrasts; test on 100-bar history to verify stability.
What this indicator is—and isn’t
This is a structure-aware visualization layer for anchoring volume-weighted references at swing extremes, enhancing manual analysis of regimes and levels. It is not a standalone signal generator or predictive model—always integrate with broader context like order flow or news. Use alongside risk management and position sizing, not as isolated buy/sell triggers.
Many thanks to LuxAlgo for the original script "McDonald's Pattern ". The implementation for body pivots instead of wicks uses a = max(open, close), b = min(open, close) and then highest(a, length) / lowest(b, length). This filters noise from the wicks and detects breakouts over/under bodies. Unusual and targeted, super innovative.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
RSI Colored by Relative StrengthThis indicator enhances the traditional RSI by combining it with Relative Strength (RS) — the ratio of an asset’s price to a chosen benchmark (e.g., SPY, QQQ, BTCUSD) — to create a more accurate, powerful, and dynamic momentum confirmation tool.
Instead of relying solely on RSI’s internal momentum, this version color-codes RSI values and backgrounds based on whether the asset is outperforming, underperforming, or neutral relative to the benchmark, not only identifying the RSI value, but color codes it in relation to the overall market to give more accurate confirmations.
• RS > 1 → The asset is outperforming the benchmark (relative strength).
• RS < 1 → The asset is underperforming.
• RS ≈ 1 → Neutral or moving in sync with the benchmark.
Gradient background zones:
• Green tones = outperformance (RS > 1).
• Red tones = underperformance (RS < 1).
• Gray neutral band = parity (RS ≈ 1).
Intensity adjusts dynamically based on how far RS deviates from 1, giving an at-a-glance view of market leadership strength.
• Color-coded RSI line: Green when RS > 1, red when RS < 1.
• Optional markers and labels show confirmed RS+RSI crossovers with smart spacing to prevent clutter.
• Alerts included for bullish and bearish RS+RSI alignment events.
How to Use
1. Add your preferred benchmark symbol (default: SPY).
2. Move this indicator into the same pane as your RSI (No need to overlay, does so automatically) and can also be used standalone.
3. Watch for:
• Green RSI & background: Significant momentum strength (asset trending upward and outpacing the market).
• Red RSI & background: False or insignificant momentum (asset lagging).
• Gray zone: neutral phase — consolidation or rotation period.
Use this as a trend-confirmation filter rather than a signal generator.
For example:
• Confirm and refine breakout entries when RS > 1 (RSI support = stronger conviction).
• Take profits when RSI weakens and RS slips below 1.
Custom Net ATR Mapping - NateThis indicator measures how much an asset actually moves — both on average and across full periods — so traders can compare short-term volatility with longer-term net momentum.
It displays four key metrics in a simple color-coded table:
Standard ATR – the average daily (or per-bar) range, showing typical volatility.
Net ATR – the average open-to-close move, revealing how much price tends to travel directionally within each bar.
Total Net Move – the total distance price has moved from the start to the end of the most recent measurement window.
Average Net Move – the typical size of that full-period move, averaged across multiple recent windows.
Together these readings help you see whether recent price action is choppy but contained (high ATR, low net move) or sustained and directional (high net move relative to ATR) — useful for spotting trend strength, breakout potential, or range-bound conditions.
TST Rahmat RamadhanThis indicator was created to simplify (Time Session Trading) in regions with GMT +7 time zones, using the London Session, Asia Session, and New York Session time systems.
The purpose of dividing trading sessions is to make it easier to see price movements during trading hours based on the trading session.
This indicator was created for personal use, but can be used by anyone in the same time zone.
Please note that this indicator does not display buy or sell signals, so technical analysis skills are required to use it.
Good luck!
FVG and OB🧠 Concept Behind the “FVG and OB” Indicator
This indicator merges two core ICT (Inner Circle Trader) concepts — Fair Value Gaps (FVGs) and Order Blocks (OBs) — into one clean, dynamic visualization tool.
It is designed for professional price-action traders who want to track institutional imbalances and smart money footprints directly on the chart.
🟩 FAIR VALUE GAP (FVG)
An FVG represents an imbalance in price caused by aggressive buying or selling where the market fails to offer two-way liquidity.
It’s typically created when a strong candle leaves a visible “gap” between the previous candle’s high and the next candle’s low (for bullish FVG), or vice versa (for bearish FVG).
In this indicator:
🟢 Bullish FVGs are drawn when low > high
🔴 Bearish FVGs are drawn when high < low
Each gap box dynamically extends to the right until it is mitigated (partially or fully filled).
You can choose between two mitigation modes:
Boundary Touch (default): The FVG is considered mitigated once price touches the gap boundary.
Full Fill: The FVG remains active until the entire gap range is filled.
This gives you real-time awareness of whether liquidity has been rebalanced — a key ICT concept in identifying market turning points.
🟥 ORDER BLOCK (OB)
An Order Block represents the last opposing candle before a strong impulsive move.
It is where institutional traders likely executed large block orders, creating supply or demand zones that price often revisits.
In this script, an OB is automatically drawn:
🟥 Bearish OBs form after a strong down move (usually following a bearish FVG).
🟩 Bullish OBs form after a strong up move (usually following a bullish FVG).
Key features:
The indicator can detect OBs in two ways:
Only FVG’s First Candle: A stricter mode aligning OB formation directly with FVG events.
Classic (Last Opposite Color): A more traditional ICT-style detection that finds the last candle of the opposite color within a defined lookback range.
OBs auto-expand with the next candle’s wick, so any extra high/low beyond the original OB is included by default.
Each OB remains extended until mitigated — when price revisits and closes the imbalance.
⚙️ CONTROL & CUSTOMIZATION
You can control the entire behavior and visualization through the settings panel:
Display Mode: Show only FVGs, only OBs, or both simultaneously.
Mitigation Mode: Choose how strict the FVG closure logic should be.
Body-Only Option: Restrict OB calculation to candle bodies instead of wicks for cleaner structure.
Individual Color Settings: Customize border and fill colors for each block type.
Lookback Depth: Define how far back the system searches for valid OB structures.
The result is a clean, layered representation of institutional footprints — with automatic cleanup logic that prevents chart clutter and keeps only active zones visible.
📊 PRACTICAL APPLICATION
Use this indicator to:
Identify imbalances left by aggressive moves (potential retracement targets).
Confirm confluences between FVGs and OBs — the overlap areas often mark powerful reaction zones.
Track mitigation progress as price revisits those zones.
Refine entry timing when price reacts to unmitigated OBs or fills the last untested FVG.
🧩 TECHNICAL DESIGN
Built in Pine Script v5 with fully modular code architecture.
FVG and OB modules can be toggled or used independently.
Uses arrays for efficient management of multiple boxes.
Auto-updates in real-time and mitigates per-bar to minimize lag.
Designed for multi-timeframe backtesting compatibility.
💡 Summary
This tool visually bridges two of the most powerful Smart Money Concepts —
FVG = imbalance zones and OB = institutional origin blocks.
Together, they help traders map out liquidity flows, identify premium/discount zones, and anticipate where price is likely to react next.
🧑💻 Credits
Based on ICT & Smart Money Concepts, rewritten in modular PineScript with precision mitigation logic.
# For educational and analytical purposes only.
Session Lines Clean (Asia/London/NY)Session Lines Clean (Asia/London/NY) — v6” automatically plots the high and low levels of the Asia and London forex sessions, and marks the opening times of Asia, London, and New York sessions with vertical dashed lines. The indicator helps traders quickly identify key session ranges, potential liquidity areas, and time-based structure levels. Optional labels and visibility toggles make it easy to customize the display without cluttering the chart.
Custom Session highlighter - Dual Sessions + TimezoneCustom Session highlighter - Dual Sessions + Timezone






















