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.
Sentiment
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.
Amoy-7 SMMA & 20 EMA7 SMMA (Smoothed Moving Average):
Pine Script doesn't have a built-in function for SMMA, so I used a recursive calculation based on the previous SMMA value.
The first value is calculated using a simple moving average (ta.sma()), and for subsequent values, the formula incorporates the previous SMMA value.
20 EMA (Exponential Moving Average):
The 20-period EMA is calculated using ta.ema().
Plotting:
The script plots both the 7 SMMA (orange line) and the 20 EMA (blue line) on the chart.
Buy/Sell Signals:
A buy signal is generated when the 20 EMA crosses above the 7 SMMA.
A sell signal is generated when the 20 EMA crosses below the 7 SMMA.
These signals are marked with green "BUY" and red "SELL" labels on the chart.
Internals Elite NASDAQInternals Elite NASDAQ Indicator: Overview and Functionality
Overview:
The Internals Elite NASDAQ indicator is a market breadth tool designed for **NASDAQ market internals analysis**. It provides traders with a **table-based visualization** of various key market metrics that help gauge overall market strength, sentiment, and momentum.
Key Features and What It Does:
The indicator fetches and displays **real-time market internals** by monitoring various breadth indicators, price action, and macroeconomic influences. It presents this data in a **color-coded table overlay** that updates dynamically to reflect changes in market sentiment.
---
Market Internals Monitored:
1. TICK Index (TICKQ)
- Measures short-term market sentiment by tracking the number of advancing vs. declining stocks at a given moment.
- Green: Strong positive sentiment (above threshold).
- Red: Weak sentiment (below threshold).
2. Advance-Decline Line (ADDQ) & Moving Average Sentiment
- Tracks the net difference between advancing and declining stocks on the NASDAQ.
- EMA-Based Trend Signal:
- Uses a 10-period EMA to smooth ADDQ values and identify trends.
- Rising EMA suggests broad market strength (bullish momentum).
- Falling EMA** indicates market weakness** (bearish pressure).
- Directional Arrow System:
- 📈 Rising → Market internals improving (bullish).
- 📉 Falling → Weakening breadth (bearish).
3. VIX (Volatility Index) & EMA Sentiment
- Measures market volatility and risk sentiment.
- EMA-Based VIX Trend Analysis:
- Uses a 10-period EMA to track VIX momentum.
- Falling VIX EMA → Market stability & bullish sentiment.
- Rising VIX EMA → Increased fear & bearish conditions.
- Color-Coded Risk Levels:
- Green: Low VIX (market confidence).
- Orange: Neutral/transition phase.
- Red: High VIX (risk-off environment).
4. VWAP Deviation (% Above VWAP)
- Indicates how many stocks are trading above or below the VWAP (Volume Weighted Average Price).
- Used for tracking institutional activity and potential market reversals.
5. M7 VWAP (Mega-Cap 7 VWAP)
- Tracks VWAP levels for AAPL, MSFT, GOOGL, AMZN, META, NVDA, TSLA.
- Indicates whether **major tech stocks** are supporting or dragging the market.
6. Dollar Index (DXY)
- Measures the strength of the U.S. Dollar relative to other currencies.
- Impacts NASDAQ stocks as a weaker dollar tends to benefit tech stocks.
7. US 10-Year Treasury Yield (US10Y)
- Tracks interest rate trends, which influence market liquidity and risk appetite.
8. Bitcoin Price (BTCUSD)
- Cryptocurrency correlation tracking; used as a speculative risk indicator.
9. QQQ Price & Change (%)
- The performance of the *ASDAQ-100 ETF (QQQ) for broader index trend confirmation.
10. Current Ticker Price Change (%)
- Shows the **percentage change** of the selected stock relative to its previous close.
---
### How It Helps Traders:
✅ Identifies Trend Strength → Using EMA-based ADDQ & VIX signals for sentiment confirmation.
✅ Detects Market Turning Points → Through TICKQ, VWAP deviation, and M7 VWAP.
✅ Tracks Institutional Activity→ Watching whether mega-cap tech stocks are supporting the market.
✅ Measures Risk Appetite → By integrating VIX, DXY, US10Y, and BTC into the analysis.
✅ Provides Macro Confirmation → Understanding if external factors (like bond yields) are impacting NASDAQ moves.
---
Final Summary:
The Internals Elite NASDAQ is a market internals dashboard that consolidates essential breadth, volatility, macro, and risk indicators into a single view. By incorporating EMA-based trend tracking for ADDQ and VIX, the indicator helps traders confirm bullish or bearish sentiment shifts and make data-driven trading decisions.
Would you like any additional refinements? 🚀
Offence vs Defence Intraday Histogram (2)Overview:
The "Offence vs Defence Intraday Histogram with Fixed Label" is an advanced technical indicator designed to analyze and compare the performance of offensive and defensive ETFs on an intraday basis. The indicator calculates the percentage change of selected offensive and defensive ETFs, smooths the values using exponential moving averages (EMA), and plots the cumulative difference as a histogram.
Key Features:
Offensive and Defensive ETFs:
Offensive ETFs: AMEX:XLK (Technology), AMEX:XLC (Communication Services), AMEX:XLY (Consumer Discretionary).
Defensive ETFs: AMEX:XLU (Utilities), AMEX:XLV (Healthcare), AMEX:XLP (Consumer Staples).
Percentage Change Calculation:
The indicator calculates the percentage change for each ETF and averages the values for offensive and defensive categories.
Applies a 14-period EMA to smooth the values and reduce volatility.
Cumulative Difference:
The difference between offensive and defensive values is calculated and cumulatively summed, restarting each trading day.
Plots the cumulative difference as a histogram, with color indicating whether the difference is increasing (green) or decreasing (red).
Zero Line:
A zero line is plotted to provide a reference point for the cumulative difference.
Dynamic Label Feature:
A dynamic label is created and updated based on the cumulative difference to indicate whether offensive or defensive ETFs are leading.
The label is positioned at the zero line, just to the left of the latest histogram bar, and provides real-time information on the lead.
Label Text Definitions:
Neutral
Minor Offensive Lead
Moderate Offensive Lead
Significant Offensive Lead
Minor Defensive Lead
Moderate Defensive Lead
Significant Defensive Lead
Applications:
This indicator is particularly useful for intraday traders who want to track market sentiment by observing shifts between offensive and defensive sectors. It provides a clear visual representation of which type of ETFs are currently leading, helping traders make informed decisions based on market behavior.
VOLD Delta & VOLD RatioDescription:
This script provides a comprehensive analysis of market sentiment by measuring the VOLD Delta and VOLD Ratio for both the NYSE and NASDAQ. It includes:
VOLD Delta Calculation: Measures the net volume difference between up volume (UVOL) and down volume (DVOL), normalized to millions. This helps identify significant buying or selling pressure in the market.
VOLD Ratio Calculation: Calculates the ratio of up volume to down volume, offering insights into the balance between buying and selling activity.
Combination of NYSE and NASDAQ Data: Utilizes UVOL and DVOL for NYSE, and UVOLQ and DVOLQ for NASDAQ to provide a more comprehensive view of market sentiment.
User Selection: Toggle between displaying VOLD Delta or VOLD Ratio based on your preference.
Dynamic Coloring: Colors the histogram bars green for positive values and red for negative values, making it easy to visualize market sentiment at a glance.
Implications for Understanding Market Sentiment:
Identifying Buying Pressure: A significant positive VOLD Delta indicates strong buying pressure, suggesting that the market sentiment is bullish. The corresponding green histogram bars make it easy to identify these periods.
Identifying Selling Pressure: A significant negative VOLD Delta indicates strong selling pressure, suggesting that the market sentiment is bearish. The corresponding red histogram bars highlight these periods.
Balance Between Buyers and Sellers: The VOLD Ratio helps identify the balance between buyers and sellers. A ratio greater than 3 indicates significant buying, while a ratio less than 0.5 indicates significant selling. Ratios close to 1 suggest a balanced market.
Real-Time Market Insights: By combining the VOLD Delta and VOLD Ratio, traders can gain real-time insights into market sentiment and make more informed trading decisions based on the volume activity on the NYSE and NASDAQ.
This script is a powerful tool for traders looking to stay informed about intraday market sentiment and make data-driven trading decisions.
7 SMMA & 20 EMA -Amoy7 SMMA (Smoothed Moving Average):
Pine Script doesn't have a built-in function for SMMA, so I used a recursive calculation based on the previous SMMA value.
The first value is calculated using a simple moving average (ta.sma()), and for subsequent values, the formula incorporates the previous SMMA value.
20 EMA (Exponential Moving Average):
The 20-period EMA is calculated using ta.ema().
Plotting:The script plots both the 7 SMMA (orange line) and the 20 EMA (blue line) on the chart.
Buy/Sell Signals:
A buy signal is generated when the 20 EMA crosses above the 7 SMMA.
A sell signal is generated when the 20 EMA crosses below the 7 SMMA.
These signals are marked with green "BUY" and red "SELL" labels on the chart.
How to use:
Copy and paste the code into TradingView's Pine Script editor.
Add the script to a chart to visualize both moving averages and the crossover signals.
Let me know if you need further modifications or have other requests!
Time-Based Vertical Lines (GMT, EST & JST)The Breakfast Breakout is a trading strategy that capitalizes on early morning market volatility, particularly around major financial centers' opening hours. It typically involves identifying a price range formed before a key session opens—such as the London session at 8 AM—and placing breakout trades when price moves beyond this range. Traders often use pending orders to capture momentum in either direction, aiming to profit from the increased liquidity and sharp price movements that occur during this time. This indicator features the addition of the Asia and New York sessions.
Combined Offensive and Defensive ETFs Intraday TrendDescription:
This script provides a comprehensive view of the cumulative intraday percentage changes of selected offensive and defensive ETFs, offering insights into market sentiment throughout the trading day. The script includes:
Cumulative Percentage Change Calculation: It calculates the cumulative percentage changes of three offensive ETFs (XLK, XLC, XLY) and three defensive ETFs (XLU, XLV, XLP) based on their intraday performance.
Combined Trends: The script plots the combined intraday trends of offensive and defensive ETFs, represented by green and red lines, respectively.
Zero Line: A white dashed zero line is included for reference, making it easier to identify whether the combined trends are positive or negative.
Dynamic Labels: Real-time dynamic labels indicate which group of ETFs (offensive or defensive) is leading the day. Additionally, the labels highlight any significant activity in individual ETFs based on predefined thresholds.
Implications for Understanding Market Sentiment:
Offensive vs. Defensive Sentiment: By observing the green (offensive ETFs) and red (defensive ETFs) lines, traders can gauge whether the market is favoring growth-oriented, riskier assets (offensive) or safer, more stable assets (defensive). A rising green line suggests bullish sentiment, while a rising red line indicates a more cautious or bearish sentiment.
Real-Time Insights: The dynamic labels provide real-time insights into which group is leading and highlight any significant movements in individual ETFs. For example, if an ETF shows a significant upward or downward movement, the label will indicate this, helping traders quickly identify potential market drivers.
Trend Identification: The cumulative nature of the percentage changes helps traders identify underlying trends throughout the trading day. Consistent upward or downward trends can signal sustained buying or selling pressure, guiding trading decisions.
Market Dynamics: Understanding the interplay between offensive and defensive ETFs can offer deeper insights into market dynamics. For instance, simultaneous significant movements in both groups may suggest broader market shifts or reactions to external factors.
This script is a valuable tool for traders looking to stay informed about intraday market sentiment and make data-driven trading decisions based on the performance of key ETFs.
ATR with 20MAOverall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
ATR with 20MAOverall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
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. 🚀
FeArIndicatorFeArIndicator - Strategic Indicator Based on Market Sentiment
Overview
FeArIndicator analyzes price movements over a specific period to measure market sentiment and helps identify potential reversal points. It is used to determine entry and exit levels based on market conditions.
Usage Areas
Sentiment Analysis: Identifying entry and exit points based on market sentiment.
Momentum Tracking: Analyzing strong trend reversal points.
Risk Management: Optimizing the risk-reward balance by calculating profit-taking levels.
FeArIndicator is a powerful tool developed to assess sentiment during significant price movements and determine optimal entry/exit levels in the market.
Usage Recommendations
FeArIndicator can be used to analyze market movements more effectively in specific time frames. Users can test it over different time intervals to evaluate trend reversals and sentiment levels.
Example Usage Strategies
Trend Reversal Strategy: Works by buying at the lowest levels identified by the indicator and selling near profit-taking levels.
Support and Resistance Identification: Using the highest and lowest levels shown by FeArIndicator as support/resistance zones to trade in the trend direction.
Risk Management Strategy: Using cumulative sentiment measurements to set stop-loss and profit-taking levels in a volatile market.
Offence vs Defence Intraday HistogramThe "Offence vs Defence Intraday Histogram" script is designed to analyze market sentiment by comparing the performance of offensive and defensive ETFs within a single trading day. This script provides a cumulative histogram that highlights the net impact of offensive and defensive ETF movements, helping traders identify significant shifts and trends within a trading day.
How It Works:
ETF Selection: The script focuses on three offensive ETFs (XLK, XLC, XLY) and three defensive ETFs (XLU, XLV, XLP) to represent market sentiment.
Percentage Change Calculation: The script calculates the percentage change for each ETF compared to the previous bar.
Smoothing with EMA: A 50-period Exponential Moving Average (EMA) is applied to the percentage changes to smooth out short-term volatility and provide a clearer trend.
Offence vs Defence Difference: The script calculates the difference between the smoothed offensive and defensive values.
Cumulative Difference: The cumulative difference is calculated throughout the trading day and resets at the start of each new trading day.
Histogram Plotting: The cumulative difference is plotted as a histogram, with green bars indicating an increasing cumulative difference and red bars indicating a decreasing cumulative difference.
Significance Labels: Color-coded labels are added to highlight significant values, with thresholds set for minor, moderate, and significant leads for both offensive and defensive ETFs.
Key Features:
Intraday sentiment analysis using offensive and defensive ETFs.
Cumulative histogram to visualize net impact within a trading day.
EMA smoothing to reduce noise and highlight trends.
Color-coded histogram bars for easy interpretation.
Labels indicating significant leads in offensive or defensive ETFs.
This script helps traders and investors better understand market sentiment and make more informed decisions based on the intraday performance of offensive and defensive sectors.
Trend Finder by aDiLHello traders, purpose of creating this indicator is simply trying to analyse the trend of any symbol.
A Trend Finder is a specialized indicator designed to analyze market trends by combining EMA and candlestick patterns.
FX PIPS Finder OBBreakout , CHOCH, IDM, Liquidity
Features and Functionality
Custom Timeframe and High-Low Detection
Allows users to select a custom timeframe (default: 30 minutes) to detect high and low levels.
Tracks the high and low within a user-specified period (e.g., first 30 minutes of the session).
Draws horizontal lines for high and low, persisting for a specified number of days.
RSI Bullish Divergence ScannerRSI Bullish Divergence
When there is bullish divergence in chart and RSI then the indicator will give alert in green
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! 🚀