BarbellFX ORBThe Opening Range Breakout (ORB) strategy is a popular day trading method that focuses on the first few minutes or hours of trading. Here's how it works:
The opening range is defined as a specific time period after the market opens (commonly the first 15-30 minutes)
Traders identify the high and low prices during this opening range
These prices become support and resistance levels
Trading signals are generated when the price breaks above or below these levels:
A breakout above the opening range high suggests going long
A break below the opening range low suggests going short
אינדיקטורים ואסטרטגיות
Multi-Band Comparison (Uptrend)Multi-Band Comparison
Overview:
The Multi-Band Comparison indicator is engineered to reveal critical levels of support and resistance in strong uptrends. In a healthy upward market, the price action will adhere closely to the 95th percentile line (the Upper Quantile Band), effectively “riding” it. This indicator combines a modified Bollinger Band (set at one standard deviation), quantile analysis (95% and 5% levels), and power‑law math to display a dynamic picture of market structure—highlighting a “golden channel” and robust support areas.
Key Components & Calculations:
The Golden Channel: Upper Bollinger Band & Upper Std Dev Band of the Upper Quantile
Upper Bollinger Band:
Calculation:
boll_upper=SMA(close,length)+(boll_mult×stdev)
boll_upper=SMA(close,length)+(boll_mult×stdev) Here, the 20-period SMA is used along with one standard deviation of the close, where the multiplier (boll_mult) is 1.0.
Role in an Uptrend:
In a healthy uptrend, price rides near the 95th percentile line. When price crosses above this Upper Bollinger Band, it confirms strong bullish momentum.
Upper Std Dev Band of the Upper Quantile (95th Percentile) Band:
Calculation:
quant_upper_std_up=quant_upper+stdev
quant_upper_std_up=quant_upper+stdev The Upper Quantile Band, quant_upperquant_upper, is calculated as the 95th percentile of recent price data. Adding one standard deviation creates an extension that accounts for normal volatility around this extreme level.
The Golden Channel:
When the price crosses above the Upper Bollinger Band, the Upper Std Dev Band of the Upper Quantile immediately shifts to gold (yellow) and remains gold until price falls below the Bollinger level. Together, these two lines form the “golden channel”—a visual hallmark of a healthy uptrend where the price reliably hugs the 95th percentile level.
Upper Power‑Law Band
Calculation:
The Upper Power‑Law Band is derived in two steps:
Determine the Extreme Return Factor:
power_upper=Percentile(returns,95%)
power_upper=Percentile(returns,95%) where returns are computed as:
returns=closeclose −1.
returns=close close−1.
Scale the Current Price:
power_upper_band=close×(1+power_upper)
power_upper_band=close×(1+power_upper)
Rationale and Correlation:
By focusing on the upper 5% of returns (reflecting “fat tails”), the Upper Power‑Law Band captures extreme but statistically expected movements. In an uptrend, its value often converges with the Upper Std Dev Band of the Upper Quantile because both measures reflect heightened volatility and extreme price levels. When the Upper Power‑Law Band exceeds the Upper Std Dev Band, it can signal a temporary overextension.
Upper Quantile Band (95% Percentile)
Calculation:
quant_upper=Percentile(price,95%)
quant_upper=Percentile(price,95%) This level represents where 95% of past price data falls below, and in a robust uptrend the price action practically rides this line.
Color Logic:
Its color shifts from a neutral (blackish) tone to a vibrant, bullish hue when the Upper Power‑Law Band crosses above it—signaling extra strength in the trend.
Lower Quantile and Its Support
Lower Quantile Band (5% Percentile):
Calculation:
quant_lower=Percentile(price,5%)
quant_lower=Percentile(price,5%)
Behavior:
In a healthy uptrend, price remains well above the Lower Quantile Band. It turns red only when price touches or crosses it, serving as a warning signal. Under normal conditions it remains bright green, indicating the market is not nearing these extreme lows.
Lower Std Dev Band of the Lower Quantile:
This line is calculated by subtracting one standard deviation from quant_lowerquant_lower and typically serves as absolute support in nearly all conditions (except during gap or near-gap moves). Its consistent role as support provides traders with a robust level to monitor.
How to Use the Indicator:
Golden Channel and Trend Confirmation:
As price rides the Upper Quantile (95th percentile) perfectly in a healthy uptrend, the Upper Bollinger Band (1 stdev above SMA) and the Upper Std Dev Band of the Upper Quantile form a “golden channel” once price crosses above the Bollinger level. When this occurs, the Upper Std Dev Band remains gold until price dips back below the Bollinger Band. This visual cue reinforces trend strength.
Power‑Law Insights:
The Upper Power‑Law Band, which is based on extreme (95th percentile) returns, tends to align with the Upper Std Dev Band. This convergence reinforces that extreme, yet statistically expected, price moves are occurring—indicating that even though the price rides the 95th percentile, it can only stretch so far before a correction or consolidation.
Support Indicators:
Primary and Secondary Support in Uptrends:
The Upper Bollinger Band and the Lower Std Dev Band of the Upper Quantile act as support zones for minor retracements in the uptrend.
Absolute Support:
The Lower Std Dev Band of the Lower Quantile serves as an almost invariable support area under most market conditions.
Conclusion:
The Multi-Band Comparison indicator unifies advanced statistical techniques to offer a clear view of uptrend structure. In a healthy bull market, price action rides the 95th percentile line with precision, and when the Upper Bollinger Band is breached, the corresponding Upper Std Dev Band turns gold to form a “golden channel.” This, combined with the Power‑Law analysis that captures extreme moves, and the robust lower support levels, provides traders with powerful, multi-dimensional insights for managing entries, exits, and risk.
Disclaimer:
Trading involves risk. This indicator is for educational purposes only and does not constitute financial advice. Always perform your own analysis before making trading decisions.
[blackcat] L3 Bullish Grab SignalOVERVIEW
The " L3 Bullish Grab Signal" indicator is designed to identify bullish trends and potential buying opportunities in the market. It uses a combination of moving averages and custom calculations to generate signals. The indicator is set to not overlay on the price chart, meaning it will have its own panel below the main chart, and it updates based on the specified timeframe.
FEATURES
Input Parameters:
shortEmaPeriod: Default value is 13, used for the shorter-term EMA.
longEmaPeriod: Default value is 34, used for the longer-term EMA.
signalEmaPeriod: Default value is 5, used to smooth the difference between the short and long EMAs.
lookbackPeriod: Default value is 60, used to look back over a certain number of bars for specific calculations.
Variable Calculations:
priceWeightedAverage: Calculated as (close * 2 + high + low) / 4 * 10, a custom price point.
shortEma: EMA of priceWeightedAverage over the short period.
longEma: EMA of priceWeightedAverage over the long period.
signalEma: EMA of the difference between shortEma and longEma, smoothed over the signalEmaPeriod.
oscillatorValue: Calculated as 2 * (shortEma - longEma - signalEma) * 5.5, a custom oscillator.
positiveOscillatorValue: Positive part of oscillatorValue, setting negative values to zero.
bullishSignal: True when positiveOscillatorValue increases and was previously negative.
confirmedBullishSignal: True when the bullish signal is confirmed by certain conditions involving the oscillator values and price increases.
priceIncreaseThreshold: Checks if the close price increased by more than 7% from the previous bar.
strongBullishSignal: Combines the bullish signal with the confirmed signal and the price increase threshold.
confirmedStrongBullishSignal: When all conditions for a strong bullish signal are met.
weakBullishSignal: Bullish signal that doesn't meet the strong criteria but still shows some strength.
Plotting:
Oscillator Value: Plots the raw oscillator value in white.
Positive Oscillator Value: Plots only the positive part of the oscillator value in white.
Strong Bullish Signal Stick: Plots a red candlestick when a strong bullish signal is confirmed, using the highest positive oscillator value over the lookback period.
Bullish Signal Stick: Plots a white candlestick for a bullish signal that isn't necessarily strong.
Weak Bullish Signal Stick: Plots a green candlestick for a weak bullish signal.
Positive Trend: Plots yellow candlesticks when the oscillator value is positive.
Negative Trend: Plots fuchsia candlesticks when the oscillator value is negative.
Numbers on Candles: Represents the breakout strength as a percentage change in price.
HOW TO USE
Install the Script: Add the script to your TradingView chart.
Customize Inputs:
Adjust the shortEmaPeriod, longEmaPeriod, signalEmaPeriod, and lookbackPeriod as needed.
Interpret the Charts:
Red Candles: Indicate a strong bullish trend, suggesting a potential buying opportunity.
White Candles: Indicate bullish signals that are not as strong but still suggest a buying opportunity.
Green Candles: Indicate weak bullish signals, suggesting a possible buying opportunity but with less confidence.
Yellow Candles: Indicate a positive trend, suggesting the market is in an uptrend.
Fuchsia Candles: Indicate a negative trend, suggesting the market is in a downtrend.
Numbers on Candles: Show the breakout strength as a percentage change in price.
Analyze Trends and Signals:
Use red candles to identify strong bullish signals, especially if the price has increased by more than 7% from the previous bar.
Monitor white and green candles for potential entries with lower confidence.
Avoid trading during fuchsia candles, as the market is in a downtrend.
MARKET MEANING AND TRADING USAGE
Strong Bullish Signal (Red Candles): Indicates a significant price increase and momentum, suggesting a strong buying opportunity.
Bullish Signal (White Candles): Suggests a buying opportunity but with less confidence compared to strong signals.
Weak Bullish Signal (Green Candles): Indicates a possible buying opportunity with even lower confidence.
Positive Trend (Yellow Candles): Suggests the market is in an uptrend.
Negative Trend (Fuchsia Candles): Suggests the market is in a downtrend.
Trading Strategy:
Buy: When a strong bullish signal is confirmed (red candle), especially if the price has increased by more than 7% from the previous bar.
Monitor: Watch for bullish signals (white candles) and weak bullish signals (green candles) for potential entries with lower confidence.
Avoid: During negative trends (fuchsia candles), as the market is in a downtrend.
LIMITATIONS
Simplicity: The implementation is based on a combination of moving averages and custom calculations, which might not capture all aspects of market dynamics.
Close Price Dependency: Uses close prices to determine trends and signals, which might not reflect intrabar price movements and trade imbalances accurately.
Historical Data: The script is based on historical data and does not guarantee future performance.
NOTES
Educational Tool: The script is designed for educational purposes and should not be considered financial advice.
Backtesting: Users are encouraged to backtest the strategy on a demo account before applying it to live trades.
Complementary Use: Best used in conjunction with other indicators and analysis methods for more accurate trading decisions.
THANKS
Special thanks to the TradingView community for their support and feedback.
Fibonacci Trend [ChartPrime]Fibonacci Trend Indicator
This powerful indicator leverages supertrend analysis to detect market direction while overlaying dynamic Fibonacci levels to highlight potential support, resistance, and optimal trend entry zones. With its straightforward design, it is perfect for traders looking to simplify their workflow and enhance decision-making.
⯁ KEY FEATURES AND HOW TO USE
⯌ Supertrend Trend Identification :
The indicator uses a supertrend algorithm to identify market direction. It displays purple for downtrends and green for uptrends, ensuring quick and clear trend analysis.
⯌ Fibonacci Levels for Current Swings :
Automatically calculates Fibonacci retracement levels (0.236, 0.382, 0.618, 0.786) for the current swing leg.
- These levels act as key zones for potential support, resistance, and trend continuation.
- The high and low swing points are labeled with exact prices, ensuring clarity.
- If the swing range is insufficient (less than five times ATR), Fibonacci levels are not displayed, avoiding irrelevant data.
⯌ Extended Fibonacci Levels :
User-defined extensions project Fibonacci levels into the future, aiding traders in planning price targets or projecting key zones.
⯌ Optimal Trend Entry Zone :
A filled area between 0.618 and 0.786 levels visually highlights the optimal entry zone for trend continuation. This allows traders to refine their entry points during pullbacks.
⯌ Diagonal Trend Line :
A dashed diagonal line connects the swing high and low, visually confirming the range and trend strength of the current swing.
⯌ Visual Labels for Fibonacci Levels :
Each Fibonacci level is marked with a label displaying its value for quick reference.
⯁ HOW TRADERS CAN POTENTIALLY USE THIS TOOL
Fibonacci Retracements:
Use the Fibonacci retracement levels to find key support or resistance zones where the price may pull back before continuing its trend.
Example: Enter long trades when the price retraces to 0.618–0.786 levels in an uptrend.
Fibonacci Extensions:
Use Fibonacci extensions to project future price targets based on the current trend's swing leg. Levels like 127.2% and 161.8% are commonly used as profit-taking zones.
Reversal Identification:
Spot potential reversals by monitoring price reactions at key Fibonacci retracement levels (e.g., 0.236 or 0.382) or the swing high/low.
Optimal Trend Entries:
The filled zone between 0.618 and 0.786 is a statistically strong area for entering a position in the direction of the trend.
Example: Enter long positions during retracements to this range in an uptrend.
Risk Management:
Set stop-losses below key Fibonacci levels or the swing low/high, and take profits at extension levels, enhancing your trade management strategies.
⯁ CONCLUSION
The Fibonacci Trend Indicator is a straightforward yet effective tool for identifying trends and key Fibonacci levels. It simplifies analysis by integrating supertrend-based trend identification with Fibonacci retracements, extensions, and optimal entry zones. Whether you're a beginner or experienced trader, this indicator is an essential addition to your toolkit for trend trading, reversal spotting, and risk management.
Volume Equilibrium Overlay(2 of 2)This is an overlay for a prior script I've created: Volume Equilibrium.
To sum it up in a brief manner, this script plots when there is "volume-equilibrium" aka prices that the market may see as "fair-value" relative to the specified timeframe. This script provides what my last code lacked and that is a visual representation of critical prices.
The arrows beside the indications indicate the direction that the buying/selling volume was heading towards.
UP ARROW - indicates that equilibrium was had via increasing buy volume
DOWN ARROW - indicates that equilibrium was had via decreasing buy volume
Remember, this doesn't inherently mean that a stock is supposed to go up or down. Its just a representation of 'fair-value' points using volume. Also remember... both indicators provide what the other lacks. It isn't necessary to use both but for a broad overview of volume it definitely helps to at least be aware of how this information can be represented. Perhaps... consider switching between the two to see what you may be missing.
I believe finding 'fair-value' points via volume and price action provides a more objective way to measure what prices one should look at rather then arbitrary lines plotted on a chart. For more information feel welcome to look at the script that this code is based off of.
Buy/Sell Signals for CM_Williams_Vix_FixThis script in Pine Script is designed to create an indicator that generates buy and sell signals based on the Williams VIX Fix (WVF) indicator. Here’s a brief explanation of how this script works:
Main Components:
Williams VIX Fix (WVF) – This volatility indicator is calculated using the formula:
WVF
=
(
highest(close, pd)
−
low
highest(close, pd)
)
×
100
WVF=(
highest(close, pd)
highest(close, pd)−low
)×100
where highest(close, pd) represents the highest closing price over the period pd, and low represents the lowest price over the same period.
Bollinger Bands are used to determine levels of overbought and oversold conditions. They are constructed around the moving average (SMA) of the WVF value using standard deviation (SD).
Ranges based on percentiles help identify extreme levels of WVF values to spot entry and exit points.
Buy and sell signals are generated when the WVF crosses the Bollinger Bands lines or reaches the ranges based on percentiles.
Adjustable Parameters:
LookBack Period Standard Deviation High (pd): The lookback period for calculating the highest closing price.
Bolinger Band Length (bbl): The length of the period for constructing the Bollinger Bands.
Bollinger Band Standard Devaition Up (mult): The multiplier for the standard deviation used for the upper Bollinger Band.
Look Back Period Percentile High (lb): The lookback period for calculating maximum and minimum WVF values.
Highest Percentile (ph): The percentile threshold for determining the high level.
Lowest Percentile (pl): The percentile threshold for determining the low level.
Show High Range (hp): Option to display the range based on percentiles.
Show Standard Deviation Line (sd): Option to display the standard deviation line.
Signals:
Buy Signal: Generated when the WVF crosses above the lower Bollinger Band or falls below the lower boundary of the percentile-based range.
Sell Signal: Generated when the WVF crosses below the upper Bollinger Band or rises above the upper boundary of the percentile-based range.
These signals are displayed as triangles below or above the candles respectively.
Application:
The script can be used by traders to analyze market conditions and make buying or selling decisions based on volatility and price behavior.
2 MA Simplified Sideways Candle ColorsHow to Use the Indicator: A Simple Guide
This custom indicator colors candlesticks to help you quickly identify market conditions based on two moving averages (9-period and 21-period). Here’s how to get started:
Add the Indicator to Your Chart:
Copy the provided Pine Script code.
Open TradingView and navigate to the Pine Editor.
Paste the code into a new script, save it, and then add the indicator to your chart.
Understand the Candlestick Colors:
Green Candles (Bullish):
Indicates a bullish market when the price is above the 9-period SMA and the 9 SMA is above the 21 SMA.
Red Candles (Bearish):
Indicates a bearish market when the price is below the 21-period SMA and the 9 SMA is below the 21 SMA.
Yellow Candles (Sideways):
Indicates a sideways (neutral) market when:
Condition 1: Price is below the 9 SMA but above the 21 SMA, with the 9 SMA above the 21 SMA, or
Condition 2: The 9 SMA is below the 21 SMA, and the price lies between them.
White Candles (No Clear Signal):
Used when none of the above conditions apply.
Interpreting the Signals:
When you see green candles, the market is showing bullish momentum.
When you see red candles, bearish pressure is dominant.
Yellow candles suggest the market is moving sideways without a strong trend.
White candles mean that none of the specific conditions (bullish, bearish, or sideways) are currently met.
Chart Reference:
The script also plots two moving averages on your chart (a blue line for the 9-period SMA and an orange line for the 21-period SMA). These lines help visualize how price interacts with these averages.
Using the Indicator in Practice:
Once added to your chart, monitor the color of the candlesticks:
Green signals may be opportunities to consider long positions.
Red signals may indicate a good time to consider short positions or tighten stops.
Yellow signals suggest caution as the market isn’t trending strongly.
White candles indicate no strong signal, so it might be a period of consolidation or indecision.
This simple visual cue system allows you to quickly assess market sentiment and make more informed trading decisions based on the relationship between price and the two moving averages.
majikal78
Custom Volume Ratio Indicator
The Custom Volume Ratio Indicator is a unique tool designed for traders to analyze price movements in relation to trading volume. This indicator calculates the ratio of the price range (the difference between the highest and lowest prices of a candle) to the volume of that candle. By visualizing this ratio, traders can gain insights into market dynamics and potential price movements.
Key Features:
1. Price Range Calculation: The indicator computes the price range for each candle by subtracting the lowest price from the highest price. This gives traders an understanding of how much price fluctuated during that specific time frame.
2. Volume Measurement: It utilizes the trading volume of each candle, which reflects the number of shares or contracts traded during that period. Volume is a critical factor in confirming trends and reversals in the market.
3. Ratio Visualization: The primary output of the indicator is the ratio of price range to volume. A higher ratio may indicate increased volatility relative to volume, suggesting potential trading opportunities. Conversely, a lower ratio could imply a more stable market environment.
4. Color-Coded Bars: The bars representing the ratio are color-coded based on the candle's closing price relative to its opening price. Green bars indicate bullish candles (where the close is higher than the open), while red bars indicate bearish candles (where the close is lower than the open). This visual cue helps traders quickly assess market sentiment.
5. Background Highlighting: The indicator also features a subtle background color to enhance visibility, making it easier for traders to focus on key areas of interest on the chart.
Use Cases:
• Trend Confirmation: Traders can use the volume ratio to confirm existing trends. A rising ratio alongside increasing volume may suggest a strong bullish trend, while a declining ratio could indicate weakening momentum.
• Volatility Assessment: By analyzing the price range relative to volume, traders can identify periods of high volatility. This information can be crucial for setting stop-loss orders or determining entry points.
• Market Sentiment Analysis: The color-coded bars provide immediate insight into market sentiment, allowing traders to make informed decisions based on recent price action.
Overall, the Custom Volume Ratio Indicator serves as a valuable addition to any trader's toolkit, providing essential insights into market behavior and helping to inform trading strategies.
Triple MA For Loop [SeerQuant]Triple MA For Loop
The Triple MA For Loop (TMA FL) by SeerQuant is an advanced moving average-based indicator designed to dynamically detect trends through a combination of three smoothed moving averages and iterative evaluation using a for-loop mechanism. This innovative approach enhances trend detection while filtering out noise, providing actionable insights into market trends.
--------------------------------------------------------------------------------------------------
⚙️ How It Works
1️⃣ Triple Moving Average Calculation
This indicator calculates three moving averages (MA1, MA2, MA3) using a customizable moving average type, such as SMA, EMA, SMMA, WMA, and more. These are combined mathematically to derive the Triple Moving Average (TMA), which smooths trends while remaining responsive to market shifts.
2️⃣ Iterative For-Loop Evaluation
The TMA is passed through a for-loop, iterating over a user-defined range to calculate a cumulative trend score. This score reflects the balance between bullish and bearish signals across the looped period.
3️⃣ Threshold Logic
The trend score is compared against customizable Uptrend and Downtrend thresholds to determine the current market regime:
Bullish (Uptrend): When the score exceeds the upward threshold.
Bearish (Downtrend): When the score falls below the downward threshold.
Neutral: When the score lies between thresholds.
4️⃣ Dynamic Visual Representation
Line: A colored histogram represents the trend score, dynamically adjusting based on market conditions.
Candlestick Coloring: Optional candle coloring visually enhances trend identification on the chart.
Signals: Arrow markers highlight transitions into bullish or bearish states for clear, actionable signals.
--------------------------------------------------------------------------------------------------
✨ Customizable Settings
1. Moving Average Settings:
Choose from various MA types (SMA, EMA, SMMA, etc.)
Set the length and source for MA calculations.
2. For-Loop Settings:
Define loop start, end, and thresholds for trend detection.
3. Style Settings:
Toggle candle coloring for better visualization.
Select from five unique color schemes to match your chart style.
--------------------------------------------------------------------------------------------------
🚀 Features and Benefits
Dynamic Trend Detection: Detects market trends with precision using iterative for-loop calculations.
Visual Clarity: Color-coded oscillator, candles, and threshold levels for intuitive trend identification.
Highly Customizable: Adapt to your trading style with flexible inputs and multiple moving average options.
--------------------------------------------------------------------------------------------------
📜 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 with a licensed financial advisor before making trading decisions. Use at your own risk.
--------------------------------------------------------------------------------------------------
Vertical Line Timeline by SymphonyTraderThis indicator will allow you to plot 5 different vertical lines for a time that you specify, including intervals less than 1 hour.
For example, for 9:00 am you would use 9 and for 9:30 am you would use 9.5.
It also has a Timezone offset, so that you can completely customize the indicator to match what timezone you have displayed on your charts.
PGO For Loop | mad_tiger_slayerPGO For Loop Indicator
The PGO For Loop indicator, inspired by Alex Orekhov's "Pretty Good Oscillator," and indicator originally made by Mark Johnson, the PGO designed as a fast and responsive tool to capture quick price movements in financial markets. This oscillator leverages a combination of moving averages and Average True Range (ATR) to measure price deviations, providing a concise yet powerful framework for identifying potential trade entry and exit points. What makes this
"enhanced" PGO indicator special is its ability to identify trending periods more accurately. By using thresholds, this allows the script to enter accurate long and short conditions extremely quickly.
Intended Uses:
Used to capture long-term trends:
Used to identify quick reversals:
Used on higher timeframes above 8hrs for more accurate signals
Used in strategies to enter and exit trades quickly
Can be used for Scalping
NOT Intended Uses:
Not to be used as Mean Reversion
Not to be used as valuation (Overbought or Oversold)
Key Features:
Quick Detection of Market Movements:
The indicator's primary focus is on speed, making it suitable for medium-term traders looking to capitalize on rapid price changes. It is particularly effective in trending or volatile markets.
Customizable Thresholds:
Users can set upper and lower thresholds to define long and short conditions, offering flexibility to adapt the indicator to different trading styles and asset classes.
Noisy but Purposeful:
While the PGO For Loop may generate frequent signals, it is specifically tuned for traders aiming to enter and exit trades quickly, embracing the noise as part of its effectiveness in capturing rapid market dynamics.
Integrated Visuals:
The script plots key levels and provides dynamic visual feedback through colored candles and shapes, enabling intuitive and quick decision-making.
How It Works:
Oscillator Calculation:
The PGO value is derived by comparing the source price's deviation from its moving average to the ATR. This highlights price movements relative to recent volatility.
Signal Identification:
When the oscillator exceeds the upper threshold, it signals potential long opportunities UNTIL the PGO reaches the lower threshold.
When the oscillator drops below the lower threshold, it signals potential short opportunities UNTIL the oscillator reaches above the upper threshold.
No signals occur when the oscillator lies between these thresholds.
Visual Cues:
Color-coded candles indicate market bias (green for long, red for short, gray for neutral).
Upward and downward triangles highlight changes in signal direction.
Note:
This indicator is intentionally "noisy," as it prioritizes capturing fast movements over filtering out minor fluctuations. Users should pair it with other tools or techniques to confirm signals and manage risk effectively.
Cross Alert with Configurable Rectangles**Description:**
This TradingView script, **"Cross Alert with Configurable Rectangles"**, is a technical analysis tool designed to help traders visualize and analyze market trends effectively. It combines configurable moving averages with customizable timeframe-based rectangles for highlighting price ranges.
### Features:
1. **Moving Averages:**
- Calculates and plots an Exponential Moving Average (EMA) and a Simple Moving Average (SMA) based on user-defined lengths.
- Provides both short and long moving averages to identify potential trend reversals or confirmations.
2. **Customizable Timeframe Rectangles:**
- Dynamically draws rectangles around price action based on user-selected timeframes: **Hourly (60 minutes), Daily, Weekly, or Monthly.**
- Automatically updates the rectangles to reflect high and low price levels within the selected timeframe.
- Customizable rectangle color and transparency for better chart visibility.
3. **Dynamic Line Projections:**
- Projects the trend of the long and short moving averages forward in time to help anticipate price movements.
### Use Case:
This script is ideal for traders who want to:
- Identify key support and resistance levels within different timeframes.
- Analyze price behavior relative to moving averages.
- Spot potential trend changes by observing price interaction with the moving averages and timeframe rectangles.
The script is fully configurable, allowing traders to adapt it to their trading strategy and preferences.
X.Y Format Candle Volume & CompressionThe Volume & Compression Indicator is designed to help traders identify significant market moves by displaying two key metrics above each candle. The top number represents the Volume Ratio, which compares the current candle's volume to the average volume of recent candles. For example, a reading of 2.5 means the current volume is 2.5 times higher than average. When volume exceeds 9.9 times the average, the indicator displays an up or down arrow instead of a number, indicating extremely high volume in that direction.
The bottom number shows the Compression Ratio, which measures the relationship between volume and price movement. This helps identify when large amounts of volume are moving price significantly (low compression) versus when high volume isn't resulting in much price movement (high compression). High compression often indicates accumulation or distribution phases, while low compression with high volume typically suggests strong directional moves.
The indicator includes visual cues to help spot patterns. Dots appear above candles when both high volume and high compression persist over several candles, potentially indicating accumulation phases. Arrows mark possible pivot points after these accumulation periods. Additionally, the candles themselves can display a gradient color that intensifies with increased compression, making it easier to spot areas of interest.
For trading purposes, watch for volume spikes (top number above 2.0) as they can signal potential reversal points or confirm breakouts. High compression readings might precede breakouts, while low compression with high volume often confirms strong trend moves. The most significant signals often come when both metrics show high readings over multiple candles, suggesting sustained institutional interest.
[MAD] Weighted Trend Detector--> Purpose
The Weighted Trend Detector evaluates market direction by combining multiple technical indicators (RSI, MACD, Moving Averages, ADX, and Volume) across up to three different timeframes.
It calculates an overall trend score to help visualize whether conditions are bullish, bearish, or neutral.
--> Scaling & Weightings
Each component indicator contributes a score between -1.0 and +1.0. User-defined weights (e.g., 0.2 for RSI, 0.3 for MACD) determine how much each indicator influences the final score. An adaptive scaling mechanism ensures extreme values remain in view by dynamically setting the minimum and maximum of the score range over a specified lookback period.
--> Basic Parameters of Individual Indicators
RSI Period: Number of bars for the Relative Strength Index calculation; higher values smooth out noise but may lag.
MACD Fast/Slow/Signal: EMA-based periods to identify momentum shifts. A shorter “Fast” length reacts quickly, while a longer “Slow” length is smoother.
Moving Averages (Short & Long Lengths): Simple Moving Averages used to gauge shorter- vs. longer-term price direction.
ADX Length: Defines how many bars are considered when measuring trend strength. Higher values produce smoother ADX lines.
Volume MA Length: Period over which the average volume is calculated to compare against current volume.
--> Colors & How They Are Mixed
The background color scales from a negative color (for lower scores) to a positive color (for higher scores).
Near the highest or lowest parts of the score range, additional blending occurs if the slope (change in score) reverses:
Turning Down: Mixes with a user-chosen “warning” color if the score is high but moving lower.
Turning Up: Mixes with a user-chosen “recovery” color if the score is low but moving higher.
All colors (including line and label text) can be adjusted in the script’s inputs to suit personal preferences.colors are customizable via inputs.
Have fun :-)
PENTAD THEORY 30 MINUTE INITIAL BALANCE With Candle HighlightThis indicator is designed to highlight the 30-minute initial balance range, visualize key retracement levels, and provide insights into market behavior based on defined conditions. It also enhances clarity by applying specific color changes to the :06 and :36 minute candle in relative 30-minute intervals.
Key Features:
Initial Balance Box:
Automatically creates a price range (box) representing the first 6 minutes of each 30-minute interval.
The box dynamically updates during this period to capture the high and low prices.
Color-Coded Zones:
Inside the Box: Yellow background indicates price trading within the range.
Above the Box: Green background shows price breaking above the range.
Below the Box: Red background reflects price breaking below the range.
EMA Overlay:
Plots 3 customizable EMAs (default lengths: 9, 21, 55).
Each EMA can be toggled on/off and colored individually for trend analysis.
Retracement Levels:
Automatically calculates and displays key Fibonacci retracement levels (61.8% and 38.2%) based on the box size.
Adds a midline for additional price reference.
Candle Highlighting:
The :06 and :36 minute candle in relative 30-minute intervals is highlighted with a customizable blue color to draw attention to specific market activity.
The break above or below the 6 minute candle or the close of the 6 minute candle outside the box can help determine the direction of the 30-minute interval.
How to Use:
Trend Confirmation:
Use the EMAs to identify overall trend direction. For example, a bullish trend is indicated when shorter EMAs (e.g., 9 EMA) are above longer ones (e.g., 55 EMA).
Breakout and Retracement Analysis:
Watch for price breaking out of the initial balance box.
Observe retracement levels (61.8% and 38.2%) as potential areas for reversal or continuation.
Candle Highlight:
Pay special attention to the :06 or :36 minute candle, which is highlighted to signify its relevance in the relative 30-minute cycle.
Customization:
Adjust colors and EMA settings via the input menu to align with your trading style and chart aesthetics.
Ideal For:
Intraday traders looking to analyze initial balance ranges.
Traders focused on breakout, retracement, and trend-following strategies.
Those who benefit from visual clarity and real-time market insights.
Notes:
Ensure your chart is set to a 3-minute timeframe or lower for optimal performance.
This indicator is most effective when combined with other confluence factors, such as support/resistance zones and volume analysis.
JJ Highlight Time Ranges with First 5 Minutes and LabelsTo effectively use this Pine Script as a day trader , here’s how the various elements can help you manage trades, track time sessions, and monitor price movements:
Key Components for a Day Trader:
1. First 5-Minute Highlight:
- Purpose: Day traders often rely on the first 5 minutes of the trading session to gauge market sentiment, watch for opening price gaps, or plan entries. This script draws a horizontal line at the high or low of the first 5 minutes, which can act as a key level for the rest of the day.
- How to Use: If the price breaks above or below the first 5-minute line, it can signal momentum. You might enter a long position if the price breaks above the first 5-minute high or a short if it breaks below the first 5-minute low.
2. Session Time Highlights:
- Morning Session (9:15–10:30 AM): The market often shows its strongest price action during the first hour of trading. This session is highlighted in yellow. You can use this highlight to focus on the most volatile period, as this is when large institutional moves tend to occur.
- Afternoon Session (12:30–2:55 PM): The blue highlight helps you track the mid-afternoon session, where liquidity may decrease, and price action can sometimes be choppier. Day traders should be more cautious during this period.
- How to Use: By highlighting these key times, you can:
- Focus on key breakouts during the morning session.
- Be more conservative in your trades during the afternoon, as market volatility may drop.
3. Dynamic Labels:
- Top/Bottom Positioning: The script places labels dynamically based on the selected position (Top or Bottom). This allows you to quickly glance at the session's start and identify where you are in terms of time.
- How to Use: Use these labels to remind yourself when major time segments (morning or afternoon) begin. You can adjust your trading strategy depending on the session, e.g., being more aggressive in the morning and more cautious in the afternoon.
Trading Strategy Suggestions:
1. Momentum Trades:
- After the first 5 minutes, use the high/low of that period to set up breakout trades.
- Long Entry: If the price breaks the high of the first 5 minutes (especially if there's a strong trend).
- Short Entry: If the price breaks the low of the first 5 minutes, signaling a potential downtrend.
2. Session-Based Strategy:
- Morning Session (9:15–10:30 AM):
- Look for strong breakout patterns such as support/resistance levels, moving average crossovers, or candlestick patterns (like engulfing candles or pin bars).
- This is a high liquidity period, making it ideal for executing quick trades.
- Afternoon Session (12:30–2:55 PM):
- The market tends to consolidate or show less volatility. Scalping and mean-reversion strategies work better here.
- Avoid chasing big moves unless you see a clear breakout in either direction.
3. Support and Resistance:
- The first 5-minute high/low often acts as a key support or resistance level for the rest of the day. If the price holds above or below this level, it’s an indication of trend continuation.
4. Breakout Confirmation:
- Look for breakouts from the highlighted session time ranges (e.g., 9:15 AM–10:30 AM or 12:30 PM–2:55 PM).
- If a breakout happens during a key time window, combine that with other technical indicators like volume spikes , RSI , or MACD for confirmation.
---
Example Day Trader Usage:
1. First 5 Minutes Strategy: After the market opens at 9:15 AM, watch the price action for the first 5 minutes. The high and low of these 5 minutes are critical levels. If the price breaks above the high of the first 5 minutes, it might indicate a strong bullish trend for the day. Conversely, breaking below the low may suggest bearish movement.
2. Morning Session: After the first 5 minutes, focus on the **9:15 AM–10:30 AM** window. During this time, look for breakout setups at key support/resistance levels, especially when paired with high volume or momentum indicators. This is when many institutions make large trades, so price action tends to be more volatile and predictable.
3. Afternoon Session: From 12:30 PM–2:55 PM, the market might experience lower volatility, making it ideal for scalping or range-bound strategies. You could look for reversals or fading strategies if the market becomes too quiet.
Conclusion:
As a day trader, you can use this script to:
- Track and react to key price levels during the first 5 minutes.
- Focus on high volatility in the morning session (9:15–10:30 AM) and **be cautious** during the afternoon.
- Use session-based timing to adjust your strategies based on the time of day.
Jenkins Square Root Levels Square Root Levels with Fixed Spacing (Extended Lines)
This script calculates and displays horizontal levels based on the square root of a price point. It offers two calculation modes, Octave System and Square Root Multiples, allowing traders to identify key support and resistance levels derived from price harmonics.
The methodology is inspired by the teachings of Michael Jenkins, to whom I owe much gratitude for sharing his profound insights into the geometric principles of trading.
Features and Functions
1. Calculation Modes
Octave System:
Divides the square root range into specified steps, called "octave divisions."
Each division calculates levels proportionally or evenly spaced, depending on the selected spacing mode.
Multiple repetitions (or multiples) extend these levels upward, downward, or both.
Square Root Multiples:
Adds or subtracts multiples of the square root of the price point to create levels.
These multiples act as harmonics of the original square root, providing meaningful levels for price action.
2. Spacing Modes
Proportional: Levels are scaled proportionally with each multiple, resulting in increasing spacing as multiples grow.
Even: Levels are spaced equally, maintaining a consistent distance regardless of the multiple.
3. Direction
Up: Calculates levels above the price point only.
Down: Calculates levels below the price point only.
Both: Displays levels on both sides of the price point.
4. Customization Options
Price Point: Enter any key high, low, or other significant price point to anchor the calculations.
Octave Division: Adjust the number of divisions within the octave (e.g., 4 for quarter-steps, 8 for eighth-steps).
Number of Multiples: Set how far the levels should extend (e.g., 3 for 3 repetitions of the octave or square root multiples).
5. Visualization
The calculated levels are plotted as horizontal lines that extend across the chart.
Lines are sorted and plotted dynamically for clarity, with spacing adjusted according to the chosen parameters.
Acknowledgments
This script is based on the trading methodologies and geometric insights shared by Michael S. Jenkins. His work has profoundly influenced my understanding of price action and the role of harmonics in trading. Thank you, Michael Jenkins, for your invaluable teachings.
DRSI by Cryptos RocketDRSI by Cryptos Rocket - Relative Strength Index (RSI) Indicator with Enhancements
This script is a custom implementation of the Relative Strength Index (RSI) indicator, designed with several advanced features to provide traders with additional insights. It goes beyond the traditional RSI by including moving averages, Bollinger Bands, divergence detection, dynamic visualization and improved alert functions.
________________________________________
Key Features
1. RSI Calculation
The RSI is a momentum oscillator that measures the speed and change of price movements. It ranges from 0 to 100 and is calculated as:
• RSI = 100−(1001+Average GainAverage Loss)100 - \left( \frac{100}{1 + \frac{\text{Average Gain}}{\text{Average Loss}}} \right)
This script allows users to:
• Set the RSI length (default: 14).
• Choose the price source for calculation (e.g., close, open, high, low).
________________________________________
2. Dynamic Visualization
• Background Gradient Fill:
o Overbought zones (above 70) are highlighted in red.
o Oversold zones (below 30) are highlighted in green.
• These gradients visually indicate potential reversal zones.
________________________________________
3. Moving Averages
The script provides a range of moving average options to smooth the RSI:
• Types: SMA, EMA, SMMA (RMA), WMA, VWMA, and SMA with Bollinger Bands.
• Customizable Length: Users can set the length of the moving average.
• Bollinger Bands: Adds standard deviation bands around the SMA for volatil
ity analysis.
________________________________________
4. Divergence Detection
This feature identifies potential price reversals by comparing price action with RSI behavior:
• Bullish Divergence: When price forms lower lows but RSI forms higher lows.
• Bearish Divergence: When price forms higher highs but RSI forms lower highs.
Features include:
• Labels ("Bull" and "Bear") on the chart marking detected divergences.
• Alerts for divergences synchronized with plotting for timely notifications.
________________________________________
5. Custom Alerts
The script includes alert conditions for:
• Regular Bullish Divergence
• Regular Bearish Divergence
These alerts trigger when divergences are detected, helping traders act promptly.
________________________________________
Customization Options
Users can customize various settings:
1. RSI Settings:
o Length of the RSI.
o Price source for calculation.
o Enable or disable divergence detection (enabled by default).
2. Moving Average Settings:
o Type and length of the moving average.
o Bollinger Band settings (multiplier and standard deviation).
________________________________________
Use Cases
1. Overbought and Oversold Conditions:
o Identify potential reversal points in extreme RSI zones.
2. Divergences:
o Detect discrepancies between price and RSI to anticipate trend changes.
3. Volatility Analysis:
o Utilize Bollinger Bands around the RSI for added context on market conditions.
4. Trend Confirmation:
o Use moving averages to smooth RSI and confirm trends.
________________________________________
How to Use
1. Add the indicator to your chart.
2. Customize the settings based on your trading strategy.
3. Look for:
o RSI crossing overbought/oversold levels.
o Divergence labels for potential reversals.
o Alerts for automated notifications.
________________________________________
DRSI by Cryptos Rocket combines classic momentum analysis with modern tools, making it a versatile solution for technical traders looking to refine their strategies.
MMXM ICT [TradingFinder] Market Maker Model PO3 CHoCH/CSID + FVG🔵 Introduction
The MMXM Smart Money Reversal leverages key metrics such as SMT Divergence, Liquidity Sweep, HTF PD Array, Market Structure Shift (MSS) or (ChoCh), CISD, and Fair Value Gap (FVG) to identify critical turning points in the market. Designed for traders aiming to analyze the behavior of major market participants, this setup pinpoints strategic areas for making informed trading decisions.
The document introduces the MMXM model, a trading strategy that identifies market maker activity to predict price movements. The model operates across five distinct stages: original consolidation, price run, smart money reversal, accumulation/distribution, and completion. This systematic approach allows traders to differentiate between buyside and sellside curves, offering a structured framework for interpreting price action.
Market makers play a pivotal role in facilitating these movements by bridging liquidity gaps. They continuously quote bid (buy) and ask (sell) prices for assets, ensuring smooth trading conditions.
By maintaining liquidity, market makers prevent scenarios where buyers are left without sellers and vice versa, making their activity a cornerstone of the MMXM strategy.
SMT Divergence serves as the first signal of a potential trend reversal, arising from discrepancies between the movements of related assets or indices. This divergence is detected when two or more highly correlated assets or indices move in opposite directions, signaling a likely shift in market trends.
Liquidity Sweep occurs when the market targets liquidity in specific zones through false price movements. This process allows major market participants to execute their orders efficiently by collecting the necessary liquidity to enter or exit positions.
The HTF PD Array refers to premium and discount zones on higher timeframes. These zones highlight price levels where the market is in a premium (ideal for selling) or discount (ideal for buying). These areas are identified based on higher timeframe market behavior and guide traders toward lucrative opportunities.
Market Structure Shift (MSS), also referred to as ChoCh, indicates a change in market structure, often marked by breaking key support or resistance levels. This shift confirms the directional movement of the market, signaling the start of a new trend.
CISD (Change in State of Delivery) reflects a transition in price delivery mechanisms. Typically occurring after MSS, CISD confirms the continuation of price movement in the new direction.
Fair Value Gap (FVG) represents zones where price imbalance exists between buyers and sellers. These gaps often act as price targets for filling, offering traders opportunities for entry or exit.
By combining all these metrics, the Smart Money Reversal provides a comprehensive tool for analyzing market behavior and identifying key trading opportunities. It enables traders to anticipate the actions of major players and align their strategies accordingly.
MMBM :
MMSM :
🔵 How to Use
The Smart Money Reversal operates in two primary states: MMBM (Market Maker Buy Model) and MMSM (Market Maker Sell Model). Each state highlights critical structural changes in market trends, focusing on liquidity behavior and price reactions at key levels to offer precise and effective trading opportunities.
The MMXM model expands on this by identifying five distinct stages of market behavior: original consolidation, price run, smart money reversal, accumulation/distribution, and completion. These stages provide traders with a detailed roadmap for interpreting price action and anticipating market maker activity.
🟣 Market Maker Buy Model
In the MMBM state, the market transitions from a bearish trend to a bullish trend. Initially, SMT Divergence between related assets or indices reveals weaknesses in the bearish trend. Subsequently, a Liquidity Sweep collects liquidity from lower levels through false breakouts.
After this, the price reacts to discount zones identified in the HTF PD Array, where major market participants often execute buy orders. The market confirms the bullish trend with a Market Structure Shift (MSS) and a change in price delivery state (CISD). During this phase, an FVG emerges as a key trading opportunity. Traders can open long positions upon a pullback to this FVG zone, capitalizing on the bullish continuation.
🟣 Market Maker Sell Model
In the MMSM state, the market shifts from a bullish trend to a bearish trend. Here, SMT Divergence highlights weaknesses in the bullish trend. A Liquidity Sweep then gathers liquidity from higher levels.
The price reacts to premium zones identified in the HTF PD Array, where major sellers enter the market and reverse the price direction. A Market Structure Shift (MSS) and a change in delivery state (CISD) confirm the bearish trend. The FVG then acts as a target for the price. Traders can initiate short positions upon a pullback to this FVG zone, profiting from the bearish continuation.
Market makers actively bridge liquidity gaps throughout these stages, quoting continuous bid and ask prices for assets. This ensures that trades are executed seamlessly, even during periods of low market participation, and supports the structured progression of the MMXM model.
The price’s reaction to FVG zones in both states provides traders with opportunities to reduce risk and enhance precision. These pullbacks to FVG zones not only represent optimal entry points but also create avenues for maximizing returns with minimal risk.
🔵 Settings
Higher TimeFrame PD Array : Selects the timeframe for identifying premium/discount arrays on higher timeframes.
PD Array Period : Specifies the number of candles for identifying key swing points.
ATR Coefficient Threshold : Defines the threshold for acceptable volatility based on ATR.
Max Swing Back Method : Choose between analyzing all swings ("All") or a fixed number ("Custom").
Max Swing Back : Sets the maximum number of candles to consider for swing analysis (if "Custom" is selected).
Second Symbol for SMT : Specifies the second asset or index for detecting SMT divergence.
SMT Fractal Periods : Sets the number of candles required to identify SMT fractals.
FVG Validity Period : Defines the validity duration for FVG zones.
MSS Validity Period : Sets the validity duration for MSS zones.
FVG Filter : Activates filtering for FVG zones based on width.
FVG Filter Type : Selects the filtering level from "Very Aggressive" to "Very Defensive."
Mitigation Level FVG : Determines the level within the FVG zone (proximal, 50%, or distal) that price reacts to.
Demand FVG : Enables the display of demand FVG zones.
Supply FVG : Enables the display of supply FVG zones.
Zone Colors : Allows customization of colors for demand and supply FVG zones.
Bottom Line & Label : Enables or disables the SMT divergence line and label from the bottom.
Top Line & Label : Enables or disables the SMT divergence line and label from the top.
Show All HTF Levels : Displays all premium/discount levels on higher timeframes.
High/Low Levels : Activates the display of high/low levels.
Color Options : Customizes the colors for high/low lines and labels.
Show All MSS Levels : Enables display of all MSS zones.
High/Low MSS Levels : Activates the display of high/low MSS levels.
Color Options : Customizes the colors for MSS lines and labels.
🔵 Conclusion
The Smart Money Reversal model represents one of the most advanced tools for technical analysis, enabling traders to identify critical market turning points. By leveraging metrics such as SMT Divergence, Liquidity Sweep, HTF PD Array, MSS, CISD, and FVG, traders can predict future price movements with precision.
The price’s interaction with key zones such as PD Array and FVG, combined with pullbacks to imbalance areas, offers exceptional opportunities with favorable risk-to-reward ratios. This approach empowers traders to analyze the behavior of major market participants and adopt professional strategies for entry and exit.
By employing this analytical framework, traders can reduce errors, make more informed decisions, and capitalize on profitable opportunities. The Smart Money Reversal focuses on liquidity behavior and structural changes, making it an indispensable tool for financial market success.
SV Volatility Indicator BasicThe SV Volatility Indicator Basic in TradingView calculates and visualizes daily and average volatility over specified periods using three lines. Here’s what it does:
1. Daily Volatility Calculation. The indicator computes daily volatility as the percentage difference between the high and low prices relative to the closing price:
2. 30-day Moving Average of Volatility. A simple moving average (SMA) is applied to the daily volatility values over the last 30 days to smooth short-term fluctuations.
3. 90-day Moving Average of Volatility. Similarly, an SMA is calculated over the last 90 days to provide a longer-term view of volatility trends.
4. Visualization:
Three lines are plotted:
Red line: Represents the daily volatility in percentage terms.
Blue line: Displays the 30-day moving average of volatility.
Green line: Shows the 90-day moving average of volatility.
This indicator helps traders analyze market volatility by providing both immediate (daily) and smoothed (30-day and 90-day) measures, aiding in trend identification and risk assessment.
Thrax - Pullback based short side scalping⯁ This indicator is built for short trades only.
⤞ Pullback based scalping is a strategy where a trader anticipates a pullback and makes a quick scalp in this pullback. This strategy usually works in a ranging market as probability of pullbacks occurrence in ranging market is quite high.
⤞ The strategy is built by first determining a possible candidate price levels having high chance of pullbacks. This is determined by finding out multiple rejection point and creating a zone around this price. A rejection is considered to be valid only if it comes to this zone after going down by a minimum pullback percentage. Once the price has gone down by this minimum pullback percentage multiple times and reaches the zone again chances of pullback goes high and an indication on chart for the same is given.
⯁ Inputs
⤞ Zone-Top : This input parameter determines the upper range for the price zone.
⤞ Zone bottom : This input parameter determines the lower range for price zone.
⤞ Minimum Pullback : This input parameter determines the minimum pullback percentage required for valid rejection. Below is the recommended settings
⤞ Lookback : lookback period before resetting all the variables
⬦Below is the recommended settings across timeframes
⤞ 15-min : lookback – 24, Pullback – 2, Zone Top Size %– 0.4, Zone Bottom Size % – 0.2
⤞ 5-min : lookback – 50, pullback – 1% - 1.5%, Zone Top Size %– 0.4, Zone Bottom Size % – 0.2
⤞ 1-min : lookback – 100, pullback – 1%, Zone Top Size %– 0.4, Zone Bottom Size % – 0.2
⤞ Anything > 30-min : lookback – 11, pullback – 3%, Zone Top Size %– 0.4, Zone Bottom Size % – 0.2
✵ This indicator gives early pullback detection which can be used in below ways
1. To take short trades in the pullback.
2. To use this to exit an existing position in the next few candles as pullback may be incoming.
📌 Kindly note, it’s not necessary that pullback will happen at the exact point given on the chart. Instead, the indictor gives you early signals for the pullback
⯁ Trade Steup
1. Wait for pullback signal to occur on the chart.
2. Once the pullback warning has been displayed on the chart, you can either straight away enter the short position or wait for next 2-4 candles for initial sign of actual pullback to occurrence.
3. Once you have initiated short trade, since this is pullback-based strategy, a quick scalp should be made and closed as price may resume it’s original direction. If you have risk appetite you can stay in the trade longer and trial the stops if price keeps pulling back.
4. You can zone top as your stop, usually zone top + some% should be used as stop where ‘some %’ is based on your risk appetite.
5. It’s important to note that this indicator gives early sings of pullback so you may actually wait for 2-3 candles post ‘Pullback warning’ occurs on the chart before entering short trade.
NVOL Normalized Volume & VolatilityOVERVIEW
Plots a normalized volume (or volatility) relative to a given bar's typical value across all charted sessions. The concept is similar to Relative Volume (RVOL) and Average True Range (ATR), but rather than using a moving average, this script uses bar data from previous sessions to more accurately separate what's normal from what's anomalous. Compatible on all timeframes and symbols.
Having volume and volatility processed within a single indicator not only allows you to toggle between the two for a consistent data display, it also allows you to measure how correlated they are. These measurements are available in the data table.
DATA & MATH
The core formula used to normalize each bar is:
( Value / Basis ) × Scale
Value
The current bar's volume or volatility (see INPUTS section). When set to volume, it's exactly what you would expect (the volume of the bar). When set to volatility, it's the bar's range (high - low).
Basis
A statistical threshold (Mean, Median, or Q3) plus a Sigma multiple (standard deviations). The default is set to the Mean + Sigma × 3 , which represents 99.7% of data in a normal distribution. The values are derived from the current bar's equivalent in other sessions. For example, if the current bar time is 9:30 AM, all previous 9:30 AM bars would be used to get the Mean and Sigma. Thus Mean + Sigma × 3 would represent the Normal Bar Vol at 9:30 AM.
Scale
Depends on the Normalize setting, where it is 1 when set to Ratio, and 100 when set to Percent. This simply determines the plot's scale (ie. 0 to 1 vs. 0 to 100).
INPUTS
While the default configuration is recommended for a majority of use cases (see BEST PRACTICES), settings should be adjusted so most of the Normalized Plot and Linear Regression are below the Signal Zone. Only the most extreme values should exceed this area.
Normalize
Allows you to specify what should be normalized (Volume or Volatility) and how it should be measured (as a Ratio or Percentage). This sets the value and scale in the core formula.
Basis
Specifies the statistical threshold (Mean, Median, or Q3) and how many standard deviations should be added to it (Sigma). This is the basis in the core formula.
Mean is the sum of values divided by the quantity of values. It's what most people think of when they say "average."
Median is the middle value, where 50% of the data will be lower and 50% will be higher.
Q3 is short for Third Quartile, where 75% of the data will be lower and 25% will be higher (think three quarters).
Sample
Determines the maximum sample size.
All Charted Bars is the default and recommended option, and ignores the adjacent lookback number.
Lookback is not recommended, but it is available for comparisons. It uses the adjacent lookback number and is likely to produce unreliable results outside a very specific context that is not suitable for most traders. Normalization is not a moving average. Unless you have a good reason to limit the sample size, do not use this option and instead use All Charted Bars .
Show Vol. name on plot
Overlays "VOLUME" or "VOLATILITY" on the plot (whichever you've selected).
Lin. Reg.
Polynomial regressions are great for capturing non-linear patterns in data. TradingView offers a "linear regression curve", which this script uses as a substitute. If you're unfamiliar with either term, think of this like a better moving average.
You're able to specify the color, length, and multiple (how much to amplify the value). The linear regression derives its value from the normalized values.
Norm. Val.
This is the color of the normalized value of the current bar (see DATA & MATH section). You're able to specify the default, within signal, and beyond signal colors. As well as the plot style.
Fade in colors between zero and the signal
Programmatically adjust the opacity of the primary plot color based on it's normalized value. When enabled, values equal to 0 will be fully transparent, become more opaque as they move away from 0, and be fully opaque at the signal. Adjusting opacity in this way helps make difference more obvious.
Plot relative to bar direction
If enabled, the normalized value will be multiplied by -1 when a bar's open is greater than the bar's close, mirroring price direction.
Technically volume and volatility are directionless. Meaning there's really no such thing as buy volume, sell volume, positive volatility, or negative volatility. There is just volume (1 buy = 1 sell = 1 volume) and volatility (high - low). Even so, visually reflecting the net effect of pricing pressure can still be useful. That's all this setting does.
Sig. Zone
Signal zones make identifying extremes easier. They do not signal if you should buy or sell, only that the current measurement is beyond what's normal. You are able to adjust the color and bounds of the zone.
Int. Levels
Interim levels can be useful when you want to visually bracket values into high / medium / low. These levels can have a value anywhere between 0 and 1. They will automatically be multiplied by 100 when the scale is set to Percent.
Zero Line
This setting allows you to specify the visibility of the zero line to best suit your trading style.
Volume & Volatility Stats
Displays a table of core values for both volume and volatility. Specifically the actual value, threshold (mean, median, or Q3), sigma (standard deviation), basis, normalized value, and linear regression.
Correlation Stats
Displays a table of correlation statistics for the current bar, as well as the data set average. Specifically the coefficient, R2, and P-Value.
Indices & Sample Size
Displays a table of mixed data. Specifically the current bar's index within the session, the current bar's index within the sample, and the sample size used to normalize the current bar's value.
BEST PRACTICES
NVOL can tell you what's normal for 9:30 AM. RVOL and ATR can only tell you if the current value is higher or lower than a moving average.
In a normal distribution (bell curve) 99.7% of data occurs within 3 standard deviations of the mean. This is why the default basis is set to "Mean, 3"; it includes the typical day-to-day fluctuations, better contextualizing what's actually normal, minimizing false positives.
This means a ratio value greater than 1 only occurs 0.3% of the time. A series of these values warrants your attention. Which is why the default signal zone is between 1 and 2. Ratios beyond 2 would be considered extreme with the default settings.
Inversely, ratio values less than 1 (the normal daily fluctuations) also tell a story. We should expect most values to occur around the middle 3rd, which is why interim levels default to 0.33 and 0.66, visually simplifying a given move's participation. These can be set to whatever you like and only serve as visual aids for your specific trading style.
It's worth noting that the linear regression oscillates when plotted directionally, which can help clarify short term move exhaustion and continuation. Akin to a relative strength index (RSI), it may be used to inform a trading decision, but it should not be the only factor.
EWMA Volatility Bands
The EWMA Volatility Bands indicator combines an Exponential Moving Average (EMA) and Exponentially Weighted Moving Average (EWMA) of volatility to create dynamic upper and lower price bands. It helps traders identify trends, measure market volatility, and spot extreme conditions. Key features include:
Centerline (EMA): Tracks the trend based on a user-defined period.
Volatility Bands: Adjusted by the square root of volatility, representing potential price ranges.
Percentile Rank: Highlights extreme volatility (e.g., >99% or <1%) with shaded areas between the bands.
This tool is useful for trend-following, risk assessment, and identifying overbought/oversold conditions.