[Tradevietstock] Market Cycle Detector_Quantum Flux Best technical indicator to detect market cycles - Quantum Flux
Hello folks, it's Tradevietstock again! Today, I will introduce you to Quantum Flux Indicator, which can help you identify market cycle and find your best entry/exit effectively.
i. Overview
1. What is Market Cycle Detector_Quantum Flux?
The Quantum Flux Indicator is developed specifically to analyze and detect market cycles across a variety of asset classes. Whether you trade stocks, crypto, forex, or commodities, this indicator provides a consistent framework to track trends and time your positions.
2. Supported Markets:
Stock Market
Crypto Market
Commodities
Forex
You can apply the same cycle-based strategy across all these markets using QFI.
Depending on the platform you're using, here’s how you can start using Quantum Flux:
TradingView Users:
Once your invite is approved, the indicator will be added to your TradingView account. You can access it directly through the Indicators tab.
MT5 / Amibroker Users:
After your payment is completed, we will send you the QFI script. You can then import it manually into your MT5 or Amibroker trading platform.
ii. Setting Up the Indicator
1. Choose Your Setup
There are two ways to configure the Quantum Flux - The best indicator to detect market cycles
Default Setup (Recommended)
This includes both the Quantum Aroon and some of the Premium MACD signals. This full setup is ideal for traders who want a complete view of the market cycle with detailed signals. You just need to turn off the Premium MACD_Components as the image below
MACD-Only Setup
In this mode, the Quantum Aroon module is disabled. The indicator will rely solely on the Premium MACD Setting to generate signals. While this option is available, we recommend using the full setup for the most accurate performance.
2. Recognize the Market Cycle Phases
According to Tradevietstock’s theory , every trading asset typically moves through four distinct phases in a complete cycle:
Bearish Phase - Bear Market
First Bullish Wave - The Recovery
Strong Correction Phase
Final Bullish Wave
Quantum Flux generates visual and data-driven signals to help you time your trades accurately.
Green Dots: MACD crossover → Potential buy signal
Red Dots: MACD crossunder → Potential sell signal
Quantum Aroon Crossover: Confirms bullish trend or Buy Signals
Quantum Aroon Crossunder: Confirms bearish trend or Exit Signals
Green background: Extreme Bullish Phase
Red background: Extreme Bearish Phase
The Extreme Bullish/Bearish Phase is a unique feature of our system that enhances trading signals by capturing moments when the market moves aggressively—either in a strong uptrend or downtrend. This phase often represents the peak of Greed in bullish markets and Fear in bearish ones, offering a way to gauge market sentiment visually. The intensity of the background color helps interpret this: a bolder green indicates a more extreme bull market, while a deeper red signals an extreme bear market.
It's important to note that the Extreme Bullish/Bearish Phases are not direct entry or exit signals. Instead, they serve as enhancement signals that help traders make more informed decisions. These phases provide insight into whether it's wise to wait for additional confirmation before entering a trade, or to hold existing positions longer until clearer exit signals—like red dots or crosses—appear. By identifying the market's most intense emotional points, these signals help traders better align with momentum rather than react prematurely.
=> In summary, the Extreme Bullish/Bearish Phase provides valuable insight into market sentiment by highlighting emotional extremes, helping traders navigate aggressive trends with greater confidence. However, like all features in the indicator, its purpose is to complement, not replace, the core entry and exit signals—which are still based on crosses and dots. As always, green indicates bullish conditions, and red indicates bearish, but sentiment alone doesn't drive the trades—signals do.
3. The logic of the indicator and its trading strategy
Many traders are familiar with Wyckoff's theory, which, while foundational, can feel outdated and inefficient for real-life trading in today's fast-paced markets. It takes time to apply and may not be the most practical approach. That’s why many turn to day trading, but without the right tools and strategy, it can lead to account blow-ups.
The traditional market cycle consists of four stages: accumulation, markup, distribution, and markdown. While this is accurate, it's not always sufficient for modern trading. We need something more practical.
According to Tradevietstock's theory, the market cycle can be broken into four stages: a bear market, recovery, correction wave, and a bull market (the strongest uptrend). This new approach offers a shorter and more efficient timeline compared to Wyckoff's or other older cycle theories, making it a safer and more practical alternative to intraday trading.
To trade with market cycles, you need to remember these four stages:
Bearish Phase - Bear Market
First Bullish Wave - The Recovery
Strong Correction Phase
Final Bullish Wave
The logic for BUY/SELL (Entry/Exit) signals is built on a combination of crossover and crossunder events from the Quantum Aroon and Premium MACD indicators. Our Quantum Aroon is an enhanced version that applies a custom zero-lag smoothing function, making its trend signals more responsive and accurate than the traditional Aroon. It also includes a signal line for crossover alerts, along with visual enhancements like color-coded backgrounds, arrows, and gradient fills to highlight different market phases. Integrated with normalized MACD and RSI, it helps confirm signals and identify overbought or oversold conditions. Most importantly, it's aligned with Tradevietstock’s 4-phase market cycle—Bear Market, Recovery, Correction, and Bull Market—making it especially practical for real-world trading.
The Premium MACD differs from the standard version by introducing several key improvements. It normalizes the MACD line, signal line, and histogram for consistent interpretation across assets and timeframes, improving visual clarity. It also supports multi-timeframe analysis, allowing users to choose between the current chart resolution or a custom timeframe. The indicator includes color-coded histogram bars to show momentum changes and uses large dynamic circles to highlight crossover points.
=> These enhancements improve signal accuracy and make trend reversals easier to spot. Paired with the Quantum Aroon, it serves as a powerful confirmation tool within the Tradevietstock cycle framework.
4. Get to practice
In the example of NVDA, you can observe all four phases in action. For medium- to long-term traders, Phase 2 and Phase 4 usually present the strongest buying opportunities. Phase 1 and Phase 3 are accumulation phases — where prices are lower and preparations are made for the next bullish leg.
We can examine the following example to better understand Phase 1: The Bear Market . This phase only begins after a prior uptrend in the stock price . It’s crucial to remember that Phase 1 is not the start of the overall trend—it marks the reversal following a bullish run.
For instance, take the LMT stock: after a 50% rise, Quantum Flux displays a green background, indicating an 'Extreme Bullish Phase.' Once this bullish phase concludes, it sets the stage for a valid Phase 1—the beginning of the Bear Market.
The stock price declines sharply, triggering Quantum Flux to display a red background as the Aroon line crosses below the signal line.
Phase 1 concludes when we observe multiple crossover signals—most notably when the Aroon line crosses above the Signal line—and the red background, which signifies the Extreme Bearish Phase, disappears. Let's take a look at the image below:
Let’s move on to Phase 2: The Recovery. This phase follows the Bear Market—Phase 1. After a significant decline in the stock price, a recovery or pullback is expected.
Our signals for this phase include green dots and crosses, along with the confirmation signals that mark the end of Phase 1. This combination provides valid Buy signals and presents opportunities for mid-term investment strategies.
Phase 3 is a correction wave after the recovery . We also incorporate the cross and dot signals during this phase. In Phase 2, the strategy involves preparing to sell or take profits once the recovery phase matures. Whenever red dots or red crosses appear, they serve as indicators to consider taking profits, signaling the potential end of the upward move.
In Phase 3, known as the correction wave, the key objective is to take profits before the price begins to decline. This phase represents a temporary pullback following the recovery. Importantly, the end of Phase 3 often presents a strong buying opportunity—just before the onset of Phase 4, which is the strongest bullish wave. Whenever green dots and crosses appear at this stage, they serve as clear Buy signals, allowing us to position early for the upcoming bullish momentum.
Phase 4 is the strongest bullish wave—one that investors definitely don’t want to miss. Having entered at the end of Phase 3, the goal in Phase 4 is to maximize gains by targeting the highest highs.
During this phase, we closely monitor our exit signals, which include the appearance of red dots and red crosses, as well as the disappearance of the Extreme Bullish Phase indicator (green background). These signals help us lock in profits at the peak of the bullish momentum.
iii. Brief Conclusion on the Signals
End of Phase 1:
As Phase 1 nears completion, green dots start to appear. These serve as early entry signals, offering an opportunity to buy at lower prices before the trend reversal begins.
Phase 2 – Recovery:
Momentum begins to build during this phase. As it approaches its peak, red dots and Aroon line crossunders emerge—signaling that it's time to exit or reduce exposure in anticipation of a correction.
Phase 3 – Correction:
The indicator typically shows a red background, reflecting a bearish environment. This is a waiting phase—traders should remain cautious and avoid entering until green signals reappear.
Phase 4 – Strong Bullish Wave:
With the return of bullish signals (green dots, crosses, and green background), Phase 4 begins. After entering, the position is held to ride the strong momentum. Profit-taking signals include the appearance of red dots, red crosses, and the disappearance of the green background.
iv. Optimal Use by Market Type
Here’s how we suggest using QFI depending on what you trade:
Stocks: Best used on the Daily or Weekly chart for swing trades.
Cryptocurrency: Works well on BTC, ETH, or major altcoins using Daily and Weekly charts. Great for catching larger trend reversals.
CFDs and Forex: QFI is built for higher timeframes (H4, D1, W1), where it produces cleaner and more reliable signals.
Best Ways to Use It
🟢 Stocks
Works well on Weekly and Daily charts for swing entries
🟡 Crypto
Works best on Weekly and Daily charts
Good for trend-catching on BTC, ETH, or altcoins
🔴 CFDs
Designed with precision in mind — works on bigger timeframes, like H4, D1, and W1
The Quantum Flux Indicator is a flexible and powerful tool for anyone looking to navigate the full market cycle — from bottom to top and back again. With its ability to highlight key phases and generate timely signals, it becomes easier to plan your entries, hold through trends, and exit with confidence.
If you're serious about understanding market structure and improving your timing, Quantum Flux, the best Indicator to detect market cycles, can become a central part of your strategy — no matter what market you're in.
Sentiment
52 Week High LowTracks the past year's High, Low, and Midpoint on your chart with clean lines and auto-updating labels.
Red = 52-Week High
Green = 52-Week Low
Gray = Basis (Midpoint)
Profitable Hours EUR/USD
Profitable Hours: It identifies the most profitable hours, based on significant price movements and high volatility (higher than the highest price movement and volatility over the last 24 periods).
Hour Display in EET: The active hour is displayed in Eastern European Time (EET), which is adjusted based on the GMT offset you provide.
This version of the script should help you visualize profitable hours for trading EUR/USD based on price movement and volatility, as well as time zone adjustments.
30-Day Rolling VWAP30-Day Rolling VWAP (30-RVWAP)
Overview:
The 30-Day Rolling VWAP is an advanced technical analysis tool designed for crypto traders that combines Volume Weighted Average Price over a 30-day rolling window with sophisticated volume analysis to generate high-probability trading signals.
Key Features:
1. Dynamic Color-Coded VWAP Line
Green glow = Strong bullish pressure
Red glow = Strong bearish pressure
Gray = Neutral/balanced market
The line changes color based on volume-weighted directional pressure
2. Volume Pressure Zones
Multi-layered glowing fill effect around VWAP
Expands/contracts based on volatility and volume
Shows potential support/resistance zones
3. Smart Alert System
Buy/Sell alerts based on VWAP color change
Cross above/below VWAP alerts
Confidence levels based on pressure strength
How to Use:
1. Color Signals
When VWAP turns green: Consider buying (bullish pressure)
When VWAP turns red: Consider selling (bearish pressure)
Gray color indicates consolidation/neutral market
2. Alert Structure
Buy/Sell alerts include confidence percentage (0-100%)
Higher confidence = stronger directional pressure
Cross alerts notify when price crosses VWAP with distance
3. Volume Pressure Zones
Wider zones = higher volatility/volume
Use zones as dynamic support/resistance levels
Watch for price reactions at zone boundaries
4. Trading Strategy
Enter long when VWAP turns green with high confidence (60%+)
Enter short when VWAP turns red with high confidence
Use VWAP as trailing stop (exit when cross alerts trigger)
Use pressure zones for profit targets
5. Alert Messages
Buy Signal: "BTCUSDT | 15m | BUY Signal | Price: 42380.00 | VWAP: 42350.00 | Distance: 0.07% | Confidence: 78% due to strong bullish pressure"
Cross Alert: "BTCUSDT | 15m | CROSS ABOVE VWAP | Price: 42360.00 | VWAP: 42350.00 | Distance: 0.02%"
Best Practices:
Use higher timeframes (4H+) for trend direction; preferably **daily timeframe**
Combine with other indicators for confirmation
Monitor volume for signal validation
Consider market context when entering trades
The indicator combines multiple volume metrics to filter out false signals and provides clear visual and alert-based trading signals.
Volume Range Profile with Fair Value (Zeiierman)█ Overview
The Volume Range Profile with Fair Value (Zeiierman) is a precision-built volume-mapping tool designed to help traders visualize where institutional-level activity is occurring within the price range — and how that volume behavior shifts over time.
Unlike traditional volume profiles that rely on fixed session boundaries or static anchors, this tool dynamically calculates and displays volume zones across both the upper and lower ends of a price range, revealing point-of-control (POC) levels, directional volume flow, and a fair value drift line that updates live with each candle.
You’re not just looking at volume anymore. You’re dissecting who’s in control — and at what price.
⚪ In simple terms:
Upper Zone = The upper portion of the price range, showing concentrated volume activity — typically where selling or distribution may occur
Lower Zone = The lower portion of the price range, highlighting areas of high volume — often associated with buying or accumulation
POC Bin = The bin (price level) with the highest traded volume in the zone — considered the most accepted price by the market
Fair Value Trend = A dynamic trend line tracking the average POC price over time — visualizing the evolving fair value
Zone Labels = Display real-time breakdown of buy/sell volume within each zone and inside the POC — revealing who’s in control
█ How It Works
⚪ Volume Zones
Upper Zone: Anchored at the highest high in the lookback period
Lower Zone: Anchored at the lowest low in the lookback period
Width is user-defined via % of range
Each zone is divided into a series of volume bins
⚪ Volume Bins (Histograms)
Each zone is split into N bins that show how much volume occurred at each level:
Taller = More volume
The POC bin (Point of Control) is highlighted
Labels show % of volume in the POC relative to the whole zone
⚪ Buy vs Sell Breakdown
Each volume bin is split by:
Buy Volume = Close ≥ Open
Sell Volume = Close < Open
The script accumulates these and displays total Buy/Sell volume per zone.
⚪ Fair Value Drift Line
A POC trend is plotted over time:
Represents where volume was most active across each range
Color changes dynamically — green for rising, red for falling
Serves as a real-time fair value anchor across changing market structure
█ How to Use
⚪ Identify Key Control Zones
Use Upper/Lower Zone structures to understand where supply and demand is building.
Zones automatically adapt to recent highs/lows and re-center volume accordingly.
⚪ Follow Institutional Activity
Watch for POC clustering near price tops or bottoms.
Large volumes near extremes may indicate accumulation or distribution.
⚪ Spot Fair Value Drift
The fair value trend line (average POC price) gives insight into market equilibrium.
One strategy can be to trade a re-test of the fair value trend, trades are taken in the direction of the current trend.
█ Understanding Buy & Sell Volume Labels (Zone Totals)
These labels show the total buy and sell volume accumulated within each zone over the selected lookback period:
Buy Vol (green label) → Total volume where candles closed bullish
Sell Vol (red label) → Total volume where candles closed bearish
Together, they tell you which side dominated:
Higher Buy Vol → Bullish accumulation zone
Higher Sell Vol → Bearish distribution zone
This gives a quick visual insight into who controlled the zone, helping you spot areas of demand or supply imbalance.
█ Understanding POC Volume Labels
The POC (Point of Control) represents the price level where the most volume occurred within the zone. These labels break down that volume into:
Buy % – How much of the volume was buying (price closed up)
Sell % – How much was selling (price closed down)
Total % – How much of the entire zone’s volume happened at the POC
Use it to spot strong demand or supply zones:
High Buy % + High Total % → Strong buying interest = likely support
High Sell % + High Total % → Strong selling pressure = likely resistance
It gives a deeper look into who was in control at the most important price level.
█ Why It’s Useful
Track where fair value is truly forming
Detect aggressive volume accumulation or dumping
Visually split buyer/seller control at the most relevant price levels
Adapt volume structures to current trend direction
█ Settings Explained
Lookback Period: Number of bars to scan for highs/lows. Higher = smoother zones, Lower = reactive.
Zone Width (% of Range): Controls how much of the range is used to define each zone. Higher = broader zones.
Bins per Zone: Number of volume slices per zone. Higher = more detail, but heavier on resources.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
TrendChroma [GOODY]
■■■■■■■■■■■═══════════════════■■■■■■■■■■■■■■
📈 TrendChroma
■■■■■■■■■■■═══════════════════■■■■■■■■■■■■■■
TrendChroma is a comprehensive trend-tracking and sentiment analysis tool that combines multi-layered indicators into one sleek visual suite. Designed for trend traders who want clarity without clutter, it provides real-time insights into market direction, strength, and volatility.
🔍 Core Features:
• Star Rating System: Visual trend score based on EMA stacking, VWAP positioning, and EWO momentum. Ratings range from 0★ to 6★ and are color-coded based on trend strength and direction.
• Sentiment Strength Meter: Analyzes 5-minute EMAs and VWAP to determine real-time sentiment (Bullish 🐂, Bearish 🐻, Neutral ―) with corresponding emojis and tooltips.
• Dynamic EMA Lines: High/Low EMA lines change color based on MACD momentum and price position, providing an intuitive visual trend map.
• RSI-Based Candle Colors: Highlights exhaustion, strength shifts, and momentum pivots using custom bar coloring logic derived from RSI crossovers.
• Buy/Sell Signals: RSI cross strategy to detect momentum entry/exit points (optional).
• Divergence Detection: Spot MACD vs. Price conflicts with clean overlay labels and customizable colors.
Real-Time Metrics Table (Optional):
• ★ Star Rating
• % Change (Pre-Market, Market, Post-Market)
• $ Dollar Change with session awareness
• Countdown Timer (Time left in candle)
• Sentiment Strength
TSSI (FREE) | VENPECKThe Trend Strength & Sentiment Indicator (TSSI) (FREE) is a simplified version of VENPECK's proprietary TSSI. The Trend Strength & Sentiment Indicator (TSSI) is the proprietary crown jewel of VENPECK, acting as the cornerstone for all other indicators in the suite. This version retains all the core functionality of the original indicator, designed to provide a comprehensive view of market strength, sentiment, and trend momentum in real-time. However, with the FREE version , users cannot adjust the underlying parameters. Additionally, the indicator is fixed to the timeframe of the chart — meaning you cannot view a 10-second TSSI reading on a 30-second chart, for example. This version offers an easy-to-use, reliable tool for assessing the overall market trend without the ability to refine settings.
🧠 Overview
TSSI (FREE) remains a powerful momentum oscillator that blends price action, volume, and trend strength into a single indicator. It dynamically adjusts to market conditions, giving traders a clear view of whether the market is in bullish or bearish control. The core functionality of TSSI (FREE) allows you to identify overbought and oversold conditions, spot divergence patterns, and pinpoint potential trend shifts, all in real-time. However, with fixed parameters and a locked timeframe setting, it offers simplicity and ease of use for traders who prefer a more standardized, automated approach.
🔍 Key Components & Calculations
🧩 1. TSSI (Trend Strength & Sentiment Indicator)
At the heart of VENPECK's technical analysis suite, the TSSI is a robust momentum oscillator designed to measure both the strength and sentiment of prevailing market trends. The TSSI is based on a volume-weighted, normalized price change calculation that factors in the high-low spread and adjusts with volume to refine the signal reliability.
TSSI Calculation:
1. Raw Momentum Calculation:
- Measures the relative price change between the current and previous close, normalized by the high-low range.
2. Volume Adjustment:
- Volume is adjusted by a power function to increase sensitivity to volume surges.
3. Triple Smoothing Pipeline:
- Period Smoothing: Initial smoothing of raw TSSI values for less noise.
- Spread Smoothing: Refines the initial output further for stability.
- Signal Line: The final smoothing pass, providing an actionable trend signal.
TSSI is scaled between -100 and +100, highlighting overbought and oversold dynamics.
🧩 2. Divergence Detection & Trend Shifts
TSSI identifies potential trend shifts using divergence patterns between price and the TSSI line:
Positive Divergence : Suggests accumulation and potential bullish reversal.
Negative Divergence : Indicates distribution and potential bearish continuation.
TSSI divergences provide a reliable mechanism for detecting momentum shifts ahead of price changes, helping traders forecast potential reversals or trend continuations.
Note: Divergences are not displayed directly on the TSSI. Traders must visually assess the divergence between price and the TSSI line. For an automated view of divergences, use the companion indicator Battle Map , which highlights these zones with green (bullish divergence) and red (bearish divergence) shaded areas, as seen in the sample chart above.
📊 3. Standard Deviation Bands & TSSI Bands
TSSI is visualized with upper and lower bands set at 5 standard deviations, serving as a dynamic reference point for identifying high momentum moves.
These bands help depict the strength of the trend —the further the TSSI line moves into these zones, the stronger the underlying momentum.
Additionally, the TSSI percentage is constrained to highlight critical overbought and oversold levels, helping traders more easily spot extreme market conditions and potential inflection points.
📈 4. Signal Line & Trend Strength
A key component of TSSI’s effectiveness is its Signal Line , a smoothed version of the TSSI, which is used to confirm trend direction and strength. The Signal Line provides real-time insights into whether the market is trending or consolidating, guiding traders toward appropriate strategies.
🔐 How to Use TSSI
1. Trend Confirmation:
Bullish Trend: TSSI fully oscillating above zero with a rising Signal Line indicates strong upward momentum.
Bearish Trend: TSSI fully oscillating below zero with a falling Signal Line signals strong downward pressure.
When TSSI oscillates around the zero line, it typically reflects a choppy or indecisive market.
Background color shading helps quickly identify prevailing trends—green for bullish, red for bearish.
2. Divergence Analysis:
Positive Divergence: Bullish reversal potential as price forms lower lows while TSSI prints higher lows.
Negative Divergence: Bearish reversal potential as price forms higher highs while TSSI prints lower highs.
Observing divergence between price and TSSI helps detect early signs of potential reversals.
3. Overbought/Oversold Indicators:
TSSI readings near +100 suggest overbought conditions.
Readings near -100 indicate oversold conditions.
These levels can provide high-probability reversal signals when aligned with other market context.
4. Zones & Levels:
TSSI’s percentage bands ( ±20%, 40%, 60%, 80%, 100% ) allow traders to map key price levels.
These levels often act as support/resistance zones, helping traders identify potential entry or exit points.
5. Momentum Shift Detection:
Monitor the highs and lows of the TSSI’s oscillation:
If the TSSI is making higher highs and higher lows, momentum is building.
When the highs begin to fall or the lows begin to rise (in a downtrend), this can signal weakening momentum and a potential reversal.
✅ Final Note
TSSI does not repaint. All signals and bands are calculated from confirmed data points, ensuring that the signals are reliable and actionable in real-time. By combining volume, price action, and advanced smoothing techniques, TSSI offers a precise, actionable reading of the market's underlying strength and sentiment, forming the foundation for VENPECK's broader analysis and helping traders make informed, confident decisions in live market environments.
Trend vs Range DetectorMarkets often oscillate between trend phases and range-bound consolidations. Accurately identifying which environment you're in can dramatically improve your strategy's performance — whether you're a breakout trader, trend follower, or mean reversion specialist.
This Pine Script helps do exactly that — with zero clutter, no chart overlays, and a simple, clean table at the top-right corner telling you one thing:
👉 Is the market trending or range-bound?
⚙️ How It Works
The script uses two core metrics to classify the market environment:
1. Slope Sensitivity of Moving Average
A simple moving average (default: 50-period) is used.
The absolute slope of the moving average is calculated.
If the slope exceeds a user-defined sensitivity value, it indicates directional momentum.
2. ATR-to-Price Range Ratio
Measures volatility by comparing Average True Range (ATR) to the total high-low price range over the same period.
A higher ATR relative to the range indicates directional volatility — a trending behavior.
A low ratio signals a choppy or sideways market.
If both conditions are met, the table displays "Trending." If either condition fails, it shows "Range-Bound."
🧠 Why This Matters
Trend Traders: Know when to lean into momentum plays.
Mean Reversion Traders: Avoid whipsaw conditions or capitalize on sideways action.
Volatility Filters: Use this signal to apply different strategies to different market types.
🛠️ User Controls
Moving Average Length: Adjust trend sensitivity by length (default: 50)
Slope Sensitivity: Tune how steep a trend needs to be to qualify
ATR/Range Threshold: Calibrate what defines a volatile enough trend move
Toggle Table On/Off: Keep the chart clean if needed
🧼 Clean Visuals
No lines, no bands, no background colors.
Just a concise table in the top-right corner.
Perfect for scalpers, swing traders, or overlaying on busy strategies.
🔄 Real-Time + Historical
The script dynamically updates with every bar, so it works in real time and shows accurate historical context across any symbol or timeframe.
If you’re someone who wants a minimalist yet powerful insight into market context, this tool can be a game-changer.
Macro Liquidity Index & Canadian OverlayTradingView Pine Script strategy-style indicator that synthesizes the macro signals (e.g. DXY trend, real yields, oil prices, ISM trend, and financial conditions) into a visual macro sentiment index ranging from -5 (max bearish) to +5 (max bullish). It also includes a “Canadian Exposure Overlay” that adjusts the macro score based on Canada’s specific economic positioning (e.g., oil exporter, rate-sensitive sectors, CAD/USD trend).
Sentiment Bias Gauge📌 Overview
The Sentiment Bias Gauge (SBG) is a unique overlay-style indicator that visually maps a sentiment value—such as market bullishness or bearishness—onto your price chart. It converts sentiment data (in this case, RSI-based) into a floating line that moves between defined price zones, allowing users to quickly understand the current market mood in the context of price.
⚙️ How It Works
• The indicator uses RSI (Relative Strength Index) as a proxy for market sentiment (0 to 100 scale).
• This sentiment value is then mapped to a vertical price range on your chart using a configurable zone (via top and bottom percent of chart range).
• The line floats up or down within the price chart, reflecting how bullish or bearish the sentiment is.
• It includes background shading to represent the sentiment level:
• 🔴 Red (Bearish): sentiment < 30
• 🟡 Yellow (Neutral): 30 ≤ sentiment ≤ 70
• 🟢 Green (Bullish): sentiment > 70
• A floating label shows the current sentiment score.
🌟 Key Features
• 📈 Overlay-Based Sentiment Line: Plots sentiment as a price-level line, giving intuitive spatial reference.
• 🔧 Configurable Range Placement: Adjust where the sentiment line appears within the chart’s high-low range.
• 🖌️ Color-Coded Background: Visually distinguish bullish, bearish, and neutral conditions.
• 🏷️ Real-Time Sentiment Label: Displays updated sentiment score on the most recent bar.
🧠 How to Use
• Use this indicator alongside your price action or technical strategy to gauge market mood.
• Combine with other sentiment indicators (e.g., fear/greed, delta volume, news sentiment).
• Especially helpful in sideways markets to identify potential shifts in bias before price reacts.
Why This Combination?
• RSI offers a reliable and intuitive proxy for market sentiment.
• Mapping the value directly onto the chart helps avoid constantly looking at a separate panel.
• The customizable chart range lets traders fit sentiment visuals within any market structure.
🎯 Why It’s Worth Using
• Makes sentiment visually accessible directly on the chart.
• Helps detect bullish/bearish bias shifts earlier than traditional indicators.
• A great tool for sentiment-aware discretionary trading or contextual overlays in algo strategies.
Straddle Plot with VWAP and 20 EMA🧭 Description
This indicator is designed to analyze the behavior of combined option premiums in straddle strategies, using real-time option data. It visualizes both Call (CE) and Put (PE) option premiums of selected strike prices and combines them into a synthetic OHLC candle structure.
The goal is to help derivatives traders understand premium buildup, volatility expectations, and market sentiment without looking at individual option charts.
Unlike traditional price-based indicators, this tool focuses entirely on option data, combining:
The real-time premiums of Calls and Puts
A derived VWAP of the combined premiums (to assess mean deviation)
A 20-period EMA calculated on the synthetic straddle premium (for trend filtering)
🔍 How It Works
Users select an underlying symbol (e.g., NIFTY/BANKNIFTY) and up to 3 strike prices of the same expiry.
The script dynamically constructs the option symbols for CE and PE, fetches OHLC data using request.security(), and combines their data into a straddle representation.
A straddle candle is plotted using the summed OHLC of the CE and PE.
The script also computes:
- Combined CE close
- Combined PE close
- Straddle close
A VWAP line is calculated on the combined straddle close to assess mean reversion.
A 20-period EMA (approximated for daily trend) is applied to identify trend direction.
The indicator includes an interpretation model that compares total CE vs PE premium to highlight market bias:
Call premium > Put → bullish bias (Call Up)
Put premium > Call → bearish bias (Put Up)
Equal → neutral/sideways
📌 Use Case
This indicator is valuable for:
Traders using short straddles (who want to monitor decay or expansion)
Strangle/straddle breakout traders looking for premium expansion
Volatility traders assessing whether premiums are rising above VWAP/EMA
Identifying imbalance between CE and PE premiums intraday
📊 Visual Elements
Candlestick plot representing combined straddle OHLC
Line plots for CE, PE, and total straddle close
VWAP (purple) and Daily EMA (orange)
Real-time table showing:
- Selected strike prices
- Live VWAP & EMA
- Combined premiums
- CE/PE dominance ("Call Up", "Put Up", or "Same")
⚙️ Customization
Supports predefined underlyings or a custom symbol selector
Users can choose any expiry date and define strike prices
Table font size and screen layout are adjustable
Dropdown logic allows switching to any NSE-traded F&O symbol
📢 Disclaimer
This indicator is provided for educational purposes only. It does not constitute trading advice or a recommendation to buy/sell any financial instrument. Always consult your financial advisor before making trading decisions.
Sesiuni Bursiere Personalizabile (cu oră, culoare și interval)This indicator visually highlights the active trading sessions for the three major global markets:
🇸🇬 Asia, 🇬🇧 London, and 🇺🇸 New York.
🔧 Features:
✅ Automatically draws session zones as rectangles between session open/close times and price highs/lows
🏷️ Labeled with session names for clear visual reference
🎨 Customizable colors for each session directly from the settings panel
⏱️ User-defined session start and end times
📆 Only displays sessions from the last 96 hours for better clarity and performance
🛠️ How to Use:
Add the indicator to your chart
Open the Settings panel
Enable the sessions you want to see (Asia, London, New York)
Adjust the colors and time ranges for each session as needed
🧠 Tips:
Works best on 5m to 1h timeframes
Great for identifying liquidity zones and session-based volatility
Combine with tools like RSI, VWAP, or moving averages for strategic setups
📌 An excellent visual tool for traders who focus on market sessions, volatility windows, and time-based strategies.
Gabriel's Asset Rotation System📈 Gabriel's Asset Rotation System
Overview
Gabriel’s Asset Rotation System is an advanced multi-asset trend-following tool that dynamically ranks and rotates up to 6 assets (plus USD) based on a customizable trend scoring matrix. Using enhanced signal detection techniques like Cauchy-weighted Supertrend, Jurík RSX, Fisherized CCI, Kalman-filtered PSAR, and Dynamic DMI Smoothing, the system identifies the most dominant asset and simulates strategy equity performance compared to buy-and-hold benchmarks.
🔍 Key Features
✅ Multi-Asset Rotation: Analyze up to 6 symbols and USD simultaneously.
✅ Relative Strength Matrix: Compares every asset against each other to find outperformers.
✅ Custom Trend Engine:
Jurik RSX with advanced RSX logic
Fisherized CCI for momentum confirmation
Kalman-smoothed PSAR for trend bias
SuperTrend using a Cauchy Moving Average
Smoothed DMI signal across looped periods (10–17)
✅ Dynamic Best Asset Detection: Identifies and tracks the asset with the highest trend score over time.
✅ Performance Table: Displays Sharpe, Sortino, and Omega Ratios along with drawdowns and means for both strategy and each asset.
✅ Visual Trend Matrix: Tabular view of asset strength comparisons against each other + final scoring.
✅ Realistic Strategy Equity Curve: Tracks performance assuming full capital rotation into the best asset.
✅ Alerts: Get notified when the top-performing asset changes.
⚙️ Inputs
🔹 Assets: Customize 6 tickers (crypto, stocks, ETFs, etc.)
🔹 Trend Classification Method:
RSI
CCI
SuperTrend
DMI
PSAR
or use all together
🔹 Jurik RSX Length
🔹 Fisherized CCI Length
🔹 Cauchy MA Gamma and ATR Settings
🔹 DMI Range and MA Type (SMA, EMA, HMA, etc.)
🔹 PSAR Parameters with Kalman smoothing
🔹 Custom Backtest Start Date
📊 Outputs
Plot 1: Best Asset Equity (colored dynamically)
Plot 2–7: Buy & Hold Curves for each asset (with labels)
Tables:
Rotation Matrix (bottom-right)
Best Performing Asset (bottom-center)
Performance Metrics Table (optional toggle)
🧠 Use Case Ideas
🔁 Dynamic Portfolio Rebalancing
⚖️ Compare Risk-Adjusted Returns Across Crypto or Stocks
🧪 Backtest Rotation Hypotheses
🚀 Identify Strongest Breakout Assets in Trend Environments
📉 Avoid Weakening Assets with Rising Drawdowns
🚨 Alerts
🔔 "New Optimal Asset": Triggers when a new top-ranking asset replaces the current one.
RUBX Индекс рубляThe ruble index, similar to the DXY, offsets the weakness or strength of the dollar in the USD/RUB
индекс рубля на подобии DXY, невелирует слабость или силу доллара в USD/RUB
Nyx — AI Market Intelligence Dashboard🧠 Nyx — AI Market Intelligence Dashboard
Nyx is a signal-free, chart-clean dashboard designed to help traders understand what the market is doing — not just when to enter. It runs entirely in the background and shows a simple panel in the corner with key context insights like trend posture, reversal signals, volatility shifts, compression zones, and liquidity intent.
📊 What It Shows:
- Market Posture – Detects bullish, bearish, or indecisive tone
- Reversal State – Finds signs of exhaustion, divergence, and flow shifts
- Fractal Context – Classifies recent structure: expansion, coil, breakdown, flip
- Candle Behavior – Measures aggression, fakeouts, traps, and energy
- Entry Filter Score – Rates the current environment (1–8 scale)
- Volatility Forecast – Predicts when expansion may occur
- Compression Tracker – Detects buildup before breakouts
- Expansion Memory – Remembers last impulse breakout timing
- Liquidity Intent – Tells where price is being magnetized (above or below)
🧭 How to Use It:
- Use alongside your main strategy (Ares, SMC, price action, Signal Indicator. etc)
- Helps you filter out bad conditions or anticipate breakout behavior
- Especially useful for traders who want confluence and clarity — not chart spam
--
✅ Designed For:
- Traders who like clean charts and clear context
- People who want why over when
- Anyone who’s ever asked, “Is the market even ready right now?”
🧠 Built by @AresIQ | 2025
📌 No signals. No overlays. No chart clutter — just perspective.
> ⚠️ This script is for informational and educational purposes only. It does not provide financial advice or trading recommendations.
FrequencyUntil the publication of this indicator, only here you found frequency indicator in Tradingview platform.
If the bar frequency is small then the volatility is small, if the bar frequency is high then the volatility is large. Useful if you want to trade or invest by considering volatility as a security for capital or as an indicator to accelerate profit.
Volume Box PressureThis is a liquidity analysis to determine support and resistance from large volumes that are automatically detected. Its use is if the candle breakout upwards from the box, then the candle would fly high. Conversely, if the candle breakdown downwards from the box, then the candle would fall deep.
avgPrice - VFHere I create my own indicator on Tradingview to detect whale movements in stocks, crypto, & forex, which is suitable for all trading instruments. This the best i made indicator ever.
Why is this indicator called avgPrice VF, because it is the [i average price along with the Volume and Frequency. Not only the average price, and not only the average price along with the volume, but also includes the frequency in it, what is the use for?
This indicator useful for detect the whale approach by volume and frequency analysys. it is useful for detecting increases based on whale/market maker/ smart money buying actions and detecting decreases based on whale/market maker/ smart money selling actions.
There is also an automatic analysis of "Long" and "Short" so it is easy to use, with 3 line features with different colors and different functions as explained below:
The green or red lines are the average price and volume, the yellow line is the average price & frequency, and the gray line is the average price, volume, and frequency. How to read the line like this: if the gray line is below the yellow line, then there is accumulation by whales, conversely if the gray line is above the yellow line, then there is distribution by whales, and if the price below the red line, there is downtrend and if the price above the green line, there is uptrend. It has been accompanied by information below right regarding uptrend or downtrend and accumulation or distribution. And I have summarized whale detection analysis in one simple indicator, if you want to "Long" is just "Long" and if you want to "Short" is just "Short". Long means accummulation by whale from retailer and short means distribution by whale to retailer.
I like to share and I love the world of trading, for me this is like a second life. Hopefully this description is useful and motivates friends to get consistent profits from trading.
Greetings,
Volume LevelFirst and only, volume is given a level and identified as bullish or bearish.
Level A means very strong
Level B means strong
Level C means neutral
Level D means weak
Level E means very weak
Crowded FrequencyCrowded Frequency means that this indicator is made using frequency as the key formula for making it.
Crowded Frequency defines whether a candle is heavy or light. If the candle is heavy, then the candle color is green + resistance line, if the candle is light, then the candle color is pink + support line.
The illustration is as explained below:
----------------------
Assume that one day there is a massive buying and selling. The purchase volume is 100 thousand dollars, with 20 buyers, meaning that on average each buyer's purchase amount is 5 thousand dollars. The next day, the purchase volume is still 100 thousand dollars, but with 10 buyers, meaning that on average each buyer's purchase amount is 10 thousand dollars. The next day, the purchase volume is still 100 thousand dollars, but with 5 buyers, meaning that each buyer's purchase amount is 20 thousand dollars.
Here we know that the average purchase of each buyer increases every day, from an average of 5 thousand dollars per buyer, the next day it increases to 10 thousand dollars, the next day it increases to 20 thousand dollars.
The "Crowded Frequency" indicator is created to illustrate the event in the form of a "green" candle and there is a "resistance line" at the high candle as a form of warning that "this Crowded Frequency is heavy to lift". This means that if the next candle is able to break out of the green resistance line, it means that it is an identification that "Strong Buying" is occurring, if it is unable to break out of the green resistance line, it is likely that the candle will fall into.
----------------------
Conversely, if the average purchase of each buyer decreases every day. As we assume as follows:
Assume that one day there is massive buying and selling. The purchase volume is 100 thousand dollars, with 20 buyers, meaning that the average purchase amount for each buyer is 5 thousand dollars. The next day, the purchase volume is still 100 thousand dollars, but with 50 buyers, meaning that the average purchase amount for each buyer is 2 thousand dollars. The next day, the purchase volume is still 100 thousand dollars, but with 100 buyers, meaning that each buyer's purchase amount is 1 thousand dollars.
Here we know that every day buyers increase, but the average per buyer actually decreases every day. From an average per buyer the amount of purchase is 5 thousand dollars, the next day it decreases to 2 thousand dollars, the next day it decreases again to 1 thousand dollars.
The "Crowded Frequency" indicator is made to illustrate this event in the form of a "pink" candle and there is a "support line" on the low candle as a form of warning that "this Crowded Frequency is easy to lift". This means that if the next candle is able to breakdown the pink support line, it means that it is an identification that a "Weak Buy" is occurring, if there is no breakdown of the pink support line, the candle will bounce up, and this is a signal as a momentum to take "buy" action.
Of course this indicator is locked, locked so that the python code cannot be seen, because you know how difficult it is to formulate the idea into an indicator on the tradingview platform. I hope everyone who wants this indicator, comment or chat me to appreciate my idea and my hard work in making the idea into a useful indicator.
Nasan Market Phase ClassifierThe Nasan Market Phase Classifier indicator designed to classify market phases using volume, volatility (or momentum), and statistical analysis. Here's a summary of how it works and what it does:
🔍 Core Concept
This indicator classifies the market into four phases based on volume and ATR (or optionally momentum):
High Volume / High ATR or Momentum (HV/HATR): Strong Trend
Low Volume / High ATR or Momentum (LV/HATR): False Breakout / Exhaustion
High Volume / Low ATR or Momentum (HV/LATR): Consolidation
Low Volume / Low ATR or Momentum (LV/LATR): Stagnation
⚙️ Key Settings
Short-Term Length: Used for the active market phase.
Long-Term Length: Used as the expected/benchmark distribution.
Use Momentum: Replaces volatility (ATR) with momentum (custom ROC-based formula).
Use Fixed Alpha: Toggles adaptive vs. fixed weighting in scoring (this is based on variation of the volatility - standard deviation of true range).
📊 How It Works
Volatility or Momentum Scoring:
Uses ATR-based or Momentum-based score depending on the setting.
Applies weighing (alpha) which is based on variability of the volatility itself.
Market Phase Count:
Measures how often each of the 4 volume/volatility combinations occur in:
Short-term window (observed phase)
Long-term window (expected distribution)
Category Proportions:
Calculates percentage share of each category (e.g., % time in HV/HATR).
Plots these on chart to visually see market phase dominance (can be used for screening of pine screener).
Statistical Testing:
IQV (Index of Qualitative Variation): Measures phase diversity (0 = focused, 1 = mixed).
Chi-Squared Test: Compares current vs. historical phase distribution.
Z-Test: Tests if current phase dominance is statistically significant.
📋 Outputs
On-Chart Plots and Tabels:
Strong Trend, False Breakout/Exhaustion, Consolidation, Stagnation
Strength Quality Plot: Trend strength normalized by IQV.
Dynamic Table (Top Right):
Shows each phase’s proportion (the current phase cell is highlighted in yellow), IQV, Chi² value, and current dominant phase. The current candle classification (text) is in purple.
Highlights the dominant phase classification and color-codes significance (the cell highlighted in green highly confident about the classification, orange intermediate confidence and red low confidence). This color coding is not just based on statistical significance it is based on IQV which takes into account how spread the proportions are.
🧠 Interpretation
A dominant HV/HATR phase with low IQV and high Z-Score indicates a strong and statistically significant trend.
High IQV suggests uncertainty or mixed market behavior.
Chi² spike indicates a shift from historical behavior can be used to see is the market behavior changing by changing the long term length say to 252 and short term length to 21 this will tell if the short term behavior is different from the past 252 day behavior.
First FVG Custom Time RangeFirst FVG — Opening Range Fair Value Gap Detector
Smart Money Opening Imbalance Strategy Tool
This script automatically detects and highlights the first Fair Value Gap (FVG) that forms between 9:30 and 10:00 AM Eastern Time (New York session open) — a critical period often referred to as the Opening Range. It’s designed for Smart Money traders looking to isolate early-morning inefficiencies that may influence market behavior throughout the trading day.
🔍 What This Script Does:
Automatically Detects the First FVG in the Opening Range
Scans price action between 9:30 and 10:00 AM ET and identifies the first valid bullish or bearish FVG that forms.
Only one FVG is shown per day — ensuring a clean, focused view.
Draws a Visual Zone
Once detected, the FVG zone is extended forward on the chart (customizable duration).
A labeled zone helps users track how price reacts to it throughout the session.
Optional Retest Alerts
Alerts you when price re-enters the zone — a potential reaction point used by SMC traders.
Customization Options
Set your preferred session time window
Adjust zone duration (in bars)
Customize label font size, colors, and visibility
Enable/disable alert on retest
📈 Why the First FVG Matters:
Time-Sensitive Setup: The first FVG typically forms no earlier than 9:31 AM ET and represents a potential “time distortion” or imbalance zone created by aggressive market participants during the open.
Behavioral Study: Many traders journal how price behaves around this zone each day — whether it acts as support, resistance, or gets traded through later in the session.
Predictive Value: Observing how this zone is respected or broken can provide anticipatory insight into intraday price action, rather than reactive analysis.
Great for New Traders: This opening FVG is often recommended as a starting reference point for building trade models and understanding how institutional imbalances unfold.
🚀 What Makes It Unique:
This tool doesn’t spam your chart with every FVG. It laser-focuses on a single, time-bound zone backed by institutional logic — the first presented imbalance of the day during the opening range.
Use it to:
Monitor price behavior around early inefficiencies
Plan journal entries and pattern recognition
Align intraday setups with a high-probability SMC model
Whether you’re scalping, journaling market structure, or refining entries based on liquidity behavior — this script helps you make the first 30 minutes count.
SPDR Sectors TableThis script generates an interactive and customizable SPDR Sectors Table designed to monitor and analyze the performance of the 11 main sectors of the S&P 500 via sector-specific ETFs. It offers a dynamic overview of daily or periodic sector movements, making it a valuable tool for traders, analysts, and investors implementing sector rotation strategies.
█ DEFINITIONS
SPDR Sectors ETFs are exchange-traded funds managed by State Street Global Advisors, which divide the S&P 500 into the following 11 sectors:
- Communication Services (XLC)
- Consumer Discretionary (XLY)
- Consumer Staples (XLP)
- Energy (XLE)
- Financials (XLF)
- Health Care (XLV)
- Industrials (XLI)
- Materials (XLB)
- Real Estate (XLRE)
- Technology (XLK)
- Utilities (XLU)
These ETFs aim to replicate the performance of their respective sectors as defined by the Global Industry Classification Standard (GICS). The funds are periodically rebalanced to match changes in the S&P 500 composition, offering an accurate snapshot of sectoral trends.
█ INDICATOR
The table displays each sector's ticker and full name, following official GICS terminology and SPDR color coding. It also shows percentage performance, calculated daily on intraday charts or based on the selected time frame.
Users can sort the table by either percentage performance or the relative weight of each ETF in the S&P 500. The default weight values reflect data updated as of 17 April 2025, and can be manually adjusted based on the most recent sector weightings available on the official SPDR website.
Bitcoin NUPL IndicatorThe Bitcoin NUPL (Net Unrealized Profit/Loss) Indicator is a powerful metric that shows the difference between Bitcoin's market cap and realized cap as a percentage of market cap. This indicator helps identify different market cycle phases, from capitulation to euphoria.
// How It Works
NUPL measures the aggregate profit or loss held by Bitcoin investors, calculated as:
```
NUPL = ((Market Cap - Realized Cap) / Market Cap) * 100
```
// Market Cycle Phases
The indicator automatically color-codes different market phases:
• **Deep Red (< 0%)**: Capitulation Phase - Most coins held at a loss, historically excellent buying opportunities
• **Orange (0-25%)**: Hope & Fear Phase - Early accumulation, price uncertainty and consolidation
• **Yellow (25-50%)**: Optimism & Anxiety Phase - Emerging bull market, increasing confidence
• **Light Green (50-75%)**: Belief & Denial Phase - Strong bull market, high conviction
• **Bright Green (> 75%)**: Euphoria & Greed Phase - Potential market top, historically good profit-taking zone
// Features
• Real-time NUPL calculation with customizable smoothing
• RSI indicator for additional momentum confirmation
• Color-coded background reflecting current market phase
• Reference lines marking key transition zones
• Detailed metrics table showing NUPL value, market sentiment, market cap, realized cap, and RSI
// Strategy Applications
• **Long-term investors**: Use extreme negative NUPL values (deep red) to identify potential bottoms for accumulation
• **Swing traders**: Look for transitions between phases for potential trend changes
• **Risk management**: Consider taking profits when entering the "Euphoria & Greed" phase (bright green)
• **Mean reversion**: Watch for overbought/oversold conditions when NUPL reaches historical extremes
// Settings
• **RSI Length**: Adjusts the period for RSI calculation
• **NUPL Smoothing Length**: Applies moving average smoothing to reduce noise
// Notes
• Premium TradingView subscription required for Glassnode and Coin Metrics data
• Best viewed on daily timeframes for macro analysis
• Historical NUPL extremes have often marked cycle bottoms and tops
• Use in conjunction with other indicators for confirmation