Volume Density AnalysisVolume Density Analysis
Overview
The "Volume Density Analysis" indicator is designed to provide traders with insights into volume dynamics relative to price movements. By analyzing the density of volume against price spread, this indicator helps identify potential reversal points and extreme volume conditions, enhancing decision-making in trading strategies.
Key Features
Volume Density Calculation: The indicator computes the density of volume by dividing the total volume by the price spread (high - low) for each bar. This allows for a more nuanced understanding of volume activity in relation to price movements.
Extremum Detection: Users can specify the number of bars to consider when identifying extreme volume conditions, allowing for tailored analysis based on market behavior.
Reversal Bar Conditions: The indicator includes options to determine if low or high volume bars must coincide with reversal patterns, providing additional context for potential trade signals.
Dynamic Coloring*: The histogram displays colored bars based on specific conditions:
Blue Bars: Indicate the lowest and highest volume density within a specified range, highlighting significant volume extremes.
Gray Bars: Represent lower or higher volume density that meets reversal criteria.
Green and Red Bars: Indicate bullish or bearish reversal signals based on historical density patterns.
User Inputs
nl: Number of previous lower bars to consider for comparison (default is 8).
nh: Number of previous higher bars to consider for comparison (default is 8).
ext: Number of bars for detecting extremum volume (default is 30).
LReversalBar: Boolean option to determine if low volume bar spread must indicate a reversal.
HReversalBar: Boolean option to determine if high volume bar spread must indicate a reversal.
Suggested Timeframes
M15: Without reversal considerations, use `nl=3`, `nh=3`, and `ext=20`.
M5: Without reversal considerations, use `nl=4`, `nh=4`, and `ext=35`.
M1: Use `nl=8`, `nh=8`, and `ext=58` for more detailed analysis.
成交量
Candle Speed and AccelerationCandle Speed and Acceleration Indicator
This indicator calculates the speed and acceleration of candlesticks in points per minute (P/M), providing traders with insights into the momentum and volatility of price movements during the trading session.
Features:
Speed Calculation: Measures the change in price per minute, helping you understand how quickly the market is moving.
Acceleration Measurement: Tracks the change in speed between consecutive candles, offering an additional layer of momentum analysis.
Real-Time Display: Shows the current, previous, and second previous candles' speed and acceleration in a table on the chart.
Crosshair Integration: Displays speed and acceleration at the crosshair location, offering instant feedback as you hover over the chart.
Alerts: Notifies you when candle speed exceeds a customizable threshold, helping you catch significant market moves as they happen.
Permanent Markers: Marks candles on the chart when the speed threshold is exceeded, visually highlighting high-speed candles.
This tool is essential for traders who want to analyze the momentum and acceleration of market movements, providing clear visual cues and alerts for potential trading opportunities.
SMA, VWAP with Buy/Sell Signals - First Signal OnlyIndicator: SMA, VWAP with First Buy/Sell Signals
Overview:
This indicator plots two Simple Moving Averages (SMA 20 and SMA 200) and the Volume-Weighted Average Price (VWAP) on the chart, with fully customizable colors and line thickness. Additionally, it provides buy and sell signals based on the price action relative to these indicators.
Buy Signal:
A buy signal is generated when a green candle (bullish candle) closes above the SMA 20, SMA 200, and VWAP without touching them (i.e., the low of the candle is above all three). This signal will only be plotted for the first such candle of the day to avoid signal clutter.
Sell Signal:
A sell signal is generated when a candle closes below the SMA 20, SMA 200, and VWAP without touching them (i.e., the high of the candle is below all three). Similar to the buy signal, it will only be plotted for the first qualifying candle of the day.
Customization:
SMAs and VWAP: Users can adjust the lengths, colors, and line thickness of the SMAs and VWAP to suit their preferences.
Signal Shape: You can choose from different shapes (arrow, circle, or cross) to represent the buy and sell signals on the chart.
Key Features:
First Candle Only: Both buy and sell signals are generated only for the first candle that satisfies the conditions, ensuring clean and actionable signals.
Visual Customization: Full control over the appearance of the indicator, including signal shapes and line properties.
Works Across Assets: This indicator is applicable to any asset (stocks, forex, crypto) where price action relative to moving averages and VWAP is important.
Rolling VWAPGuide for Traders
What is the Rolling VWAP?
The Volume Weighted Average Price (VWAP) is a key indicator used by traders to assess the average price of an asset, weighted by volume over a specified period. Unlike a simple moving average, the VWAP accounts for trading volume, making it a more accurate reflection of price action and market sentiment.
The Rolling VWAP in this script dynamically updates based on a user-defined period, allowing traders to view the average price over a chosen number of bars. This is particularly useful for identifying trends and potential entry or exit points in the market.
Key Benefits of Using Rolling VWAP
Better Market Insight: VWAP provides insight into where most trading is occurring, helping you gauge the strength of a price move.
Support and Resistance Levels: It often acts as dynamic support or resistance, signaling areas where price might reverse.
Trend Confirmation: A rising VWAP suggests a bullish trend, while a falling VWAP indicates a bearish trend.
Informed Entry/Exit Decisions: Use the VWAP to find entry points below it in an uptrend or exit points above it in a downtrend.
How to Use this Script:
Custom Period Input:
You can modify the "VWAP Period" to adjust the number of bars considered in the rolling calculation.
The default period is 14 bars, but you can set it based on your strategy (e.g., shorter for intraday trading, longer for swing trading).
Chart Interpretation
Bullish Signals: When the price is above the VWAP line, it suggests upward momentum, and you may consider buying opportunities.
Bearish Signals: When the price is below the VWAP, it indicates downward momentum, and you may consider selling or shorting opportunities.
Reversion to VWAP: Prices often revert to the VWAP after extended moves away from it, offering potential trade setups.
Combine with Other Indicators:
Momentum Indicators: Use with RSI, MACD, or moving averages for confirmation.
Volume Analysis: VWAP works well when combined with volume indicators to assess if a breakout is supported by high trading volume.
Customization:
Traders can customize the script's period and plot color to fit their charting preferences.
Practical Tips:
Intraday Traders: Use shorter periods (e.g., 5 or 10) to capture VWAP trends in fast-moving markets.
Swing Traders: Use longer periods (e.g., 50 or 100) to assess longer-term price and volume trends.
By integrating this Rolling VWAP into your strategy, you can better understand where the majority of trading volume has occurred, allowing you to make more informed decisions in your trading process.
High Volume Zone HighlightDescription:
The High Volume Zone Highlight highlights areas on the chart where the volume exceeds a user-defined threshold based on a moving average. This helps traders visually identify zones of high trading activity.
The moving average period and volume threshold are fully customizable.
Background color highlights appear when the current volume is greater than a specified multiple of the volume moving average.
Ideal for traders who want to spot significant volume changes relative to historical averages.
Inputs:
Volume MA Length: The number of periods for calculating the volume moving average.
Volume MA Factor: A multiplier to define the threshold. For example, setting this to 1.5 will highlight when the volume is 150% of the moving average.
Style Customization:
Users can adjust the color and transparency of the highlighted zones from the settings.
説明:
ハイ・ボリューム・ゾーン・ハイライトは、出来高が移動平均に基づいたユーザー定義の閾値を超えたエリアをチャート上で強調表示します。
移動平均期間と出来高閾値は自由にカスタマイズ可能です。
現在の出来高が出来高移動平均の指定した倍数を超えた場合、背景色が強調表示されます。
過去の平均と比較して重要な出来高の変化を検出したいトレーダーに最適です。
設定項目:
出来高移動平均期間: 出来高移動平均を計算する際の期間。
出来高MA係数: 閾値を定義するための係数。たとえば、1.5に設定すると、出来高が移動平均の150%を超えたときにハイライトされます。
スタイルカスタマイズ:
設定からハイライトされたゾーンの色や透明度を調整できます。
Smartos VWAPSmartos VWAP Indicator Description
Smartos VWAP is a versatile and customizable technical analysis tool designed for traders and analysts to gauge the average price of a security based on its trading volume. The indicator calculates the Volume Weighted Average Price (VWAP) over six different customizable periods, allowing users to adapt the analysis to their trading strategies.
Key Features:
Volume Weighted Average Price (VWAP): The Smartos VWAP provides a dynamic measure of the average price at which a security has traded throughout the day, weighted by volume. This makes it a useful reference point for assessing price levels.
Customizable Periods: The indicator allows users to set six different candle lengths for VWAP calculations, with default values of 21, 48, 84, 175, 480, and 840 candles. Users can easily modify these values to suit their trading preferences.
Multiple VWAP Lines: The indicator plots six distinct VWAP lines on the chart, each representing a different period. This enables traders to observe price action relative to multiple VWAPs, helping identify trends and potential support and resistance levels.
Visual Clarity: Each VWAP line is color-coded for easy differentiation, making it simple for traders to analyze price movements and the relationship between the current price and the average price over the selected periods.
Usage:
Traders can use the Smartos VWAP indicator to make informed decisions regarding entry and exit points, as well as to assess overall market sentiment. By observing the position of the price relative to the VWAP lines, traders can gain insights into potential bullish or bearish trends.
Volumatic Variable Index Dynamic Average [BigBeluga]The Volumatic VIDYA (Variable Index Dynamic Average) indicator is a trend-following tool that calculates and visualizes both the current trend and the corresponding buy and sell pressure within each trend phase. Using the Variable Index Dynamic Average as the core smoothing technique, this indicator also plots volume levels of lows and highs based on market structure pivot points, providing traders with key insights into price and volume dynamics.
Additionally, it generates delta volume values to help traders evaluate buy-sell pressure balance during each trend, making it a powerful tool for understanding market sentiment shifts.
BTC:
TSLA:
🔵 IDEA
The Volumatic VIDYA indicator's core idea is to provide a dynamic, adaptive smoothing tool that identifies trends while simultaneously calculating the volume pressure behind them. The VIDYA line, based on the Variable Index Dynamic Average, adjusts according to the strength of the price movements, offering a more adaptive response to the market compared to standard moving averages.
By calculating and displaying the buy and sell volume pressure throughout each trend, the indicator provides traders with key insights into market participation. The horizontal lines drawn from the highs and lows of market structure pivots give additional clarity on support and resistance levels, backed by average volume at these points. This dual analysis of trend and volume allows traders to evaluate the strength and potential of market movements more effectively.
🔵 KEY FEATURES & USAGE
VIDYA Calculation:
The Variable Index Dynamic Average (VIDYA) is a special type of moving average that adjusts dynamically to the market’s volatility and momentum. Unlike traditional moving averages that use fixed periods, VIDYA adjusts its smoothing factor based on the relative strength of the price movements, using the Chande Momentum Oscillator (CMO) to capture the magnitude of price changes. When momentum is strong, VIDYA adapts and smooths out price movements quicker, making it more responsive to rapid price changes. This makes VIDYA more adaptable to volatile markets compared to traditional moving averages such as the Simple Moving Average (SMA) or the Exponential Moving Average (EMA), which are less flexible.
// VIDYA (Variable Index Dynamic Average) function
vidya_calc(src, vidya_length, vidya_momentum) =>
float momentum = ta.change(src)
float sum_pos_momentum = math.sum((momentum >= 0) ? momentum : 0.0, vidya_momentum)
float sum_neg_momentum = math.sum((momentum >= 0) ? 0.0 : -momentum, vidya_momentum)
float abs_cmo = math.abs(100 * (sum_pos_momentum - sum_neg_momentum) / (sum_pos_momentum + sum_neg_momentum))
float alpha = 2 / (vidya_length + 1)
var float vidya_value = 0.0
vidya_value := alpha * abs_cmo / 100 * src + (1 - alpha * abs_cmo / 100) * nz(vidya_value )
ta.sma(vidya_value, 15)
When momentum is strong, VIDYA adapts and smooths out price movements quicker, making it more responsive to rapid price changes. This makes VIDYA more adaptable to volatile markets compared to traditional moving averages
Triangle Trend Shift Signals:
The indicator marks trend shifts with up and down triangles, signaling a potential change in direction. These signals appear when the price crosses above a VIDYA during an uptrend or crosses below during a downtrend.
Volume Pressure Calculation:
The Volumatic VIDYA tracks the buy and sell pressure during each trend, calculating the cumulative volume for up and down bars. Positive delta volume occurs during uptrends due to higher buy pressure, while negative delta volume reflects higher sell pressure during downtrends. The delta is displayed in real-time on the chart, offering a quick view of volume imbalances.
Market Structure Pivot Lines with Volume Labels:
The indicator draws horizontal lines based on market structure pivots, which are calculated using the highs and lows of price action. These lines are extended on the chart until price crosses them. The indicator also plots the average volume over a 6-bar range to provide a clearer understanding of volume dynamics at critical points.
🔵 CUSTOMIZATION
VIDYA Length & Momentum: Control the sensitivity of the VIDYA line by adjusting the length and momentum settings, allowing traders to customize the smoothing effect to match their trading style.
Volume Pivot Detection: Set the number of bars to consider for identifying pivots, which influences the calculation of the average volume at key levels.
Band Distance: Adjust the band distance multiplier for controlling how far the upper and lower bands extend from the VIDYA line, based on the ATR (Average True Range).
Cumulative Volume Delta with VWAP-based Buy/Sell AlertsDescription:
This script combines Cumulative Volume Delta (CVD) with Volume Weighted Average Price (VWAP) to generate buy and sell signals. It plots both the cumulative volume delta and its moving average on the chart, but the actual buy and sell signals are now based on the crossover and crossunder of the price with the VWAP, a popular tool for tracking price relative to the volume-weighted average over time.
Features:
Cumulative Volume Delta (CVD) Plot:
CVD helps visualize the net buying or selling pressure by accumulating volume when the price is rising and subtracting it when the price is falling. The cumulative volume is plotted on the chart as a blue line.
Moving Average of CVD:
A simple moving average (SMA) of the cumulative volume delta is plotted in orange to smooth out fluctuations and help detect the trend of volume flow.
VWAP Calculation:
VWAP (Volume Weighted Average Price) is a standard benchmark widely used in trading. It gives insight into whether the price is trading above or below the average price at which most of the volume has traded, weighted by volume. The VWAP is plotted as a purple line on the chart.
Buy/Sell Signals Based on VWAP:
Buy Signal: Triggered when the price crosses above the VWAP, indicating potential upward momentum.
Sell Signal: Triggered when the price crosses below the VWAP, signaling potential downward momentum.
These signals are displayed on the chart with clear labels:
Buy Signal: A green upward label appears below the price.
Sell Signal: A red downward label appears above the price.
Alerts for Buy/Sell Conditions:
Alerts are built into the script, so traders can receive notifications when the following conditions are met:
Buy Alert: The price crosses above the VWAP.
Sell Alert: The price crosses below the VWAP.
Use Case:
This script is useful for traders looking to incorporate both volume-based indicators and the VWAP into their trading strategy. The combination of CVD and VWAP provides a more comprehensive view of both price and volume dynamics:
VWAP helps traders understand whether the price is trading above or below its volume-weighted average.
CVD highlights buying or selling pressure through cumulative volume analysis.
Customization:
Anchor Periods: The user can customize the anchor period to suit different timeframes and trading styles.
Custom Alerts: The alert conditions can be easily modified to integrate into any trader’s strategy.
This script can be adapted for both short-term and long-term trading strategies and is especially useful in high-volume markets.
How to Use:
Add the script to your TradingView chart.
Customize the timeframe and anchor period, if needed, to match your preferred trading style.
Watch for Buy/Sell signals based on price crossing the VWAP.
Set up alerts to receive notifications when Buy or Sell signals are triggered.
This script is designed to help traders make informed decisions based on both price action relative to volume and Cumulative Delta volume trends, giving a more comprehensive view of the market dynamics.
Volume CalendarDescription:
The indicator displays a calendar with Volume data for up to 6 last months. It is designed to work on any timeframe, but works best on Daily and below. It is also consistent in that it displays the same data even if you go to lower timeframes like 5 minutes (even though the data is used is Daily).
Features:
- displays volume data for last N months (volume, volume change, % of weekly, monthly and yearly volume)
- display total volume for each month
- display monthly sentiment
- find dates with volume spikes
Inputs:
- Number of months -> how many last months of data to display (from 1 to 6)
- Volume Type -> display only Bullish, only Bearish or all volume
- Cell color is based on -> Volume - the brighter the cell the higher volume was on that day; Volume Change - the brighter the cell the higher was the volume change that day; Volume Spike - the brighter the cell the higher was volume spike that day (volume spike is based on volume being above its average over last N candles)
- Cell color timeframe -> Weekly - the cell color is calculated comparing volume of that cell with weekly volume; Monthly - comparing volume with monthly volume
- Use volume for sentiment -> take the volume into account when calculating monthly sentiment (otherwise calculate it based on number of Bullish and Bearish days in the month)
- Spike Average Period -> period of the moving average used for spike calculation
- Spike Threshold -> current volume must be this many times greater than the average for it to be considered a spike
- Table Size -> size of the table
- Theme -> colouring of the table
Support Resistance ImportanceThe Support Resistance Importance indicator is designed to highlight key price levels based on the relationship between fractal occurrences and volume distribution within a given price range. By dividing the range into bins, the indicator calculates the total volume traded at each fractal level and normalizes the values for easy visualization. The normalized values represent an "importance score" for each price range, helping traders identify critical support and resistance levels where price action might react.
Key Features:
Fractal Detection:
The indicator detects Williams Fractals, which are specific price patterns representing potential market reversals. It identifies both upward fractals (potential resistance) and downward fractals (potential support).
Price Range Binning:
The price range is divided into a user-defined number of bins (default is 20). Each bin represents a segment of the total price range, allowing the indicator to bucket price action and track fractal volumes in each bin.
Volume-Based Importance Calculation:
For each bin, the indicator sums up the volume traded at the time a fractal occurred. The volumes are then normalized to reflect their relative importance.
The importance score is calculated as the relative volume in each bin, representing the potential influence of that price range. Higher scores indicate stronger support or resistance levels.
Normalization:
The volume data is normalized to allow for better comparison across bins. This normalization ensures that the highest and lowest volumes are scaled between 0 and 1 for visualization purposes. The smallest volume value is used to scale the rest, ensuring meaningful comparisons.
Visualization:
The indicator provides a table-based visualization showing the price range and the corresponding importance score for each bin.
Each bin is color-coded based on the normalized importance score, with blue or greenish shades indicating higher importance levels. The current price range is highlighted to help traders quickly identify relevant areas of interest.
Trading Utility:
Traders can use the importance scores to identify price levels where significant volume has accumulated at fractals. A higher importance score suggests a stronger likelihood of the price reacting to that level.
If a price moves towards a bin with a high score and the bins above it have much smaller values, it suggests that the price may "pump" up to the next high-scored range, similar to how price drops can occur.
Example Use Case:
Suppose the price approaches a bin with an importance score of 25, and the bins above have much smaller values. This suggests that price may break higher towards the next significant level of resistance, offering traders an opportunity to capitalize on the move by entering long positions or adjusting their stop losses.
This indicator is particularly useful for support and resistance trading, where understanding key levels of price action and volume can improve decision-making in anticipating market reactions.
Volume Performance Table (Weekdays Only)This is a volume performance table that compares the volume from the previous trading day to the average daily volume from the previous week, month, 3-month, 6-month, and 12-month period in order to show where the rate of change of volume is contributing to the price trend.
For example, if the price trend is bullish and volume is accelerating, that is a bullish confirmation.
If the price is bearish and volume is accelerating, that is a bearish confirmation.
If the price is bullish and volume is decelerating, that is a bearish divergence.
If the price is bearish and volume is decelerating, that is a bullish divergence.
This does not include weekend trading when applied to digital assets such as cryptocurrencies.
Common Volume Spike Indicator with Price Color on SpikeIndicator Name: Common Volume Spike Indicator with Price Color on Spike
Description:
The “Common Volume Spike Indicator with Price Color on Spike” is designed to detect significant volume spikes and highlight them on the chart. It not only identifies moments when the trading volume exceeds a certain threshold but also colors the price bars based on price movement during these spikes.
Key Features:
• Volume Spike Detection: Detects volume spikes when the current volume exceeds a specified multiple of the average volume over a user-defined lookback period.
• Dynamic Volume Break: Highlights bars where the volume exceeds a threshold, dynamically calculated as a multiple of the average volume (default is 10x the average volume).
• Price Color on Volume Spike: When a volume spike occurs, bars are colored green if the price closes higher than the previous bar, and red if the price closes lower. This feature helps traders easily identify significant price movements during high-volume periods.
• Customizable Parameters:
• Threshold Multiplier: Adjust the sensitivity of volume spike detection.
• Lookback Period: Define the period over which the average volume is calculated.
• Volume Break Multiplier: Set a multiplier for the average volume to identify extreme volume breaks.
This indicator is suitable for traders who want to quickly spot critical market events driven by significant increases in volume. It helps to visualize both the volume activity and the corresponding price movement, providing an additional layer of market insight.
How to Use:
1. Green Bars: When the volume spike condition is met and the price closes higher than the previous bar, the bar is colored green.
2. Red Bars: When the volume spike condition is met and the price closes lower than the previous bar, the bar is colored red.
3. Blue Bars: Indicates a significant volume break, where the current volume exceeds a specified multiple of the average volume (default: 10x).
Ideal for intraday and swing traders who rely on volume and price action for market entries and exits. This indicator works well across different asset classes, including stocks, forex, and cryptocurrencies.
You can adjust the input parameters to fit your specific trading strategy and timeframe.
Disclaimer: This indicator is a tool to help with market analysis and should not be considered financial advice. Always perform your own due diligence before making any trading decisions.
This description outlines the key functionality and how the indicator can benefit traders on TradingView.
Breakout and Breakdown Indicator with RetestsThis indicator is designed to help traders identify high-probability breakout and breakdown points based on the first 5 minutes of market activity (9:30 am to 9:35 am). It works effectively on both the 1-minute and 5-minute timeframes, making it ideal for day traders and scalpers.
This indicator is a better indicator of my previous 5-Minute Opening Range Breakout indicator.
Key Features:
Dynamic Support and Resistance Lines: Automatically plots the highest and lowest price levels from 9:30 am to 9:35 am, providing essential support and resistance zones.
Breakout/Breakdown Detection: Identifies and marks successful breakout and breakdown points only after a confirmed retest, ensuring more accurate signals.
Visual Markers: Uses customizable green diamonds for successful breakouts and red diamonds for successful breakdowns, allowing easy identification on the chart.
Customization Options:
Change Colors: You can personalize the color of the breakout and breakdown markers, the label text, and the lines drawn from the 9:30 am to 9:35 am window.
Adapt to Your Chart: Adjust the indicator to match your preferred charting theme, ensuring it blends seamlessly with your trading setup.
How It Works:
Plots Key Levels: Identifies the highest and lowest prices during the first 5 minutes of trading (9:30 am to 9:35 am) and plots them on the chart.
Monitors Retests: Waits for a retest of these levels before confirming a breakout or breakdown.
Labels Breakouts/Breakdowns: After a retest, successful breakouts are marked with green diamonds and "Breakout" text, while breakdowns are marked with red diamonds and "Breakdown" text.
Why Use This Indicator?
Avoid False Signals: The retest requirement helps filter out false breakouts and breakdowns, offering more reliable trading signals.
Works Across Timeframes: Suitable for both 1-minute and 5-minute charts, allowing flexibility for different trading styles.
Some what Customizable: Adjust colors to fit your charting preferences and enhance visual clarity.
Recommended Use: Combine this indicator with other technical analysis tools, such as volume, candlestick patterns, or moving averages, for more informed trading decisions.
Point and Figure Displacement IndicatorThe PnF Displacement indicator is my custom script for TradingView, designed to analyze Point and Figure (PnF) charts with displacement features.
Key components of the script include:
User Inputs:
Require FVG: A boolean input to determine if a Fair Value Gap (FVG) is required for displacement calculations.
Displacement Type: Allows users to choose between "Open to Close" and "High to Low" for column range calculations.
Displacement Length: Defines how far back to look for calculating the standard deviation of the column range.
Displacement Strength: Multiplier for the standard deviation to adjust sensitivity.
Box Size: Sets the size of each box in the PnF chart.
Number of Boxes for Minimum Displacement: Specifies how many boxes to consider for calculating the minimum displacement.
Displacement Logic:
The script calculates the column range based on the selected displacement type.
It computes a standard deviation of the candle range and determines a minimum displacement based on user-defined box size and count.
The displacement condition combines the FVG check and the column range against the calculated minimum.
Visual Representation:
The bars are colored based on displacement conditions, enhancing visual analysis on the chart.
This indicator aids traders in identifying significant price movements in PnF charts while incorporating user customization options for better analysis.
SMI Ergodic Indicator/Oscillator of Money Flow Index▮ Introduction
The Stochastic Momentum Index Ergodic (SMII) indicator is a technical analysis tool designed to predict trend reversals in the price of an asset.
It functions as a momentum oscillator, measuring the ratio of the smoothed price change to the smoothed absolute price change over a given number of previous periods.
The Ergodic SMI is based on the True Strength Index (TSI) and integrates a signal line, which is an exponential moving average (EMA) of the SMI indicator itself.
The Ergodic SMI oscillator provides a clearer picture of market trends than the traditional stochastic oscillator by incorporating the concept of 'ergodicity', which helps remove market noise.
On ther other hand, MFI (Money Flow Index) is a technical analysis indicator used to measure the inflow of money into an asset and thus help identify buying and selling pressure in a given financial instrument.
When these two indicators are combined, they can provide a more comprehensive view of price direction and market strength.
▮ Motivation: why another indicator?
By combining SMII with MFI, we can gain even more insights into the market.
One way to do this is to use the MFI as an input to the SMII, rather than just using price.
This means we are measuring momentum based on buying and selling pressure rather than just price.
Furthermore, there is the possibility of making several fine adjustments to both the calculation and visualization parameters that are not present in other indicators.
▮ What to look for
When using the SMII MFI indicator, there are a few things to look out for.
First, look at the SMII signal line.
When the line crosses above -40, it is considered a buy signal, while the crossing below +40 is considered a sell signal.
Also, pay attention to divergences between the SMII and the price.
If price is rising but the SMII is showing negative divergence, it could indicate that momentum is waning and a reversal could be in the offing.
Likewise, if price is falling but the SMII is showing positive divergence, this could indicate that momentum is building and a reversal could also be in the offing.
Divergences can be considered in both indicator and/or histogram.
Examples:
▮ Notes
The indicator presented here offers both the 'SMII' and the 'SMIO', that is, the 'Stochastic Momentum Index Ergodic Indicator' together with the 'Stochastic Momentum Index Ergodic Oscillator' (histogram), as per the documentation described in reference links.
So it is important to highlight the differences in relation to my other indicator, the 'Stochastic Momentum Index (SMI) of Money Flow Index (MFI)':
This last one is purely based on the SMI , which is implemented using SMA smoothing for the relative range and the high/low range.
Although they may seem the same in some situations, the calculation is actually different. The TSI tends to be more responsive at the expense of being noisier, while the SMI tends to be smoother. Which of these two indicators is best depends on the situation, the context, and the analyst's personal preference.
Please refer to reference links to more info.
▮ References
SMI documentation
SMII documentation
SMIO documentation
MFI documentation
Bubbles Volume [BigBeluga]The Bubbles Volume indicator is an innovative visualization tool designed to represent trading volume in a more intuitive and visually appealing manner. By displaying volume as bubbles of varying sizes and colors on the price chart, this indicator helps traders quickly identify significant volume levels and potential areas of interest.
Important Note:
For correct visual representation of indicator, layout it to front:
🔵 KEY FEATURES
● Volume Bubbles
Represents trading volume as bubbles on the price chart
Bubble size increases with higher volume levels
Color intensity changes based on volume significance
Provides an intuitive visual representation of volume distribution
● Heatmap Coloring
Optional feature to color bubbles based on volume intensity
Uses a color gradient from cool (low volume) to hot (high volume) colors
Helps quickly identify extremely high volume areas
● Significant Volume Levels
Option to display horizontal lines at significant volume levels
Shows volume amount as labels for highly significant levels
Helps identify potential support/resistance areas based on volume
Volume Levels:
Levels with HeatMap:
Levels without Volume Bubles:
● Normalized Volume Calculation
Uses normalized volume to account for overall market volume trends
Provides a more accurate representation of volume significance
🔵 HOW TO USE
● Volume Analysis
Larger bubbles indicate higher trading volume
Clusters of large bubbles may suggest areas of high interest or potential reversals
Use in conjunction with price action to identify potential breakouts or fakeouts
● Trend Confirmation
Strong trends often show increasing bubble sizes in the trend direction
Diminishing bubble sizes might indicate weakening trends
● Support and Resistance
Significant volume levels (displayed as lines) can act as potential support/resistance
Pay attention to price reactions at these levels for trading opportunities
● Divergences
Look for divergences between price action and bubble sizes
Price making new highs/lows with smaller bubbles might indicate weakening momentum
● Volatility Assessment
Periods with consistently large bubbles indicate high volatility
Can be used to adjust trading strategies or position sizing
🔵 CUSTOMIZATION
The Bubbles Volume indicator offers several customization options:
Toggle bubble display on/off
Adjust volume threshold for filtering low volume bubbles
Enable/disable heatmap coloring for enhanced visual analysis
Show/hide significant volume levels
Adjust the number of significant levels displayed
Customize colors to suit personal preferences
By fine-tuning these settings, traders can adapt the indicator to various market conditions and personal analysis preferences.
The Bubbles Volume indicator provides a unique and intuitive way to visualize trading volume directly on the price chart. This approach allows traders to quickly identify areas of significant trading activity and potential price levels of interest without the need for a separate volume sub-chart.
This tool can be particularly useful for traders focusing on volume analysis, breakout strategies, or those looking to confirm price action with volume. The visual nature of the bubbles makes it easy to spot volume patterns and anomalies at a glance, potentially leading to faster and more informed trading decisions.
As with all technical indicators, it's recommended to use the Bubbles Volume indicator in conjunction with other forms of analysis and within the context of a well-defined trading strategy. While this indicator provides valuable volume insights, it should be considered alongside other factors such as overall market trends, price patterns, and fundamental analysis when making trading decisions.
Theoretical price by volumeThis code is used to calculate a theoretical price range based on volume and price change and display it on the chart. Specifically, it calculates the “theoretical price volatility” based on price changes and volume, from which the upper and lower price limits are derived.
The price volatility is calculated by dividing the price change by the volume as the change unit volume.
Based on this volatility, we calculate the theoretical variation relative to the current price (“Theoretical Variance Difference”).
Based on the results, **Theoretical High Price (p_price) and Theoretical Low Price (m_price)** are calculated.
The chart displays the upper and lower bounds of these theoretical prices in color, and also calculates their mean and standard deviation (in the form of a Bollinger band) and plots them.
The background color on the chart indicates whether the price is within the theoretical price range, and at the same time, the mean and standard deviation of the theoretical prices are used to visualize price movements in more detail.
This indicator helps traders understand the impact of volume on price movements and helps them determine if prices are staying within the theoretical range or if there are unusual movements.
Volume to Shares Outstanding Ratio IndicatorDescription:
This indicator shows the ratio of trading volume to the total number of shares outstanding.
Formula:
Volume to Shares Outstanding Ratio = (Trading Volume / Shares Outstanding) * 100
説明:
このインジケーターは、出来高を発行済株式数で割った比率を表示します。
式:
出来高の割合 = (出来高 / 発行済株式数) × 100
Dynamic Supply and Demand Zones [AlgoAlpha]Introducing the Dynamic Supply and Demand Zones by AlgoAlpha. This indicator is designed to automatically identify and visualize dynamic supply and demand zones on your chart, helping traders pinpoint potential reversal areas and assess market sentiment with enhanced clarity. It adapts to market conditions using a dynamic look-back mechanism, making it more responsive to recent price movements. 📈💡
Key Features
📊 Dynamic Look-Back : Automatically adjusts the look-back period based on the most recent pivot point, ensuring the most relevant data is analyzed.
🎯 Pivot Point Detection : Utilizes a user-defined period to detect significant pivot highs and lows, marking potential reversal points with precision.
🛠 Customizable Parameters : Offers extensive customization options including look-back period, pivot detection sensitivity, resolution, and zone tolerance.
🗺 Visual Display : Shows supply and demand zones as boxes on the chart, with optional profiles and background highlighting to differentiate between bullish and bearish zones.
🖍 Color-Coded Zones : Zones are color-coded for easy identification: green for bullish, red for bearish, and gray for neutral levels.
🔔 Alert Conditions : Triggers alerts when new pivot points are detected, ensuring you never miss a key market movement.
How to Use
🚀 Adding the Indicator : Press the star icon and add the indicator to favorites. Add it to your chart and adjust settings to fit your trading strategy.
🔍 Zone Analysis : Observe the color-coded zones on the chart. Bullish zones indicate potential support areas, while bearish zones suggest resistance. Monitor price interactions with these zones for potential entry and exit signals.
🔔 Alerts : Activate alert conditions for new pivot detections to stay ahead of market reversals.
How It Works
The indicator starts by detecting pivot highs and lows over a specified period. These pivots serve as reference points for determining the analysis range. If the Dynamic Look-Back feature is enabled, the look-back range dynamically adjusts from the most recent pivot to the current bar. Otherwise, a fixed look-back period is used. The price range is divided into multiple bins based on a specified resolution, and each bin’s volume is calculated by accumulating the volume of candles that fall within its price range. A zone is defined as significant if its volume is less than the adjacent bins, and the difference meets the Zone Tolerance criteria, indicating a potential area of support or resistance. These zones are then plotted on the chart as boxes. Bullish zones are shown in green, and bearish zones in red, helping traders visually identify key levels where supply and demand imbalances may cause price reversals.
XAU/USD Strategy with Correct ADX and Bollinger Bands Fill1. *Indicators Used*:
- *Exponential Moving Averages (EMAs)*: Two EMAs (20-period and 50-period) are used to identify the trend direction and potential entry points based on crossovers.
- *Relative Strength Index (RSI)*: A momentum oscillator that measures the speed and change of price movements. It identifies overbought and oversold conditions.
- *Bollinger Bands*: These consist of a middle line (simple moving average) and two outer bands (standard deviations away from the middle). They help to identify price volatility and potential reversal points.
- *Average Directional Index (ADX)*: This indicator quantifies trend strength. It's derived from the Directional Movement Index (DMI) and helps confirm the presence of a strong trend.
- *Average True Range (ATR)*: Used to calculate position size based on volatility, ensuring that trades align with the trader's risk tolerance.
2. *Entry Conditions*:
- *Long Entry*:
- The 20 EMA crosses above the 50 EMA (indicating a potential bullish trend).
- The RSI is below the oversold level (30), suggesting the asset may be undervalued.
- The price is below the lower Bollinger Band, indicating potential price reversal.
- The ADX is above a specified threshold (25), confirming that there is sufficient trend strength.
- *Short Entry*:
- The 20 EMA crosses below the 50 EMA (indicating a potential bearish trend).
- The RSI is above the overbought level (70), suggesting the asset may be overvalued.
- The price is above the upper Bollinger Band, indicating potential price reversal.
- The ADX is above the specified threshold (25), confirming trend strength.
3. *Position Sizing*:
- The script calculates the position size dynamically based on the trader's risk per trade (expressed as a percentage of the total capital) and the ATR. This ensures that the trader does not risk more than the specified percentage on any single trade, adjusting the position size according to market volatility.
4. *Exit Conditions*:
- The strategy uses a trailing stop-loss mechanism to secure profits as the price moves in the trader's favor. The trailing stop is set at a percentage (1.5% by default) below the highest price reached since entry for long positions and above the lowest price for short positions.
- Additionally, if the RSI crosses back above the overbought level while in a long position or below the oversold level while in a short position, the position is closed to prevent losses.
5. *Alerts*:
- Alerts are set to notify the trader when a buy or sell condition is met based on the strategy's rules. This allows for timely execution of trades.
### Summary
This strategy aims to capture significant price movements in the XAU/USD market by combining trend-following (EMAs, ADX) and momentum indicators (RSI, Bollinger Bands). The dynamic position sizing based on ATR helps manage risk effectively. By implementing trailing stops and alert mechanisms, the strategy enhances the trader's ability to act quickly on opportunities while mitigating potential losses.
VR1 DEMA - Liquidity IdentifierThis custom Pine Script indicator, titled "VR1 DEMA - Liquidity Identifier", is designed to help traders identify periods of significant resistance to price movement, often indicating high liquidity areas where the market may encounter difficulty moving in one direction. The indicator analyzes the relationship between volume and price range, combined with bar volume conditions, to provide enhanced signals of potential liquidity buildup.
Key Features:
Customizable EMA Lengths:
Users can define the lengths of both the fast and slow Exponential Moving Averages (EMAs), with default values of 5 for the fast EMA and 13 for the slow EMA. These EMAs are calculated from the ratio of volume to price range, smoothing the data to detect trends in liquidity.
Dynamic Fast EMA Color:
The fast EMA changes color based on its relationship to the slow EMA:
Red when the fast EMA is above the slow EMA, signaling stronger resistance or greater liquidity.
White when the fast EMA is below the slow EMA, indicating potentially weaker resistance.
Liquidity Signal with Multiplier Condition:
The background of the chart changes to white when the volume-to-price ratio exceeds 1.5 times the fast EMA. This highlights potential areas of liquidity buildup where price movement may encounter stronger resistance. The 1.5 multiplier is adjustable, allowing for sensitivity customization.
Volume Condition for Enhanced Signals:
A new condition is added that requires the actual bar volume to exceed 1.2 times the 5-period EMA of average bar volume. This ensures that the background color only changes when there is not only increased liquidity but also significantly higher trading volume. The 1.2 multiplier is user-adjustable for further refinement.
Combined Liquidity and Volume Filtering:
Both conditions (volume-to-price ratio and actual volume) must be met for the background color to change. This double-filtering helps traders spot moments of unusual market activity more accurately.
Optional Volume/Price Range Visualization:
An optional plot of the volume-to-price ratio is included, providing a visual representation of how volume interacts with price movement in real-time. This can be enabled or disabled based on user preference.
User-Friendly Customization:
The script includes inputs for adjusting the fast and slow EMA lengths, as well as the multipliers for the volume-to-price ratio and actual volume conditions. These customizable parameters allow traders to tailor the indicator to their specific market strategies.
Use Case:
This indicator is particularly useful for identifying periods of high liquidity and resistance in the market, where price movement may stall or reverse. By combining volume-to-price ratio analysis with actual volume conditions, the indicator provides more reliable signals for detecting potential breakouts, reversals, or consolidation periods. The color-coded fast EMA and background shading make it easy to spot key moments of increased market activity and liquidity.
Dynamic Sentiment RSI [UAlgo]The Dynamic Sentiment RSI is a technical analysis tool that combines the classic RSI (Relative Strength Index) concept with dynamic sentiment analysis, offering traders enhanced insights into market conditions. Unlike the traditional RSI, this indicator integrates volume weighting, sentiment factors, and smoothing features to provide a more nuanced view of momentum and potential market reversals. It is designed to assist traders in detecting overbought/oversold conditions, momentum shifts, and to generate potential buy or sell signals using crossover and crossunder techniques. By dynamically adjusting based on sentiment and volume factors, this RSI offers better adaptability to varying market conditions, making it suitable for different trading styles and timeframes.
This tool is particularly helpful for traders who wish to explore not only price movement but also the underlying market sentiment, offering a more comprehensive approach to momentum analysis. The sentiment factor amplifies the RSI's sensitivity to price shifts, making it easier to detect early signals of market reversals or the continuation of a trend.
🔶 Key Features
Dynamic Sentiment Calculation: The indicator incorporates a "Sentiment Factor" that adjusts the RSI length dynamically based on a multiplier, helping traders better understand market sentiment at different time intervals.
Volume Weighting: When enabled, the RSI calculations are weighted by volume, allowing traders to give more importance to price movements with higher trading volume, which may provide more accurate signals.
Smoothing Feature: A customizable smoothing period is applied to the RSI to help filter out noise and make the signal smoother. This feature is particularly useful for traders who prefer to focus on long-term trends while minimizing false signals.
Step Size Customization: A "Step Size" input allows users to round the sentiment RSI to predefined intervals, making the results easier to interpret and act upon. This feature allows you to focus on significant sentiment changes and ignore minor fluctuations.
Crossover/Crossunder Alerts: The indicator includes crossover and crossunder signals on the zero-line, helping traders identify potential buy and sell opportunities as the smoothed RSI crosses these levels.
The indicator offers a clear visual display with multiple color-coded lines and areas:
Sentiment RSI: Plotted as an area chart, color-coded based on sentiment strength.
Raw RSI: A purple line representing the raw adjusted RSI.
Smoothed RSI: A dynamic line, color-coded aqua or orange based on its position relative to the zero line.
Buy/Sell Signals: Triangle shapes are plotted at crossovers and crossunders, providing clear entry and exit points.
🔶 Interpreting the Indicator
Sentiment RSI
-This line represents the sentiment-adjusted RSI, where the higher the value, the stronger the bullish sentiment, and the lower the value, the stronger the bearish sentiment. It is rounded to step intervals, making it easier to detect significant shifts in sentiment.
- A positive sentiment RSI (above 0) suggests bullish market conditions, while a negative sentiment RSI (below 0) suggests bearish conditions.
Smoothed RSI
The smoothed RSI helps reduce noise and shows the trend more clearly.
Crossovers of the zero line are significant:
- Crossover above zero: Indicates that bullish momentum is building, potentially signaling a buying opportunity.
- Crossunder below zero: Signals a shift towards bearish momentum, potentially indicating a sell signal.
Traders should look for these crossovers in conjunction with other signals for more accurate entry/exit points.
Raw RSI (Adjusted)
The raw adjusted RSI offers a less smoothed, more responsive version of the RSI. While it may be noisier, it provides early signals of market reversals and trends.
Crossover/Crossunder Signals
- When the smoothed RSI crosses above the zero line, a "Signal Up" triangle appears, indicating a potential buying opportunity.
- When the smoothed RSI crosses below the zero line, a "Signal Down" triangle appears, signaling a potential sell opportunity.
These signals help traders time their entries and exits by identifying momentum shifts.
Volume Weighting (Optional)
- If volume weighting is enabled, the RSI will give more weight to periods of higher trading volume, making the signals more reliable when the market is highly active.
Strong Up/Down Levels (40/-40)
- These dotted lines represent extreme sentiment levels. When the sentiment RSI reaches 40 or -40, the market may be nearing an overbought or oversold condition, respectively. This could be a signal for traders to prepare for potential reversals or shifts in momentum.
By combining the various components of this indicator, traders can gain a comprehensive view of market sentiment and price action, helping them make more informed trading decisions. The combination of sentiment factors, volume weighting, and smoothing makes this indicator highly flexible and suitable for a variety of trading strategies.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Price vs 200 EMA IndicatorPurpose :
The Price vs. 200 MA (EMA) Indicator measures the deviation of the current price from its 200-period Exponential Moving Average (EMA). Instead of merely plotting the raw difference, the indicator calculates a standardized difference (similar to a z-score), which quantifies the deviation in terms of standard deviations over time. This helps traders understand how extreme the price is relative to its long-term average and its typical volatility.
Use Cases :
Trend Analysis:
Traders can use the standardized difference to assess how extreme the current price is relative to its long-term trend (200 EMA) while normalizing for volatility.
When the z-score approaches extreme levels (e.g., above 2 or below -2), it may indicate that the asset is overextended in either direction.
Mean Reversion Strategy:
Since the indicator identifies when the price deviates far from the 200 EMA (in terms of standard deviations), traders can use it to time mean-reversion trades, buying when the price is below -2 (oversold) and selling when it’s above +2 (overbought).
Trend Continuation or Exhaustion:
If the price continues to stay above +2 for extended periods, it could indicate a strong trend, whereas a reversion toward the EMA after reaching +2 or -2 could signal trend exhaustion or reversal.
Summary :
The Price vs. 200 MA (EMA) Indicator calculates the standardized difference (z-score) between the price and its 200-period EMA, giving traders a normalized measure of how far the price is from its long-term average, relative to typical price volatility. The color-coded plot provides a clear visual representation of potential overbought/oversold conditions and highlights when the price has deviated significantly from the 200 EMA in either direction.