📌 MTF Trend Fusion - V3/**
* @name 📌 MTF Trend Fusion - V3
* @version 3.0
* @author YourNameHere
* @description
* A multi-timeframe (MTF) trend filter indicator that analyzes EMA values across different timeframes
* to determine the overall trend direction and strength.
* Trend direction is visualized with background color, and trend strength is shown as a percentage and label.
* The indicator also provides optional buy/sell signals and alert support.
*
* Features:
* - Calculates EMA on 3 user-defined timeframes
* - Determines trend direction based on price vs. all EMAs
* - Displays trend strength (%) and a descriptive label
* - Optional EMA plots
* - Visual trend indication via background color
* - Buy/Sell signal plotting with alerts
* - Optional alert on trend strength change
*
* Usage:
* Set the EMA length and 3 timeframes from the input panel.
* The indicator calculates EMA values for each timeframe and compares them with the current price.
* If price is above all EMAs → Bullish trend. If below all → Bearish trend.
*
* Notes:
* - This is not a strategy; it's a trend confirmation tool.
* - Signals may lag due to higher timeframe data.
* - Buy/Sell signals trigger when trend strength is exactly +100% or -100%.
* - Optimization may be needed for different assets or market conditions.
*
* Default Settings:
* EMA Length: 50
* Timeframe 1: 15 minutes
* Timeframe 2: 60 minutes (1 hour)
* Timeframe 3: 240 minutes (4 hours)
*/
Wave Analysis
QuantumFlowX™ - Özgün Momentum Algoritması + NUPUGoals:
Momentum Analysis: The primary goal of the momentum indicator is to assess the speed and strength of a price move. We will conduct independent analyses of price and momentum to detect momentum movements.
Divergence Detection: By identifying discrepancies (divergences) between price movements and momentum indicators, we will generate buy and sell signals.
Visualization: The momentum indicator’s visual representation will be clearly shown on the chart either as a line or histogram. Divergences and buy/sell signals will also be marked using shapes.
Steps:
Calculating the Momentum Indicator:
We will calculate the momentum indicator based on price changes over a specified period.
Detecting Divergences Between Price and Momentum:
Divergences will be identified when the price moves in one direction, while the momentum indicator moves in the opposite direction.
Marking Divergences Visually on the Chart:
Divergences will be clearly marked with shapes (arrows or labels) to indicate buy and sell opportunities.
Displaying Momentum Lines and Histograms:
Momentum will be displayed on the chart using lines or histograms, clearly showing the strength and direction of the price move.
Head Hunter HHHead Hunter HH - Advanced Market Structure & Volume Analysis Indicator
This indicator combines volume analysis, price action, and VWAP to identify high-probability trading opportunities across multiple timeframes.
Key Features:
• Smart Volume Analysis: Detects institutional volume patterns using dynamic thresholds
• VWAP-Based Market Structure: Multiple standard deviation bands for precision entry/exit
• Daily Level Integration: Previous day's high, low, close, and current day's open
• Advanced Signal Classification: Regular, Super Strong, and Scalp signals
Signal Types:
1. Regular Signals (White/Purple Triangles)
• Volume-confirmed reversals
• Institutional price levels
• Technical momentum alignment
2. Super Strong Signals (Green/Red Diamonds)
• High-volume breakouts
• Strong momentum confirmation
• Multiple timeframe alignment
3. Scalp Signals (Green/Magenta Circles)
• Quick reversal opportunities
• VWAP deviation analysis
• Volume surge confirmation
Visual Components:
• VWAP with Standard Deviation Bands
• 50 MA (optional)
• Daily Reference Levels
• Color-coded signals based on strength
• Bar color changes on confirmed signals
Best Practices:
• Most effective on higher timeframes (1H+)
• Use with major pairs/instruments
• Combine signals with support/resistance
• Monitor volume confirmation
• Wait for candle close confirmation
This indicator helps identify institutional order flow and high-probability reversal zones by analyzing volume patterns, price action, and market structure, providing traders with multiple confirmation layers before entry.
Note: Results may vary based on market conditions and timeframe selection. Always use proper risk management.
Break of Structure & Change of CharacterThis Break of Structure & Change of Character indicator is a fully customizable Pine Script v6 tool designed to help you spot key market structure shifts on any timeframe (optimized by default for 5‑minute charts). Here’s what it does and how to tailor it:
What It Detects
Swing Pivots
Finds local swing highs and lows over a configurable lookback (Pivot Lookback).
Break of Structure (BOS)
Marks when price closes beyond the last swing high (bullish BOS) or below the last swing low (bearish BOS), using an ATR‑based buffer to filter out minor moves.
Change of Character (CHoCH)
After a BOS, watches for price to reverse back through that level (e.g. a drop below the higher‑low after a bullish BOS), signaling a potential shift in momentum.
Key Inputs & Features
Pivot Lookback (pivotLen): How many bars to look back for pivots (default 8 for a 5‑min chart).
Fast Mode: When enabled, halves both the pivot lookback and ATR threshold for quicker—but noisier—signals.
ATR Threshold (atrLen & atrMult): Uses ATR(atrLen) × atrMult to require a minimum follow‑through beyond the pivot for a valid BOS/CHoCH.
Show Labels / Show Pivot Labels: Toggle on/off all structure labels or just pivot “x” markers.
Appearance Customization
Colors: Choose separate colors for pivot highs/lows, BOS labels, CHoCH labels, and structure lines.
Line Style: Select “Solid”, “Dotted”, or “Dashed” for your swing‑level lines.
Label Size & Style: Pick “Tiny”, “Small”, or “Normal” text size and choose label orientation (Up/Down/Left/Right) independently for pivots, BOS, and CHoCH.
Pivot Label Text: Change the pivot marker from the default “x” to any character you prefer.
How to Use
Add to Chart: Apply it on a 5‑minute chart (you’ll get a one‑time notice if you’re on another timeframe).
Tweak Inputs: Adjust pivot lookback, ATR multiplier, and toggle Fast Mode to suit your style.
Interpret Signals:
Green “BOS↑” or red “BOS↓” labels mark structure breaks.
Orange “CHoCH↓” or “CHoCH↑” labels flag the reversal through that level.
Dotted (or styled) lines trace the last swing high/low for visual reference.
XAUUSD IST SessionsThe script is designed to highlight specific time zones on your chart based on Indian Standard Time (IST):
✅ Morning session: 5:30 AM to 7:30 AM IST
✅ Evening session: 7:00 PM to 9:00 PM IST
Since TradingView scripts work on UTC (Coordinated Universal Time), we convert IST to UTC first.
📦 Breakdown of the Code:
🟦 indicator("XAUUSD IST Sessions", overlay=true)
This line tells TradingView to create a custom indicator and draw it on the price chart (overlay=true).
Zig Zag + Fibonacci PROPlots ZigZag structure with optional Fibonacci retracement levels.
Helps identify recent highs/lows and possible support/resistance zones.
Customizable levels and alert on price cross.
Wavelet Smoothed Moving Average (TechnoBlooms)Wavelet Smoothed Moving Average (WSMA) is a part of the Quantum Price Theory (QPT) Series of indicators.
Overview:
The Wavelet Smoothed Moving Average (WSMA) is a trend-following indicator inspired by multi-level Haar Wavelet decomposition. Rather than using traditional wavelet basis functions, it emulates the core wavelet concept of multi-resolution analysis using nested simple moving averages (SMA).
How It Works:
WSMA applies three levels of smoothing:
• Level 1: SMA on price (base smoothing)
• Level 2: SMA on Level 1 output (further denoising)
• Level 3: SMA on Level 2 output (final approximation)
Why Use WSMA:
• Multi-Level Smoothing: Captures price structure across multiple time scales, unlike single-length MAs.
• Noise Reduction: Filters out short-term volatility and focuses on the underlying trend.
• Low Lag, High Clarity: Unlike traditional moving averages that react slowly or miss subtle shifts, WSMA’s layered smoothing delivers cleaner and more adaptive trend detection.
Unique Value:
• Wavelet-Inspired Design: Mimics core wavelet decomposition logic without the complexity of downsampling or basis functions.
• Perfect for Trend Confirmation: The final line (a3) can act as a trend filter, while the detail levels can help identify momentum shifts and volatility bursts.
• Fits Into Quantum Price Theory: As part of the QPT framework, WSMA bridges scientific theory with trading application, giving traders a deeper understanding of market structure and signal compression.
Fractal Wave MarkerFractal Wave Marker is an indicator that processes relative extremes of fluctuating prices within 2 periodical aspects. The special labeling system detects and visually marks multi-scale turning points, letting you visualize fractal echoes within unfolding cycles dynamically.
What This Indicator Does
Identifies major and minor swing highs/lows based on adjustable period.
Uses Phi in power exponent to compute a higher-degree swing filter.
Labels of higher degree appear only after confirmed base swings — no phantom levels, no hindsight bias. What you see is what the market has validated.
Swing points unfold in a structured, alternating rhythm . No two consecutive pivots share the same hierarchical degree!
Inspired by the Fractal Market Hypothesis, this script visualizes the principle that market behavior repeats across time scales, revealing structured narrative of "random walk". This inherent sequencing ensures fractal consistency across timeframes. "Fractal echoes" demonstrate how smaller price swings can proportionally mirror larger ones in both structure and timing, allowing traders to anticipate movements by recursive patterns. Cycle Transitions highlight critical inflection points where minor pivots flip polarity such as a series of lower highs progress into higher highs—signaling the birth of a new macro trend. A dense dense clusters of swing points can indicate Liquidity Zones, acting as footprints of institutional accumulation or distribution where price action validates supply and demand imbalances.
Visualization of nested cycles within macro trend anchors - a main feature specifically designed for the chartists who prioritize working with complex wave oscillations their analysis.
Dynamic Momentum BandsDynamic Momentum Bands
Introduction
The Dynamic Momentum Bands indicator is a powerful analytical tool designed to help traders identify the strength and direction of market momentum with greater precision. By combining key technical methodologies such as Relative Strength Index (RSI), adaptive volatility analysis, and customizable moving averages this indicator offers a multi-dimensional perspective on evolving market conditions. Whether in trending or ranging environments, Dynamic Momentum Bands aim to deliver actionable insights that enhance decision-making and risk management.
Key Features
Adaptive Band Calculation: The bands adjust dynamically in response to market conditions, allowing them to expand during volatile periods and contract during consolidation phases.
RSI-Driven Volatility Scaling: Integrates RSI analysis to scale the width of the bands based on momentum strength, creating a responsive and context-aware framework for trend evaluation.
Multiple Moving Average Options: Offers flexibility with various smoothing techniques, enabling users to tailor the indicator to their preferred strategies (e.g., EMA, SMA, WMA).
Smooth Gradient-Based Visualization: Enhances visual clarity with color gradients that reflect momentum intensity and directional bias, supporting intuitive interpretation of the market state.
How It Works
The Dynamic Momentum Bands indicator operates by combining three core components:
Adaptive Moving Averages: A central baseline is calculated using a selected moving average type. This baseline reflects the general price trend over a user-defined lookback period.
Volatility-Scaled Band Widths: Band distances from the central average are determined using an RSI-based volatility model. Higher RSI values and volatility readings cause the bands to widen, signaling stronger price momentum or potential breakouts.
Gradient Visualization: The bands are color-coded with gradient fills to reflect changes in momentum strength, providing real-time visual cues about potential trend shifts or exhaustion points.
This integration of methodologies allows the indicator to remain responsive to price action while maintaining a smooth, noise-filtered representation of market dynamics.
Conclusion
The Dynamic Momentum Bands indicator offers a versatile and insightful approach to tracking market momentum and volatility. Its adaptive design and multifactor methodology make it suitable for traders who seek a deeper understanding of price behavior beyond conventional moving average envelopes. By delivering a visually rich and responsive analysis tool, it empowers users to make more informed trading decisions across various market environments.
Disclaimer
This indicator is intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. Users are advised to conduct their own analysis and consult with a licensed financial advisor before making any trading decisions.
DEMA SuperTrendDEMA SuperTrend
Introduction
The DEMA SuperTrend is a sophisticated trend-following indicator that integrates the speed and smoothness of the Double Exponential Moving Average (DEMA) with the classic SuperTrend methodology. Designed for traders seeking a more responsive alternative to standard trend indicators, the DEMA SuperTrend helps identify the prevailing market direction with minimal lag. It plots directly on the price chart, making it intuitive and accessible for real-time analysis across various timeframes and trading instruments.
Key Features
DEMA-Based Smoothing: Enhances traditional SuperTrend signals by applying DEMA, reducing signal lag and improving responsiveness to market changes.
Dynamic Trend Visualization: Clearly marks uptrend and downtrend phases with adaptive bands that follow price action.
Customizable Inputs: Users can tailor the ATR period, multiplier, and DEMA length to suit their strategy and trading style.
Visual Themes: Custom color schemes and line styles offer a personalized charting experience, supporting better clarity and decision-making.
How It Works
The DEMA SuperTrend calculates the Average True Range (ATR) to measure market volatility and applies a multiplier to determine the band offset. Instead of using a standard moving average, it employs the Double Exponential Moving Average to smooth the price series. The result is a responsive overlay that adjusts more quickly to market shifts compared to the traditional SuperTrend.
Uptrend: Triggered when the price closes above the DEMA-adjusted upper band.
Downtrend: Triggered when the price closes below the DEMA-adjusted lower band.
Band Switching: When a crossover occurs, the indicator switches the band to the opposite side of the price, signaling a potential change in trend direction.
Visual cues and color-coded zones on the chart enhance interpretability, making it easier for traders to react promptly to shifts in momentum.
Conclusion
The DEMA SuperTrend indicator combines the best of both worlds—robust trend-following logic and advanced smoothing—offering traders a powerful tool for identifying and tracking market trends with enhanced accuracy. Its versatility, responsiveness, and customization features make it suitable for both intraday and swing trading strategies.
Disclaimer
This indicator is intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. Users should conduct their own research and risk assessment before making trading decisions.
BINANCE:BTCUSDT RSI📊 BTC RSI Deviation Visualizer
This indicator visualizes the deviation of BTC RSI from the neutral level (50) to highlight momentum extremes and potential reversal zones in a simplified and color-coded format.
It is specifically designed for traders who prefer to monitor RSI strength centered around neutrality (0 as midpoint) instead of absolute RSI values.
🧠 Concept
This tool subtracts 50 from the RSI of BINANCE:BTCUSDT, creating a deviation value:
java
복사
편집
RSI Deviation = RSI - 50
This approach allows traders to interpret bullish or bearish bias more intuitively:
RSI > 50 → positive deviation → bullish
RSI < 50 → negative deviation → bearish
The result is plotted as a zero-centered histogram, where color and shape dynamically indicate the strength of deviation.
🔍 Visual Components
Color-coded Histogram:
Gradient bar colors reflect the size and direction of deviation.
Strong bullish (+10 to +30): light to dark orange
Strong bearish (-10 to -30): light to dark blue
Extreme values (>|30|): highlighted in yellow
Reversal Zone Circles:
Green circles are plotted when RSI deviation exceeds +30
Red circles appear when deviation is below -30
Circles are rate-limited to avoid visual noise (one signal every 5+ bars)
Reference Lines:
0 line (neutral RSI 50)
±35 threshold lines for identifying abnormal momentum
🔧 Settings
RSI Length: Default 14 (can be adjusted based on your time frame or strategy)
✅ Use Cases
Momentum Strength Monitoring:
Identify when BTC is showing sustained buying/selling pressure above typical ranges.
Reversal Signal Layer:
Use the circle markers to flag possible overbought/oversold peaks in conjunction with other tools.
Trend Filtering:
Use deviation direction (+/-) as an additional filter for trend-based strategies.
🧩 Compatibility
Works on any time frame
Only uses BINANCE:BTCUSDT price
Lightweight and highly responsive
🔐 Originality & Value
Unlike traditional RSI plots, this indicator offers a centered and directional perspective on RSI momentum.
The design emphasizes trend pressure, not just overbought/oversold thresholds, making it highly compatible with scalping, swing, or trend-following strategies.
2x Marubozu Signal (Wick ≤ 30%)The 2x Marubozu Signal (Wick ≤ 30%) is a powerful, momentum-based price action indicator designed to catch strong bullish or bearish trends early. It scans for two consecutive Marubozu-style candles (where wicks are ≤ 30% of the total candle size) to identify moments of solid conviction from buyers or sellers.
This indicator detects:
Bullish Signal: Two green candles in a row, both with tiny wicks (≤ 30% of total candle size), indicating strong buying pressure and momentum.
Bearish Signal: Two red candles in a row, both with tiny wicks (≤ 30%), signaling dominant selling pressure.
The signal appears on the second candle — confirming the continuation move after initial momentum.
Key Features:
🔍 Wick Ratio Filter: Only triggers if both candles have upper and lower wicks less than or equal to 30% of the full candle range (High - Low).
📈 Visual Signal Arrows:
Green Up Arrow on bullish 2x Marubozu
Red Down Arrow on bearish 2x Marubozu
⚙️ Clean and Lightweight: No lag, perfect for intraday, swing, or trend-based strategies.
🎯 Use Case:
Trend Confirmation: Enter after the second strong Marubozu to ride breakout moves.
Momentum Filter: Combine with your existing strategy to filter only high-conviction price action setups.
Reversal Spotting: Catch reversals at key support/resistance when Marubozus form.
🧠 Pro Tips:
Works best on 15m–1D charts, especially after consolidation.
Combine with support/resistance, volume, or EMA/SMA zones for confirmation.
Avoid overtrading in choppy zones—this is a momentum-only tool.
🚀 Who’s It For?
Price Action Traders
Scalpers & Swing Traders
Trend-followers
Crypto, Forex, Stocks
📌 Author Note:
This indicator was crafted for traders who trust pure candle structure over lagging indicators. If you respect momentum, this is your edge.
Multi-SMA Dashboard (10 SMAs)Description:
This script, "Multi-SMA Dashboard (10 SMAs)," creates a dashboard on a TradingView chart to analyze ten Simple Moving Averages (SMAs) of varying lengths. It overlays the chart and displays a table with each SMA’s direction, price position relative to the SMA, and angle of movement, providing a comprehensive trend overview.
How It Works:
1. **Inputs**: Users define lengths for 10 SMAs (default: 5, 10, 20, 50, 100, 150, 200, 250, 300, 350), select a price source (default: close), and customize table appearance and options like angle units (degrees/radians) and debug plots.
2. **SMA Calculation**: Computes 10 SMAs using the `ta.sma()` function with user-specified lengths and price source.
3. **Direction Determination**: The `sma_direction()` function checks each SMA’s trend:
- "Up" if current SMA > previous SMA.
- "Down" if current SMA < previous SMA.
- "Flat" if equal (no strength distinction).
4. **Price Position**: Compares the price source to each SMA, labeling it "Above" or "Below."
5. **Angle Calculation**: Tracks the most recent direction change point for each SMA and calculates its angle (atan of price change over time) in degrees or radians, based on the `showInRadians` toggle.
6. **Table Display**: A 12-column table shows:
- Columns 1-10: SMA name, direction (Up/Down/Flat), Above/Below status, and angle.
- Column 11: Summary of Up, Down, and Flat counts.
- Colors reflect direction (lime for Up/Above, red for Down/Below, white for Flat).
7. **Debug Option**: Optionally plots all SMAs and price for visual verification when `debug_plots_toggle` is enabled.
Indicators Used:
- Simple Moving Averages (SMAs): 10 user-configurable SMAs ranging from short-term (e.g., 5) to long-term (e.g., 350) periods.
The script runs continuously, updating the table on each bar, and overlays the chart to assist traders in assessing multi-timeframe trend direction and momentum without cluttering the view unless debug mode is active.
Goichi Hosoda TheoryGreetings to traders. I offer you an indicator for trading according to the Ichimoku Kinho Hyo trading system. This indicator determines possible time cycles of price reversal and expected asset price values based on the theory of waves and time cycles by Goichi Hosoda.
The indicator contains classic price levels N, V, E and NT, and is supplemented with intermediate levels V+E, V+N, N+NT and x2, x3, x4 for levels V and E, which are used in cases where the wave does not contain corrections and there is no possibility to update the impulse-corrective wave.
A function for counting bars from points A B and C has also been added.
Multi Oscillator OB/OS Signals v3 - Scope TestIndicator Description: Multi Oscillator OB/OS Signals
Purpose:
The "Multi Oscillator OB/OS Signals" indicator is a TradingView tool designed to help traders identify potential market extremes and momentum shifts by monitoring four popular oscillators simultaneously: RSI, Stochastic RSI, CCI, and MACD. Instead of displaying these oscillators in separate panes, this indicator plots distinct visual symbols directly onto the main price chart whenever specific predefined conditions (typically related to overbought/oversold levels or line crossovers) are met for each oscillator. This provides a consolidated view of potential signals from these different technical tools.
How It Works:
The indicator calculates the values for each of the four oscillators based on user-defined settings (like length periods and price sources) and then checks for specific signal conditions on every bar:
Relative Strength Index (RSI):
It monitors the standard RSI value.
When the RSI crosses above the user-defined Overbought (OB) level (e.g., 70), it plots an "Overbought" symbol (like a downward triangle) above that price bar.
When the RSI crosses below the user-defined Oversold (OS) level (e.g., 30), it plots an "Oversold" symbol (like an upward triangle) below that price bar.
Stochastic RSI:
This works similarly to RSI but is based on the Stochastic calculation applied to the RSI value itself (specifically, the %K line of the Stoch RSI).
When the Stoch RSI's %K line crosses above its Overbought level (e.g., 80), it plots its designated OB symbol (like a downward arrow) above the bar.
When the %K line crosses below its Oversold level (e.g., 20), it plots its OS symbol (like an upward arrow) below the bar.
Commodity Channel Index (CCI):
It tracks the CCI value.
When the CCI crosses above its Overbought level (e.g., +100), it plots its OB symbol (like a square) above the bar.
When the CCI crosses below its Oversold level (e.g., -100), it plots its OS symbol (like a square) below the bar.
Moving Average Convergence Divergence (MACD):
Unlike the others, MACD signals here are not based on fixed OB/OS levels.
It identifies when the main MACD line crosses above its Signal line. This is considered a bullish crossover and is indicated by a specific symbol (like an upward label) plotted below the price bar.
It also identifies when the MACD line crosses below its Signal line. This is a bearish crossover, indicated by a different symbol (like a downward label) plotted above the price bar.
Visualization:
All these signals appear as small, distinct shapes directly on the price chart at the bar where the condition occurred. The shapes, their colors, and their position (above or below the bar) are predefined for each signal type to allow for quick visual identification. Note: In the current version of the underlying code, the size of these shapes is fixed (e.g., tiny) and not user-adjustable via the settings.
Configuration:
Users can access the indicator's settings to customize:
The calculation parameters (Length periods, smoothing, price source) for each individual oscillator (RSI, Stoch RSI, CCI, MACD).
The specific Overbought and Oversold threshold levels for RSI, Stoch RSI, and CCI.
The colors associated with each type of signal (OB, OS, Bullish Cross, Bearish Cross).
(Limitation Note: While settings exist to toggle the visibility of signals for each oscillator individually, due to a technical workaround in the current code, these toggles may not actively prevent the shapes from plotting if the underlying condition is met.)
Alerts:
The indicator itself does not automatically generate pop-up alerts. However, it creates the necessary "Alert Conditions" within TradingView's alert system. This means users can manually set up alerts for any of the specific signals generated by the indicator (e.g., "RSI Overbought Enter," "MACD Bullish Crossover"). When creating an alert, the user selects this indicator, chooses the desired condition from the list provided by the script, and configures the alert actions.
Intended Use:
This indicator aims to provide traders with convenient visual cues for potential over-extension in price (via OB/OS signals) or shifts in momentum (via MACD crossovers) based on multiple standard oscillators. These signals are often used as potential indicators for:
Identifying areas where a trend might be exhausted and prone to a pullback or reversal.
Confirming signals generated by other analysis methods or trading strategies.
Noting shifts in short-term momentum.
Disclaimer: As with any technical indicator, the signals generated should not be taken as direct buy or sell recommendations. They are best used in conjunction with other forms of analysis (price action, trend analysis, volume, fundamental analysis, etc.) and within the framework of a well-defined trading plan that includes risk management. Market conditions can change, and indicator signals can sometimes be false or misleading.
zigzag all timeThe indicator is applicable across all timeframes, meaning it can be used for short-term (e.g., minutes, hours) or long-term (e.g., days, weeks, months) trading strategies. This ensures that the analysis is versatile and adaptable to different trading styles.
Momentum Charge Theory (MCT)-(TechnoBlooms)The Momentum Charge Theory (MCT) Indicator is an advanced physics and mathematics-inspired trend detection system designed to identify market energy shifts with precision. Unlike traditional indicators that rely on static formulas, MCT integrates entropy, volatility, kinetic energy, and wavelet transforms to map price dynamics in real time.
Built on Scientific Principles – This indicator applies quantum-inspired charge-discharge mechanics to spot early trend formations and reversals. Think of price action like an energy system: it charges (builds momentum) before an explosive move and discharges when that energy dissipates.
Core Concepts Behind MCT
1️⃣ Directional Market Entropy – Measuring Trend Strength
Entropy quantifies market randomness – is the trend structured or chaotic?
✅ A high-entropy market is uncertain (choppy price action), while a low-entropy market signals a strong directional trend.
✅ MCT normalizes entropy, allowing traders to differentiate trend acceleration from market noise.
2️⃣ Information Flow Volatility – Identifying Breakout Zones
Inspired by Econophysics, this component measures volatility based on information flow rather than simple price movements.
✅ Helps spot high-volatility breakout conditions before they occur.
✅ Filters out false breakouts caused by random market noise.
3️⃣ Kinetic Energy Momentum (KEM) – The Physics of Price Acceleration
Just like in physics, momentum is a function of mass and velocity – in trading, this translates to volume and price change.
✅ Uses kinetic energy equations to identify price acceleration zones.
✅ Helps detect momentum shifts before price visibly reacts.
4️⃣ Hilbert Transform Approximation – Slope & Trend Direction Analysis
Applies Hilbert Transforms to estimate trend angle shifts.
✅ Detects momentum decay and early reversal signals.
✅ Captures the true trend slope rather than relying on lagging moving averages.
5️⃣ Wavelet Transform – Advanced Noise Filtering & Trend Confirmation
Market movements contain multiple frequencies – wavelet transforms isolate dominant trends while removing short-term price noise.
✅ Improves trend clarity by reducing false signals.
✅ Acts as a final confirmation filter before generating Charge & Discharge signals.
Charge & Discharge – The Energy Behind Market Moves
🔹 Charge (Uptrend Activation)
A blue triangle appears below the candle when market conditions align for a strong bullish move.
📈 Indicates momentum buildup, low entropy, and trend strength confirmation.
🔸 Discharge (Downtrend Activation)
A purple triangle appears above the candle when price momentum weakens and market entropy increases.
📉 Suggests a potential trend exhaustion or reversal.
Best Use Cases for Traders
✅ Momentum Traders – Catch trend initiations before they gain full traction.
✅ Breakout Traders – Identify high-information flow zones with volatility-driven signals.
✅ Trend Followers – Avoid false signals by relying on entropy-driven confirmations.
The MCT indicator can be combined with any of your usual indicators for trend confirmation.
Zig Zag Trend Metrics“ Zig Zag Trend Metrics ” is a highly versatile indicator, built on the classic Zig Zag concept and thoughtfully designed for technical traders seeking a deeper, more structured view of market dynamics. This tool identifies significant swing highs and lows, classifies them, and annotates each with key metrics, offering a precise snapshot of each movement. It enhances visual analysis by drawing connecting lines that outline the flow of market structure, making trend progression and reversals instantly recognizable. Beyond visual mapping, it features a compact, real-time statistics table that calculates the average price and time deltas for both bullish and bearish swings, giving traders deep insights into trend momentum and rhythm. With extensive customization options, this indicator adapts seamlessly to vast trading styles or chart setups, empowering traders to spot patterns, evaluate trend strength, and make more confident, data-backed decisions.
❖ FEATURES
✦ Automatic Swing Detection
At its core, this indicator automatically identifies swing highs and lows based on a customizable lookback period (default: 10 bars).
✦ Labeling Swing Points
Each swing is visualized with a label that includes:
Swing Classification : “HH” (Higher High), “LH” (Lower High), “LL” (Lower Low), or “HL” (Higher Low).
Price Difference : Displayed in percentage or absolute value from the previous opposite swing.
Time Difference : The number of bars since the previous swing of the opposite type.
These labels offer traders clear, immediate insight into price movements and structural changes.
✦ Visual Lines
The indicator draws three types of lines:
Bullish Lines: Connect recent swing lows to new swing highs, indicating uptrends.
Bearish Lines: Connect recent swing highs to new swing lows, indicating downtrends.
Range Lines: Connect consecutive highs or lows to outline price channels.
Each line type can be color-coded and customized for visibility.
✦ Statistics Table
An on-screen metrics table provides a live summary of trends. Script uses Relative Averaging to smooth price and time changes. This prevents outliers from distorting the data and provides a more reliable sense of typical swing behavior.
Uptrend Metrics: Shows average price and time differences from recent bullish swings.
Downtrend Metrics: Shows the same for bearish swings.
🛠️ Customization Options
Ability to tailor the indicator to suit their strategy and aesthetic preferences:
Swing Period: Adjust sensitivity to short- or long-term swings.
Color Settings: Customize line and label colors.
Label Display: Choose between absolute or percentage price differences.
Table Settings: Modify size, location, or visibility.
This makes the indicator highly flexible and useful across various timeframes and assets.
Multi-timeframe Trend & Momentum DashboardMulti-Timeframe Trend & Momentum Dashboard
This indicator is a comprehensive multi-timeframe analysis tool designed for traders who want to quickly assess market trends and momentum across several timeframes. It combines trend detection with duration tracking and displays key information in an easy-to-read on-chart table. Key features include:
Multi-Timeframe Analysis:
Analyzes nine different timeframes (from 1-minute up to 1-week) simultaneously, helping you gauge the overall market trend at a glance.
Trend Detection & Duration:
Uses a combination of a short-term EMA and a long-term SMA to determine whether the market is bullish, bearish, or neutral. It also tracks how long the current trend has persisted in terms of consecutive bars and displays this duration next to each timeframe.
RSI Display & Visual Alerts:
Calculates the RSI for each timeframe. RSI values are color-coded—green when above 50 (indicating bullish momentum) and red when below 50 (indicating bearish conditions). Additionally, if the market is bearish on a particular timeframe while the RSI is above 50, the RSI cell flashes yellow to alert you of a potential trend reversal or divergence.
On-Chart Trend Start Markers:
When a new trend is detected on your current chart’s timeframe, the indicator automatically marks the bar with a label showing the new trend direction, providing a clear visual cue for trend changes.
This powerful tool is perfect for traders looking to combine multi-timeframe trend analysis with momentum indicators, enabling a more informed and dynamic trading strategy. Whether you’re a day trader or swing trader, the Multi-Timeframe Trend & Momentum Dashboard brings clarity to market conditions across multiple time horizons.
ZigZag█ Overview
This Pine Script™ library provides a comprehensive implementation of the ZigZag indicator using advanced object-oriented programming techniques. It serves as a developer resource rather than a standalone indicator, enabling Pine Script™ programmers to incorporate sophisticated ZigZag calculations into their own scripts.
Pine Script™ libraries contain reusable code that can be imported into indicators, strategies, and other libraries. For more information, consult the Libraries section of the Pine Script™ User Manual.
█ About the Original
This library is based on TradingView's official ZigZag implementation .
The original code provides a solid foundation with user-defined types and methods for calculating ZigZag pivot points.
█ What is ZigZag?
The ZigZag indicator filters out minor price movements to highlight significant market trends.
It works by:
1. Identifying significant pivot points (local highs and lows)
2. Connecting these points with straight lines
3. Ignoring smaller price movements that fall below a specified threshold
Traders typically use ZigZag for:
- Trend confirmation
- Identifying support and resistance levels
- Pattern recognition (such as Elliott Waves)
- Filtering out market noise
The algorithm identifies pivot points by analyzing price action over a specified number of bars, then only changes direction when price movement exceeds a user-defined percentage threshold.
█ My Enhancements
This modified version extends the original library with several key improvements:
1. Support and Resistance Visualization
- Adds horizontal lines at pivot points
- Customizable line length (offset from pivot)
- Adjustable line width and color
- Option to extend lines to the right edge of the chart
2. Support and Resistance Zones
- Creates semi-transparent zone areas around pivot points
- Customizable width for better visibility of important price levels
- Separate colors for support (lows) and resistance (highs)
- Visual representation of price areas rather than just single lines
3. Zig Zag Lines
- Separate colors for upward and downward ZigZag movements
- Visually distinguishes between bullish and bearish price swings
- Customizable colors for text
- Width customization
4. Enhanced Settings Structure
- Added new fields to the Settings type to support the additional features
- Extended Pivot type with supportResistance and supportResistanceZone fields
- Comprehensive configuration options for visual elements
These enhancements make the ZigZag more useful for technical analysis by clearly highlighting support/resistance levels and zones, and providing clearer visual cues about market direction.
█ Technical Implementation
This library leverages Pine Script™'s user-defined types (UDTs) to create a robust object-oriented architecture:
- Settings : Stores configuration parameters for calculation and display
- Pivot : Represents pivot points with their visual elements and properties
- ZigZag : Manages the overall state and behavior of the indicator
The implementation follows best practices from the Pine Script™ User Manual's Style Guide and uses advanced language features like methods and object references. These UDTs represent Pine Script™'s most advanced feature set, enabling sophisticated data structures and improved code organization.
For newcomers to Pine Script™, it's recommended to understand the language fundamentals before working with the UDT implementation in this library.
█ Usage Example
//@version=6
indicator("ZigZag Example", overlay = true, shorttitle = 'ZZA', max_bars_back = 5000, max_lines_count = 500, max_labels_count = 500, max_boxes_count = 500)
import andre_007/ZigZag/1 as ZIG
var group_1 = "ZigZag Settings"
//@variable Draw Zig Zag on the chart.
bool showZigZag = input.bool(true, "Show Zig-Zag Lines", group = group_1, tooltip = "If checked, the Zig Zag will be drawn on the chart.", inline = "1")
// @variable The deviation percentage from the last local high or low required to form a new Zig Zag point.
float deviationInput = input.float(5.0, "Deviation (%)", minval = 0.00001, maxval = 100.0,
tooltip = "The minimum percentage deviation from a previous pivot point required to change the Zig Zag's direction.", group = group_1, inline = "2")
// @variable The number of bars required for pivot detection.
int depthInput = input.int(10, "Depth", minval = 1, tooltip = "The number of bars required for pivot point detection.", group = group_1, inline = "3")
// @variable registerPivot (series bool) Optional. If `true`, the function compares a detected pivot
// point's coordinates to the latest `Pivot` object's `end` chart point, then
// updates the latest `Pivot` instance or adds a new instance to the `ZigZag`
// object's `pivots` array. If `false`, it does not modify the `ZigZag` object's
// data. The default is `true`.
bool allowZigZagOnOneBarInput = input.bool(true, "Allow Zig Zag on One Bar", tooltip = "If checked, the Zig Zag calculation can register a pivot high and pivot low on the same bar.",
group = group_1, inline = "allowZigZagOnOneBar")
var group_2 = "Display Settings"
// @variable The color of the Zig Zag's lines (up).
color lineColorUpInput = input.color(color.green, "Line Colors for Up/Down", group = group_2, inline = "4")
// @variable The color of the Zig Zag's lines (down).
color lineColorDownInput = input.color(color.red, "", group = group_2, inline = "4",
tooltip = "The color of the Zig Zag's lines")
// @variable The width of the Zig Zag's lines.
int lineWidthInput = input.int(1, "Line Width", minval = 1, tooltip = "The width of the Zig Zag's lines.", group = group_2, inline = "w")
// @variable If `true`, the Zig Zag will also display a line connecting the last known pivot to the current `close`.
bool extendInput = input.bool(true, "Extend to Last Bar", tooltip = "If checked, the last pivot will be connected to the current close.",
group = group_1, inline = "5")
// @variable If `true`, the pivot labels will display their price values.
bool showPriceInput = input.bool(true, "Display Reversal Price",
tooltip = "If checked, the pivot labels will display their price values.", group = group_2, inline = "6")
// @variable If `true`, each pivot label will display the volume accumulated since the previous pivot.
bool showVolInput = input.bool(true, "Display Cumulative Volume",
tooltip = "If checked, the pivot labels will display the volume accumulated since the previous pivot.", group = group_2, inline = "7")
// @variable If `true`, each pivot label will display the change in price from the previous pivot.
bool showChgInput = input.bool(true, "Display Reversal Price Change",
tooltip = "If checked, the pivot labels will display the change in price from the previous pivot.", group = group_2, inline = "8")
// @variable Controls whether the labels show price changes as raw values or percentages when `showChgInput` is `true`.
string priceDiffInput = input.string("Absolute", "", options = ,
tooltip = "Controls whether the labels show price changes as raw values or percentages when 'Display Reversal Price Change' is checked.",
group = group_2, inline = "8")
// @variable If `true`, the Zig Zag will display support and resistance lines.
bool showSupportResistanceInput = input.bool(true, "Show Support/Resistance Lines",
tooltip = "If checked, the Zig Zag will display support and resistance lines.", group = group_2, inline = "9")
// @variable The number of bars to extend the support and resistance lines from the last pivot point.
int supportResistanceOffsetInput = input.int(50, "Support/Resistance Offset", minval = 0,
tooltip = "The number of bars to extend the support and resistance lines from the last pivot point.", group = group_2, inline = "10")
// @variable The width of the support and resistance lines.
int supportResistanceWidthInput = input.int(1, "Support/Resistance Width", minval = 1,
tooltip = "The width of the support and resistance lines.", group = group_2, inline = "11")
// @variable The color of the support lines.
color supportColorInput = input.color(color.red, "Support/Resistance Color", group = group_2, inline = "12")
// @variable The color of the resistance lines.
color resistanceColorInput = input.color(color.green, "", group = group_2, inline = "12",
tooltip = "The color of the support/resistance lines.")
// @variable If `true`, the support and resistance lines will be drawn as zones.
bool showSupportResistanceZoneInput = input.bool(true, "Show Support/Resistance Zones",
tooltip = "If checked, the support and resistance lines will be drawn as zones.", group = group_2, inline = "12-1")
// @variable The color of the support zones.
color supportZoneColorInput = input.color(color.new(color.red, 70), "Support Zone Color", group = group_2, inline = "12-2")
// @variable The color of the resistance zones.
color resistanceZoneColorInput = input.color(color.new(color.green, 70), "", group = group_2, inline = "12-2",
tooltip = "The color of the support/resistance zones.")
// @variable The width of the support and resistance zones.
int supportResistanceZoneWidthInput = input.int(10, "Support/Resistance Zone Width", minval = 1,
tooltip = "The width of the support and resistance zones.", group = group_2, inline = "12-3")
// @variable If `true`, the support and resistance lines will extend to the right of the chart.
bool supportResistanceExtendInput = input.bool(false, "Extend to Right",
tooltip = "If checked, the lines will extend to the right of the chart.", group = group_2, inline = "13")
// @variable References a `Settings` instance that defines the `ZigZag` object's calculation and display properties.
var ZIG.Settings settings =
ZIG.Settings.new(
devThreshold = deviationInput,
depth = depthInput,
lineColorUp = lineColorUpInput,
lineColorDown = lineColorDownInput,
textUpColor = lineColorUpInput,
textDownColor = lineColorDownInput,
lineWidth = lineWidthInput,
extendLast = extendInput,
displayReversalPrice = showPriceInput,
displayCumulativeVolume = showVolInput,
displayReversalPriceChange = showChgInput,
differencePriceMode = priceDiffInput,
draw = showZigZag,
allowZigZagOnOneBar = allowZigZagOnOneBarInput,
drawSupportResistance = showSupportResistanceInput,
supportResistanceOffset = supportResistanceOffsetInput,
supportResistanceWidth = supportResistanceWidthInput,
supportColor = supportColorInput,
resistanceColor = resistanceColorInput,
supportResistanceExtend = supportResistanceExtendInput,
supportResistanceZoneWidth = supportResistanceZoneWidthInput,
drawSupportResistanceZone = showSupportResistanceZoneInput,
supportZoneColor = supportZoneColorInput,
resistanceZoneColor = resistanceZoneColorInput
)
// @variable References a `ZigZag` object created using the `settings`.
var ZIG.ZigZag zigZag = ZIG.newInstance(settings)
// Update the `zigZag` on every bar.
zigZag.update()
//#endregion
The example code demonstrates how to create a ZigZag indicator with customizable settings. It:
1. Creates a Settings object with user-defined parameters
2. Instantiates a ZigZag object using these settings
3. Updates the ZigZag on each bar to detect new pivot points
4. Automatically draws lines and labels when pivots are detected
This approach provides maximum flexibility while maintaining readability and ease of use.
ICT & RTM Price Action IndicatorICT & RTM Price Action Indicator
Unlock the power of precision trading with this cutting-edge indicator blending ICT (Inner Circle Trader) concepts and RTM (Reversal Trend Momentum) strategies. Designed for traders who demand clarity in chaotic markets, this tool pinpoints high-probability buy and sell signals with surgical accuracy.
What It Offers:
Smart Supply & Demand Zones: Instantly spot key levels where the market is likely to reverse or consolidate, derived from a 50-period high/low analysis.
Filtered Reversal Signals: Say goodbye to fakeouts! Signals are confirmed with volume spikes (1.5x average) and a follow-through candle, ensuring you trade only the strongest moves.
Trend-Aware Logic: Built on a customizable SMA (default 14), it aligns reversals with momentum for trades that stick.
One-Signal Discipline: No clutter—only the first valid signal appears until an opposing setup triggers, keeping your chart clean and your focus sharp.
Combined Power: A unique "TRADE" signal merges ICT zones with RTM reversals for setups with double the conviction.
Why You’ll Love It:
Whether you’re scalping intraday or hunting swing trades, this indicator adapts to your style. It’s not just another tool—it’s your edge in decoding price action like a pro. Test it, tweak it, and watch your trading transform.
Super Cycle Low FinderHow the Indicator Works
1. Inputs
Users can adjust the cycle lengths:
Daily Cycle: Default is 40 days (within 36-44 days).
Weekly Cycle: Default is 26 weeks (182 days, within 22-31 weeks).
Yearly Cycle: Default is 4 years (1460 days).
2. Cycle Low Detection
Function: detect_cycle_low finds the lowest low over the specified period and confirms it with a bullish candle (close > open).
Timeframes: Daily lows are calculated directly; weekly and yearly lows use request.security to fetch data from higher timeframes.
3. Half Cycle Lows
Detected over half the cycle length, plotted to show mid-cycle strength or weakness.
4. Cycle Translation
Logic: Compares the position of the highest high to the cycle’s midpoint.
Output: "R" for right translated (bullish), "L" for left translated (bearish), displayed above bars.
5. Cycle Failure
Flags when a new low falls below the previous cycle low, indicating a breakdown.
6. Visualization
Cycle Lows: Diamonds below bars (yellow for daily, green for weekly, blue for yearly).
Half Cycle Lows: Circles below bars (orange, lime, aqua).
Translations: "R" or "L" above bars in distinct colors.
Failures: Downward triangles below bars (red, orange, purple).
TimeMapTimeMap is a visual price-reference indicator designed to help traders rapidly visualize how current price levels relate to significant historical closing prices. It overlays your chart with reference lines representing past weekly, monthly, quarterly (3-month), semi-annual (6-month), and annual closing prices. By clearly plotting these historical price references, TimeMap helps traders quickly gauge price position relative to historical market structure, aiding in the identification of trends, support/resistance levels, and potential reversals.
How it Works:
The indicator calculates the precise number of historical bars corresponding to weekly, monthly, quarterly, semi-annual, and annual intervals, dynamically adjusting according to your chart’s timeframe (intraday, daily, weekly, monthly) and chosen market type (Stocks US, Crypto, Forex, or Futures). Historical closing prices from these periods are plotted directly on your chart as horizontal reference lines.
For intraday traders, the script accurately calculates historical offsets considering regular and extended trading sessions (e.g., pre-market and after-hours sessions for US stocks), ensuring correct positioning of historical lines.
User-Configurable Inputs Explained in Detail:
Market Type:
Allows you to specify your trading instrument type, automatically adjusting calculations for:
- Stocks US (default): 390 minutes per regular session (780 minutes if extended hours enabled), 5 trading days/week.
- Crypto: 1440 minutes/day, 7 trading days/week.
- Forex: 1440 minutes/day, 5 trading days/week.
- Futures: 1320 minutes/day, 5 trading days/week.
Show Weekly Close:
When enabled, plots a line at the exact closing price from one week ago. Provides short-term context and helps identify recent price momentum.
Show Monthly Close:
When enabled, plots a line at the exact closing price from one month ago. Helpful for evaluating medium-term price positioning and monthly trend strength.
Show 3-Month Close:
When enabled, plots a line at the exact closing price from three months ago. Useful for assessing quarterly market shifts, intermediate trend changes, and broader market sentiment.
Show 6-Month Close:
When enabled, plots a line at the exact closing price from six months ago. Useful for identifying semi-annual trends, significant price pivots, and longer-term support/resistance levels.
Show 1-Year Close:
When enabled, plots a line at the exact closing price from one year ago. Excellent for assessing long-term market direction and key annual price levels.
Enable Smoothing:
Activates a Simple Moving Average (SMA) smoothing of historical reference lines, reducing volatility and providing clearer visual references. Recommended for traders preferring less volatile reference levels.
Smoothing Length:
Determines the number of bars used in calculating the SMA smoothing of historical lines. Higher values result in smoother but slightly delayed reference lines; lower values offer more immediate yet more volatile levels.
Use Extended Hours (Intraday Only):
When enabled (only applicable for Stocks US), it accounts for pre-market and after-hours trading sessions, providing accurate intraday historical line calculations based on extended sessions (typically 780 minutes/day total).
Important Notes and Compliance:
- This indicator does not provide trading signals, recommendations, or predictions. It serves purely as a visual analytical tool to supplement traders’ existing methods.
- Historical lines plotted are strictly based on past available price data; the indicator never accesses future data or data outside the scope of Pine Script’s standard capabilities.
- The script incorporates built-in logic to avoid runtime errors if insufficient historical data exists for a selected timeframe, ensuring robustness even with limited historical bars.
- TimeMap is original work developed exclusively by Julien Eche (@Julien_Eche). It does not reuse or replicate third-party or existing open-source scripts.
Recommended Best Practices:
- Use TimeMap as a complementary analytical reference, not as a standalone strategy or trade decision-making tool.
- Adapt displayed historical periods and smoothing settings based on your trading style and market approach.
- Default plot colors are optimized for readability on dark-background charts; adjust as necessary according to your preference and chart color scheme.
This script is published open-source to benefit the entire TradingView community and fully complies with all TradingView script publishing rules and guidelines.