Market Structure [ActiveQuants]The Market Structure indicator is a powerful tool designed to help traders identify key market structure shifts and change of character (CHoCH) points. By plotting swing highs, swing lows, and structural breaks , this indicator allows traders to track price action dynamics, improving trade execution and strategy development.
█ KEY FEATURES
Market Structure Visualization : Automatically detects and plots pivot highs and pivot lows , highlighting structural points on the chart.
Change of Character (CHoCH) Detection : Identifies bullish and bearish CHoCH events, marking key shifts in market sentiment.
Customizable Sensitivity : Adjust the pivot sensitivity to fine-tune market structure identification based on different trading styles and timeframes.
Dynamic Labeling & Line Management : Automatically removes old lines and labels to keep the chart clean and focused on recent price action.
User-Defined Display Options : Customize the colors, visibility, and number of bars shown to match your personal trading preferences.
█ CONCLUSION
The Market Structure & CHoCH Indicator is an essential tool for traders who rely on price action and structure-based strategies. By visually mapping key swing points and structure shifts , it enhances decision-making, helping traders align with the market trend and spot potential reversals.
█ IMPORTANT
⚠ CHoCH signals should be used in conjunction with other confluences such as supply & demand zones, order flow, or trend confirmation.
⚠ Adjust pivot sensitivity based on your preferred timeframe and asset class to optimize accuracy.
Incorporate this indicator into your trading workflow to enhance market structure analysis and refine entry & exit strategies .
📈 Happy trading! 🚀
Sentiment
Stock ETF Tracker 2.0The Stock Sector ETF tracker with Indicators is a versatile tool designed to track the performance of sector-specific ETFs relative to the current asset. It automatically identifies the sector of the underlying symbol and displays the corresponding ETF’s price action alongside key technical indicators. This helps traders analyze sector trends and correlations in real time.
---
Key Features
Automatic Sector Detection:
Fetches the sector of the current asset (e.g., "Technology" for AAPL).
Maps the sector to a user-defined ETF (default: SPDR sector ETFs) .
Technical Indicators:
Simple Moving Average (SMA): Tracks the ETF’s trend.
Bollinger Bands: Highlights volatility and potential reversals.
Donchian High (52-Week High): Identifies long-term resistance levels.
SPY Regime Filter: Red background color if SP500 is below 200 day SMA.
Customizable Inputs:
Adjust indicator parameters (length, visibility).
Override default ETFs for specific sectors.
Informative Table:
Displays the current sector and ETF symbol in the bottom-right corner.
---
Input Settings
SMA Settings
SMA Length: Period for calculating the Simple Moving Average (default: 200).
Show SMA: Toggle visibility of the SMA line.
Bollinger Bands Settings
BB Length: Period for Bollinger Bands calculation (default: 20).
BB Multiplier: Standard deviation multiplier (default: 2.0).
Show Bollinger Bands: Toggle visibility of the bands.
Donchian High (52-Week High)
Daily High Length: Days used to calculate the high (default: 252, approx. 1 year).
Show High: Toggle visibility of the 52-week high line.
Sector Selections
Customize ETFs for each sector (e.g., replace XLU with another utilities ETF).
---
Example Use Cases
Trend Analysis: Compare a stock’s price action to its sector ETF’s SMA for trend confirmation.
Volatility Signals: Use Bollinger Bands to spot ETF price squeezes or breakouts.
Sector Strength: Monitor if the ETF is approaching its 52-week high to gauge sector momentum.
Enjoy tracking sector trends with ease! 🚀
Put/Call RatioPut/Call Ratio Indicator
This indicator visualizes the Put/Call Ratio for various market symbols, helping traders assess market sentiment and potential reversals. It offers a dropdown menu to select from a range of Put/Call Ratios, including broad equities (CBOE), major indices (SPX, QQQ, IWM, VIX), and individual stocks (TSLA, GOOG, META, AMZN, MSFT, INTC).
The indicator plots the Put/Call Ratio with adjustable moving averages and standard deviation bands to highlight overbought or oversold conditions. A short-term moving average (default: 10 periods) is displayed with trend-based coloring, while longer-term moving averages (defaults: 30 and 200 periods) are calculated but hidden by default. Bands at 1, 1.5, and 2 standard deviations provide context for extreme readings.
Key Overbought/Oversold Signals:
Short-Term Extremes: The 10-day moving average moves beyond 1 standard deviation from the 200-day moving average, signaling potential overbought (above) or oversold (below) conditions. This will be highlighted by red or green background color.
Ratio Extremes: The Put/Call Ratio line itself crosses outside 2 standard deviations from the 200-day moving average, indicating stronger overbought or oversold zones.
Conditional coloring of the ratio line reflects its position relative to the bands, and background shading highlights when the short-term moving average crosses key levels.
Key Features:
Selectable Put/Call Ratio symbols.
Trend-colored moving averages.
Standard deviation bands for volatility analysis.
Dynamic line and background coloring for quick insights.
Usage:
Use this indicator to gauge market sentiment—high ratios may suggest bearish sentiment or oversold conditions, while low ratios may indicate bullish sentiment or overbought conditions. Combine with price action or other tools for confirmation.
Equal Highs and Lows - [TEH]This script is a powerful tool for identifying and visualizing equal highs and lows in the market. It offers traders a way to spot potential support and resistance levels, which can be crucial for making informed trading decisions.
Key Features:
Equal High and Low Detection: The script scans a user-defined lookback period to find price levels where highs or lows are equal to the current bar's high or low.
Customizable Appearance:
Line colors for highs and lows
Line width and style (solid, dashed, or dotted)
Option to extend lines to the right of the chart
Dynamic Line Management:
The script automatically removes lines when price breaches them, keeping the chart clean and relevant.
Text Labels:
Optional text labels can be added to the lines, with customizable text, color, and size.
Functions and Usage:
Main Functions:
findAndDrawEqualHighs(): Identifies equal highs and draws lines connecting them.
findAndDrawEqualLows(): Identifies equal lows and draws lines connecting them.
checkAndRemoveBreachedLines(): Removes lines and labels when price breaks through them.
Analysis Applications:
Support and Resistance Identification: The lines drawn by the script highlight potential support (for lows) and resistance (for highs) levels5.
Trend Analysis: Multiple equal highs or lows can indicate the strength of a trend. Consecutive higher lows might suggest an uptrend, while consecutive lower highs could indicate a downtrend.
Breakout Detection:
When price breaks through a line, it could signal a potential trend change or continuation.
Range Trading:
Identifying equal highs and lows can help traders spot ranging markets and potential boundaries for range-based strategies.
Risk Management:
The lines can be used as reference points for setting stop-loss orders or take-profit targets.
Customization and Flexibility:
The script offers extensive customization options, allowing traders to tailor the indicator to their specific needs and visual preferences. This flexibility makes it suitable for various trading styles and timeframes.
By providing a clear visual representation of equal highs and lows, this script enhances a trader's ability to analyze market structure and make more informed decisions. It's a valuable addition to any trader's toolkit, especially those focusing on technical analysis and price action trading.
[GOG] Risk-Appetite IndicatorOverall tradfi risk appetite indicator. Plotting ARKK/SPX and ARKW/SPX. Look for divergences to your risk assets to look for entries and exits. Also generally useful to compare to past peaks to spot euphoria.
Advanced Liquidity Trap & Squeeze Detector [MazzaropiYoussef]DESCRIPTION:
The "Advanced Liquidity Trap & Squeeze Detector" is designed to identify potential liquidity traps, short and long squeezes, and market manipulation based on open interest, funding rates, and aggressive order flow.
KEY FEATURES:
- **Relative Open Interest Normalization**: Avoids scale discrepancies across different timeframes.
- **Liquidity Trap Detection**: Identifies potential bull and bear traps based on open interest and funding imbalances.
- **Squeeze Identification**: Highlights conditions where aggressive buyers or sellers are trapped before a reversal.
- **Volume Surge Confirmation**: Alerts when abnormal volume activity supports liquidity events.
- **Customizable Parameters**: Adjust thresholds to fine-tune detection sensitivity.
HOW IT WORKS:
- **Long Squeeze**: Triggered when relative open interest is high, funding is negative, and aggressive selling occurs.
- **Short Squeeze**: Triggered when relative open interest is high, funding is positive, and aggressive buying occurs.
- **Bull Trap**: Triggered when relative open interest is high, funding is positive, and price crosses above the trend line but fails.
- **Bear Trap**: Triggered when relative open interest is high, funding is negative, and price crosses below the trend line but fails.
USAGE:
- This indicator is useful for traders looking to anticipate reversals and avoid being caught in market manipulation events.
- Works best in combination with order book analysis and volume profile tools.
- Can be applied to crypto, forex, and other leveraged markets.
**/
FoundryFutures Filtered Tick**Foundry Futures Filtered Tick (FFFT) – TradingView Indicator**
Overview
The Foundry Futures Filtered Tick (FFFT) is a market breadth indicator that filters out noise to track only significant tick events. Using a Custom Composite Cumulative Tick formula, it monitors buying and selling pressure during large events or waves of orders across exchanges. This gives traders a clearer view of market sentiment and momentum shifts throughout the trading day, without the distraction of minor tick movements.
Key Features
• Filters large tick events while ignoring minor fluctuations
• Tracks cumulative bullish/bearish threshold crossings ("Events") to highlight momentum shifts
• Uses dynamic color gradient visualization (red for selling, cyan for buying)
• Provides zero-line reference for directional bias
• Displays integrated real-time table for market context and large event tracking
How to Use
1. Add to favorites
2. Open chart, navigate to indicators tab > Favorites > Search "FoundryFutures Filtered Tick"
3. Apply to your chart
4. Select preferred market and begin using
Adjust Settings
• Set positive & negative thresholds to define meaningful tick events (Default +/-999)
• Customize line width and colors for better visibility if desired
• Interpret Signals above or below zero intraday as momentum shifts in sentiment across exchanges.
• Above zero & rising → Increasing bullish momentum
• Below zero & falling → Increasing selling pressure
• Frequent crossings → Potential market exhaustion or range bound activity
Risk Disclaimer & Release of Liability
Trading futures is highly speculative and involves substantial risk. The FFFT indicator does not predict market direction or guarantee profitability. It is for educational purposes only and should be used alongside proper risk management and independent analysis.
**By using this indicator, you acknowledge that:**
• You are solely responsible for your trading decisions
• Foundry Futures and its creator make no warranties or guarantees regarding accuracy or profitability
• You assume full responsibility for any financial losses incurred
• If you do not agree with these terms, do not use this indicator. Trade responsibly
High Volume Points [BigBeluga]High Volume Points is a unique volume-based indicator designed to highlight key liquidity zones where significant market activity occurs. By visualizing high-volume pivots with dynamically sized markers and optional support/resistance levels, traders can easily identify areas of interest for potential breakouts, liquidity grabs, and trend reversals.
🔵 Key Features:
High Volume Points Visualization:
The indicator detects pivot highs and lows with exceptionally high trading volume.
Each high-volume point is displayed as a concentric circle, with its size dynamically increasing based on the volume magnitude.
The exact volume at the pivot is shown within the circle.
Dynamic Levels from Volume Pivots:
Horizontal levels are drawn from detected high-volume pivots to act as support or resistance.
Traders can use these levels to anticipate potential liquidity zones and market reactions.
Liquidity Grabs Detection:
If price crosses a high-volume level and grabs liquidity, the level automatically changes to a dashed line.
This feature helps traders track areas where institutional activity may have occurred.
Volume-Based Filtering:
Users can filter volume points by a customizable threshold from 0 to 6, allowing them to focus only on the most significant high-volume pivots.
Lower thresholds capture more volume points, while higher thresholds highlight only the most extreme liquidity events.
🔵 Usage:
Identify strong support/resistance zones based on high-volume pivots.
Track liquidity grabs when price crosses a high-volume level and converts it into a dashed line.
Filter volume points based on significance to remove noise and focus on key areas.
Use volume circles to gauge the intensity of market interest at specific price points.
High Volume Points is an essential tool for traders looking to track institutional activity, analyze liquidity zones, and refine their entries based on volume-driven market structure.
Standardized Leveraged ETF Fund of FlowsThis indicator tracks and standardizes the 3-month fund flows of major leveraged ETFs across different asset classes, including equities, gold, and bonds.
The fund flows are summed over a 3-month period (63 trading days) and then standardized using a 500-day rolling mean and standard deviation.
The resulting normalized fund flow values are plotted in three distinct colors:
Blue for Equities Fund Flows
Yellow for Gold Fund Flows
Green for Bond Fund Flows
Open Interest (Multiple Exchanges for Crypto)On some cryptocurrencies and exchanges the OI data is nonexistent or deplorable. With this indicator you can see OI data from multiple exchanges (or just the best one) from USD,USDT, or USD+USDT pairs whether you are using a perpetuals chart or not.
Hope you all like it!
Delta Volume Histogram with Filters and AlertsОписание (Russian):
Индикатор "Delta Volume Histogram" определяет дельту объёма и отображает её в виде гистограммы. Он показывает разницу между объёмами покупок и продаж, с возможностью фильтрации значений и вызова алертов.
Функции:
Фильтр для отображения только значений выше заданного порога.
Режим отображения всех значений выше нуля.
Алерт при появлении дельты, превышающей установленный фильтр.
Description (English):
The "Delta Volume Histogram" indicator calculates volume delta and displays it as a histogram. It highlights the difference between buy and sell volumes, with options for filtering values and triggering alerts.
Features:
Filter to display only values above a specified threshold.
**Features (continued):**
- Mode to display both positive and negative delta values above the zero line for better visualization.
- Alert functionality that notifies you when the delta volume exceeds the specified filter value.
This indicator is ideal for traders who want to track buying and selling pressure in the market, helping to identify strong movements and potential reversals based on volume delta analysis.
Emotion Line with Volume Confirmation by langshenHow to Use It?
Add the Indicator:
Copy the code into TradingView's Pine Script editor.
Save and add the indicator to your chart.
Understand the Lines:
Emotion Line (Green): Represents the current market sentiment.
MA Emotion Line (Red): A smoothed version of the Emotion Line.
Horizontal Lines:
20% (Gray): Indicates potential positive sentiment (Attention Zone).
40% (Orange): Suggests strong market sentiment (Entry Zone).
80% (Red): Signals overly optimistic sentiment (Reduce Position Zone).
Interpret the Signals:
When the Emotion Line crosses above 20%, it may indicate a positive shift in sentiment.
When the Emotion Line crosses above 40%, it suggests a strong market sentiment, which could be a potential entry point.
When the Emotion Line crosses above 80%, it may indicate an overbought market, signaling a potential reduction in positions.
When the Emotion Line crosses below the MA Emotion Line, it may indicate a weakening sentiment, signaling an exit.
Customize the Inputs:
N Period: Adjust the period for calculating the Emotion Line (default is 7).
MA Period: Adjust the period for the moving average of the Emotion Line (default is 6).
Logic Explanation
Ray Calculation:
The Ray is a smoothed price value calculated as the simple moving average (SMA) of (2 * close + high + low) / 4.
Close Line (CL):
The CL is derived from the Ray and represents the core price trend.
Directional Change (DlR1):
Measures the absolute difference between the current CL and its value two bars ago (CL ).
Volume in Range (VlR1):
Sums the absolute differences between the current CL and its previous value (CL ) over a specified period.
Efficiency Ratio (ER1):
Calculates the ratio of directional change (DlR1) to volume in range (VlR1), representing the efficiency of price movement.
Cumulative Strength (CS1):
Simplified as the efficiency ratio (ER1).
Cumulative Quotient (CQ1):
Squares the cumulative strength (CS1) to amplify its effect.
Adjusted Moving Average (AMA5):
A dynamic moving average that adjusts based on the CQ1 value, simulating a responsive trend line.
Cost (7-day SMA of AMA5):
The 7-period SMA of the AMA5.
Composite Line (CLX):
The average of AMA5 and Cost.
Emotion Line:
Calculated as the percentage of days where the CLX is higher than its previous value over the last N periods.
MA Emotion Line:
The moving average of the Emotion Line, smoothing out its fluctuations.
Key Features
Trend Identification: Helps identify shifts in market sentiment.
Customizable Periods: Adjust N and M to fit your trading style.
Visual Cues: Horizontal lines provide clear levels for attention, entry, and reduce position signals.
Best Practices
Use this indicator in conjunction with other tools (e.g., RSI, MACD) for confirmation.
Adjust the N and M periods based on your trading timeframe (e.g., shorter periods for scalping, longer periods for swing trading).
Combine the indicator with volume analysis to confirm signals.
This indicator is designed to be simple yet powerful, providing clear insights into market sentiment while adhering to TradingView's coding standards.
Fibonacci Volume Profiles [AlgoAlpha]Unlock a deeper understanding of price action with the Fibonacci Volume Profiles indicator by AlgoAlpha! This powerful tool blends Fibonacci retracement levels with customizable volume profiles, helping traders identify high-probability areas of support, resistance, and accumulation. Designed for both continuous dynamic levels and custom time periods, this indicator is a must-have for traders seeking confluence in market structure analysis.
🔑 Key Features
📈 Dual Mode Selection : Choose between Continuous Fibonacci levels, which adapt dynamically to pivots, or a Custom Period mode, where you set your own start and end points.
📊 Integrated Volume Profile : Visualize volume distributions at key Fibonacci retracement levels, revealing areas of strong buying/selling interest.
🎨 Customizable Colors & Transparency : Adjust Fibonacci level colors, fill zones, and profile transparency for a visually clear experience.
🔍 Profile Resolution & Scaling : Control the number of price levels and width of the volume profile for detailed market insights.
🛠 Extendable Levels : Optionally extend Fibonacci levels to the right of the chart for better visualization of future price interaction.
📌 How to Use
Add the Indicator: Click on the star icon to add it to your favorites and apply it to your TradingView chart.
Analyze The Market: Observe how price interacts with Fibonacci levels alongside the volume profile to confirm support/resistance zones. Switch between custom range or continuous mode to align the tool with your trading style.
⚙️ How It Works
The indicator calculates pivot highs/lows dynamically (or uses user-defined time periods) to plot Fibonacci retracement levels. It then builds a volume profile by analyzing historical volume data, grouping it into price bins to highlight volume-heavy zones. The Point of Control (PoC) is identified as the level with the highest traded volume, acting as a key price magnet. The color-coded Fibonacci levels help traders spot retracement zones, while the volume profile confirms strength or weakness in those areas.
Industry Indices ComparisonA dynamic industry sector performance comparison indicator that helps traders and investors track relative strength across different market sectors in real-time.
- Compares up to 5 industry sector ETFs against a benchmark index (default: SPY)
- Displays key metrics including:
* Performance % over selected timeframe
* Relative performance vs benchmark
* Trend direction (▲ up, ▼ down, − neutral)
* Volume in millions (M) of shares traded
- Configurable timeframes: 1D, 1W, 1M, and 3M comparisons
- Color-coded performance indicators (green for outperformance, red for underperformance)
- Customizable table position and text size for optimal chart placement
The indicator helps identify:
1. Sector rotation patterns through relative performance
2. Leading and lagging sectors vs the broader market
3. Volume trends across different sectors
For traders, if you are considering two equally good setups, then choosing the setup belonging to a currently strong sector could be beneficial.
True Strength Index with Zones & AlertsKey Features:
True Strength Index (TSI) Calculation
Uses double-smoothed exponential moving averages (EMA) to calculate TSI.
A signal line (EMA of TSI) helps confirm trends.
Dynamic Color Coding for TSI Line
Green: TSI is above the signal line (Bullish).
Red: TSI is below the signal line (Bearish).
Crossover & Crossunder Signals
Bullish Crossover (TSI crosses above Signal Line) → Green Circle.
Bearish Crossunder (TSI crosses below Signal Line) → Red Circle.
Alerts for Trading Signals
Buy Alert: TSI crosses above the signal line.
Sell Alert: TSI crosses below the signal line.
Overbought & Oversold Zones
Overbought: Between 40 and 50 (Red Zone).
Oversold: Between -40 and -50 (Green Zone).
Highlighted Background when TSI enters these zones.
Neutral Line at 0
Helps determine trend direction and momentum shifts.
How to Use These Values:
• TSI Crosses Above Signal Line → Bullish entry.
• TSI Crosses Below Signal Line → Bearish entry.
• Overbought (+40 to +50) & Oversold (-40 to -50) zones → Watch for trend reversals.
• Divergence Signals → If price makes a new high/low but TSI doesn’t, momentum is weakening.
Whale Supertrend (V1.2)The script "Whale Supertrend (V1.2)" is an advanced trend indicator that uses multiple Supertrends with different factors to determine entry and exit points in the market. The Supertrend is a popular indicator that combines price and volatility to help identify trend direction. The script displays buy and sell signals based on the confluence of Supertrends.
How the script works
Configuring Supertrends
The script configures six Supertrends with different factors (factor, factor1, factor2, factor3, factor4, factor5) while using the same ATR period (atrPeriod = 10).
Supertrend 1: factor = 3
Supertrend 2: factor1 = 4
Supertrend 3: factor2 = 6
Supertrend 4: factor3 = 9
Supertrend 5: factor4 = 13
Supertrend 6: factor5 = 18
For each Supertrend, the bullish (blue) and bearish (purple) trend conditions are plotted on the chart.
Signal Calculation
The script calculates the number of Supertrends in bullish and bearish trend:
bullishCount: Number of Supertrends indicating a bullish trend.
bearishCount: Number of Supertrends indicating a bearish trend.
Signal Detection
The script triggers a buy or sell signal when at least three of the six Supertrends indicate the same trend:
Buy Signal (buySignal): Triggers when bullishCount is greater than or equal to 3.
Sell Signal (sellSignal): Triggers when bearishCount is greater than or equal to 3.
To avoid repetition, signals are only displayed when the state changes:
triggerBuy: Buy signal only when buySignal becomes true for the first time.
triggerSell: Sell signal only when sellSignal becomes true for the first time.
Candle Coloring:
Candles now change color based on signals:
Green: When a Buy Signal is active.
Red: When a Sell Signal is active.
This provides a clearer visualization of market trends directly on the chart.
Dynamic Settings for Supertrends:
You can customize the ATR Period and Factor for each of the 6 Supertrends via the settings panel.
Each Supertrend has independent parameters:
ATR Period: Controls the ATR calculation period.
Factor: Adjusts the Supertrend sensitivity.
Benefits:
Enhanced Readability: Candle colors help identify buy and sell zones at a glance.
Greater Customization: Tailor Supertrend settings to your trading strategy or market conditions.
ROC with closed based coloring & info table [DB]Rate of Change (ROC) Basics
The Rate of Change (ROC) is a momentum oscillator measuring the percentage price change between the current close and the close from N periods ago.
Calculated as: ROC = * 100
Traders use ROC to:
Identify overbought/oversold conditions
Spot momentum shifts
Confirm trend strength
My improvements:
Visual Clarity
Color-Coded Direction: ROC line changes color (green/red/yellow) based on intra-candle momentum shifts.
Direction Table: Instant view of the last change in ROC with the candle close (▲ UP / ▼ DOWN / ▶ FLAT).
Cells for current value and previous change between timeframe bar period.
What you can benefit with this over the regular ROC:
Faster Analysis: The visual cues make direction and strength instantly obvious and it allows for faster decision making while preserving more mental capital.
USDT.D + USDT.C ALL TIMEFRAMESThis indicator combines the dominance of USDT (USDT.D) and USDC (USDC.D) to track total stablecoin market share across all timeframes. It displays the combined dominance as candlesticks, providing a clearer view of market liquidity shifts and investor sentiment.
📌 How to Use:
Green candles indicate rising stablecoin dominance (potential risk-off sentiment).
Red candles indicate declining stablecoin dominance (potential risk-on sentiment).
Works on all timeframes, from intraday scalping to macro trend analysis.
This tool is essential for traders looking to analyze stablecoin liquidity flow, identify market turning points, and refine trading strategies based on stablecoin dominance behavior. 🚀
GTA MARKET SENTIMENTGTA Market Sentiment Indicator – Multi-Timeframe Momentum Analysis
Technical Overview
The GTA Market Sentiment indicator is a multi-timeframe momentum analysis tool that calculates trend strength and directional bias by aggregating data from higher timeframes. It applies a timeframe multiplier to derive price data from three progressively larger timeframes, providing a broader perspective on market conditions.
Key Components:
Multi-Timeframe Data Aggregation:
Uses a timeframe multiplier to fetch price data from three higher timeframes.
Computes an averaged price input to smoothen noise and enhance trend clarity.
Exponential Moving Averages (EMAs):
Two EMAs (fast and slow) are calculated on the multi-timeframe aggregated price.
A signal line is derived using an additional EMA to track momentum shifts.
Histogram Representation:
Displays the difference between the moving averages as a histogram.
Implements a gradient color fill to visually indicate trend shifts.
Histogram color intensity adapts dynamically to signal strength variations.
Slope Calculation:
Computes the slope of the aggregated momentum data to assess trend strength.
Helps detect acceleration or deceleration in trend movement.
Zero Line & Signal Levels:
Zero line acts as a baseline for trend bias determination.
Additional signal levels provide reference points for potential trend shifts.
Customization & Parameters:
Time Frame Multiplier: Adjustable multiplier for selecting higher timeframes.
Fast, Slow, and Signal Lengths: User-defined parameters to modify responsiveness.
Moving Average Display Toggle: Option to enable or disable visualization of EMAs.
Usage Considerations:
Designed for multi-timeframe confirmation and momentum-based trend assessment.
Suitable for analyzing trend consistency across different time horizons.
Can be combined with other technical tools for deeper market context.
This indicator provides a structured approach to momentum analysis by leveraging multiple timeframes, smoothing out short-term noise, and offering a clearer visualization of trend dynamics.
[TehThomas] - ICT Premium & Discount - ICT Premium & Discount: Script Overview
This TradingView script is designed to visualize the ICT (Inner Circle Trader) Premium & Discount Concept by dynamically identifying the key price zones within a specified lookback period. It highlights the Premium Zone, Discount Zone, and Equilibrium Level, helping traders assess where price is trading in relation to historical highs and lows.
How the Script Works
1. Lookback Period Calculation
The script scans the last X bars (user-defined lookback period) to find the highest high and lowest low during that time.
This helps establish a reference range for determining whether the current price is trading in a premium (overbought) or discount (oversold) area.
2. Equilibrium Level
The equilibrium is simply the midpoint between the highest high and the lowest low within the lookback period.
This level serves as a fair value price where price often reacts or consolidates.
3. Drawing the Premium & Discount Zones
The script creates two distinct zones:
Premium Zone (above equilibrium): Price is considered expensive.
Discount Zone (below equilibrium): Price is considered cheap.
These zones are displayed using colored boxes (red for premium, green for discount).
4. Equilibrium Line & Labels
A dashed equilibrium line is plotted at the midpoint to give a visual reference.
Labels for Premium, Discount, and Equilibrium are added to help traders quickly identify these levels.
Settings You Can Change
The script includes multiple input parameters that allow customization:
1. Lookback Period (lookback)
Default: 50 bars
Defines how many past candles to analyze for the highest high and lowest low.
A larger lookback provides a broader market structure, while a smaller one captures short-term moves.
Premium Zone Color (premium_color)
Default: Red (80% transparency)
You can modify this to change how the premium zone appears on the chart.
Discount Zone Color (discount_color)
Default: Green (80% transparency)
Allows customization of the discount zone’s color.
Extend Boxes Right (extend_right)
Default: 15 bars
Defines how far the premium and discount boxes extend into the future for better visibility.
Why This Script is Useful
Identifies High-Probability Trade Zones.
Traders can use the Premium & Discount zones to find optimal trade entries based on ICT concepts.
Buy in the Discount Zone and sell in the Premium Zone when confluence aligns.
Enhances Smart Money Concepts (SMC) Trading
ICT traders look for liquidity sweeps, fair value gaps, and order blocks.
Combining these with premium & discount levels increases trade accuracy.
Works on Any Timeframe & Asset
The script is effective across forex, crypto, stocks, and indices on multiple timeframes.
How to Use the ICT Premium & Discount Concept in Trading
Find the Range
Apply the script to your chart and check the premium and discount levels.
Ensure you are using a relevant lookback period (e.g., 50 bars for intraday, 100+ for higher timeframes).
Wait for Price to Enter a Key Zone
Long Trades: Look for bullish confirmations (e.g., liquidity grabs, order blocks) in the Discount Zone.
Short Trades: Seek bearish setups in the Premium Zone where price is expensive.
Use the Equilibrium as a Reaction Zone
Price often bounces off or retests equilibrium before making a directional move.
Consider it as a dynamic support/resistance level.
Combine with Other ICT Concepts
Fair Value Gaps (FVGs): Look for price inefficiencies inside premium/discount zones.
Liquidity Sweeps: Watch for stop hunts and false breakouts before entering trades.
Order Blocks (OBs): Use smart money footprints to refine your entries.
Final Thoughts
This script is a powerful tool for ICT traders looking to refine their premium & discount analysis. By visually separating the market into premium (overbought) and discount (oversold) zones, traders can make more informed, high-probability trading decisions.
Stock Sector ETF with IndicatorsThe Stock Sector ETF with Indicators is a versatile tool designed to track the performance of sector-specific ETFs relative to the current asset. It automatically identifies the sector of the underlying symbol and displays the corresponding ETF’s price action alongside key technical indicators. This helps traders analyze sector trends and correlations in real time.
---
Key Features
Automatic Sector Detection:
Fetches the sector of the current asset (e.g., "Technology" for AAPL).
Maps the sector to a user-defined ETF (default: SPDR sector ETFs) .
Technical Indicators:
Simple Moving Average (SMA): Tracks the ETF’s trend.
Bollinger Bands: Highlights volatility and potential reversals.
Donchian High (52-Week High): Identifies long-term resistance levels.
Customizable Inputs:
Adjust indicator parameters (length, visibility).
Override default ETFs for specific sectors.
Informative Table:
Displays the current sector and ETF symbol in the bottom-right corner.
---
Input Settings
SMA Settings
SMA Length: Period for calculating the Simple Moving Average (default: 200).
Show SMA: Toggle visibility of the SMA line.
Bollinger Bands Settings
BB Length: Period for Bollinger Bands calculation (default: 20).
BB Multiplier: Standard deviation multiplier (default: 2.0).
Show Bollinger Bands: Toggle visibility of the bands.
Donchian High (52-Week High)
Daily High Length: Days used to calculate the high (default: 252, approx. 1 year).
Show High: Toggle visibility of the 52-week high line.
Sector Selections
Customize ETFs for each sector (e.g., replace XLU with another utilities ETF).
---
Example Use Cases
Trend Analysis: Compare a stock’s price action to its sector ETF’s SMA for trend confirmation.
Volatility Signals: Use Bollinger Bands to spot ETF price squeezes or breakouts.
Sector Strength: Monitor if the ETF is approaching its 52-week high to gauge sector momentum.
Enjoy tracking sector trends with ease! 🚀
Market Trend Scanner [Afnan]This Market Strength Scanner indicator is designed to provide traders with a clear and concise overview of market trends using a single table. It helps you quickly determine which sectors and indices are strong, weak, or choppy, allowing you to make informed trading decisions with ease.
How This Indicator Helps You:
✅ Identify Strong Sectors & Indices
🔹By analyzing this table, you can instantly see which sectors and indices are performing well.
🔹Focus on stocks within strong sectors to find high-probability buying opportunities.
✅ Avoid Weak or Choppy Markets
🔹The indicator highlights bearish or consolidating sectors, helping you avoid poor trading conditions.
🔹Stay away from sectors that are weak or moving sideways to reduce unnecessary risks.
✅ Understand Market Sentiment in Seconds
🔹If most sectors are bullish, the market is in an uptrend—giving you confidence to take long positions.
🔹If the majority are bearish, the market is weak, signaling caution.
🔹A mix of bullish and bearish sectors indicates a choppy market, warning you to avoid trading or adjust your strategy.
✅ Powered by 4 Customizable EMAs
🔹The indicator uses 4 Exponential Moving Averages (EMAs) to determine trends for each sector and index.
🔹These EMAs are fully modifiable, allowing you to adjust them based on your preferred strategy.
✅ Covers 25 Major Indices (Fully Customizable)
🔹By default, the indicator tracks 25 key indices, giving you a broad market perspective.
🔹You can customize the list to focus on the indices that matter most to you.
Why Use This Indicator?
🔹 Saves Time – No need to analyze multiple charts manually. The table gives you everything at a glance.
🔹 Improves Trade Selection – Focus only on strong sectors for better trade accuracy.
🔹 Works in All Market Conditions – Whether the market is trending or consolidating, this tool keeps you informed.
🔹 Fully Customizable – Adjust the EMAs and indices according to your trading preferences.
With just this one powerful indicator, you get a complete market overview, helping you align your trades with the current trend effortlessly! 🚀
Pearson Correlation CoefficientDescription: The Pearson Correlation Coefficient measures the strength and direction of the linear relationship between two data series. Its value ranges from -1 to +1, where:
+1 indicates a perfect positive linear correlation: as one asset increases, the other asset increases proportionally.
0 indicates no linear correlation: variations in one asset have no relation to variations in the other asset.
-1 indicates a perfect negative linear correlation: as one asset increases, the other asset decreases proportionally.
This measure is widely used in technical analysis to assess the degree of correlation between two financial assets. The "Pearson Correlation (Manual Compare)" indicator allows users to manually select two assets and visually display their correlation relationship on a chart.
Features:
Correlation Period: The time period used for calculating the correlation can be adjusted (default: 50).
Comparison Asset: Users can select a secondary asset for comparison.
Visual Plots: The chart includes reference lines for perfect correlations (+1 and -1) and strong correlations (+0.7 and -0.7).
Alerts: Set alerts for when the correlation exceeds certain threshold values (e.g., +0.7 for strong positive correlation).
How to Select the Second Asset:
Primary Asset Selection: The primary asset is the one you select for viewing on the chart. This can be done by simply opening the chart for the desired asset.
Secondary Asset Selection: To select the secondary asset for comparison, use the input field labeled "Comparison Asset" in the script settings. You can manually enter the ticker symbol of the secondary asset you want to compare with the primary asset.
This indicator is ideal for traders looking to identify relationships and correlations between different financial assets to make informed trading decisions.
Macro-Sentiment Index Model (MSIM)Macro-Sentiment Index Model (MSIM) is a comprehensive trading strategy developed to analyze and interpret the broader macroeconomic and market sentiment. The strategy integrates various quantitative signals, including market volatility, trading volume, market breadth, and economic indicators, to assess the prevailing mood in the financial markets. This sentiment analysis is then used to guide trading decisions, helping identify optimal entry and exit points based on underlying market conditions. The model is specifically designed to capture the shifts in investor sentiment, which have been shown to significantly influence market behavior (Fleming et al., 2001).
The MSIM utilizes a multi-faceted approach to measure sentiment. Drawing from the theory that macroeconomic variables can influence financial markets (Stock & Watson, 2002), the strategy incorporates market volatility (VIX), volume measures, and long-term market trends. These indicators help form a robust view of the market’s risk appetite and potential for price movement. For instance, high volatility often signals increased market uncertainty (Bollerslev, 1986), while volume-based indicators provide insights into investor conviction (Chen, 1991).
Additionally, the model incorporates macroeconomic proxies like GDP growth, interest rates, and unemployment data, leveraging the findings of macroeconomic studies that indicate a direct correlation between these factors and market performance (Hamilton, 1994). By normalizing these economic indicators, the model provides a standardized sentiment score that reflects the aggregated impact of these factors on the market’s outlook.
The MSIM aims to exploit market inefficiencies by responding to shifts in sentiment before they manifest in price movements. Studies have shown that sentiment indicators, such as the Advance-Decline Line and the Stock-Bond Ratio, can be predictive of future price movements (Neely, 2010). The model integrates these indicators into a single composite sentiment score, which is then filtered through momentum signals to refine entry points. This approach is grounded in behavioral finance theory, which suggests that investor sentiment plays a crucial role in driving asset prices, sometimes beyond the reach of fundamental data alone (Shiller, 2000).
The strategy is designed to identify long opportunities when sentiment is particularly favorable, with a focus on minimizing risk during adverse conditions. By analyzing market trends alongside macroeconomic signals, the MSIM helps traders stay aligned with the prevailing market forces.
References:
• Bollerslev, T. (1986). Generalized autoregressive conditional heteroskedasticity. Journal of Econometrics, 31(3), 307-327.
• Chen, S. S. (1991). The determinants of stock market liquidity. Journal of Financial and Quantitative Analysis, 26(3), 283-305.
• Fleming, M. J., Kirby, C. W., & Ostdiek, B. (2001). The economic value of volatility timing. Journal of Financial and Quantitative Analysis, 36(1), 113-134.
• Hamilton, J. D. (1994). Time series analysis. Princeton University Press.
• Neely, C. J. (2010). The behavior of exchange rates: A survey of recent empirical literature. International Finance Discussion Papers, 981.
• Shiller, R. J. (2000). Irrational Exuberance. Princeton University Press.
• Stock, J. H., & Watson, M. W. (2002). Macroeconomic forecasting using diffusion indexes. Journal of Business & Economic Statistics, 20(2), 147-162.