Thin Liquidity Zones [PhenLabs]Thin Liquidity Zones with Volume Delta
Our advanced volume analysis tool identifies and visualizes significant liquidity zones using real-time volume delta analysis. This indicator helps traders pinpoint and monitor critical price levels where substantial trading activity occurs, providing precise volume flow measurement through lower timeframe analysis.
The tool works by leveraging the fact that hedge funds, institutions, and other large market participants strategically fill their orders in areas of thin liquidity to minimize slippage and market impact. By detecting these zones, traders gain valuable insights into potential areas of accumulation, distribution, and liquidity traps, allowing for more informed trading decisions.
🔍 Key Features
Real-time volume delta calculation using lower timeframe data
Dynamic zone creation based on volume spikes
Automatic timeframe optimization
Size-filtered zones to avoid noise
Custom delta timeframe scanning
Flexible analysis period selection
📊 Visual Demonstration
💡 How It Works
The indicator continuously scans for high-volume areas where trading activity exceeds the specified threshold (default 6.0x average volume). When detected, it creates zones that display the net volume delta, showing whether buying or selling pressure dominated that price level.
Key zone characteristics:
Size filtering prevents noise from large price swings
Volume delta shows actual buying/selling pressure
Zones automatically expire based on lookback period
Real-time updates as new volume data arrives
⚙️ Settings
Time Settings
Analysis Timeframe: 15M to 1W options
Custom Period: User-defined bar count
Delta Timeframe: Automatic or manual selection
Volume Analysis
Volume Threshold: Minimum spike multiple
Volume MA Length: Averaging period
Maximum Zone Size: Size filter percentage
Display Options
Zone Color: Customizable with transparency
Delta Display: On/Off toggle
Text Position: Left/Center/Right alignment
📌 Tips for Best Results
Adjust volume threshold based on instrument volatility
Monitor zone clusters for potential support/resistance
Consider reducing max zone size in volatile markets
Use in conjunction with price action and other indicators
⚠️ Important Notes
Requires volume data from your data provider
Lower timeframe scanning may impact performance
Maximum 500 zones maintained for optimization
Zone creation is filtered by both volume and size
🔧 Volume Delta Calculation
The indicator uses TradingView’s advanced volume delta calculation, which:
Scans lower timeframe data for precision
Measures actual buying vs selling pressure
Updates in real-time with new data
Provides clear positive/negative flow indication
This tool is ideal for traders focusing on volume analysis and order flow. It helps identify key levels where significant trading activity has occurred and provides insight into the nature of that activity through volume delta analysis.
Note: Performance may vary based on your chart’s timeframe. Adjust settings according to your trading style and the instrument’s characteristics. Past performance is not indicative of future results, DYOR.
Indicators and strategies
Hourly Market Movement Pattern Indicator# Hourly Market Movement Pattern Indicator
This versatile technical analysis tool identifies the most active hours for trading by analyzing historical price movements. While it can be viewed on any timeframe chart, the indicator specifically tracks and displays which hours of the day historically show the strongest upward or downward price movements, helping traders optimize their trading schedule around these recurring hourly patterns.
## Core Features
- Tracks the best performing hours for both upward and downward movements
- Viewable on any timeframe chart while maintaining hourly analysis
- Clear visual display through a color-coded table overlay
- Real-time updates with new market data
- Works with all trading instruments (stocks, crypto, forex, futures, etc.)
## Timeframe Applications
### Chart Viewing Options
- Can be viewed on any timeframe chart (1min to Monthly)
- Maintains hourly pattern analysis regardless of chart timeframe
- Helps correlate hourly patterns with your preferred trading timeframe
- Allows detailed visualization of hourly patterns within your analysis period
### Intraday Trading
- Identify the most profitable hours for trading
- Plan trading sessions around historically strong hours
- Optimize entry and exit timing based on hourly patterns
- Structure day trading schedules around peak movement hours
### Swing Trading
- Use hourly statistics to optimize entry/exit timing
- Plan trade executions during historically strong hours
- Time position entries based on hourly success rates
- Enhance swing trading decisions with hourly pattern data
## Practical Applications
### Pattern Recognition
- Track recurring hourly market movements
- Identify institutional trading hour patterns
- Detect regular market cycle hours
- Recognize changes in hourly market behavior
### Risk Management
- Adjust position sizing based on historical hourly patterns
- Plan entries during statistically favorable hours
- Time stop loss adjustments around known volatile hours
- Scale positions according to hourly success rates
### Trade Planning
- Schedule trading sessions during optimal hours
- Plan trade executions around strong movement periods
- Structure trading day around peak hours
- Time position adjustments to favorable hours
## Setup Options
- Timeframe: View on any chart timeframe while tracking hourly patterns
- Visual Display: Non-intrusive table overlay
- Color Coding: Green for upward movements, Red for downward movements
- Hour Display: 24-hour format for global market compatibility
## Trading Strategy Integration
The indicator enhances trading approaches through:
- Optimal hour identification for trade execution
- Historical hourly pattern analysis
- Day trading session optimization
- Position timing based on hourly statistics
## Notes
This indicator proves particularly valuable for:
- Traders seeking to optimize their daily trading schedule
- Day traders focusing on peak market hours
- Swing traders optimizing entry/exit timing
- Traders adapting strategies to specific market hours
- International traders tracking hour-specific patterns across sessions
The tool's hourly pattern analysis provides crucial timing information regardless of your preferred chart timeframe or trading style, helping optimize trade execution around the most statistically favorable hours of the day.
ROC-Weighted MA Oscillator [SeerQuant]ROC-Weighted MA Oscillator (ROCWMA)
The ROC-Weighted MA Oscillator (ROCWMA) is a momentum-based indicator which uniquely combines the Rate of Change (ROC) with customizable moving averages, offering a dynamic oscillator for trend analysis. Featuring z-score normalization and weighted MA integration, the ROCWMA delivers actionable trend signals with customizable thresholds.
--------------------------------------------------------------------------------------------------
⚙️ How It Works
1️⃣ Rate of Change (ROC) Normalization
The indicator begins with a normalized ROC calculation over a customizable length, transforming raw momentum data into a dynamic range for enhanced analysis.
2️⃣ Weighted Moving Average (MA)
A custom moving average (MA) is calculated using selectable MA types such as TEMA, SMA, EMA, and more. The normalized ROC is then applied as a weight to derive the ROC-Weighted MA (RWMA), blending trend and momentum data.
3️⃣ Z-Score Oscillator
The RWMA is normalized using z-score calculations, resulting in a smoothed oscillator. This process highlights deviations from the mean, identifying overbought and oversold conditions dynamically.
4️⃣ Threshold Logic
Bullish (Uptrend): Oscillator exceeds the positive threshold.
Bearish (Downtrend): Oscillator drops below the negative threshold.
Neutral: Oscillator remains between thresholds.
5️⃣ Dynamic Visual Representation
A color-coded histogram reflects trend strength and direction.
Optional candle coloring visually emphasizes trends on the chart.
Gradient fills enhance clarity of threshold areas.
--------------------------------------------------------------------------------------------------
✨ Customizable Settings
ROC Settings
Define the ROC length for momentum calculation.
MA Settings
Choose from multiple MA types (TEMA, EMA, SMA, etc.).
Customize the length and data source for MA calculations.
Adjust the signal length for smoothing.
Threshold Settings
Set neutral, bullish, and bearish thresholds to match your strategy.
Style Settings
Toggle candle coloring for visual trend enhancement.
Select from five unique color schemes to suit your chart style.
--------------------------------------------------------------------------------------------------
🚀 Features and Benefits
Momentum-Weighted Analysis: Combines ROC with advanced moving averages for precise trend evaluation.
Dynamic Thresholds: Z-score-based logic adapts to market conditions.
Visual Clarity: Color-coded histograms, candles, and gradient fills make trend detection intuitive.
Highly Customizable: Flexible inputs and multiple MA types ensure adaptability to various trading styles.
--------------------------------------------------------------------------------------------------
📜 Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Users should consult a licensed financial advisor before making trading decisions. Use at your own risk.
--------------------------------------------------------------------------------------------------
Dynamic EMA CrossoverThe Dynamic EMA Crossover indicator is designed to help traders identify trend transitions, visually understand market direction, and detect sideways consolidation zones. It simplifies decision-making by dynamically changing colors and highlighting areas of interest.
Key Features:
1. Dynamic EMA Crossovers:
• Uses two EMAs (default: 9 and 26 ) to identify bullish and bearish trends.
• EMAs and the area between them turn green during bullish trends and red during bearish trends for easy visualization.
2. Sideways Market Detection:
• Automatically detects periods of market consolidation when EMAs overlap for 10 consecutive candles and the price movement remains narrow.
• Sideways zones are highlighted with grey background, helping traders avoid false breakouts and trendless markets.
3. Customizable Inputs:
• Adjust the lengths of the two EMAs and the sensitivity of the overlap detection to match your trading style and market conditions.
How It Works:
• Trend Identification:
• When the shorter EMA crosses above the longer EMA, a bullish trend is indicated.
• When the shorter EMA crosses below the longer EMA, a bearish trend is indicated.
• The indicator dynamically adjusts the colors of the EMAs and fills the area between them for clear trend visibility.
• Sideways Market Detection:
• When the shorter EMA and longer EMA stay close (within a customizable sensitivity) for a fixed period (hardcoded to 10 candles), the indicator identifies a sideways market.
• This feature helps traders avoid entering trades during choppy or indecisive market conditions.
Who Is This For?
This indicator is ideal for:
• Trend traders looking for clear signals of trend direction.
• Swing traders who want to avoid trading in sideways markets.
• Scalpers who need quick and reliable visual cues for short-term market behavior.
Use Cases:
1. Bullish/Bearish Trends:
• Enter trades in the direction of the trend as the crossover occurs and colors change.
2. Sideways Zones:
• Avoid trades during periods of consolidation and wait for a clear breakout.
Mashup Logic:
This indicator combines:
1. EMA Crossovers:
• A tried-and-tested method for trend detection using two moving averages.
• Dynamic visual cues for bullish and bearish market phases.
2. Sideways Market Detection:
• Innovative logic to highlight sideways zones based on EMA overlap and price range analysis.
• Helps reduce noise and avoid trading during trendless periods.
3. Customization and Flexibility:
• Fully adjustable EMA lengths and overlap sensitivity to adapt to different markets and trading styles.
RSI Volatility Suppression Zones [BigBeluga]RSI Volatility Suppression Zones is an advanced indicator that identifies periods of suppressed RSI volatility and visualizes these suppression zones on the main chart. It also highlights breakout dynamics, giving traders actionable insights into potential market momentum.
🔵 Key Features:
Detection of Suppression Zones:
Identifies periods where RSI volatility is suppressed and marks these zones on the main price chart.
Breakout Visualization:
When the price breaks above the suppression zone, the box turns aqua, and an upward label is drawn to indicate a bullish breakout.
If the price breaks below the zone, the box turns purple, and a downward label is drawn for a bearish breakout.
Breakouts accompanied by a "+" label represent strong moves caused by short-lived, tight zones, signaling significant momentum.
Wave Labels for Consolidation:
If the suppression zone remains unbroken, a "wave" label is displayed within the gray box, signifying continued price stability within the range.
Gradient Intensity Below RSI:
A gradient strip below the RSI line increases in intensity based on the duration of the suppressed RSI volatility period.
This visual aid helps traders gauge how extended the low volatility phase is.
🔵 Usage:
Identify Breakouts: Use color-coded boxes and labels to detect breakouts and their direction, confirming potential trend continuation or reversals.
Evaluate Market Momentum: Leverage "+" labels for strong breakout signals caused by short suppression phases, indicating significant market moves.
Monitor Price Consolidation: Observe gray boxes and wave labels to understand ongoing consolidation phases.
Analyze RSI Behavior: Utilize the gradient strip to measure the longevity of suppressed volatility phases and anticipate breakout potential.
RSI Volatility Suppression Zones provides a powerful visual representation of RSI volatility suppression, breakout signals, and price consolidation, making it a must-have tool for traders seeking to anticipate market movements effectively.
Relative Risk MetricOVERVIEW
The Relative Risk Metric is designed to provide a relative measure of an asset's price, within a specified range, over a log scale.
PURPOSE
Relative Position Assessment: Visualizes where the current price stands within a user-defined range, adjusted for log scale.
Logarithmic Transformation: Utilizes the natural log to account for a log scale of prices, offering a more accurate representation of relative positions.
Calculation: The indicator calculates a normalized value via the function Relative Price = / log(UpperBound) − log(LowerBound) . The result is a value between 0 and 1, where 0 corresponds to the lower bound and 1 corresponds to the upper bound on a log scale.
VISUALIZATION
The indicator plots three series:
Risk Metric - a plot of the risk metric value that’s computed from an asset's relative price so that it lies within a logarithmic range between 0.0 & 1.0.
Smoothed Risk Metric - a plot of the risk metric that’s been smoothed.
Entry/Exit - a scatter plot for identified entry and exit. Values are expressed as percent and are coded as red being exit and green being entity. E.g., a red dot at 0.02 implies exit 2% of the held asset. A green dot at 0.01 implies use 1% of a designated capital reserve.
USAGE
Risk Metric
The risk metric transformation function has several parameters. These control aspects such as decay, sensitivity, bounds and time offset.
Decay - Acts as an exponent multiplier and controls how quickly dynamic bounds change as a function of the bar_index.
Time Offset - provides a centering effect of the exponential transformation relative to the current bar_index.
Sensitivity - controls how sensitive to time the dynamic bound adjustments should be.
Baseline control - Serves as an additive offset for dynamic bounds computation which ensures that bounds never become too small or negative.
UpperBound - provides headroom to accomodate growth an assets price from the baseline. For example, an upperbound of 3.5 accommodates a 3.5x growth from the baseline value (e.g., $100 -> $350).
LowerBound - provides log scale compression such that the overall metric provides meaningful insights for prices well below the average whilst avoiding extreme scaling. A lowerbound of 0.25 corresponds to a price that is approx one quarter of a normalised baseline in a log context.
Weighted Entry/Exit
This feature provides a weighted system for identifying DCA entry and exit. This weighting mechanism adjusts the metric's interpretation to highlight conditions based on dynamic thresholds and user-defined parameters to identify high-probability zones for entry/exit actions and provide risk-adjusted insights.
Weighting Parameters
The weighting function supports fine-tuning of the computed weighted entry/exit values
Base: determines the foundational multiplier for weighting the entry/exit value. A higher base amplifies the weighting effect, making the weighted values more pronounced. It acts as a scaling factor to control the overall magnitude of the weighting.
Exponent: adjusts the curve of the weighting function. Higher exponent values increase sensitivity, emphasizing differences between risk metric values near the entry or exit thresholds. This creates a steeper gradient for the computed entry/exit value making it more responsive to subtle shifts in risk levels.
Cut Off: specifies the maximum percentage (expressed as a fraction of 1.0) that the weighted entry/exit value can reach. This cap ensures the metric remains within a meaningful range and avoids skewing
Exit condition: Defines a threshold for exit. When the risk metric is below the exit threshold (but above the entry threshold) then entry/exit is neutral.
Entry condition: Defines a threshold for entry. When the risk metric is above the entry threshold (but below the exit threshold) then entry/exit is neutral.
Weighting Behaviour
For entry conditions - value is more heavily weighted as the metric approaches the entry threshold, emphasizing lower risk levels.
For exit conditions - value is more heavily weighted as the metric nears the exit threshold, emphasizing increased risk levels.
USE-CASES
Identifying potential overbought or oversold conditions within the specified logarithmic range.
Assisting in assessing how the current price compares to historical price levels on a logarithmic scale.
Guiding decision-making processes by providing insights into the relative positioning of prices within a log context
CONSIDERATIONS
Validation: It's recommended that backtesting over historical data be done before acting on any identified entry/exit values.
User Discretion: This indicator focus on price risk. Consider other risk factors and general market conditions as well.
lib_statemachine_modifiedLibrary "lib_statemachine_modified"
Modified to fix bugs and create getState and priorState methods.
method step(this, before, after, condition)
Namespace types: StateMachine
Parameters:
this (StateMachine)
before (int) : (int): Current state before transition
after (int) : (int): State to transition to
condition (bool) : (bool): Condition to trigger the transition
Returns: (bool): True if the state changed, else False
method step(this, after, condition)
Namespace types: StateMachine
Parameters:
this (StateMachine)
after (int) : (int): State to transition to
condition (bool) : (bool): Condition to trigger the transition
Returns: (bool): True if the state changed, else False
method currentState(this)
Namespace types: StateMachine
Parameters:
this (StateMachine)
method previousState(this)
Namespace types: StateMachine
Parameters:
this (StateMachine)
method changed(this, within_bars)
Namespace types: StateMachine
Parameters:
this (StateMachine)
within_bars (int) : (int): Number of bars to look back for a state change
Returns: (bool): True if a state change occurred within the timeframe, else False
method reset(this, condition, min_occurrences)
Namespace types: StateMachine
Parameters:
this (StateMachine)
condition (bool) : (bool): Condition to trigger the reset
min_occurrences (int) : (int): Minimum number of times the condition must be true to reset
Returns: (bool): True if the state was reset, else False
StateMachine
Fields:
state (series int)
neutral (series int)
enabled (series bool)
reset_counter (series int)
prior_state (series int)
last_change_bar (series int)
TASC 2025.02 Autocorrelation Indicator█ OVERVIEW
This script implements the Autocorrelation Indicator introduced by John Ehlers in the "Drunkard's Walk: Theory And Measurement By Autocorrelation" article from the February 2025 edition of TASC's Traders' Tips . The indicator calculates the autocorrelation of a price series across several lags to construct a periodogram , which traders can use to identify market cycles, trends, and potential reversal patterns.
█ CONCEPTS
Drunkard's walk
A drunkard's walk , formally known as a random walk , is a type of stochastic process that models the evolution of a system or variable through successive random steps.
In his article, John Ehlers relates this model to market data. He discusses two first- and second-order partial differential equations, modified for discrete (non-continuous) data, that can represent solutions to the discrete random walk problem: the diffusion equation and the wave equation. According to Ehlers, market data takes on a mixture of two "modes" described by these equations. He theorizes that when "diffusion mode" is dominant, trading success is almost a matter of luck, and when "wave mode" is dominant, indicators may have improved performance.
Pink spectrum
John Ehlers explains that many recent academic studies affirm that market data has a pink spectrum , meaning the power spectral density of the data is proportional to the wavelengths it contains, like pink noise . A random walk with a pink spectrum suggests that the states of the random variable are correlated and not independent. In other words, the random variable exhibits long-range dependence with respect to previous states.
Autocorrelation function (ACF)
Autocorrelation measures the correlation of a time series with a delayed copy, or lag , of itself. The autocorrelation function (ACF) is a method that evaluates autocorrelation across a range of lags , which can help to identify patterns, trends, and cycles in stochastic market data. Analysts often use ACF to detect and characterize long-range dependence in a time series.
The Autocorrelation Indicator evaluates the ACF of market prices over a fixed range of lags, expressing the results as a color-coded heatmap representing a dynamic periodogram. Ehlers suggests the information from the periodogram can help traders identify different market behaviors, including:
Cycles : Distinguishable as repeated patterns in the periodogram.
Reversals : Indicated by sharp vertical changes in the periodogram when the indicator uses a short data length .
Trends : Indicated by increasing correlation across lags, starting with the shortest, over time.
█ USAGE
This script calculates the Autocorrelation Indicator on an input "Source" series, smoothed by Ehlers' UltimateSmoother filter, and plots several color-coded lines to represent the periodogram's information. Each line corresponds to an analyzed lag, with the shortest lag's line at the bottom of the pane. Green hues in the line indicate a positive correlation for the lag, red hues indicate a negative correlation (anticorrelation), and orange or yellow hues mean the correlation is near zero.
Because Pine has a limit on the number of plots for a single indicator, this script divides the periodogram display into three distinct ranges that cover different lags. To see the full periodogram, add three instances of this script to the chart and set the "Lag range" input for each to a different value, as demonstrated in the chart above.
With a modest autocorrelation length, such as 20 on a "1D" chart, traders can identify seasonal patterns in the price series, which can help to pinpoint cycles and moderate trends. For instance, on the daily ES1! chart above, the indicator shows repetitive, similar patterns through fall 2023 and winter 2023-2024. The green "triangular" shape rising from the zero lag baseline over different time ranges corresponds to seasonal trends in the data.
To identify turning points in the price series, Ehlers recommends using a short autocorrelation length, such as 2. With this length, users can observe sharp, sudden shifts along the vertical axis, which suggest potential turning points from upward to downward or vice versa.
Ehlers Maclaurin Ultimate Smoother [CT]Ehlers Maclaurin Ultimate Smoother
Introduction
The Ehlers Maclaurin Ultimate Smoother is an innovative enhancement of the classic Ehlers SuperSmoother. By leveraging advanced Maclaurin series approximations, this indicator offers superior market analysis and signal generation.
The indicator combines Ehlers' Ultimate Smoother with Maclaurin series approximations to create a more efficient and accurate smoothing mechanism:
Input price data passes through the initial smoothing phase
Maclaurin series approximates trigonometric functions
Enhanced high-pass filter removes market noise
Final smoothing phase produces the output signal
Why the Maclaurin Approach?
The Maclaurin series is a special form of the Taylor series, centered around 0. It provides an efficient way to approximate complex functions using polynomial terms. In this indicator, we use the Maclaurin approach to improve the sine and cosine functions, resulting in:
Faster Calculations: By using polynomial approximations, we significantly reduce computational complexity.
Improved Stability: The approximation provides a more stable numerical basis for calculations.
Preservation of Precision: Despite the approximation, we maintain the precision needed for price smoothing.
Calculations
The indicator employs several key mathematical components:
Maclaurin Series Approximation:
sin(x) ≈ x - x³/3! + x⁵/5! - x⁷/7! + x⁹/9!
cos(x) ≈ 1 - x²/2! + x⁴/4! - x⁶/6! + x⁸/8!
Smoothing Algorithm:
Uses exponential smoothing with optimized coefficients
Implements high-pass filtering for noise reduction
Applies dynamic weighting based on market conditions
Mathematical Foundation
Utilizes Maclaurin series for trigonometric approximation
Implements Ehlers' smoothing principles
Incorporates advanced filtering techniques
Technical Advantages
Signal Processing:
Lag Reduction: Faster signal detection with less delay.
Noise Filtration: Effective elimination of high-frequency noise.
Precision Enhancement: Preservation of critical price movements.
Adaptive Processing: Dynamic response to market volatility.
Visual Enhancements:
Smart color intensity mapping.
Real-time visualization of trend strength.
Adaptive opacity based on movement significance.
Implementation
Core Configuration:
Plot Type: Choose between the original and the Maclaurin enhanced version.
Length: Default set to 30, optimal for daily timeframes.
hpLength: Default set to 10 for enhanced noise reduction.
Advanced Parameters:
The indicator offers advanced control with:
Dual processing modes (Original/Maclaurin).
Dynamic color intensity system.
Customizable smoothing parameters.
Professional Analysis Tools:
Accurate trend reversal identification.
Advanced support/resistance detection.
Superior performance in volatile markets.
Technical Specifications
Maclaurin Series Implementation:
The indicator employs a 5-term Maclaurin series approximation for both sine and cosine, ensuring efficient and accurate computation.
Performance Metrics
Improved processing efficiency.
Reduced memory utilization.
Increased signal accuracy.
Licensing & Attribution
© 2024 Mupsje aka CasaTropical
Professional Credits
Original Ultimate and SuperSmoother concept: John F. Ehlers
Maclaurin enhancement: Casa Tropical (CT)
www.mathsisfun.com
NIFTY BANKNIFTY MIDCAP SENSEX FINNIFTY LEVELS)this indicator uses Gann's methods which are based on the idea that markets move in predictable geometric patterns and are influenced by time and price.
Key Concepts of Gann Levels:
Gann Angles:
Gann believed that specific angles could indicate the trend of a market. The most notable is the 45-degree angle, which he called the "1x1" or "45-degree line."
Angles are drawn from a significant price point, such as a high or low, and represent the speed or slope of the price movement.
Gann Square of 9:
A mathematical tool that calculates support and resistance levels based on the square root of numbers and their geometric relationships.
It aligns numbers in a spiral format, starting from a central point, and helps identify key price levels at certain degrees.
Gann Fan:
A series of lines drawn at specific angles from a significant high or low. Common angles include 1x1 (45°), 2x1 (26.25°), and 1x2 (63.75°).
These angles help traders identify potential areas where the trend might accelerate, decelerate, or reverse.
Gann Retracements:
Levels based on key price ratios derived from natural laws and geometric principles. Common Gann retracement levels include 12.5%, 25%, 50%, and 75%.
Time Analysis:
Gann emphasized the importance of time cycles. He believed markets move in time-based patterns, such as yearly cycles, seasonal cycles, or specific time intervals.
MCDX_SignalThe MCDX indicator (Market Cycle Dynamic Index) is a technical indicator developed by Trung Pham. It is a tool used for analyzing the stock market, often utilized to identify big money flow (Big Money) and evaluate the strength of individual stocks or the overall market.
MCDX is known for its distinctive histogram chart with red and green bars. The red bars typically represent the inflow of big money, while the green bars indicate small money flow or outflows.
Volume Surge Webhook AlertThis TradingView indicator, named "Volume Surge Webhook Alert," is designed to find significant increases in trading volume and send out alerts with key information. It works by looking back at the volume over a certain number of past candlesticks, which you can set using the "Lookback Period" input. The indicator calculates the average volume during this period. Then, it sets a threshold for what counts as a "volume surge." This threshold is a percentage increase over the average volume, and you can adjust this percentage using the "Volume Surge Threshold (%)" input.
When the current candlestick's volume is higher than this threshold, the indicator considers it a volume surge. To help you see this visually, the indicator plots three lines on a separate chart: the average volume (in blue), the current volume (in red), and the threshold volume (in gray circles).
If a volume surge happens, the indicator creates a webhook alert. This alert sends a message in a structured format (like a digital envelope) that contains the following information: the symbol of the stock or cryptocurrency, the timeframe of the chart you're looking at, the current volume, the average volume, the threshold volume, and a simple message saying a volume surge was detected. This alert is sent only once when the candlestick closes with a volume surge.
Additionally, when a volume surge is detected, a small red exclamation mark "!" will appear above that candlestick on the main price chart.
Essentially, this indicator helps traders spot times when trading volume is unusually high, which can sometimes be a sign of important price movements. You can customize how sensitive the indicator is by changing the "Lookback Period" and the "Volume Surge Threshold (%)". The webhook alerts allow you to be notified automatically when these surges occur, so you don't have to constantly watch the charts.
BK Multiple MA, RMA, SMA, HMA, VWAP, Rolling VWAP **Indicator Description**
I’m incredibly proud to introduce my third indicator to the TradingView community: **BK Multiple MA with HMA, VWAP, and Rolling VWAP**! This tool has been a game-changer in my trading strategy, and I’m excited to share it with others who are navigating the markets.
This indicator holds a special place in my heart because it represents the first technical analysis concept introduced to me by my mentor when I began apprenticing under him. His wisdom, guidance, and passion for trading—and for life—left an indelible mark on my journey. I dedicate this work, and every indicator I introduce, to the foundation he helped me build, while giving glory first and foremost to God.
**Moving Averages (MAs)** are one of the most widely used tools in technical analysis, and this indicator takes them to the next level. It allows you to plot **six fully customizable moving averages simultaneously**, with options including:
- **Exponential Moving Average (EMA)**
- **Simple Moving Average (SMA)**
- **Relative Moving Average (RMA)**
- **Hull Moving Average (HMA)**
- **Volume Weighted Average Price (VWAP)**
- **Rolling VWAP**
This flexibility makes the indicator highly versatile, whether you’re a day trader, swing trader, or long-term investor. By customizing periods, colors, and line widths for each MA, you can tailor the indicator to perfectly suit your trading style.
**Key Features**
1. **Six Fully Customizable MAs**:
- Adjust periods, line colors, and widths to match your preferences.
- Select from EMA, SMA, RMA, HMA, VWAP, or Rolling VWAP for each line.
2. **Unique Rolling VWAP Option**:
- Rolling VWAP calculates the volume-weighted average price over a user-defined period, such as 200 candles.
- This feature is ideal for traders seeking volume-weighted levels that don’t reset with each session, making it invaluable for trend-following and swing trading.
3. **HMA for Smoother Trends**:
- The Hull Moving Average (HMA) is designed to reduce lag and provide a responsive, noise-free view of price trends.
- It’s a powerful tool for spotting reversals and confirming directional momentum.
4. **Session VWAP**:
- Traditional VWAP resets with each trading session, making it a reliable benchmark for intraday support and resistance levels.
**How It Works**
- **VWAP**: Reflects the average price weighted by volume for the current trading session, commonly used by institutional traders to identify key price levels.
- **Rolling VWAP**: Extends VWAP functionality by calculating over a user-defined period, allowing for flexible multi-timeframe analysis.
- **HMA**: A fast, smooth moving average that reacts quickly to price changes while filtering out noise.
The combination of these options provides traders with a comprehensive view of market dynamics, enabling better decision-making.
**Final Thoughts**
This indicator is deeply meaningful to me because it represents the first concept my mentor introduced when I began apprenticing under him. His wisdom, guidance, and passion for trading—and for life—left an indelible mark on my journey. I dedicate this work, and every indicator I introduce, to the foundation he helped me build, while giving glory first and foremost to God.
If this indicator helps you succeed, I humbly ask that you honor the blessings in your life by giving back—whether through acts of kindness, philanthropy, or helping others in need.
May the Almighty guide us all toward wisdom and success in our endeavors. All glory belongs to God!
Inside Bar/Outside Bar/Mother Bar Box By SmartTrader888This Indicator shows:
1. Inside Bar
2. Outside Bar
3. Mother Bar box (Box the mother bar and all subsequent inside bars)
This indicator handles correctly the edge conditions such as:
1. bar close = bar open
2. current bar low equals to mother bar low or current bar high equals mother bar high
Smart Moving AveragesSmart Moving Averages analyzes the dynamic interplay between price action and multiple moving averages to identify high-probability support and resistance zones.
The script's distinguishing features include:
Bounce detection that filters out noise by requiring specific penetration thresholds (0.1-1.5%), helping traders identify genuine support tests versus false signals
Real-time MA clustering analysis that reveals zones where multiple moving averages converge, indicating potentially stronger support/resistance levels
Statistical tracking of bounce success rates for each MA, allowing traders to identify which moving averages are most reliable for the current market conditions
Power bounce detection that combines EMA spread analysis with trend confirmation, highlighting especially strong bullish setups
Visual stack status system that instantly communicates market health through an intuitive color-coded display showing how many MAs are below price
The script helps traders make more informed decisions by quantifying the historical reliability of different moving averages while providing real-time analysis of MA interactions with price. This systematic approach moves beyond simple MA crossovers to identify higher probability trading opportunities.
Lost Bar Locator v1 [Yaphott]Lost Bar Locator v1 helps you locate missing data on your chart.
It does this by looking for consecutive bars that have a delta time greater than the current interval.
Two lines are drawn for each group of one or more missing bars:
Bar before the missing bar(s).
Bar after the missing bar(s).
Dividend Payout RatioShows the dividend payout ratio for the specific stock.
The dividend payout ratio indicates if the dividend payout is sustainable in the long run. Therefore,
1. A dividend payout under 50% is considered sustainable. The line will be green
2. A dividend payout over 50% and under 100%, the line will be yellow, is considered a stock to investigate since the dividend payout may have to be cut in the future which will cause the stock price to crash.
3. A dividend payout over 100%, the line will be red, is considered unsustainable and the dividend payout will most likely be cut in the near future. It can take up to a few years for the dividend cut to happen if the financials do not improve.
If the dividend payout ratio is over 100%, this means that the company is paying a dividend amount over $1 for every $1 earned. Therefore, the company must borrow money or find another source to pay the dividend amount that the company cannot afford to pay with the current earnings.
Calculating the dividend payout ratio:
Divide dividend paid by earnings after tax and multiplying the result by 100%.
OHLC/4 Daily vs Quarterly CrossOHLC/4 Daily vs Quarterly Cross
The "OHLC/4 Daily vs Quarterly Cross" indicator is a powerful tool designed to provide traders with insights into trend alignment and potential market turning points. By calculating the average of the open, high, low, and close prices (OHLC/4), this script compares the daily average price action with the quarterly average to identify significant crossover events.
This indicator features two distinct lines: the Daily OHLC/4 and the Quarterly OHLC/4, each plotted in different colors for easy differentiation. A crossover occurs when the daily OHLC/4 moves above the quarterly average, potentially signaling bullish momentum or a shift in market direction. Conversely, a crossunder marks the daily OHLC/4 moving below the quarterly level, indicating potential bearish sentiment or a reversal.
With real-time plotting and built-in alert conditions, this script enables traders to stay ahead of critical market movements by setting automated notifications for crossover events. Whether you're seeking to confirm trends or identify new opportunities, the "OHLC/4 Daily vs Quarterly Cross" delivers clarity and actionable insights for more informed decision-making.
Robinhood Crypto Combined Volume Tracker
This indicator provides a comprehensive visualization of the combined trading volume for all cryptocurrency pairs available on Robinhood, tailored to the selected region (USA or Europe). The chart dynamically updates based on your selected region, providing actionable insights into market activity.
Features:
Dynamic Region Selection: Toggle between USA and Europe to display the relevant trading pairs for your region.
Combined Volume Visualization: Aggregates and plots the total trading volume for all selected cryptocurrency pairs.
Dynamic Background: Background color changes based on the selected region for visual clarity.
Real-Time Debug Label: Displays the selected region and current total combined volume on the latest bar.
Color-Coded Chart: Distinct plot colors for USA (blue) and Europe (green) to easily identify the region.
Use Cases:
Market Trends: Monitor total crypto market activity to gauge investor interest and trading momentum in different regions.
Region-Specific Analysis: Compare trading behavior between USA and Europe by switching regions.
Volume Comparisons: Assess market strength by observing changes in combined volume over time.
How to Use:
Select your desired region (USA/Europe) using the "Select Region" dropdown.
View the combined trading volume plot on the chart.
Use the background color and chart plot for quick identification of region-specific data.
Notes:
The combined volume calculation is based on the daily timeframe (D) and updates dynamically.
Ensure the selected region matches your area of interest to get accurate insights.
This indicator is ideal for traders looking to analyze and compare crypto trading activity across regions in a consolidated view.
Buy Signal Forex & Crypto v0 ImprovedPurpose of the Script:
This script is designed to generate buy and sell signals for trading Forex and cryptocurrencies by analyzing price trends using exponential moving averages (EMAs), volatility, and volume filters. The signals are displayed as arrows on the chart.
What the Script Does
Input Settings:
The script allows the user to configure various settings, such as the lengths of EMAs, a higher timeframe for trend confirmation, and thresholds for volume and volatility (ATR - Average True Range).
Key settings:
5 EMA Length – Length of the short-term EMA.
13 EMA Length – Length of the medium-term EMA.
26 EMA Length – Length of the long-term EMA.
21 EMA Length – Used for trend confirmation on a higher timeframe.
Higher Timeframe – Lets you select a timeframe (e.g., daily) for confirming the overall trend.
ATR Threshold – Filters out signals when the market's volatility is too low.
Volume Filter – Ensures sufficient trading activity before generating signals.
Calculating EMAs (Exponential Moving Averages):
Four EMAs are calculated:
ema5 (short-term), ema13 (medium-term), ema26 (long-term), and ema21 (higher timeframe confirmation).
These EMAs help determine price trends and crossovers, which are critical for identifying buy and sell opportunities.
Trend Confirmation Using a Higher Timeframe:
The 21 EMA on the higher timeframe (e.g., daily) is used to confirm the overall direction of the market.
Defining Signal Conditions:
Buy Signal:
A buy signal is generated when:
ema5 crosses above ema13 (indicating a bullish trend).
ema5 crosses above ema26 (stronger bullish confirmation).
The closing price is above ema5, ema13, ema26, and the 21 EMA on the higher timeframe.
The market's volatility (ATR) is above the defined threshold.
The volume meets the conditions or volume filtering is disabled.
Sell Signal:
A sell signal is generated when:
ema5 crosses below ema13 (indicating a bearish trend).
ema5 crosses below ema26 (stronger bearish confirmation).
The closing price is below ema5, ema13, ema26, and the 21 EMA on the higher timeframe.
The market's volatility (ATR) is above the defined threshold.
The volume meets the conditions or volume filtering is disabled.
Volume Filtering:
Ensures there’s enough trading activity by comparing the current volume to a 20-period moving average of volume.
Persistent Variables:
These variables (crossed13 and crossed13Sell) help track whether the short-term EMA (ema5) has crossed the medium-term EMA (ema13). This prevents false or repeated signals.
Displaying Signals on the Chart:
Buy signals are displayed as green upward arrows below the price.
Sell signals are displayed as red downward arrows above the price.
How It Helps Traders:
This script provides visual cues for potential entry and exit points by combining moving average crossovers, volatility, volume, and higher timeframe trend confirmation. It works well for trending markets and ensures signals are filtered for stronger conditions to reduce noise.
Relative Volume Index [PhenLabs]Relative Volume Index (RVI)
Version: PineScript™ v6
Description
The Relative Volume Index (RVI) is a sophisticated volume analysis indicator that compares real-time trading volume against historical averages for specific time periods. By analyzing volume patterns and statistical deviations, it helps traders identify unusual market activity and potential trading opportunities. The indicator uses dynamic color visualization and statistical overlays to provide clear, actionable volume analysis.
Components
• Volume Comparison: Real-time volume relative to historical averages
• Statistical Bands: Upper and lower deviation bands showing volume volatility
• Moving Average Line: Smoothed trend of relative volume
• Color Gradient Display: Visual representation of volume strength
• Statistics Dashboard: Real-time metrics and calculations
Usage Guidelines
Volume Strength Analysis:
• Values > 1.0 indicate above-average volume
• Values < 1.0 indicate below-average volume
• Watch for readings above the threshold (default 6.5x) for exceptional volume
Trading Signals:
• Strong volume confirms price moves
• Divergences between price and volume suggest potential reversals
• Use extreme readings as potential reversal signals
Optimal Settings:
• Start with default 15-bar lookback for general analysis
• Adjust threshold (6.5x) based on market volatility
• Use with multiple timeframes for confirmation
Best Practices:
• Combine with price action and other indicators
• Monitor deviation bands for volatility expansion
• Use the statistics panel for precise readings
• Pay attention to color gradients for quick assessment
Limitations
• Requires quality volume data for accurate calculations
• May produce false signals during pre/post market hours
• Historical comparisons may be skewed during unusual market conditions
• Best suited for liquid markets with consistent volume patterns
Note: For optimal results, use in conjunction with price action analysis and other technical indicators. The indicator performs best during regular market hours on liquid instruments.
Rosiz Support 2### **Indicator Name**: Custom RSI, Stochastic, and ADX
### **Description**:
This is a multi-functional indicator that combines three popular technical analysis tools—**RSI (Relative Strength Index)**, **Stochastic Oscillator**, and **ADX (Average Directional Index)**—into a single, customizable pane. This indicator helps traders analyze momentum, overbought/oversold conditions, and trend strength simultaneously, making it a powerful tool for making informed trading decisions.
---
### **Features**:
1. **RSI (Relative Strength Index)**:
- Measures the speed and change of price movements.
- Helps identify overbought (>70) and oversold (<30) conditions.
- Includes customizable length and source options.
- Background shading visually highlights overbought and oversold zones.
2. **Stochastic Oscillator**:
- Determines momentum by comparing a security's closing price to its price range over a specific period.
- Includes %K and %D lines for crossovers, which signal potential entry or exit points.
- Highlights overbought (>80) and oversold (<20) zones with background fill.
3. **ADX (Average Directional Index)**:
- Measures trend strength (higher values indicate stronger trends).
- Includes customizable smoothing and DI (Directional Indicator) length.
---
### **How to Use**:
- **RSI**: Look for overbought or oversold conditions for potential reversal points. Divergences between price and RSI may signal weakening trends.
- **Stochastic Oscillator**: Watch for %K and %D crossovers near overbought or oversold zones to confirm buy or sell signals.
- **ADX**: Use ADX values to assess trend strength:
- **ADX > 25**: Strong trend.
- **ADX < 20**: Weak or ranging market.
---
### **Customization Options**:
- **RSI Settings**: Adjust length, source, and visual parameters.
- **Stochastic Settings**: Modify %K and %D lengths and smoothing factors.
- **ADX Settings**: Fine-tune smoothing and directional index lengths.
---
### **Advantages**:
- Combines three indicators into one, reducing chart clutter.
- Customizable inputs for flexibility in various trading strategies.
- Visual enhancements (background fills and lines) for better readability.
This indicator is perfect for traders looking to combine momentum analysis, overbought/oversold signals, and trend strength in a single tool!
Precision Trade Zone By KittisakThis indicator is designed for Money Management calculations, helping to facilitate risk management in trading, determining suitable leverage based on acceptable risk, and adjusting the Stop Loss level to align with the calculated leverage.
Abbreviation Descriptions
LR : Suitable Leverage.
EP : Entry Price.
BEP : Break-Even Point (a point where you can move your Stop Loss to prevent losses once the price reaches a certain level).
SL : Stop Loss (a recalculated Stop Loss level to match the leverage. You should use this as the Stop Loss price instead of the initial level you set).
TP : Take Profit (a point where you take profit based on the defined risk-reward ratio).
Note
When first activating the indicator, an error may occur, and no output will be displayed. This happens because you must first specify the Entry Price and Stop Loss in the indicator settings.
How Much Leverage Should You Use?
It may seem like a simple question but is difficult to answer.
Method for Calculating Suitable Leverage
Use the formula:
Leverage = Acceptable Loss / (Distance between Entry Price and Stop Loss + (Buy Fee + Sell Fee))
Calculating the Correct Stop Loss Point
(Stop Loss levels will be slightly adjusted or extended)
For Long Positions :
New Stop Loss = Entry Price * (1 - Acceptable Loss / (Calculated Leverage * 100))
For Short Positions :
New Stop Loss = Entry Price * (1 + Acceptable Loss / (Calculated Leverage * 100))
Calculating the Correct Take Profit Point
(Take Profit levels will be slightly adjusted or extended)
For Long Positions :
Take Profit = Entry Price * (1 + (Acceptable Loss / (Calculated Leverage * 100) * RR) + ((Buy Fee + Sell Fee) / 100))
For Short Positions :
Take Profit = Entry Price * (1 - (Acceptable Loss / (Calculated Leverage * 100) * RR) + ((Buy Fee + Sell Fee) / 100))
Benefits of This Calculation
1. Accurate Risk Assessment
The calculated leverage accounts for trading fees. For example, if you aim for a 2% loss, this method ensures the actual loss is exactly 2%, not more (e.g., 2% plus fees).
2. Eliminates Guesswork
Randomly setting leverage can lead to risks because the Stop Loss level may not align with your position. This calculation ensures that the leverage aligns precisely with your desired Stop Loss level.
3. Realistic Profit Targets
For example, with a 2% acceptable loss and a 1:2 RR, you expect a 4% profit. However, without this calculation, fees may reduce your profit below 4%. This method includes fees, ensuring your profit matches the intended target.
Caution
This indicator does not account for slippage or requotes. Use it with caution and allow a buffer for slippage in your calculations.
Indicator นี้มีไว้สำหรับคำนวณ Money Management ซึ่งจะช่วยอำนวยความสะดวกในการจัดการความเสี่ยงในการเทรด การคำนวณ Leverage ที่เหมาะสมกับความเสี่ยงที่คุณยอมรับได้ และจัดการจุด Stop Loss ให้เหมาะสมกับ Leverage นั้น
คำอธิบายเกี่ยวกับคำย่อ
LR หมายถึง Leverage ที่เหมาะสม
EP หมายถึง Entry Price หรือราคาเข้าซื้อ
BEP หมายถึง Break-Even Point หรือจุดคุ้มทุน (คุณสามารถย้าย Stop Loss มาที่จุดนี้เมื่อราคาไปถึงจุดหนึ่งเพื่อป้องกันการขาดทุนได้)
SL หมายถึง Stop Loss (ซึ่งเป็น Stop Loss ที่คำนวณใหม่เพื่อให้ตำแหน่งเหมาะสมกับ Leverage ที่คำนวณได้ คุณควรใช้จุดนี้เพื่อเป็นราคา Stop Loss แทนจุด Stop Loss ที่คุณกำหนดไว้ในตอนแรก)
TP หมายถึง Take Profit (เป็นจุดที่คุณจะขายทำกำไรตาม RR ที่กำหนดไว้)
* หมายเหตุ เมื่อเริ่มเปิด Indicator จะเกิด Error ขึ้น และไม่มีผลลัพท์ใด ๆ แสดงให้เห็น นั่นเป็นเพราะคุณต้องเข้าไปกำหนด Entry Price และ Stop Loss ในการตั้งค่าของ Indicator เสียก่อน
ต้องใช้ Leverage เท่าไหร่? มันเป็นคำถามที่ดูเหมือนง่าย แต่ตอบยาก
วิธีคำนวณ Leverage ที่เหมาะสม ใช้สมการคือ
Levarage = การขาดทุนที่ยอมรับได้ / (ระยะห่างระหว่าง Entry Price และ Stop Loss + (ค่าธรรมเนียมซื้อ + ค่าธรรมเนียมขาย))
นำผลลัพท์ Leverage ที่ได้มาคำนวณเพื่อหาจุด Stop Loss ที่ถูกต้อง (จุดของ Stop Loss จะมีการยืดขยายออกไปเล็กน้อย) โดยใช้สมการ
ตำแหน่ง Stop Loss ใหม่ = Entry Price * (1 - การขาดทุนที่ยอมรับได้ / (Leverage ที่คำนวณได้ * 100)) // สำหรับ Long
ตำแหน่ง Stop Loss ใหม่ = Entry Price * (1 + การขาดทุนที่ยอมรับได้ / (Leverage ที่คำนวณได้ * 100)) // สำหรับ Short
นำผลลัพท์ Leverage ที่ได้มาคำนวณเพื่อหาจุด Take Profit ที่ถูกต้อง (จุดของ Take Profit จะมีการยืดขยายออกไปเล็กน้อย) โดยใช้สมการ
ตำแหน่ง Take Profit = Entry Price * (1 + (การขาดทุนที่ยอมรับได้ / (Leverage ที่คำนวณได้ * 100) * RR) + ((ค่าธรรมเนียมซื้อ + ค่าธรรมเนียมขาย) / 100)) // สำหรับ Long
ตำแหน่ง Take Profit = Entry Price * (1 - (การขาดทุนที่ยอมรับได้ / (Leverage ที่คำนวณได้ * 100) * RR) + ((ค่าธรรมเนียมซื้อ + ค่าธรรมเนียมขาย) / 100)) // สำหรับ Short
ข้อดีของการคำนวณคือ
1. คุณจะได้ค่า Leverage ที่เหมาะสมกับความเสี่ยงที่คุณยอมรับได้โดยรวมค่าธรรมเนียมเข้าไปในนั้นแล้ว นั่นหมายความว่า ความสูญเสียจะเป็น 2% (ตามตัวอย่าง) จริง ๆ ไม่ใช่ 2% และถูกหักค่าธรรมเนียมเพิ่มอีก กลายเป็นสูญเสียมากกว่า 2%
2. การตั้ง Leverage มั่ว ๆ กลายเป็นความเสี่ยง นั่นเพราะตำแหน่งของ Stop Loss ไม่ได้อยู่ในจุดที่ควรจะเป็น การคำนวณนี้ช่วยให้คุณได้ Leverage ในตำแหน่ง Stop Loss ที่คุณต้องการโดยแท้จริง
3. ผลกำไรที่ได้รับตรงกับความต้องการจริง ๆ เช่น การขาดทุนที่ยอมรับได้ 2% และ RR 1:2 สิ่งที่คุณคิดคือกำไร 4% แต่จริง ๆ แล้วไม่ถึง 4% นั่นเพราะว่าโดนหักค่าธรรมเนียมไปส่วนหนึ่ง การคำนวณนี้ได้รวมค่าธรรมเนียมให้แล้ว คุณจึงได้กำไรที่ 4% อย่างถูกต้องตามต้องการ
ข้อควรระวัง
Indicator นี้ไม่ได้มีการควบคุมความเสี่ยงในเรื่องของ slippage หรือ requote โปรดใช้งานอย่างระมัดระวังและมีการเผื่อระยะสำหรับ slippage ด้วย