Dynamic VWAP Levels (V1.0)The script calculates bands around the VWAP (Volume Weighted Average Price) using the Average True Range (ATR) to adjust the levels according to market reality. Buy and sell signals are generated when the price crosses these bands.
Customizable Parameters SmoothingLength (SmoothLength): The period used to smooth the levels. A higher value results in smoother bands that are less susceptible to rapid fluctuations.
Use EMA for smoothing?: Selects between using the Exponential Moving Average (EMA) or the Simple Moving Average (SMA) for smoothing.
ATR Length: The period used to calculate the ATR, which determines the frequency.
ATR Multiplier: A multiplier that adjusts the amplitude of the bands around the VWAP.
How the Script Works Calculating VWAP and Bands: The VWAP is calculated to obtain the volume weighted average price.
Bands are created around the VWAP by adding or subtracting a fraction of the ATR to account for the current market variation.
Smoothing Application: Price levels are smoothed to reduce market noise, allowing for better visualization of trends.
Signal Generation: Buy Signal: Generated when price crosses upwards the smoothed lower band (default dp7_smooth).
Sell Signal: Generated when price crosses downwards the smoothed upper band (default dp1_smooth).
แบนด์และแชนแนล
RSI Signal Pro[UgurTash]Introducing RSI Signal Pro for TradingView
RSI Signal Pro is a refined version of the standard Relative Strength Index (RSI) , designed to improve signal accuracy by generating alerts in real-time instead of waiting for multiple candle confirmations. This enhancement allows traders to react faster to market movements while maintaining the familiar RSI structure.
What Makes RSI Signal Pro Unique?
✅ Real-Time RSI Signals: Unlike the traditional RSI, which waits for candle confirmations, this version provides immediate buy and sell signals upon key level crossovers.
✅ Dual Trading Modes: Choose between Simple Mode (standard RSI crossovers) and Advanced Mode (momentum-adjusted signals with price validation).
✅ Customizable RSI-Based Moving Average (MA): Optionally apply SMA, EMA, WMA, or VWMA to smooth RSI fluctuations and identify longer-term trends.
✅ Adaptive Signal Filtering: The Advanced Mode reduces false signals by filtering RSI movements with a momentum threshold and historical RSI validation.
✅ User-Friendly Interface: Simple ON/OFF toggles allow easy customization of the indicator's behavior.
How This Indicator Works
🔹 Simple Mode: Identical to traditional RSI, triggering signals when RSI crosses 30 (bullish) or 70 (bearish).
🔹 Advanced Mode: Uses historical RSI pivots, momentum verification, and price confirmation to refine signal accuracy—ideal for traders looking for more precise entries.
🔹 RSI-Based MA: Optionally overlay moving averages onto the RSI, providing additional trend confirmation.
How to Use RSI Signal Pro
1️⃣ Select a mode: Use Simple Mode for frequent alerts or Advanced Mode for refined signals.
2️⃣ Enable RSI-Based MA: Apply SMA, EMA, WMA, or VWMA to smooth RSI fluctuations.
3️⃣ Set alerts: TradingView notifications allow you to react to real-time RSI movements instantly.
4️⃣ Apply to multiple markets: Effective for crypto, forex, stocks, and commodities.
Why Use RSI Signal Pro Instead of Standard RSI?
While RSI Signal Pro maintains the core functionality of the standard RSI, its real-time signal generation allows traders to make faster decisions without the typical delay caused by waiting for candle confirmations. Additionally, the optional momentum filtering and moving average smoothing ensure fewer false signals and better trade accuracy.
RSI Divergence[UgurTash] – Real-Time📈 RSI Divergence – Real-Time, Adaptive, and Intelligent RSI Divergence Detection
🚀 What Does This Indicator Do?
RSI Divergence is a real-time divergence detection tool that helps traders identify bullish and bearish divergences between price and the Relative Strength Index (RSI). Unlike traditional RSI-based indicators, this script offers:
✅ Real-time detection – No need to wait for bar closes or repainting.
✅ Dynamic time-frame adaptation – The script automatically adjusts RSI settings based on the selected chart time frame.
✅ Multi-layered divergence analysis – Supports short-term, medium-term, and long-term divergence detection with an optional all-term mode that dynamically selects the best configuration.
🛠 How Does It Work?
Pivot-Based Divergence Detection:
The script analyzes pivot points on both price and RSI to determine valid divergences.
Bullish divergence occurs when price forms a lower low but RSI trends higher, indicating potential upward momentum.
Bearish divergence occurs when price forms a higher high but RSI trends lower, signaling possible weakness.
Adaptive RSI Calculation:
The RSI length is dynamically adjusted based on the chosen time frame:
Short-Term: RSI (7) for 1-5 min charts.
Medium-Term: RSI (14) for 15-60 min charts.
Long-Term: RSI (28) for 4H+ charts.
In All-Term Mode, the script automatically determines the best RSI length based on the active chart timeframe.
Smart Visualization & Alerts:
Bullish divergences are marked with green lines & labels.
Bearish divergences are highlighted in red.
Users can customize symbol size, divergence labels, and colors.
Instant alerts notify traders as soon as a divergence is detected.
🎯 How to Use This Indicator?
📌 For Trend Reversals: Look for bullish divergences at key support levels and bearish divergences at resistance zones.
📌 For Trend Continuation: Combine divergence signals with moving averages, volume analysis, or price action strategies to confirm trades.
📌 For Scalping & Swing Trading: Adjust the time-frame settings to match your trading style.
🏆 What Makes This Indicator Original?
🔹 Unlike standard RSI divergence indicators, this script features real-time analysis with no repainting, allowing for instant trading decisions.
🔹 The time-frame adaptive RSI makes it dynamic and suitable for any market condition.
🔹 The multi-term divergence detection offers flexibility, giving traders a precise view of both short-term & long-term market structure.
⚠ Note: No indicator guarantees 100% accuracy. Always use additional confirmations and sound risk management strategies.
If you find this tool useful, don’t forget to support & share! 🚀
Volatility with Sigma BandsOverview
The Volatility Analysis with Sigma Bands indicator is a powerful and flexible tool designed for traders who want to gain deeper insights into market price fluctuations. It calculates historical volatility within a user-defined time range and displays ±1σ, ±2σ, and ±3σ standard deviation bands, helping traders identify potential support, resistance levels, and extreme price behaviors.
Key Features
Multiple Volatility Band Displays:
±1σ Range (Yellow line): Covers approximately 68% of price fluctuations.
±2σ Range (Blue line): Covers approximately 95% of price fluctuations.
±3σ Range (Fuchsia line): Covers approximately 99% of price fluctuations.
Dynamic Probability Mode:
Toggle between standard normal distribution probabilities (68.2%, 95.4%, 99.7%) and actual historical probability calculations, allowing for more accurate analysis tailored to varying market conditions.
Highly Customizable Label Display:
The label shows:
Real-time volatility
Annualized volatility
Current price
Price ranges for each σ level
Users can adjust the label’s position and horizontal offset to prevent it from overlapping key price areas.
Real-Time Calculation & Visualization:
The indicator updates in real-time based on the selected time range and current market data, making it suitable for day trading, swing trading, and long-term trend analysis.
Use Cases
Risk Management:
Understand the distribution probabilities of price within different standard deviation bands to set more effective stop-loss and take-profit levels.
Trend Confirmation:
Determine trend strength or spot potential reversals by observing whether the price breaks above or below ±1σ or ±2σ ranges.
Market Sentiment Analysis:
Price movement beyond the ±3σ range often indicates extreme market sentiment, providing potential reversal opportunities.
Backtesting and Historical Analysis:
Utilize the customizable time range feature to backtest volatility during various periods, providing valuable insights for strategy refinement.
The Volatility Analysis with Sigma Bands indicator is an essential tool for traders seeking to understand market volatility patterns. Whether you're a day trader looking for precise entry and exit points or a long-term investor analyzing market behavior, this indicator provides deep insights into volatility dynamics, helping you make more confident trading decisions.
GM+For a Short Trade:
When a bullish candle (close > open) is larger than the previous candle and the MACD histogram for the past three bars is consecutively lower (suggesting weakening upward momentum), the script enters a short position.
For a Long Trade:
When a bearish candle (close < open) is larger (in body size) than the previous candle and the MACD histogram for the past three bars is consecutively higher (suggesting the downward move is losing strength), the script enters a long position.
Position Management:
There are no stop loss or take profit levels. The position is closed only when an opposite signal appears.
Cryptolabs Global Liquidity Cycle Momentum IndicatorCryptolabs Global Liquidity Cycle Momentum Indicator (LMI-BTC)
This open-source indicator combines global central bank liquidity data with Bitcoin price movements to identify medium- to long-term market cycles and momentum phases. It is designed for traders who want to incorporate macroeconomic factors into their Bitcoin analysis.
How It Works
The script calculates a Liquidity Index using balance sheet data from four central banks (USA: ECONOMICS:USCBBS, Japan: FRED:JPNASSETS, China: ECONOMICS:CNCBBS, EU: FRED:ECBASSETSW), augmented by the Dollar Index (TVC:DXY) and Chinese 10-year bond yields (TVC:CN10Y). This index is:
- Logarithmically scaled (math.log) to better represent large values like central bank balances and Bitcoin prices.
- Normalized over a 50-period range to balance fluctuations between minimum and maximum values.
- Compared to prior-year values, with the number of bars dynamically adjusted based on the timeframe (e.g., 252 for 1D, 52 for 1W), to compute percentage changes.
The liquidity change is analyzed using a Chande Momentum Oscillator (CMO) (period: 24) to measure momentum trends. A Weighted Moving Average (WMA) (period: 10) acts as a signal line. The Bitcoin price is also plotted logarithmically to highlight parallels with liquidity cycles.
Usage
Traders can use the indicator to:
- Identify global liquidity cycles influencing Bitcoin price trends, such as expansive or restrictive monetary policies.
- Detect momentum phases: Values above 50 suggest overbought conditions, below -50 indicate oversold conditions.
- Anticipate trend reversals by observing CMO crossovers with the signal line.
It performs best on higher timeframes like daily (1D) or weekly (1W) charts. The visualization includes:
- CMO line (green > 50, red < -50, blue neutral), signal line (white), Bitcoin price (gray).
- Horizontal lines at 50, 0, and -50 for improved readability.
Originality
This indicator stands out from other momentum tools like RSI or basic price analysis due to:
- Unique Data Integration: Combines four central bank datasets, DXY, and CN10Y as macroeconomic proxies for Bitcoin.
- Dynamic Prior-Year Analysis: Calculates liquidity changes relative to historical values, adjustable by timeframe.
- Logarithmic Normalization: Enhances visibility of extreme values, critical for cryptocurrencies and macro data.
This combination offers a rare perspective on the interplay between global liquidity and Bitcoin, unavailable in other open-source scripts.
Settings
- CMO Period: Default 24, adjustable for faster/slower signals.
- Signal WMA: Default 10, for smoothing the CMO line.
- Normalization Window: Default 50 periods, customizable.
Users can modify these parameters in the Pine Editor to tailor the indicator to their strategy.
Note
This script is designed for medium- to long-term analysis, not scalping. For optimal results, combine it with additional analyses (e.g., on-chain data, support/resistance levels). It does not guarantee profits but supports informed decisions based on macroeconomic trends.
Data Sources
- Bitcoin: INDEX:BTCUSD
- Liquidity: ECONOMICS:USCBBS, FRED:JPNASSETS, ECONOMICS:CNCBBS, FRED:ECBASSETSW
- Additional: TVC:DXY, TVC:CN10Y
RG - Volume Spike DetectorRG - Volume Spike Detector is a comprehensive volume analysis tool designed to help traders identify significant volume activity across different tickers on TradingView. This indicator not only detects overall volume spikes and percentage changes but also approximates and analyzes buying and selling volume separately, providing valuable insights into market dynamics. With customizable parameters, visual cues, and built-in alerts, it's suitable for traders of all levels looking to monitor volume-based market movements.
Features
Volume Spike Detection:
Identifies when total volume exceeds a user-defined multiple of its moving average (default: 2x).
Separate detection for buying and selling volume spikes based on their respective moving averages.
Volume Change Analysis:
Calculates and displays the percentage change in total volume from the previous bar.
Highlights significant increases (>50%) or decreases (<-50%) with alert options.
Buy/Sell Volume Approximation:
Estimates buying and selling volume using price movement and range:
Up bars: Buying volume ≈ volume * (close - low)/(high - low)
Down bars: Selling volume ≈ volume * (close - low)/(high - low)
Handles edge cases (e.g., high = low) to ensure accurate calculations.
Ideal For
Day traders monitoring sudden volume surges
Swing traders analyzing volume trends
Market analysts studying buying vs. selling pressure
This indicator empowers traders with a robust tool to track volume dynamics, offering both visual clarity and actionable alerts for informed decision-making.
Motivational Text TableRelease Notes - Motivational Text Table Indicator v1.0
Standalone Indicator:
A new, standalone Pine Script v6 indicator that displays a motivational text table directly on the chart.
Customizable Text:
Users can set their own motivational message through the "Custom Motivational Text" input.
Configurable Appearance:
Change the text color and background color of the table.
Adjust the text size by choosing from "tiny", "small", "normal", "large", or "huge".
Select the table’s position on the chart from multiple preset locations (e.g., top_left, middle_center, bottom_right, etc.).
Static Display:
The table is drawn on the last bar, ensuring that the motivational text remains static during realtime updates.
User-Friendly Design:
The interface is simple and easy to customize, making it perfect for users who need a daily dose of motivation directly on their TradingView charts.
Enjoy your motivational boost on every chart!
Squeeze Momentum Indicator with Entry Tactics### **Squeeze Momentum Indicator with Stacked EMAs**
#### **Description:**
This indicator is an enhanced version of the **Squeeze Momentum Indicator** (originally by John Carter and later modified by LazyBear). It identifies **periods of consolidation (squeeze)** and signals potential **explosive price moves** when momentum shifts. The added **stacked EMA concept** further refines entry signals by confirming trend strength. This is also an update to version 6 of PineScript
#### **How to Use:**
The indicator provides **three different entry tactics**, allowing traders to choose signals based on their strategy:
1. **Inside Day Pattern** – Detects inside candles, which indicate potential breakouts when volatility contracts.
2. **Consecutive Black Crosses (Squeeze Signal)** – A certain number of black crosses (low volatility periods) suggests a strong move is coming.
3. **Stacked EMA Concept** – When the **8 EMA > 21 EMA > 34 EMA**, combined with a momentum shift from negative to positive, it signals a **high-probability bullish entry**.
#### **Visual Cues:**
- **Histogram Bars**: Show momentum (green for increasing bullish, red for increasing bearish).
- **Black & Gray Dots**: Represent different squeeze states (low volatility vs. breakout conditions).
- **🔥 Bullish Label**: Appears when the stacked EMAs align and momentum shifts from negative to positive.
#### **Best Practices:**
- Look for **momentum shifts during a squeeze** for high-probability trades.
- Use **stacked EMAs as trend confirmation** before entering.
- Combine with **price action and volume analysis** for additional confluence.
This indicator helps traders **anticipate major price moves** rather than react, making it a powerful tool for trend-following and breakout strategies. 🚀
Volume Profile With HVN & LVN detectorVolume Profile Indicator
Based on the works of tradeforopp
Overview
The Volume Profile Indicator is a powerful technical analysis tool that visually represents the distribution of trading volume over price levels within a specified timeframe. It helps traders identify key support and resistance zones, high-volume trading areas, and low-volume rejection zones. The indicator includes customizable settings for Volume Point of Control (VPOC), High Volume Nodes (HVNs), and Low Volume Nodes (LVNs), making it a versatile tool for price action analysis and volume-based decision-making.
Key Features
🔹 Customizable Volume Profile
Adjustable number of rows to define the resolution of the volume profile.
Configurable timeframe aggregation for profile calculation (e.g., Daily, Weekly).
Selectable price resolution timeframe for precise profile construction.
Extendable volume profile for future sessions.
Fully customizable profile color and transparency settings.
🔹 Volume Point of Control (VPOC)
Displays the most traded price level within the selected timeframe.
Option to extend multiple VPOCs across the chart.
Adjustable VPOC line width and color customization.
Option to display VPOC labels when working with higher timeframe profiles.
🔹 High Volume Nodes (HVNs)
Identifies high-volume price levels where significant trading activity has occurred.
Configurable HVN strength to adjust detection sensitivity.
Two display modes:
Lines: Plots HVN levels as horizontal lines.
Areas: Highlights HVN regions with colored boxes.
Separate bullish and bearish HVN color settings.
🔹 Low Volume Nodes (LVNs)
Identifies low-volume price levels, which often act as rejection zones.
Configurable LVN strength to fine-tune detection.
Two display modes:
Lines: Marks LVN levels as horizontal lines.
Areas: Highlights LVN regions with shaded boxes.
Separate bullish and bearish LVN color settings.
🔹 Optimized for Performance
Efficient use of arrays for data storage and retrieval.
Global functions for HVN and LVN detection.
Uses security calls to access lower timeframe price and volume data.
Use Cases
✅ Identify Support & Resistance Levels
The indicator highlights key price levels where significant buying or selling interest exists.
✅ Detect Breakout & Reversal Zones
Low-volume areas (LVNs) often indicate price rejection zones, while high-volume areas (HVNs) suggest strong price acceptance zones.
✅ Improve Trade Entries & Exits
Traders can use the Volume Point of Control (VPOC) and volume clusters to refine entry and exit points.
✅ Enhance Price Action Strategies
By incorporating volume-based analysis, this indicator provides deeper market insights beyond traditional support/resistance and trendlines.
Customization & Settings
📌 Volume Profile Settings:
Rows: Defines the granularity of the volume profile.
Profile Timeframe: Specifies the aggregation period (e.g., Daily, Weekly).
Resolution Timeframe: Determines the price resolution for volume analysis.
Profile Extend %: Controls how much the profile extends into the next session.
📌 Volume Point of Control (VPOC):
Enable/Disable VPOC visualization.
Extend past VPOC levels to the right.
Display VPOC labels for higher timeframe profiles.
Adjustable VPOC line width and color.
📌 High Volume Nodes (HVNs):
Enable/Disable HVN detection.
Define HVN strength (volume threshold).
Choose between Line Mode or Area Mode.
Configure bullish and bearish HVN colors.
📌 Low Volume Nodes (LVNs):
Enable/Disable LVN detection.
Define LVN strength (volume threshold).
Choose between Line Mode or Area Mode.
Configure bullish and bearish LVN colors.
kurd fx Dynamic EMA StrategyDynamic EMA Strategy Explanation
This TradingView Pine Script indicator, "Dynamic EMA Strategy," is designed to plot Exponential Moving Averages (EMAs) dynamically based on the selected timeframe. It adjusts the EMA periods depending on whether the trader is scalping, swing trading, or position trading.
Functionality
1. Defining EMA Periods Based on Timeframe
The script determines appropriate EMA values based on the selected chart timeframe:
Scalping (1m, 3m, 5m)
Uses EMA 9, EMA 21, and EMA 50 for fast-moving market conditions.
Swing Trading (15m, 30m, 45m)
Uses EMA 50 and EMA 100, suitable for medium-term trend identification.
EMA 3 is disabled (na) in this mode.
Position Trading (1H and higher)
Uses EMA 100 and EMA 200 to identify long-term trends.
EMA 3 is disabled (na) in this mode.
2. EMA Calculation
The script calculates EMA values dynamically:
emaLine1 = ta.ema(close, ema1): Computes the first EMA.
emaLine2 = ta.ema(close, ema2): Computes the second EMA.
emaLine3 = not na(ema3) ? ta.ema(close, ema3) : na: Computes the third EMA only if applicable.
3. Plotting the EMAs
The script overlays the EMAs on the chart:
Blue Line (EMA 1) → Represents the fastest EMA.
Orange Line (EMA 2) → Represents the medium EMA.
Red Line (EMA 3) → Represents the slowest EMA (if applicable).
Each EMA is plotted using plot() with a specific color, linewidth of 2, and plot.style_line for a clean visualization.
Use Case
Scalpers can identify short-term momentum changes.
Swing traders can detect medium-term trends.
Position traders can spot long-term market trends.
This strategy helps traders adjust their EMA settings dynamically without manually changing them for different timeframes.
Jumbalika BandsThis indicator is designed using several common technical analysis tools: Bollinger Bands, Exponential Moving Averages (EMAs), and the Parabolic SAR. I'll walk you through each section to explain how it works and how you can use it:
1. Bollinger Bands
Bollinger Bands are used to measure volatility and overbought/oversold conditions. It consists of three lines:
Basis (Middle Line): A simple moving average (SMA) of the price over a defined period (in this case, 20 periods).
Upper Band: The basis plus a certain number of standard deviations. It represents the upper boundary of expected price movement.
Lower Band: The basis minus the same number of standard deviations. It represents the lower boundary of expected price movement.
Interpretation:
Overbought: If the price moves above the upper band, it could signal that the asset is overbought.
Oversold: If the price moves below the lower band, it could signal that the asset is oversold.
Volatility: A wider band indicates higher volatility, and a narrower band indicates lower volatility.
2. Exponential Moving Averages (EMAs)
The indicator plots four different EMAs:
9-period EMA: This is a short-term trend indicator.
20-period EMA on Close: This is another medium-term trend indicator, based on the close price.
20-period EMA on High: A variation of the 20-period EMA, but based on the high prices.
20-period EMA on Low: A variation of the 20-period EMA, but based on the low prices.
Interpretation:
9 EMA: A faster-moving average that responds quicker to price changes. It can be used to identify short-term trends.
20 EMA: A slower-moving average that reacts more gradually to price changes. It helps identify the broader trend.
High/Low EMAs: These give additional insights into the extremes of price action, which can help identify possible support or resistance levels.
Trading signals (common usage):
Crossover: When a shorter EMA (like the 9 EMA) crosses above a longer EMA (like the 20 EMA), it could be a bullish signal. When it crosses below, it could be a bearish signal.
3. Parabolic SAR
The Parabolic SAR is a trend-following indicator that is used to identify potential price reversals. The Parabolic SAR is plotted as a series of dots either above or below the price, depending on the trend:
Below the price: The trend is up (bullish).
Above the price: The trend is down (bearish)
4. Background Coloring (Optional)
The background will change color when the price crosses the Bollinger Bands:
Green background when the price is above the upper Bollinger Band.
Red background when the price is below the lower Bollinger Band.
Adjust the values for Bollinger Bands, EMAs, and Parabolic SAR directly in the indicator settings to suit your trading preferences.
Bollinger Bands: If the price is above the upper band, it might indicate an overbought condition, while if it's below the lower band, it might indicate an oversold condition.
EMAs: The 9 EMA is often used to track short-term trends, while the 20-period EMAs (on the close, high, and low) help analyze the broader market trend.
Parabolic SAR: The Parabolic SAR is often used to identify trend reversals. If the SAR is below the price, the trend is up, and if it's above the price, the trend is down.
Background Color: The background coloring helps visually highlight potential market conditions when the price breaks out of the Bollinger Bands.
Example Use Case:
Decide the trend based on the parabolic SAR, when the bar touches the upper or lower Bollinger take a short or long position based on the price action using EMAs.
Bitcoin Log Growth Curve OscillatorThis script presents the oscillator version of the Bitcoin Logarithmic Growth Curve 2024 indicator, offering a new perspective on Bitcoin’s long-term price trajectory.
By transforming the original logarithmic growth curve into an oscillator, this version provides a normalized view of price movements within a fixed range, making it easier to identify overbought and oversold conditions.
For a comprehensive explanation of the mathematical derivation, underlying concepts, and overall development of the Bitcoin Logarithmic Growth Curve, we encourage you to explore our primary script, Bitcoin Logarithmic Growth Curve 2024, available here . This foundational script details the regression-based approach used to model Bitcoin’s long-term price evolution.
Normalization Process
The core principle behind this oscillator lies in the normalization of Bitcoin’s price relative to the upper and lower regression boundaries. By applying Min-Max Normalization, we effectively scale the price into a bounded range, facilitating clearer trend analysis. The normalization follows the formula:
normalized price = (upper regresionline − lower regressionline) / (price − lower regressionline)
This transformation ensures that price movements are always mapped within a fixed range, preventing distortions caused by Bitcoin’s exponential long-term growth. Furthermore, this normalization technique has been applied to each of the confidence interval lines, allowing for a structured and systematic approach to analyzing Bitcoin’s historical and projected price behavior.
By representing the logarithmic growth curve in oscillator form, this indicator helps traders and analysts more effectively gauge Bitcoin’s position within its long-term growth trajectory while identifying potential opportunities based on historical price tendencies.
Peak Reaction Zones [BigBeluga]Peak Reaction Zones is an advanced Smart Money Concept (SMC) indicator that identifies the most recent swing high and swing low zones, helping traders determine premium and discount areas for optimal trade positioning.
🔵 Key Features:
Swing High & Low Zones:
Automatically detects the latest swing high and swing low levels.
Helps traders identify key reaction points where price is likely to respond.
Premium & Discount Concept:
The high zone represents a premium area, where price is overextended and may reverse.
The low zone represents a discount area, where price is undervalued and may bounce.
The midline dynamically marks the equilibrium of the range.
Adjustable Zone Width:
Users can fine-tune the width of the zones to match their trading style.
Wider zones capture broader reaction ranges, while narrower zones focus on precise levels.
Zone Retest Signals:
Blue markers appear when price retests the lower reaction zone, signaling potential support.
Orange markers appear when price retests the upper reaction zone, indicating possible resistance.
Price Labels for Key Levels:
Displays the price value of the swing high, swing low, and midline for quick reference.
Helps traders recognize major reaction points at a glance.
🔵 Usage:
Smart Money Trading: Utilize the premium and discount concept to align trades with institutional order flow.
Zone Reactions: Watch for price tests of reaction zones and use the retest signals to confirm potential reversals.
Midline Confirmation: If price holds above or below the midline, it can indicate directional bias.
Scalping & Swing Trading: Short-term traders can look for zone rejections, while swing traders can use the levels for trend continuation setups.
Peak Reaction Zones is a must-have tool for traders looking to trade with Smart Money Concepts, allowing for precise entries and exits based on key liquidity areas and market structure.
[COG]StochRSI Zenith📊 StochRSI Zenith
This indicator combines the traditional Stochastic RSI with enhanced visualization features and multi-timeframe analysis capabilities. It's designed to provide traders with a comprehensive view of market conditions through various technical components.
🔑 Key Features:
• Advanced StochRSI Implementation
- Customizable RSI and Stochastic calculation periods
- Multiple moving average type options (SMA, EMA, SMMA, LWMA)
- Adjustable signal line parameters
• Visual Enhancement System
- Dynamic wave effect visualization
- Energy field display for momentum visualization
- Customizable color schemes for bullish and bearish signals
- Adaptive transparency settings
• Multi-Timeframe Analysis
- Higher timeframe confirmation
- Synchronized market structure analysis
- Cross-timeframe signal validation
• Divergence Detection
- Automated bullish and bearish divergence identification
- Customizable lookback period
- Clear visual signals for confirmed divergences
• Signal Generation Framework
- Price action confirmation
- SMA-based trend filtering
- Multiple confirmation levels for reduced noise
- Clear entry signals with customizable display options
📈 Technical Components:
1. Core Oscillator
- Base calculation: 13-period RSI (adjustable)
- Stochastic calculation: 8-period (adjustable)
- Signal lines: 5,3 smoothing (adjustable)
2. Visual Systems
- Wave effect with three layers of visualization
- Energy field display with dynamic intensity
- Reference bands at 20/30/50/70/80 levels
3. Confirmation Mechanisms
- SMA trend filter
- Higher timeframe alignment
- Price action validation
- Divergence confirmation
⚙️ Customization Options:
• Visual Parameters
- Wave effect intensity and speed
- Energy field sensitivity
- Color schemes for bullish/bearish signals
- Signal display preferences
• Technical Parameters
- All core calculation periods
- Moving average types
- Divergence detection settings
- Signal confirmation criteria
• Display Settings
- Chart and indicator signal placement
- SMA line visualization
- Background highlighting options
- Label positioning and size
🔍 Technical Implementation:
The indicator combines several advanced techniques to generate signals. Here are key components with code examples:
1. Core StochRSI Calculation:
// Base RSI calculation
rsi = ta.rsi(close, rsi_length)
// StochRSI transformation
stochRSI = ((ta.highest(rsi, stoch_length) - ta.lowest(rsi, stoch_length)) != 0) ?
(100 * (rsi - ta.lowest(rsi, stoch_length))) /
(ta.highest(rsi, stoch_length) - ta.lowest(rsi, stoch_length)) : 0
2. Signal Generation System:
// Core signal conditions
crossover_buy = crossOver(sk, sd, cross_threshold)
valid_buy_zone = sk < 30 and sd < 30
price_within_sma_bands = close <= sma_high and close >= sma_low
// Enhanced signal generation
if crossover_buy and valid_buy_zone and price_within_sma_bands and htf_allows_long
if is_bullish_candle
long_signal := true
else
awaiting_bull_confirmation := true
3. Multi-Timeframe Analysis:
= request.security(syminfo.tickerid, mtf_period,
)
The HTF filter looks at a higher timeframe (default: 4H) to confirm the trend
It only allows:
Long trades when the higher timeframe is bullish
Short trades when the higher timeframe is bearish
📈 Trading Application Guide:
1. Signal Identification
• Oversold Opportunities (< 30 level)
- Look for bullish crosses of K-line above D-line
- Confirm with higher timeframe alignment
- Wait for price action confirmation (bullish candle)
• Overbought Conditions (> 70 level)
- Watch for bearish crosses of K-line below D-line
- Verify higher timeframe condition
- Confirm with bearish price action
2. Divergence Trading
• Bullish Divergence
- Price makes lower lows while indicator makes higher lows
- Most effective when occurring in oversold territory
- Use with support levels for entry timing
• Bearish Divergence
- Price makes higher highs while indicator shows lower highs
- Most reliable in overbought conditions
- Combine with resistance levels
3. Wave Effect Analysis
• Strong Waves
- Multiple wave lines moving in same direction indicate momentum
- Wider wave spread suggests increased volatility
- Use for trend strength confirmation
• Energy Field
- Higher intensity in trading zones suggests stronger moves
- Use for momentum confirmation
- Watch for energy field convergence with price action
The energy field is like a heat map that shows momentum strength
It gets stronger (more visible) when:
Price is in oversold (<30) or overbought (>70) zones
The indicator lines are moving apart quickly
A strong signal is forming
Think of it as a "strength meter" - the more visible the energy field, the stronger the potential move
4. Risk Management Integration
• Entry Confirmation
- Wait for all signal components to align
- Use higher timeframe for trend direction
- Confirm with price action and SMA positions
• Stop Loss Placement
- Consider placing stops beyond recent swing points
- Use ATR for dynamic stop calculation
- Account for market volatility
5. Position Management
• Partial Profit Taking
- Consider scaling out at overbought/oversold levels
- Use wave effect intensity for exit timing
- Monitor energy field for momentum shifts
• Trade Duration
- Short-term: Use primary signals in trading zones
- Swing trades: Focus on divergence signals
- Position trades: Utilize higher timeframe signals
⚠️ Important Usage Notes:
• Avoid:
- Trading against strong trends
- Relying solely on single signals
- Ignoring higher timeframe context
- Over-leveraging based on signals
Remember: This tool is designed to assist in analysis but should never be used as the sole decision-maker for trades. Always maintain proper risk management and combine with other forms of analysis.
Smart ChannelThe "Smart Channel" indicator is designed to dynamically identify and plot price channels on a chart. It uses a statistical approach based on Pearson's correlation coefficient to determine the best-fit channel for both short-term and long-term trends. This allows traders to visualize potential support and resistance levels, identify trend direction, and potentially anticipate breakouts or reversals.
How it Works:
Data Input: The indicator takes a source input (typically the closing price) as the basis for its calculations.
Period Selection: It defines two sets of lookback periods: one for short-term analysis and one for long-term analysis. The code iterates through these periods, calculating a linear regression and standard deviation for each.
Pearson's Correlation: For each period, the indicator calculates Pearson's R, which measures the strength and direction of the linear relationship between price and time. A higher absolute value of Pearson's R indicates a stronger trend.
Best Fit Channel: The indicator identifies the period with the highest Pearson's R for both short-term and long-term and uses the corresponding linear regression parameters (slope and intercept) to define the midline of the channel.
Standard Deviation: The standard deviation of the price data around the regression line is calculated. This is used to define the upper and lower boundaries of the channel. The channel width is controlled by a "Deviation Multiplier" input.
Channel Plotting: The indicator plots the midline, upper boundary, and lower boundary of the channel on the chart. Separate channels are plotted for the short-term and long-term best-fit periods, using different colors for easy visual distinction.
Dynamic Updates: The channel is dynamically updated as new price data becomes available, adjusting to the evolving market trend.
Key Inputs and Settings:
Source: The price data used for calculations (e.g., close, open, high, low, etc.).
Use Long-Term Channel: A boolean input to enable/disable the calculation and plotting of the long-term channel.
Deviation Multiplier: Controls the width of the channel (how many standard deviations away from the midline the boundaries are).
Channel/Midline Colors and Transparency: Customizable colors and transparency levels for the channel lines and fill.
Line Styles: Options for solid, dotted, or dashed lines for the channel boundaries and midline.
Extend Style: How the channel lines should extend (right, both, none, left).
Interpretation and Usage:
Trend Identification: The direction of the midline indicates the prevailing trend. An upward-sloping midline suggests an uptrend, while a downward-sloping midline suggests a downtrend.
Support and Resistance: The upper and lower channel boundaries can act as potential support and resistance levels.
Breakouts: A price move outside of the channel boundaries may signal a potential breakout or reversal.
Overbought/Oversold: Prices touching or exceeding the upper boundary might suggest an overbought condition, while prices touching or exceeding the lower boundary might suggest an oversold condition.
Short-Term vs. Long-Term: Comparing the short-term and long-term channels can provide insights into the overall market context. For example, a short-term uptrend within a long-term downtrend might suggest a potential buying opportunity before the larger trend resumes.
UM-Optimized Linear Regression ChannelDESCRIPTION
This indicator was inspired by Dr. Stoxx at drstoxx.com. Shout out to him and his services for introducing me to this idea. This indicator is a slightly different take on the standard linear regression indicator.
It uses two standard deviations to draw bands and dynamically attempts to best-fit the data lookback period using an R-squared statistical measure. The R-squared value ranges between zero and one with zero being no fit to the data at all and 1 being a 100% match of the data to linear regression line. The R-squared calculation is weighted exponentially to give more weight to the most recent data.
The label provides the number of periods identified as the optimal best-fit period, the type of loopback period determination (Manual or Auto) and the R-squared value (0-100, 100% being a perfect fit). >=90% is a great fit of the data to the regression line. <50% is a difficult fit and more or less considered random data.
The lookback mode can also be set manually and defaults to a value of 100 periods.
DEFAULTS
The defaults are 1.5 and 2.0 for standard deviation. This creates 2 bands above and below the regression line. The default mode for best-fit determination with "Auto" selected in the dropdown. When manual mode is selected, the default is 100. The modes, manual lookback periods, colors, and standard deviations are user-configurable.
HOW TO USE
Overlay this indicator on any chart of any timeframe. Look for turning points at extremes in the upper and lower bands. Look for crossovers of the centerline. Look at the Auto-determination for best fit. Compare this to your favorite Manual mode setting (Manual Mode is set to 100 by default lookback periods.)
When price is at an extreme, look for turnarounds or reversals. Use your favorite indicators, in addition to this indicator, to determine reversals. Try this indicator against your favorite securities and timeframes.
CHART EXAMPLE
The chart I used for an example is the daily chart of IWM. I illustrated the extremes with white text. This is where I consider proactively exiting an existing position and/or begin looking for a reversal.
Multi-Timeframe Trend StatusThis Multi-Timeframe Trend Status indicator tracks market trends across four timeframes ( by default, 65-minute, 240-minute, daily, and monthly). It uses a Volatility Stop based on the Average True Range (ATR) to determine the trend direction. The ATR is multiplied by a user-adjustable multiplier to create a dynamic buffer zone that filters out market noise.
The indicator tracks the volatility stop and trend direction for each timeframe. In an uptrend, the stop trails below the price, adjusting upward, and signals a downtrend if the price falls below it. In a downtrend, the stop trails above the price, moving down with the market, and signals an uptrend if the price rises above it.
Two input parameters allow for customization:
ATR Length: Defines the period for ATR calculation.
ATR Multiplier: Adjusts the sensitivity of trend changes.
This setup lets traders align short-term decisions with long-term market context and spot potential trading opportunities or reversals.
Donchian and Keltner Channels Trend Following with Trailing StopLong Only Trend-following model based on Keltner Channels and Donchian Channels.
These indicators include a noise region, which allows prices to oscillate without requiring position adjustments.
When price trades above the upper band, it signals strength; when it trades below the lower band, it signals weakness.
Keltner Channels
Keltner Channels are volatility-based envelopes set above and below an exponential moving average. Keltner Channels use the Average True Range (ATR), which measures daily volatility, to set channel distance.
Donchian Channel
Donchian Channels are are used to identify market trends and volatility. The upper and lower bands are based on the highest high and lowest low of a specified period. When the price moves above the upper band, it indicates a bullish breakout, while a
move below the lower band indicates a bearish breakout. The distance between the upper and lower channel of the Donchian Channel indicates the asset’s volatility.
Trend Following Model
The default settings are:
Upper Keltner and Upper Donchian Channel Length : 20
Lower Keltner and Lower Donchian Channel Length : 40
Keltner ATR Multiplier: 2
Entries, Exits and Trailing Stop
Entry : When price exceeds the upper band of at least one of these indicators.
Exit : When price undercuts the lower band of at least one of these indicators.
Trailing Stop : See below.
Trailing Stop
This is a stop-loss order that moves with the price of the underlying. It is designed to “trail” the price up (in the case of a long position) or down (for a short position), locking in profits as the price moves in a favorable direction.
At the end of day t, there was a Trailing Stop level in place. For the next day (day t + 1), the Trailing Stop will be adjusted. The new Trailing Stop will be the higher of two values:
The Trailing Stop from the previous day (day t).
The Lower Band computed at the end of day t + 1.
Inside BarsInside Bars Indicator
Description:
This indicator identifies and highlights price action patterns where a bar's high and low
are completely contained within the previous bar's range. Inside bars are significant
technical patterns that often signal a period of price consolidation or uncertainty,
potentially leading to a breakout in either direction.
Trading Literature & Theory:
Inside bars are well-documented in technical analysis literature:
- Steve Nison discusses them in "Japanese Candlestick Charting Techniques" as a form
of harami pattern, indicating potential trend reversals
- Thomas Bulkowski's "Encyclopedia of Chart Patterns" categorizes inside bars as
a consolidation pattern with statistical significance for breakout trading
- Alexander Elder references them in "Trading for a Living" as indicators of
decreasing volatility and potential energy build-up
- John Murphy's "Technical Analysis of the Financial Markets" includes inside bars
as part of price action analysis for market psychology understanding
The pattern is particularly significant because it represents:
1. Volatility Contraction: A narrowing of price range indicating potential energy build-up
2. Institutional Activity: Often shows large players absorbing or distributing positions
3. Decision Point: Market participants evaluating the previous bar's significance
Trading Applications:
1. Breakout Trading
- Watch for breaks above the parent bar's high (bullish signal)
- Monitor breaks below the parent bar's low (bearish signal)
- Multiple consecutive inside bars can indicate stronger breakout potential
2. Market Psychology
- Inside bars represent a period of equilibrium between buyers and sellers
- Shows market uncertainty and potential energy building up
- Often precedes significant price movements
Best Market Conditions:
- Trending markets approaching potential reversal points
- After strong momentum moves where the market needs to digest gains
- Near key support/resistance levels
- During pre-breakout consolidation phases
Complementary Indicators:
- Volume indicators to confirm breakout strength
- Trend indicators (Moving Averages, ADX) for context
- Momentum indicators (RSI, MACD) for additional confirmation
Risk Management:
- Use parent bar's range for stop loss placement
- Wait for breakout confirmation before entry
- Consider time-based exits if breakout doesn't occur
- More reliable on higher timeframes
Note: The indicator works best when combined with proper risk management
and overall market context analysis. Avoid trading every inside bar pattern
and always confirm with volume and other technical indicators.
Range Filtered Trend Signals [AlgoAlpha]Introducing the Range Filtered Trend Signals , a cutting-edge trading indicator designed to detect market trends and ranging conditions with high accuracy. This indicator leverages a combination of Kalman filtering and Supertrend analysis to smooth out price fluctuations while maintaining responsiveness to trend shifts. By incorporating volatility-based range filtering, it ensures traders can differentiate between trending and ranging conditions effectively, reducing false signals and enhancing trade decision-making.
:key: Key Features
:white_check_mark: Kalman Filter Smoothing – Minimizes market noise while preserving trend clarity.
:bar_chart: Supertrend Integration – A dynamic trend-following mechanism for spotting reversals.
:fire: Volatility-Based Range Detection – Detects trending vs. ranging conditions with precision.
:art: Color-Coded Trend Signals – Instantly recognize bullish, bearish, and ranging market states.
:gear: Customizable Inputs – Fine-tune Kalman parameters, Supertrend settings, and color themes to match your strategy.
:bell: Alerts for Trend Shifts – Get real-time notifications when market conditions change!
:tools: How to Use
Add the Indicator – Click the star icon to add it to your TradingView favorites.
Analyze Market Conditions – Observe the color-coded signals and range boundaries to identify trend strength and direction.
Use Alerts for Trade Execution – Set alerts for trend shifts and market conditions to stay ahead without constantly monitoring charts.
:mag: How It Works
The Kalman filter smooths price fluctuations by dynamically adjusting its weighting based on market volatility. It helps remove noise while keeping the signal reactive to trend changes. The Supertrend calculation is then applied to the filtered price data, providing a robust trend-following mechanism. To enhance signal accuracy, a volatility-weighted range filter is incorporated, creating upper and lower boundaries that define trend conditions. When price breaks out of these boundaries, the indicator confirms trend continuation, while signals within the range indicate market consolidation. Traders can leverage this tool to enhance trade timing, filter false breakouts, and identify optimal entry/exit zones.
MACD & Bollinger Bands Overbought OversoldMACD & Bollinger Bands Reversal Detector
This indicator combines the power of MACD divergence analysis with Bollinger Bands to help traders identify potential reversal points in the market.
Key Features:
MACD Calculation & Divergence:
The script calculates the standard MACD components (MACD line, Signal line, and Histogram) using configurable fast, slow, and signal lengths. It includes a simplified divergence detection mechanism that flags potential bearish divergence—when the price makes a new swing high but the MACD fails to confirm the move. This divergence can serve as an early warning that the bullish momentum is waning.
Bollinger Bands:
A 20-period simple moving average (SMA) is used as the basis, with upper and lower bands drawn at 2 standard deviations. These bands help visualize overbought and oversold conditions. For example, a close at or above the upper band suggests the market may be overextended (overbought), while a close at or below the lower band may indicate oversold conditions.
Visual Alerts:
The indicator plots the Bollinger Bands on the chart along with labels marking overbought and oversold conditions. Additionally, it marks potential bearish divergence with a downward triangle, providing a quick visual cue to traders.
Usage Suggestions:
Confluence with Other Signals:
Use the divergence signals and Bollinger Band conditions as filters. For example, even if another indicator suggests a long entry, you might avoid it if the price is overbought or if MACD divergence warns of weakening momentum.
Customization:
All key parameters, such as the MACD lengths, Bollinger Band period, and multiplier, are fully configurable. This flexibility allows you to adjust the indicator to suit different markets or trading styles.
Disclaimer:
This script is provided for educational purposes only. Always perform your own analysis and backtesting before trading with live capital.
Grouped EMAsThis indicator displays grouped EMAs across multiple timeframes (5m, 15m, 30m, and 60m) on a single chart. It allows traders to easily track key EMA levels across different timeframes for better trend analysis and decision-making.
Key Features:
Adjustable EMA Length: Change the EMA period once, and it updates across all timeframes simultaneously.
Multi-Timeframe Support: Displays 365 EMA High and Low for 5-minute, 15-minute, 30-minute, and 60-minute intervals.
Clear Color Coding: Each timeframe is color-coded for quick visual recognition.
How to Use:
Adjust the EMA length using the input option to set your preferred period.
Observe the EMAs across different timeframes to identify support, resistance, and trend directions.
Combine with other indicators or price action strategies for enhanced trading insights.
This tool is ideal for traders looking to simplify multi-timeframe analysis while maintaining flexibility with the EMA period.
Enjoy more informed trading and enhanced trend analysis with Grouped EMAs!