ADX Green Trend, Red ChopBased on the ADX indicator. This uses the calculated slope of the ADX line to show if momentum is increasing or decreasing. Green means the slope of the ADX is positive and the trend in increasing. Red means the ADX slope is positive and momentum is decreasing.Gray or Yellow is aneutral transitional zone
Analisis Trend
Ehlers Adaptive Trend Indicator [Alpha Extract]Ehlers Adaptive Trend Indicator
The Ehlers Adaptive Trend Indicator combines Ehlers' advanced digital signal processing techniques with dynamic volatility bands to identify robust trend conditions and potential reversals. This powerful tool helps traders visualize trend strength, adaptive support/resistance levels, and momentum shifts across various market conditions.
🔶 CALCULATION
The indicator employs a sophisticated adaptive algorithm that responds to changing market conditions:
• Ehlers Filter : Calculates a weighted average based on momentum differences to create an adaptive trend baseline.
• Dynamic Bands : Volatility-adjusted bands that expand and contract based on recent price action.
• Trend Level : A dynamic support/resistance level that adapts to the current trend direction.
• Smoothed Volatility : Market volatility measured and smoothed to provide reliable band width.
Formula:
• Ehlers Basis = Weighted average of price, with weights determined by momentum differences
• Volatility = Standard deviation of price over Ehlers Length period
• Smoothed Volatility = EMA of volatility over Smoothing Length
• Upper Band = Ehlers Basis + Smoothed Volatility × Sensitivity
• Lower Band = Ehlers Basis - Smoothed Volatility × Sensitivity
• Trend Level = Adaptive support in uptrends, resistance in downtrends
🔶 DETAILS
Visual Features :
• Ehlers Basis Line (Yellow): The core adaptive trend reference that serves as the primary trend indicator.
• Trend Level Line (Dynamic Color): Changes between green (bullish) and red (bearish) based on the current trend state.
• Fill Areas : Transparent green fill during bullish trends and transparent red fill during bearish trends for clear visual identification.
• Bar Coloring : Optional price bar coloring that reflects the current trend direction for enhanced visualization.
Interpretation :
• **Bullish Signal**: Price crosses above the upper band, triggering a trend change with the Trend Level becoming dynamic support.
• **Bearish Signal**: Price drops below the lower band, confirming a trend change with the Trend Level becoming dynamic resistance.
• **Trend Continuation**: Trend Level rises in bullish markets and falls in bearish markets, providing adaptive trailing support/resistance.
🔶 EXAMPLES
The chart demonstrates:
• Bullish Trend Identification : When price breaks above the upper band, the indicator shifts to bullish mode with green trend level and fill.
• Bearish Trend Identification : When price falls below the lower band, the indicator shifts to bearish mode with red trend level and fill.
• Trend Persistence : Trend Level adapts to market movement, rising during uptrends to provide dynamic support and falling during downtrends to act as resistance.
Example Snapshots :
• During a strong uptrend, the Trend Level continuously adjusts upward, keeping traders in the trend while filtering out minor retracements.
• During trend reversals, clear color changes and Trend Level shifts provide early warning of potential direction changes.
🔶 SETTINGS
Customization Options :
• Ehlers Length (p1) (Default: 30): Controls the primary adaptive calculation period, balancing responsiveness with stability.
• Momentum Length (p2) (Default: 25): Determines the lag for momentum calculations used in the adaptive weighting.
• Smoothing Length (Default: 10): Adjusts the volatility smoothing period—higher values provide more stable bands.
• Sensitivity (Default: 1.0): Multiplier for band width—higher values increase distance between bands, lower values tighten them.
• Visual Settings : Customizable colors for bullish and bearish trends, basis line, and optional bar coloring.
The Ehlers Adaptive Trend Indicator combines John Ehlers' digital signal processing expertise with modern volatility analysis to create a robust trend-following system that adapts to changing market conditions, helping traders stay on the right side of the market.
Stock versus IndustryStock vs. Industry Indicator
The Stock vs. Industry Indicator is designed to help traders assess the performance of individual stocks relative to their respective industries. This tool automatically identifies the industry classification of a stock, compares it to a relevant industry ETF, and calculates the stock-to-industry performance ratio in real-time.
Key Features:
Real-Time Performance Comparison: The indicator tracks and compares the price movement of an individual stock against the most relevant ETF for its industry, providing a dynamic view of relative strength.
Stock-to-Industry Ratio: Displays the ratio of stock performance versus industry performance, allowing traders to easily identify outperforming and underperforming stocks within their industry.
SMA Trend Line: The indicator includes a simple moving average (SMA) trend line to assist with visual trend analysis, offering additional context to the stock’s movement in relation to the broader industry.
Customizable Parameters: Users can customize SMA periods, adjust comparison overrides, and use color highlighting to suit their trading preferences and strategies.
Industry Classification: Automatically assigns the correct industry classification to any stock, providing a reliable and automated method for comparing stocks within the same industry.
Benefits:
Identify Leaders and Laggards: Easily distinguish which stocks are outperforming their industry and which are underperforming. This allows traders to make more informed decisions based on relative strength.
Sector Rotation Detection: The indicator helps detect when a stock begins to underperform its industry, which can signal a shift in sector strength. This allows traders to adjust their positions and strategies accordingly.
Breakout Confirmation: When a stock breaks out while outperforming its industry, the indicator provides additional confidence in the breakout’s validity and potential for continued performance.
Avoid Value Traps: By comparing a stock’s performance against its industry, the indicator helps avoid investing in stocks that appear undervalued but are underperforming relative to their peers, reducing the risk of falling into value traps.
Usage:
Timeframes: The indicator works across various timeframes and is adaptable for both short-term and long-term traders.
Customization: Users can modify the parameters and settings to align with their specific trading style, whether day trading or position trading.
Visual Aid: The indicator provides an intuitive chart display, making it easy to understand a stock’s performance relative to its industry at a glance.
Disclaimer:
This indicator does not guarantee future performance or predict market movements. The information provided is based on historical data and current market conditions, which can change rapidly. It is important to use this tool as part of a broader trading strategy, taking into account other market factors and risk management techniques.
Highest High Line with Multi-Timeframe Supertrend and RSIOverview:
This powerful indicator combines three essential elements for traders:
Highest High Line – Tracks the highest price over a customizable lookback period across different timeframes.
Multi-Timeframe Supertrend – Displays Supertrend values and trend directions for multiple timeframes simultaneously.
Relative Strength Index (RSI) – Shows RSI values across different timeframes for momentum analysis.
Features:
✅ Customizable Highest High Line:
Selectable timeframes: Daily, Weekly, Monthly, Quarterly, Yearly
Adjustable lookback period
✅ Multi-Timeframe Supertrend:
Supports 1min, 5min, 10min, 15min, 30min, 1H, Daily, Weekly, Monthly, Quarterly, Yearly
ATR-based calculation with configurable ATR period and multiplier
Identifies bullish (green) & bearish (red) trends
✅ Multi-Timeframe RSI:
Calculates RSI for the same timeframes as Supertrend
Overbought (≥70) and Oversold (≤30) signals with color coding
✅ Comprehensive Table Display:
A clean, structured table in the bottom-right corner
Displays Supertrend direction, value, and RSI for all timeframes
Helps traders quickly assess trend and momentum alignment
How to Use:
Use the Highest High Line to identify key resistance zones.
Confirm trend direction with Multi-Timeframe Supertrend.
Check RSI values to avoid overbought/oversold conditions before entering trades.
Align multiple timeframes for stronger confirmation of trend shifts.
Ideal For:
✅ Scalpers (lower timeframes: 1m–30m)
✅ Swing Traders (higher timeframes: 1H–D)
✅ Position Traders (Weekly, Monthly, Quarterly)
💡 Tip: Look for Supertrend & RSI confluence across multiple timeframes for higher probability setups.
Min-Max | Buy-Sell Alert with LevelsMin-Max | Buy-Sell Alert with Levels
Description:
The Min-Max | Buy-Sell Alert with Levels indicator is a powerful tool designed to help traders identify key levels of support and resistance based on the previous day's high and low prices. It plots horizontal lines for the previous day's minimum (Min) and maximum (Max) prices, along with four intermediate levels (Stop Loss 1 to Stop Loss 4) calculated as equal percentage steps between the Min and Max.
This indicator is perfect for traders who want to:
Identify potential entry points when the price returns within the Min-Max range.
Set stop-loss levels based on the calculated intermediate levels.
Receive alerts for buy, sell, and stop-loss conditions.
Key Features:
Previous Day's Min and Max Lines:
Automatically plots the Min (red line) and Max (green line) of the previous day.
These levels act as dynamic support and resistance zones.
Intermediate Stop Loss Levels:
Calculates and plots four intermediate levels (Stop Loss 1 to Stop Loss 4) between the Min and Max.
Each level is equally spaced, representing potential stop-loss or take-profit zones.
Customizable Alerts:
Buy Alert: Triggered when the price returns within the Min-Max range after breaking below the Min.
Sell Alert: Triggered when the price returns within the Min-Max range after breaking above the Max.
Stop Loss Alerts: Triggered when the price reaches any of the four intermediate levels (Stop Loss 1 to Stop Loss 4).
Customizable Appearance:
Adjust the thickness, color, and style (solid, dashed, dotted) of the lines.
Customize the colors of the Stop Loss labels for better visualization.
Labels on the Chart:
Displays "Buy" and "Sell" labels on the chart when the respective conditions are met.
Labels for Stop Loss levels are also displayed for easy reference.
How to Use:
Add the indicator to your chart.
Customize the settings (line colors, thickness, and alert preferences) in the indicator's settings panel.
Use the Min and Max lines as dynamic support and resistance levels.
Monitor the intermediate levels (Stop Loss 1 to Stop Loss 4) for potential stop-loss or take-profit zones.
Set up alerts for Buy, Sell, and Stop Loss conditions to stay informed about key price movements.
Why Use This Indicator?
Simple and Effective: Focuses on the most important levels from the previous day.
Customizable: Tailor the indicator to match your trading style and preferences.
Alerts: Never miss a trading opportunity with customizable alerts for key conditions.
Settings:
Line Thickness: Adjust the thickness of the Min, Max, and intermediate lines.
Line Colors: Customize the colors of the Min, Max, and intermediate lines.
Line Style: Choose between solid, dashed, or dotted lines.
Stop Loss Label Colors: Customize the colors of the Stop Loss labels.
Alerts: Enable or disable alerts for Buy, Sell, and Stop Loss conditions.
Ideal For:
Day traders and swing traders.
Traders who rely on support and resistance levels.
Anyone looking for a clear and customizable tool to identify key price levels.
Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always conduct your own analysis and trade responsibly.
Get Started Today!
Add the Min-Max | Buy-Sell Alert with Levels indicator to your chart and take your trading to the next level. Customize it to fit your strategy and never miss a key trading opportunity again!
Trend Catcher SwiftEdgeTrend Catcher SwiftEdge
Overview
The Trend Catcher SwiftEdge is a simple yet effective tool designed to help traders identify potential trend directions using two Simple Moving Averages (SMAs). It plots two SMAs based on the high and low prices of the chart, visually highlights trend conditions, and provides buy/sell labels to assist with trade entries. This indicator is best used as part of a broader trading strategy and should not be relied upon as a standalone signal generator.
How It Works
Two SMAs: The indicator calculates two SMAs: one based on the lowest price (Low) and one based on the highest price (High) over a user-defined period (default: 20).
Dynamic Colors:
Green: When the price is above both SMAs (indicating a potential uptrend).
Red: When the price is below both SMAs (indicating a potential downtrend).
Purple: When the price is between the SMAs (indicating consolidation).
The SMAs and the background between them change color dynamically to reflect the current trend condition.
Buy/Sell Labels:
A "Buy" label appears when an entire candlestick (including its low) crosses above both SMAs, marking the start of a potential uptrend.
A "Sell" label appears when an entire candlestick (including its high) crosses below both SMAs, marking the start of a potential downtrend.
To reduce noise, only one label is shown per trend direction. The indicator resets when the price enters the consolidation zone (purple), allowing for a new signal when the next trend begins.
Settings
SMA Length: Adjust the period of the SMAs (default: 20). A longer period smooths the SMAs and focuses on larger trends, while a shorter period makes the indicator more sensitive to price changes.
How to Use
Add the indicator to your chart.
Look for "Buy" labels to consider potential long entries during uptrends (green zone).
Look for "Sell" labels to consider potential short entries during downtrends (red zone).
Use the purple consolidation zone to prepare for potential breakouts.
Always combine this indicator with other forms of analysis (e.g., support/resistance, volume, or other indicators) to confirm signals.
Important Notes
This indicator is a tool to assist with identifying trend directions and potential entry points. It does not guarantee profits and should be used as part of a comprehensive trading strategy.
False signals can occur, especially in choppy or ranging markets. Consider using additional filters or confirmations to improve reliability.
Backtest the indicator on your chosen market and timeframe to understand its behavior before using it in live trading.
Feedback
If you have suggestions or feedback, feel free to leave a comment. Happy trading!
Horizontal EMADesigned to plot a horizontal Exponential Moving Average (EMA) line on a TradingView chart. The script allows users to specify the period and source for the EMA calculation. The line remains fixed at the calculated EMA value, providing a visual reference for the trend over the specified period. The script uses version 5 of Pine Script and draws a blue horizontal line at the EMA value on the chart, updating as new data is available.
TMO (True Momentum Oscillator)TMO ((T)rue (M)omentum (O)scilator)
Created by Mobius V01.05.2018 TOS Convert to TV using Claude 3.7 and ChatGPT 03 Mini :
TMO calculates momentum using the delta of price. Giving a much better picture of trend, tend reversals and divergence than momentum oscillators using price.
True Momentum Oscillator (TMO)
The True Momentum Oscillator (TMO) is a momentum-based technical indicator designed to identify trend direction, trend strength, and potential reversal points in the market. It's particularly useful for spotting overbought and oversold conditions, aiding traders in timing their entries and exits.
How it Works:
The TMO calculates market momentum by analyzing recent price action:
Momentum Calculation:
For a user-defined length (e.g., 14 bars), TMO compares the current closing price to past open prices. It assigns:
+1 if the current close is greater than the open price of the past bar (indicating bullish momentum).
-1 if it's less (indicating bearish momentum).
0 if there's no change.
The sum of these scores gives a raw momentum measure.
EMA Smoothing:
To reduce noise and false signals, this raw momentum is smoothed using Exponential Moving Averages (EMAs):
First, the raw data is smoothed by an EMA over a short calculation period (default: 5).
Then, it undergoes additional smoothing through another EMA (default: 3 bars), creating the primary "Main" line of the indicator.
Lastly, a "Signal" line is derived by applying another EMA (also default: 3 bars) to the main line, adding further refinement.
Trend Identification:
The indicator plots two lines:
Main Line: Indicates current momentum strength and direction.
Signal Line: Acts as a reference line, similar to a moving average crossover system.
When the Main line crosses above the Signal line, it suggests strengthening bullish momentum. Conversely, when the Main line crosses below the Signal line, it indicates increasing bearish momentum.
Overbought/Oversold Levels:
The indicator identifies key levels based on the chosen length parameter:
Overbought zone (positive threshold): Suggests the market might be overheated, and a potential bearish reversal or pullback could occur.
Oversold zone (negative threshold): Suggests the market might be excessively bearish, signaling a potential bullish reversal.
Clouds visually mark these overbought/oversold areas, making it easy to see potential reversal zones.
Trading Applications:
Trend-following: Traders can enter positions based on crossovers of the Main and Signal lines.
Reversals: The overbought and oversold areas highlight high-probability reversal points.
Momentum confirmation: Use TMO to confirm price action or other technical signals, improving trade accuracy and timing.
The True Momentum Oscillator provides clarity in identifying momentum shifts, making it a valuable addition to various trading strategies.
Choppiness IndicatorE.W. Dreiss, an Australian commodity trader, developed the Choppiness Index in 1993, drawing upon chaos theory to analyze financial markets. This technical indicator helps traders determine whether a market is trending or experiencing sideways (choppy) price action.
#Hint: The Market is considered TRENDING when the index is below 38.2 The Market is considered CHOPPY when the index is above 61.8. A move above the 38.2 Level indicates a possible end to a trend, and a move below 61.8 indicates a possible breakout from a period of consolidation.
Mobius constructed this in Thinkscript V001.03.2012, and Claude 3.7 Sonnet converted it to Pinescript V002. 03.2025
The Market is considered TRENDING when the index is below 38.2 The Market is considered CHOPPY when the index is above 61.8. A move above the 38.2 Level indicates a possible end to a trend, and a move below 61.8 indicates a potential breakout from a period of consolidation.
Market StructureMarket Structure Indicator
The Market Structure indicator for TradingView helps traders identify key price action patterns by detecting swing highs and lows, visualizing trend structures, and marking potential areas of interest. It works by analyzing market swings and breakouts based on user-defined settings, making it useful for traders who follow Smart Money Concepts (SMC), price action strategies, or structure-based trading approaches.
How It Works and features:
This indicator tracks market structure shifts by analyzing price swings and breakouts.
1. Swing Points & Market Structure Shifts
Swing Width: Defines how many candles must separate two swing points (default: 3).
Higher Timeframe Swing Width (HTF): If on a higher timeframe (15M+), the indicator uses a different swing width setting (default: 7).
Break Type (Wick vs. Body): Choose whether market structure breaks are based on wicks (more sensitive) or candle bodies (more conservative).
2. Structure Visualization
Labels & Colors for Extremes: Mark highest highs (H) and lowest lows (L) on the chart.
Custom Styles: Choose between triangles or circles to represent swing points.
Trend & Breaks Visualization
3. Session-Specific Analysis
Set Trading Sessions (EST time): The indicator allows users to analyze specific market sessions (default: 9:30-10:30 AM EST).
Session Background Highlighting: Highlights the session timeframe on the chart for better visibility.
Apply Body Breaks to Session Only: Limits structure shifts based on candle bodies only during a chosen session (useful for session-based scalping strategies).
4. Points of Interest (POI) & Order Flow Shifts (OFS)
Extreme POI Zones: Highlights key structure breaks where strong price action occurred.
Order Flow Shifts (OFS) Lines: Identifies supply/demand changes with customizable styles and colors.
POI Box Customization: Allows traders to visualize liquidity zones where price reacted strongly.
Who Is This For?
✅ Smart Money Concept (SMC) Traders – Helps track liquidity grabs and structural shifts.
✅ Price Action Traders – Makes it easier to spot swing points and trend shifts.
✅ Breakout & Reversal Traders – Highlights market structure breaks for entry confirmation.
✅ Scalpers & Session-Based Traders – Allows session-specific market structure analysis.
How to Use It?
1️⃣ Adjust Swing Width: Set a number of candles between swing points.
2️⃣ Choose Break Type: Select Wick (aggressive) or Body (conservative) break confirmation.
3️⃣ Enable Sub-Structure & OFS: Visualize minor trends and order flow shifts.
4️⃣ Set Session Filters: Highlight market structure only during key trading hours.
5️⃣ Monitor POI & Trend Labels: Look for breakouts and retests at major swing points.
Conclusion:
The Market Structure Indicator provides a clear visual representation of market trends, breakouts, and liquidity areas, making it a powerful tool for traders who rely on structure-based trading. With extensive customization options, it adapts to various trading styles and strategies. 🚀📈
ThinkTech AI SignalsThink Tech AI Strategy
The Think Tech AI Strategy provides a structured approach to trading by integrating liquidity-based entries, ATR volatility thresholds, and dynamic risk management. This strategy generates buy and sell signals while automatically calculating take profit and stop loss levels, boasting a 64% win rate based on historical data.
Usage
The strategy can be used to identify key breakout and retest opportunities. Liquidity-based zones act as potential accumulation and distribution areas and may serve as future support or resistance levels. Buy and sell zones are identified using liquidity zones and ATR-based filters. Risk management is built-in, automatically calculating take profit and stop loss levels using ATR multipliers. Volume and trend filtering options help confirm directional bias using a 50 EMA and RSI filter. The strategy also allows for session-based trading, limiting trades to key market hours for higher probability setups.
Settings
The risk/reward ratio can be adjusted to define the desired stop loss and take profit calculations. The ATR length and threshold determine ATR-based breakout conditions for dynamic entries. Liquidity period settings allow for customized analysis of price structure for support and resistance zones. Additional trend and RSI filters can be enabled to refine trade signals based on moving averages and momentum conditions. A session filter is included to restrict trade signals to specific market hours.
Style
The strategy includes options to display liquidity lines, showing key support and resistance areas. The first 15-minute candle breakout zones can also be visualized to highlight critical market structure points. A win/loss statistics table is included to track trade performance directly on the chart.
This strategy is intended for descriptive analysis and should be used alongside other confluence factors. Optimize your trading process with Think Tech AI today!
Dynamic Volume Profile Oscillator | AlphaAlgosDynamic Volume Profile Oscillator | AlphaAlgos
Overview
The Dynamic Volume Profile Oscillator is an advanced technical analysis tool that transforms traditional volume analysis into a responsive oscillator. By creating a dynamic volume profile and measuring price deviation from volume-weighted equilibrium levels, this indicator provides traders with powerful insights into market momentum and potential reversals.
Key Features
• Volume-weighted price deviation analysis
• Adaptive midline that adjusts to changing market conditions
• Beautiful gradient visualization with 10-level intensity zones
• Fast and slow signal lines for trend confirmation
• Mean reversion mode that identifies price extremes relative to volume
• Fully customizable sensitivity and smoothing parameters
Technical Components
1. Volume Profile Analysis
The indicator builds a dynamic volume profile by:
• Collecting recent price and volume data within a specified lookback period
• Calculating a volume-weighted mean price (similar to VWAP)
• Measuring how far current price has deviated from this weighted average
• Adjusting this deviation based on historical volatility
2. Oscillator Calculation
The oscillator offers two calculation methods:
• Mean Reversion Mode (default): Measures deviation from volume-weighted mean price, normalized to reflect potential overbought/oversold conditions
• Standard Mode : Normalizes volume activity to identify unusual volume patterns
3. Adaptive Zones
The indicator features dynamic zones that:
• Center around an adaptive midline that reflects the average oscillator value
• Expand and contract based on recent volatility (standard deviation)
• Visually represent intensity through multi-level gradient coloring
• Provide clear visualization of bullish/bearish extremes
4. Signal Generation
Trading signals are generated through:
• Main oscillator line position relative to the adaptive midline
• Crossovers between fast (5-period) and slow (15-period) signal lines
• Color changes that instantly identify trend direction
• Distance from the midline indicating trend strength
Configuration Options
Volume Analysis Settings:
• Price Source - Select which price data to analyze
• Volume Source - Define volume data source
• Lookback Period - Number of bars for main calculations
• Profile Calculation Periods - Frequency of profile recalculation
Oscillator Settings:
• Smoothing Length - Controls oscillator smoothness
• Sensitivity - Adjusts responsiveness to price/volume changes
• Mean Reversion Mode - Toggles calculation methodology
Threshold Settings:
• Adaptive Midline - Uses dynamic midline based on historical values
• Midline Period - Lookback period for midline calculation
• Zone Width Multiplier - Controls width of bullish/bearish zones
Display Settings:
• Color Bars - Option to color price bars based on trend direction
Trading Strategies
Trend Following:
• Enter long positions when the oscillator crosses above the adaptive midline
• Enter short positions when the oscillator crosses below the adaptive midline
• Use signal line crossovers for entry timing
• Monitor gradient intensity to gauge trend strength
Mean Reversion Trading:
• Look for oscillator extremes shown by intense gradient colors
• Prepare for potential reversals when the oscillator reaches upper/lower zones
• Use divergences between price and oscillator for confirmation
• Consider scaling positions based on gradient intensity
Volume Analysis:
• Use Standard Mode to identify unusual volume patterns
• Confirm breakouts when accompanied by strong oscillator readings
• Watch for divergences between price and volume-based readings
• Use extended periods in extreme zones as trend confirmation
Best Practices
• Adjust sensitivity based on the asset's typical volatility
• Use longer smoothing for swing trading, shorter for day trading
• Combine with support/resistance levels for optimal entry/exit points
• Consider multiple timeframe analysis for comprehensive market view
• Test different profile calculation periods to match your trading style
This indicator is provided for informational purposes only. Always use proper risk management when trading based on any technical indicator. Not financial advise.
Multi-Oscillator Adaptive Kernel | AlphaAlgosMulti-Oscillator Adaptive Kernel | AlphaAlgos
Overview
The Multi-Oscillator Adaptive Kernel (MOAK) is an advanced technical analysis tool that combines multiple oscillators through sophisticated kernel-based smoothing algorithms. This indicator is designed to provide clearer trend signals while filtering out market noise, offering traders a comprehensive view of market momentum across multiple timeframes.
Key Features
• Fusion of multiple technical oscillators (RSI, Stochastic, MFI, CCI)
• Advanced kernel smoothing technology with three distinct mathematical models
• Customizable sensitivity and lookback periods
• Clear visual signals for trend shifts and reversals
• Overbought/oversold zones for precise entry and exit timing
• Adaptive signal that responds to varying market conditions
Technical Components
The MOAK indicator utilizes a multi-layer approach to signal generation:
1. Oscillator Fusion
The core of the indicator combines normalized readings from up to four popular oscillators:
• RSI (Relative Strength Index) - Measures the speed and change of price movements
• Stochastic - Compares the closing price to the price range over a specific period
• MFI (Money Flow Index) - Volume-weighted RSI that includes trading volume
• CCI (Commodity Channel Index) - Measures current price level relative to an average price
2. Kernel Smoothing
The combined oscillator data is processed through one of three kernel functions:
• Exponential Kernel - Provides stronger weighting to recent data with exponential decay
• Linear Kernel - Applies a linear weighting from most recent to oldest data points
• Gaussian Kernel - Uses a bell curve distribution that helps filter out extreme values
3. Dual Signal Lines
• Fast Signal Line - Responds quickly to price changes
• Slow Signal Line - Provides confirmation and shows the underlying trend direction
Configuration Options
Oscillator Selection:
• Enable/disable each oscillator (RSI, Stochastic, MFI, CCI)
• Customize individual lookback periods for each oscillator
Kernel Settings:
• Kernel Type - Choose between Exponential, Linear, or Gaussian mathematical models
• Kernel Length - Adjust the smoothing period (higher values = smoother line)
• Sensitivity - Fine-tune the indicator's responsiveness (higher values = more responsive)
Display Options:
• Color Bars - Toggle price bar coloring based on indicator direction
How to Interpret the Indicator
Signal Line Direction:
• Upward movement (teal) indicates bullish momentum
• Downward movement (magenta) indicates bearish momentum
Trend Shifts:
• Small circles mark the beginning of new uptrends
• X-marks indicate the start of new downtrends
Overbought/Oversold Conditions:
• Values above +50 suggest overbought conditions (potential reversal or pullback)
• Values below -50 suggest oversold conditions (potential reversal or bounce)
Trading Strategies
Trend Following:
• Enter long positions when the signal line turns teal and shows an uptrend
• Enter short positions when the signal line turns magenta and shows a downtrend
• Use the slow signal line (area fill) as confirmation of the underlying trend
Counter-Trend Trading:
• Look for divergences between price and the indicator
• Consider profit-taking when the indicator reaches overbought/oversold areas
• Wait for trend shift signals before entering counter-trend positions
Multiple Timeframe Analysis:
• Use the indicator across different timeframes for confirmation
• Higher timeframe signals carry more weight than lower timeframe signals
Best Practices
• Experiment with different kernel types for various market conditions
• Gaussian kernels often work well in ranging markets
• Exponential kernels can provide earlier signals in trending markets
• Combine with volume analysis for higher probability trades
• Use appropriate stop-loss levels as the indicator does not guarantee price movements
This indicator is provided as-is with no guarantees of profit. Always use proper risk management when trading with any technical indicator. Nothing is financial advise.
[COG]S&P 500 Weekly Seasonality ProjectionS&P 500 Weekly Seasonality Projection
This indicator visualizes S&P 500 seasonality patterns based on historical weekly performance data. It projects price movements for up to 26 weeks ahead, highlighting key seasonal periods that have historically affected market performance.
Key Features:
Projects price movements based on historical S&P 500 weekly seasonality patterns (2005-2024)
Highlights six key seasonal periods: Jan-Feb Momentum, March Lows, April-May Strength, Summer Strength, September Dip, and Year-End Rally
Customizable forecast length from 1-26 weeks with quick timeframe selection buttons
Optional moving average smoothing for more gradual projections
Detailed statistics table showing projected price and percentage change
Seasonality mini-map showing the full annual pattern with current position
Customizable colors and visual elements
How to Use:
Apply to S&P 500 index or related instruments (daily timeframe or higher recommended)
Set your desired forecast length (1-26 weeks)
Monitor highlighted seasonal zones that have historically shown consistent patterns
Use the projection line as a general guideline for potential price movement
Settings:
Forecast length: Configure from 1-26 weeks or use quick select buttons (1M, 3M, 6M, 1Y)
Visual options: Customize colors, backgrounds, label sizes, and table position
Display options: Toggle statistics table, period highlights, labels, and mini-map
This indicator is designed as a visual guide to help identify potential seasonal tendencies in the S&P 500. Historical patterns are not guarantees of future performance, but understanding these seasonal biases can provide valuable context for your trading decisions.
Note: For optimal visualization, use on Daily timeframe or higher. Intraday timeframes will display a warning message.
[COG]Nasdaq Weekly Seasonality ProjectionNasdaq Weekly Seasonality Projection
This indicator provides a visualization of Nasdaq seasonality patterns based on historical weekly performance data. It projects price movements for up to 26 weeks ahead, highlighting key seasonal periods that have historically affected tech stocks.
Key Features:
Projects price movements based on historical Nasdaq weekly seasonality patterns
Highlights six key seasonal periods: January Effect, March Lows, April-May Strength, Tech Summer Rally, September Dip, and Q4 Tech Rally
Customizable forecast length from 1-26 weeks with quick timeframe selection buttons
Optional moving average smoothing for more gradual projections
Detailed statistics table showing projected price and percentage change
Seasonality mini-map showing the full annual pattern with current position
Customizable colors and visual elements
How to Use:
Apply to Nasdaq indices or tech-focused instruments (daily timeframe or higher recommended)
Set your desired forecast length (1-26 weeks)
Monitor highlighted seasonal zones that have historically shown consistent patterns
Use the projection line as a general guideline for potential price movement
Settings:
Forecast length: Configure from 1-26 weeks or use quick select buttons (1M, 3M, 6M, 1Y)
Visual options: Customize colors, backgrounds, label sizes, and table position
Display options: Toggle statistics table, period highlights, labels, and mini-map
This indicator is designed as a visual guide to help identify potential seasonal tendencies in Nasdaq and tech stocks. Historical patterns are not guarantees of future performance, but understanding these seasonal biases can provide valuable context for your trading decisions.
Note: For optimal visualization, use on Daily timeframe or higher. Intraday timeframes will display a warning message.
Smart Liquidity Wave [The_lurker]"Smart Liquidity Wave" هو مؤشر تحليلي متطور يهدف لتحديد نقاط الدخول والخروج المثلى بناءً على تحليل السيولة، قوة الاتجاه، وإشارات السوق المفلترة. يتميز المؤشر بقدرته على تصنيف الأدوات المالية إلى أربع فئات سيولة (ضعيفة، متوسطة، عالية، عالية جدًا)، مع تطبيق شروط مخصصة لكل فئة تعتمد على تحليل الموجات السعرية، الفلاتر المتعددة، ومؤشر ADX.
فكرة المؤشر
الفكرة الأساسية هي الجمع بين قياس السيولة اليومية الثابتة وتحليل ديناميكي للسعر باستخدام فلاتر متقدمة لتوليد إشارات دقيقة. المؤشر يركز على تصفية الضوضاء في السوق من خلال طبقات متعددة من التحليل، مما يجعله أداة ذكية تتكيف مع الأدوات المالية المختلفة بناءً على مستوى سيولتها.
طريقة عمل المؤشر
1- قياس السيولة:
يتم حساب السيولة باستخدام متوسط حجم التداول على مدى 14 يومًا مضروبًا في سعر الإغلاق، ويتم ذلك دائمًا على الإطار الزمني اليومي لضمان ثبات القيمة بغض النظر عن الإطار الزمني المستخدم في الرسم البياني.
يتم تصنيف السيولة إلى:
ضعيفة: أقل من 5 ملايين (قابل للتعديل).
متوسطة: من 5 إلى 20 مليون.
عالية: من 20 إلى 50 مليون.
عالية جدًا: أكثر من 50 مليون.
هذا الثبات في القياس يضمن أن تصنيف السيولة لا يتغير مع تغير الإطار الزمني، مما يوفر أساسًا موثوقًا للإشارات.
2- تحليل الموجات السعرية:
يعتمد المؤشر على تحليل الموجات باستخدام متوسطات متحركة متعددة الأنواع (مثل SMA، EMA، WMA، HMA، وغيرها) يمكن للمستخدم اختيارها وتخصيص فتراتها ، يتم دمج هذا التحليل مع مؤشرات إضافية مثل RSI (مؤشر القوة النسبية) وMFI (مؤشر تدفق الأموال) بوزن محدد (40% للموجات، 30% لكل من RSI وMFI) للحصول على تقييم شامل للاتجاه.
3- الفلاتر وطريقة عملها:
المؤشر يستخدم نظام فلاتر متعدد الطبقات لتصفية الإشارات وتقليل الضوضاء، وهي من أبرز الجوانب المخفية التي تعزز دقته:
الفلتر الرئيسي (Main Filter):
يعمل على تنعيم التغيرات السعرية السريعة باستخدام معادلة رياضية تعتمد على تحليل الإشارات (Signal Processing).
يتم تطبيقه على السعر لاستخراج الاتجاهات الأساسية بعيدًا عن التقلبات العشوائية، مع فترة زمنية قابلة للتعديل (افتراضي: 30).
يستخدم تقنية مشابهة للفلاتر عالية التردد (High-Pass Filter) للتركيز على الحركات الكبيرة.
الفلتر الفرعي (Sub Filter):
يعمل كطبقة ثانية للتصفية، مع فترة أقصر (افتراضي: 12)، لضبط الإشارات بدقة أكبر.
يستخدم معادلات تعتمد على الترددات المنخفضة للتأكد من أن الإشارات الناتجة تعكس تغيرات حقيقية وليست مجرد ضوضاء.
إشارة الزناد (Signal Trigger):
يتم تطبيق متوسط متحرك على نتائج الفلتر الرئيسي لتوليد خط إشارة (Signal Line) يُقارن مع عتبات محددة للدخول والخروج.
يمكن تعديل فترة الزناد (افتراضي: 3 للدخول، 5 للخروج) لتسريع أو تبطيء الإشارات.
الفلتر المربع (Square Filter):
خاصية مخفية تُفعّل افتراضيًا تعزز دقة الفلاتر عن طريق تضييق نطاق التذبذبات المسموح بها، مما يقلل من الإشارات العشوائية في الأسواق المتقلبة.
4- تصفية الإشارات باستخدام ADX:
يتم استخدام مؤشر ADX كفلتر نهائي للتأكد من قوة الاتجاه قبل إصدار الإشارة:
ضعيفة ومتوسطة: دخول عندما يكون ADX فوق 40، خروج فوق 50.
عالية: دخول فوق 40، خروج فوق 55.
عالية جدًا: دخول فوق 35، خروج فوق 38.
هذه العتبات قابلة للتعديل، مما يسمح بتكييف المؤشر مع استراتيجيات مختلفة.
5- توليد الإشارات:
الدخول: يتم إصدار إشارة شراء عندما تنخفض خطوط الإشارة إلى ما دون عتبة محددة (مثل -9) مع تحقق شروط الفلاتر، السيولة، وADX.
الخروج: يتم إصدار إشارة بيع عندما ترتفع الخطوط فوق عتبة (مثل 109 أو 106 حسب الفئة) مع تحقق الشروط الأخرى.
تُعرض الإشارات بألوان مميزة (أزرق للدخول، برتقالي للضعيفة والمتوسطة، أحمر للعالية والعالية جدًا) وبثلاثة أحجام (صغير، متوسط، كبير).
6- عرض النتائج:
يظهر مستوى السيولة الحالي في جدول في أعلى يمين الرسم البياني، مما يتيح للمستخدم معرفة فئة الأصل بسهولة.
7- دعم التنبيهات:
تنبيهات فورية لكل فئة سيولة، مما يسهل التداول الآلي أو اليدوي.
%%%%% الجوانب المخفية في الكود %%%%%
معادلات الفلاتر المتقدمة: يستخدم المؤشر معادلات رياضية معقدة مستوحاة من معالجة الإشارات لتنعيم البيانات واستخراج الاتجاهات، مما يجعله أكثر دقة من المؤشرات التقليدية.
التكيف التلقائي: النظام يضبط نفسه داخليًا بناءً على التغيرات في السعر والحجم، مع عوامل تصحيح مخفية (مثل معامل التنعيم في الفلاتر) للحفاظ على الاستقرار.
التوزيع الموزون: الدمج بين الموجات، RSI، وMFI يتم بأوزان محددة (40%، 30%، 30%) لضمان توازن التحليل، وهي تفاصيل غير ظاهرة مباشرة للمستخدم لكنها تؤثر على النتائج.
الفلتر المربع: خيار مخفي يتم تفعيله افتراضيًا لتضييق نطاق الإشارات، مما يقلل من التشتت في الأسواق ذات التقلبات العالية.
مميزات المؤشر
1- فلاتر متعددة الطبقات: تضمن تصفية الضوضاء وإنتاج إشارات موثوقة فقط.
2- ثبات السيولة: قياس السيولة اليومي يجعل التصنيف متسقًا عبر الإطارات الزمنية.
3- تخصيص شامل: يمكن تعديل حدود السيولة، عتبات ADX، فترات الفلاتر، وأنواع المتوسطات المتحركة.
4- إشارات مرئية واضحة: تصميم بصري يسهل التفسير مع تنبيهات فورية.
5- تقليل الإشارات الخاطئة: الجمع بين الفلاتر وADX يعزز الدقة ويقلل من التشتت.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
#### **What is the Smart Liquidity Wave Indicator?**
"Smart Liquidity Wave" is an advanced analytical indicator designed to identify optimal entry and exit points based on liquidity analysis, trend strength, and filtered market signals. It stands out with its ability to categorize financial instruments into four liquidity levels (Weak, Medium, High, Very High), applying customized conditions for each category based on price wave analysis, multi-layered filters, and the ADX (Average Directional Index).
#### **Concept of the Indicator**
The core idea is to combine a stable daily liquidity measurement with dynamic price analysis using sophisticated filters to generate precise signals. The indicator focuses on eliminating market noise through multiple analytical layers, making it an intelligent tool that adapts to various financial instruments based on their liquidity levels.
#### **How the Indicator Works**
1. **Liquidity Measurement:**
- Liquidity is calculated using the 14-day average trading volume multiplied by the closing price, always based on the daily timeframe to ensure value consistency regardless of the chart’s timeframe.
- Liquidity is classified as:
- **Weak:** Less than 5 million (adjustable).
- **Medium:** 5 to 20 million.
- **High:** 20 to 50 million.
- **Very High:** Over 50 million.
- This consistency in measurement ensures that liquidity classification remains unchanged across different timeframes, providing a reliable foundation for signals.
2. **Price Wave Analysis:**
- The indicator relies on wave analysis using various types of moving averages (e.g., SMA, EMA, WMA, HMA, etc.), which users can select and customize in terms of periods.
- This analysis is integrated with additional indicators like RSI (Relative Strength Index) and MFI (Money Flow Index), weighted specifically (40% waves, 30% RSI, 30% MFI) to provide a comprehensive trend assessment.
3. **Filters and Their Functionality:**
- The indicator employs a multi-layered filtering system to refine signals and reduce noise, a key hidden feature that enhances its accuracy:
- **Main Filter:**
- Smooths rapid price fluctuations using a mathematical equation rooted in signal processing techniques.
- Applied to price data to extract core trends away from random volatility, with an adjustable period (default: 30).
- Utilizes a technique similar to high-pass filters to focus on significant movements.
- **Sub Filter:**
- Acts as a secondary filtering layer with a shorter period (default: 12) for finer signal tuning.
- Employs low-frequency-based equations to ensure resulting signals reflect genuine changes rather than mere noise.
- **Signal Trigger:**
- Applies a moving average to the main filter’s output to generate a signal line, compared against predefined entry and exit thresholds.
- Trigger period is adjustable (default: 3 for entry, 5 for exit) to speed up or slow down signals.
- **Square Filter:**
- A hidden feature activated by default, enhancing filter precision by narrowing the range of permissible oscillations, reducing random signals in volatile markets.
4. **Signal Filtering with ADX:**
- ADX is used as a final filter to confirm trend strength before issuing signals:
- **Weak and Medium:** Entry when ADX exceeds 40, exit above 50.
- **High:** Entry above 40, exit above 55.
- **Very High:** Entry above 35, exit above 38.
- These thresholds are adjustable, allowing the indicator to adapt to different trading strategies.
5. **Signal Generation:**
- **Entry:** A buy signal is triggered when signal lines drop below a specific threshold (e.g., -9) and conditions for filters, liquidity, and ADX are met.
- **Exit:** A sell signal is issued when signal lines rise above a threshold (e.g., 109 or 106, depending on the category) with all conditions satisfied.
- Signals are displayed in distinct colors (blue for entry, orange for Weak/Medium, red for High/Very High) and three sizes (small, medium, large).
6. **Result Display:**
- The current liquidity level is shown in a table at the top-right of the chart, enabling users to easily identify the asset’s category.
7. **Alert Support:**
- Instant alerts are provided for each liquidity category, facilitating both automated and manual trading.
#### **Hidden Aspects in the Code**
- **Advanced Filter Equations:** The indicator uses complex mathematical formulas inspired by signal processing to smooth data and extract trends, making it more precise than traditional indicators.
- **Automatic Adaptation:** The system internally adjusts based on price and volume changes, with hidden correction factors (e.g., smoothing coefficients in filters) to maintain stability.
- **Weighted Distribution:** The integration of waves, RSI, and MFI uses fixed weights (40%, 30%, 30%) for balanced analysis, a detail not directly visible but impactful on results.
- **Square Filter:** A hidden option, enabled by default, narrows signal range to minimize dispersion in high-volatility markets.
#### **Indicator Features**
1. **Multi-Layered Filters:** Ensures noise reduction and delivers only reliable signals.
2. **Liquidity Stability:** Daily liquidity measurement keeps classification consistent across timeframes.
3. **Comprehensive Customization:** Allows adjustments to liquidity thresholds, ADX levels, filter periods, and moving average types.
4. **Clear Visual Signals:** User-friendly design with easy-to-read visuals and instant alerts.
5. **Reduced False Signals:** Combining filters and ADX enhances accuracy and minimizes clutter.
#### **Disclaimer**
The information and publications are not intended to be, nor do they constitute, financial, investment, trading, or other types of advice or recommendations provided or endorsed by TradingView.
Rotational Factor CalculationThe Rotational Factor is a simple, objective means for evaluating day timeframe attempted direction based on the market's half hour auction rotations. At any point in time during the day, the running tally can help keep general awareness for whether buyers or sellers are in control, and if a transition is taking place. It is also helpful to use as one of a handful of variables that categorize the session's Directional Performance to assist in possible direction for the next session. This method is from Dalton's Mind Over Market's book and in part helps answer the question, which way is the market trying to go? This can then be applied to the second question, is the market doing a good job in it's attempted direction? Staying aware of these two questions keeps current sentiment and expectations in check.
Calculation method
Each 30min RTH candle gets a score:
if the high is higher than the previous candle's high: +1
if the high is lower than the previous candle's high: -1
if the low is higher than the previous candle's low: +1
if the low is lower than the previous candle's low: -1
if the high (or low) of a candle is equal to the high (or low) of the previous candle: 0
The running tally intraday text is displayed in blue. Once the session closes the text is displayed in orange and remains listed over the final candle of the day for 30 days. The RTH candles are calculated until the end of the RTH session (3pm EST) even though the session's full tally is displayed over the final candle at 3:30pm EST.
Liquidity + Internal Market Shift StrategyLiquidity + Internal Market Shift Strategy
This strategy combines liquidity zone analysis with the internal market structure, aiming to identify high-probability entry points. It uses key liquidity levels (local highs and lows) to track the price's interaction with significant market levels and then employs internal market shifts to trigger trades.
Key Features:
Internal Shift Logic: Instead of relying on traditional candlestick patterns like engulfing candles, this strategy utilizes internal market shifts. A bullish shift occurs when the price breaks previous bearish levels, and a bearish shift happens when the price breaks previous bullish levels, indicating a change in market direction.
Liquidity Zones: The strategy dynamically identifies key liquidity zones (local highs and lows) to detect potential reversal points and prevent trades in weak market conditions.
Mode Options: You can choose to run the strategy in "Both," "Bullish Only," or "Bearish Only" modes, allowing for flexibility based on market conditions.
Stop-Loss and Take-Profit: Customizable stop-loss and take-profit levels are integrated to manage risk and lock in profits.
Time Range Control: You can specify the time range for trading, ensuring the strategy only operates during the desired period.
This strategy is ideal for traders who want to combine liquidity analysis with internal structure shifts for precise market entries and exits.
This description clearly outlines the strategy's logic, the flexibility it provides, and how it works. You can adjust it further to match your personal trading style or preferences!
Internal Market StructureInternal Market Structure Indicator (Based on Bearish/Bullish Candle Patterns)
This custom market structure indicator is designed to help traders identify key shifts in market pressure based on bullish and bearish candle patterns. The indicator tracks consecutive bullish and bearish candles and identifies significant points where the price action suggests a potential reversal or continuation of the current market trend.
Key Features:
1. Bullish & Bearish Candle Recognition: The indicator monitors individual candles to determine if they are bullish (close > open) or bearish (close < open), and uses this information to track price direction over consecutive candles.
2. Consecutive Candle Tracking: It tracks consecutive bullish and bearish candles, giving insight into the strength of the prevailing trend. The number of consecutive candles can be adjusted to refine the analysis based on market conditions.
3. Engulfing Candle Detection: The indicator identifies Bullish and Bearish Engulfing signals when a reversal pattern is detected. These are plotted as triangle shapes on the chart:
-Bullish Engulfing: Indicates a potential reversal or continuation of an upward move, where a bullish candle fully engulfs the previous bearish candle.
-Bearish Engulfing: Indicates a potential reversal or continuation of a downward move, where a bearish candle fully engulfs the previous bullish candle.
4. Internal Shifts: The indicator also tracks Internal Shifts, which occur when the price closes beyond the highest or lowest levels of previous bullish or bearish sequences, signaling a potential trend change:
-Bullish Internal Shift: A shift indicating the market may be turning bullish.
-Bearish Internal Shift: A shift indicating the market may be turning bearish.
5. Alerts: Custom alerts are included to notify traders when any of the above conditions are met:
-Bullish Pressure Change Alert
-Bearish Pressure Change Alert
-Bullish Internal Shift Alert
-Bearish Internal Shift Alert
Plotting:
The indicator visually marks these key price levels with shapes on the chart:
-Green Triangle Up: Bullish Engulfment
-Red Triangle Down: Bearish Engulfment
-Blue Triangle Down: Bearish Internal Shift
-Orange Triangle Up: Bullish Internal Shift
Usage:
This indicator can be used to spot potential reversals, continuation patterns, and shifts in market sentiment. Traders can combine these signals with other technical indicators to form a more robust trading strategy.
By focusing on candle patterns and market structure, this indicator offers a clear, actionable framework for understanding market behavior and making more informed trading decisions.
*NOTE*
The polyline and horizontal trend lines drawn are not included in this indicator, but are there to show how this indicator can be used to illustrate the internal market structure of the given timeframe.
VWAP + Fib + Candlestick Pattern Strategy### **VWAP + Fibonacci + Candlestick Pattern Strategy (v6)**
This indicator is designed to identify high-quality trading setups using a combination of **Anchored VWAP, Fibonacci Retracement Levels, and Candlestick Patterns**. It helps traders find optimal entry points where multiple confluences align, enhancing trade accuracy.
### **Key Features:**
✅ **Anchored VWAP** – Starts from the last pivot low (bullish) or pivot high (bearish) to determine trend strength.
✅ **Fibonacci Levels** – Uses key retracement levels (0.382, 0.5, 0.618, 0.786) for added confluence.
✅ **Candlestick Patterns** – Detects Pin Bars, Engulfing Candles, and Hammer Candles for potential reversals.
✅ **High-Quality Setups** – Highlights strong signals where price aligns with VWAP & Fib zones.
✅ **Alerts** – Get notified when a bullish or bearish setup is detected.
✅ **Risk Management** – Includes Take Profit (TP1, TP2, Final TP) & Stop Loss based on ATR.
✅ **Position Sizing** – Calculates position size based on a fixed dollar risk per trade.
### **How to Use:**
1. Apply the indicator to your chart.
2. Look for signals near Fibonacci retracement levels and VWAP.
3. Use alerts for real-time trade notifications.
4. Manage risk with built-in TP/SL and position sizing.
Perfect for traders who use **Price Action & Smart Money Concepts** to refine their entries! 🚀
Dual Volume Divergence LineDual Volume Divergence Line (DVD/Line)
🔹 Overview
The Dual Volume Divergence Line (DVD/Line) is a custom Pine Script™ indicator designed to identify potential trend reversals and continuations by analyzing volume and price divergences. This script is inspired by the original concept of the Dual Volume Divergence Index (DVDI) by DonovanWall and has been modified and enhanced by keremertem. Special thanks to DonovanWall for the original concept. The indicator combines volume-based calculations with price action to generate signals for bullish and bearish divergences, both normal and hidden. Below is a detailed breakdown of its components and functionality.
🔹 Key Features of the DVD/Line Indicator
1. Dual Volume Divergence Calculation:
- The indicator calculates two primary volume-based indices: the Positive Volume Index (PVI) and the Negative Volume Index (NVI).
- PVI measures the impact of volume on price when the price increases, while NVI measures the impact when the price decreases.
- These indices are used to detect divergences between volume and price, which can signal potential reversals or continuations.
2. Customizable Inputs:
- DVD Sampling Period: Adjusts the sensitivity of the indicator by controlling the lookback period for calculating the volume-weighted moving averages (VWMA) of PVI and NVI.
- Band Width: Defines the range for calculating the upper and lower bands, which act as dynamic support and resistance levels.
- Source: Allows users to select the price source (e.g., `hlc3`, `close`, etc.) for calculations.
3. Volume-Weighted Moving Averages (VWMA):
- Instead of using traditional moving averages, the script employs VWMA to smooth the PVI and NVI signals. This ensures that the indicator is more responsive to changes in volume.
4. Upper and Lower Bands:
- The upper and lower bands are calculated using the Root Mean Square (RMS) of the highest and lowest values of the DVD line over a user-defined period. These bands help identify overbought and oversold conditions.
5. Divergence Detection:
- The script identifies four types of divergences:
- Normal Bullish Divergence: Occurs when price makes a lower low, but the DVD line makes a higher low.
- Hidden Bullish Divergence: Occurs when price makes a higher low, but the DVD line makes a lower low.
- Normal Bearish Divergence: Occurs when price makes a higher high, but the DVD line makes a lower high.
- Hidden Bearish Divergence: Occurs when price makes a lower high, but the DVD line makes a higher high.
- These divergences are visually highlighted on the chart using labels.
6. Customizable Divergence Selection:
- Users can choose between two types of divergence calculations:
- DVDI: Based on the raw divergence values.
- DVD Line: Based on the smoothed DVD line.
7. Visual Enhancements:
- The DVD line is plotted with a color-coded scheme: blue when the DVD line is above its signal line (bullish) and pink when it is below (bearish).
- The upper and lower bands are displayed as step lines, making it easier to identify key levels.
🔹 How the Indicator Works
1. Volume-Based Calculations:
- The script starts by calculating the PVI and NVI based on the selected price source and volume data.
- PVI increases when the price rises, while NVI decreases when the price falls. These indices are then smoothed using VWMA to generate signals.
2. DVD Line Calculation:
- The DVD line is derived by combining the divergences of PVI and NVI. It is further smoothed using a Weighted Moving Average (WMA) and a linear regression line for trend analysis.
3. Divergence Detection:
- The script identifies pivot points in the DVD line and compares them with price action to detect divergences.
- Normal divergences indicate potential reversals, while hidden divergences suggest trend continuations.
4. Dynamic Bands:
- The upper and lower bands are calculated using RMS, which provides a more accurate representation of volatility compared to standard deviation or fixed-width bands.
5. Labeling:
- Divergences are labeled directly on the chart with clear text and color coding:
🟢 Bullish Divergence: Green label with "Bull".
🟩 Bearish Divergence: Red label with "Bear".
🔴 Hidden Bullish Divergence: Lime label with "hid.".
🟧 Hidden Bearish Divergence: Orange label with "hid.".
🔹 Unique Aspects of This Script
1. Volume-Weighted Smoothing:
- Unlike traditional divergence indicators that rely on simple moving averages, this script uses VWMA and WMA to ensure that volume plays a significant role in signal generation.
2. Dynamic Bands with RMS:
- The use of RMS for calculating bands provides a more adaptive and accurate representation of market conditions, especially in volatile markets.
3. Flexible Divergence Selection:
- Users can choose between raw divergence values (DVDI) or smoothed values (DVD Line), allowing for greater customization based on trading style.
4. Comprehensive Divergence Detection:
- The script detects both normal and hidden divergences, providing a complete picture of potential trend reversals and continuations.
5. User-Friendly Visuals:
- The color-coded DVD line and cross-style bands make it easy to interpret the indicator at a glance.
🔹 How to Use the Indicator
1. Trend Identification:
- Use the Middle Band and its color to identify the current trend. A green line suggests bullish momentum, while a red line indicates bearish momentum. Additionally, a bullish momentum may be indicated when the DVD line crosses up, and a bearish momentum may be indicated when it crosses down the Middle Band.
2. Divergence Trading:
- Look for divergences between the DVD line and price action. Normal divergences can be used for counter-trend trades, while hidden divergences can confirm trend continuations.
3. Band Breakouts:
- Monitor the upper and lower bands for potential breakout or reversal signals. A break above the upper band may indicate overbought conditions, while a break below the lower band may suggest oversold conditions.
4. Customization:
- Adjust the sampling period and band width to suit different timeframes and trading strategies. Shorter periods are more sensitive, while longer periods provide smoother signals.
🔹 Conclusion
The Dual Volume Divergence Line (DVD/Line) is a powerful and versatile indicator that combines volume analysis with price action to generate actionable trading signals. Its unique use of volume-weighted smoothing, dynamic bands, and comprehensive divergence detection sets it apart from traditional divergence indicators. Whether you're a day trader or a long-term investor, this tool can help you identify high-probability trading opportunities with greater accuracy and confidence.
📌 Disclaimer: This script is for educational purposes only and does not constitute financial advice. Always conduct your own analysis before making trading decisions.
Nef33 Forex & Crypto Trading Signals PRO
1. Understanding the Indicator's Context
The indicator generates signals based on confluence (trend, volume, key zones, etc.), but it does not include predefined SL or TP levels. To establish them, we must:
Use dynamic or static support/resistance levels already present in the script.
Incorporate volatility (such as ATR) to adjust the levels based on market conditions.
Define a risk/reward ratio (e.g., 1:2).
2. Options for Determining SL and TP
Below, I provide several ideas based on the tools available in the script:
Stop Loss (SL)
The SL should protect you from adverse movements. You can base it on:
ATR (Volatility): Use the smoothed ATR (atr_smooth) multiplied by a factor (e.g., 1.5 or 2) to set a dynamic SL.
Buy: SL = Entry Price - (atr_smooth * atr_mult).
Sell: SL = Entry Price + (atr_smooth * atr_mult).
Key Zones: Place the SL below a support (for buys) or above a resistance (for sells), using Order Blocks, Fair Value Gaps, or Liquidity Zones.
Buy: SL below the nearest ob_lows or fvg_lows.
Sell: SL above the nearest ob_highs or fvg_highs.
VWAP: Use the daily VWAP (vwap_day) as a critical level.
Buy: SL below vwap_day.
Sell: SL above vwap_day.
Take Profit (TP)
The TP should maximize profits. You can base it on:
Risk/Reward Ratio: Multiply the SL distance by a factor (e.g., 2 or 3).
Buy: TP = Entry Price + (SL Distance * 2).
Sell: TP = Entry Price - (SL Distance * 2).
Key Zones: Target the next resistance (for buys) or support (for sells).
Buy: TP at the next ob_highs, fvg_highs, or liq_zone_high.
Sell: TP at the next ob_lows, fvg_lows, or liq_zone_low.
Ichimoku: Use the cloud levels (Senkou Span A/B) as targets.
Buy: TP at senkou_span_a or senkou_span_b (whichever is higher).
Sell: TP at senkou_span_a or senkou_span_b (whichever is lower).
3. Practical Implementation
Since the script does not automatically draw SL/TP, you can:
Calculate them manually: Observe the chart and use the levels mentioned.
Modify the code: Add SL/TP as labels (label.new) at the moment of the signal.
Here’s an example of how to modify the code to display SL and TP based on ATR with a 1:2 risk/reward ratio:
Modified Code (Signals Section)
Find the lines where the signals (trade_buy and trade_sell) are generated and add the following:
pinescript
// Calculate SL and TP based on ATR
atr_sl_mult = 1.5 // Multiplier for SL
atr_tp_mult = 3.0 // Multiplier for TP (1:2 ratio)
sl_distance = atr_smooth * atr_sl_mult
tp_distance = atr_smooth * atr_tp_mult
if trade_buy
entry_price = close
sl_price = entry_price - sl_distance
tp_price = entry_price + tp_distance
label.new(bar_index, low, "Buy: " + str.tostring(math.round(bull_conditions, 1)), color=color.green, textcolor=color.white, style=label.style_label_up, size=size.tiny)
label.new(bar_index, sl_price, "SL: " + str.tostring(math.round(sl_price, 2)), color=color.red, textcolor=color.white, style=label.style_label_down, size=size.tiny)
label.new(bar_index, tp_price, "TP: " + str.tostring(math.round(tp_price, 2)), color=color.blue, textcolor=color.white, style=label.style_label_up, size=size.tiny)
if trade_sell
entry_price = close
sl_price = entry_price + sl_distance
tp_price = entry_price - tp_distance
label.new(bar_index, high, "Sell: " + str.tostring(math.round(bear_conditions, 1)), color=color.red, textcolor=color.white, style=label.style_label_down, size=size.tiny)
label.new(bar_index, sl_price, "SL: " + str.tostring(math.round(sl_price, 2)), color=color.red, textcolor=color.white, style=label.style_label_up, size=size.tiny)
label.new(bar_index, tp_price, "TP: " + str.tostring(math.round(tp_price, 2)), color=color.blue, textcolor=color.white, style=label.style_label_down, size=size.tiny)
Code Explanation
SL: Calculated by subtracting/adding sl_distance to the entry price (close) depending on whether it’s a buy or sell.
TP: Calculated with a double distance (tp_distance) for a 1:2 risk/reward ratio.
Visualization: Labels are added to the chart to display SL (red) and TP (blue).
4. Practical Strategy Without Modifying the Code
If you don’t want to modify the script, follow these steps manually:
Entry: Take the trade_buy or trade_sell signal.
SL: Check the smoothed ATR (atr_smooth) on the chart or calculate a fixed level (e.g., 1.5 times the ATR). Also, review nearby key zones (OB, FVG, VWAP).
TP: Define a target based on the next key zone or multiply the SL distance by 2 or 3.
Example:
Buy at 100, ATR = 2.
SL = 100 - (2 * 1.5) = 97.
TP = 100 + (2 * 3) = 106.
5. Recommendations
Test in Demo: Apply this logic in a demo account to adjust the multipliers (atr_sl_mult, atr_tp_mult) based on the market (forex or crypto).
Combine with Zones: If the ATR-based SL is too wide, use the nearest OB or FVG as a reference.
Risk/Reward Ratio: Adjust the TP based on your tolerance (1:1, 1:2, 1:3)
Volume Order Blocks [BigBeluga]Volume Order Blocks is a powerful indicator that identifies significant order blocks based on price structure, helping traders spot key supply and demand zones. The tool leverages EMA crossovers to determine the formation of bullish and bearish order blocks while visualizing their associated volume and relative strength.
🔵 Key Features:
Order Block Detection via EMA Crossovers:
Plots bullish order blocks at recent lows when the short EMA crosses above the long EMA.
Plots bearish order blocks at recent highs when the short EMA crosses below the long EMA.
Uses customizable sensitivity through the “Sensitivity Detection” setting to fine-tune block formation.
Volume Collection and Visualization:
Calculates the total volume between the EMA crossover bar and the corresponding high (bearish OB) or low (bullish OB).
Displays the absolute volume amount next to each order block for clear volume insights.
Percentage Volume Distribution:
Shows the percentage distribution of volume among bullish or bearish order blocks.
100% represents the cumulative volume of all OBs in the same category (bullish or bearish).
Order Block Removal Conditions:
Bullish order blocks are removed when the price closes below the bottom of the block.
Bearish order blocks are removed when the price closes above the top of the block.
Helps maintain chart clarity by only displaying relevant and active levels.
Midline Feature:
Dashed midline inside each order block indicates the midpoint between the upper and lower boundaries.
Traders can toggle the midline on or off through the settings.
Shadow Trend:
Shadow Trend dynamically visualizes trend strength and direction by adapting its color intensity based on price movement.
🔵 Usage:
Supply & Demand Zones: Use bullish and bearish order blocks to identify key market reversal or continuation points.
Volume Strength Analysis: Compare volume percentages to gauge which order blocks hold stronger market significance.
Breakout Confirmation: Monitor block removal conditions for potential breakout signals beyond support or resistance zones.
Trend Reversals: Combine EMA crossovers with order block formation for early trend reversal detection.
Risk Management: Use OB boundaries as potential stop-loss or entry points.
Volume Order Blocks is an essential tool for traders seeking to incorporate volume-based supply and demand analysis into their trading strategy. By combining price action, volume data, and EMA crossovers, it offers a comprehensive view of market structure and potential turning points.
Rev & Line - CoffeeKillerRev & Line - CoffeeKiller Indicator Guide
🔔 Warning: This Indicator Repaints 🔔 This indicator uses real-time calculations that may change based on future price action. As a result, signals (such as arrows, lines, or color changes) **can and will repaint** — meaning they may appear, disappear, or shift after a candle closes.
**Do not rely on this tool alone for live trading decisions.** Use with caution and always confirm with non-repainting tools or additional analysis.(This indicator is designed to show me the full length of the trend and because of this there can be a smaller movement inside of the trend movement)
Welcome traders! This guide will walk you through the Rev & Line indicator, a sophisticated technical analysis tool developed by CoffeeKiller that combines multiple methodologies to identify market pivots, trends, and potential reversal points.
Core Components
1. ZigZag Analysis
- Dynamic pivot detection using ATR (Average True Range)
- Customizable sensitivity through ATR Reversal Factor
- Color-coded trend lines (green for upward, red for downward)
- Optional vertical lines at pivot points
- Real-time pivot point analysis
2. Donchian Channel Integration
- Traditional upper, lower, and middle bands
- Customizable length and displacement
- Channel-based entry signals
- Dynamic market structure visualization
3. Marker Lines System
- Dynamic support/resistance level tracking
- Pivot-based reset mechanism
- Optional fill zones between markers
- Percentage position tracking within range
4. Signal Generation System
- Confluence between ZigZag pivots and Donchian channels
- Up/down arrow visualization
- Alert system
Main Features
ZigZag Settings
- ATR Reversal Factor: Controls pivot sensitivity (default 3.2)
- Customizable line appearance:
Width control (default: 3)
Color selection (green for uptrend, red for downtrend)
Vertical line options at pivot points
Maximum vertical lines display limit
- Hide repainted option for more reliable signals
Donchian Channel Configuration
- Optional channel visibility toggle
- Length parameter for lookback period (default: 20)
- Displace option for time offset
- Bubble offset for visual placement
Marker Lines System
- High/low/middle marker lines with step-line visualization
- Dotted line projections for future reference
- Pivot-based reset mechanism
- Color-coded percentage position display
Signal Generation
- Triangle markers for signals
- Combined ZigZag and Donchian confluence
- Alert system for notifications
Visual Elements
1. Pivot Lines
- Green: Upward price movements
- Red: Downward price movements
- Customizable line width
- Optional vertical pivot markers with style options:
Solid lines for confirmed pivots
Dashed lines for older pivots
Dotted lines for most recent pivots
2. Donchian Channels
- Upper band (red): Resistance level
- Lower band (green): Support level
- Middle band (yellow): Median price line
- Customizable display options
3. Marker Lines
- High marker line (magenta): Tracks highest open price
- Low marker line (cyan): Tracks lowest open price
- Middle marker line (blue): 50% level between high/low
- Dotted line extensions for future price projections
4. Position Tracking
- Percentage position display within marker range
- Real-time calculations from 0% to 100%
- Label system for visual reference
Trading Applications
1. Trend Following
- Enter on confirmed ZigZag pivot points
- Use Donchian channel boundaries as targets
- Trail stops using marker lines
- Monitor for confluence between systems
2. Counter-Trend Trading
- Trade bounces from marker lines
- Use pivot confirmation for entry timing
- Set stops based on recent pivot points
- Target the opposite marker line
3. Range Trading
- Use high/low marker lines to define range
- Trade bounces between upper and lower markers
- Consider middle marker for range midpoint
- Monitor percentage position within range
4. Breakout Trading
- Enter on breaks above/below marker lines
- Confirm with Donchian channel breakouts
- Use ZigZag pivot confirmations
- Wait for arrow signals for additional confirmation
Optimization Guide
1. ZigZag Parameters
- Higher ATR Factor: Less sensitive, major moves only
- Lower ATR Factor: More sensitive, catches minor moves
- Adjust line width for chart visibility
- Balance vertical line count for clarity
2. Donchian Channel Settings
- Longer length: Smoother channels, fewer false signals
- Shorter length: More responsive, but potentially noisier
- Displacement: Offset for historical reference
- Consider timeframe when setting parameters
3. Marker Line Configuration
- Enable/disable based on trading style
- Toggle middle line for additional reference
- Adjust colors for visual clarity
- Enable/disable labels as needed
4. Signal Generation
- Use "Hide repainted" option for more reliable signals
- Combine ZigZag and Donchian signals for confirmation
- Set alerts based on confirmed pivot points
- Balance sensitivity with reliability
Best Practices
1. Signal Confirmation
- Wait for confirmed pivot points
- Check for Donchian channel interactions
- Confirm with price action
- Look for arrow signals at pivot points
2. Risk Management
- Use recent pivot points for stop placement
- Consider marker line boundaries for targets
- Don't trade against strong trends
- Wait for clear confluence between systems
3. Setup Optimization
- Start with default settings
- Adjust based on timeframe
- Fine-tune ATR sensitivity
- Match settings to trading style
Advanced Features
1. Alert System
- Customizable arrow alerts
- Pivot point notifications
- Text message alerts with ticker information
- Once-per-bar frequency option
2. Pivot Detection Logic
The indicator uses a sophisticated state-based approach to detect pivots:
- State transitions between "uptrend," "downtrend," and "undefined"
- ATR-based reversal detection
- Minimum movement threshold for pivot confirmation
- Historical pivot tracking and labeling
3. Marker Line Reset Mechanism
- Marker lines reset based on pivot detection
- Dynamic support/resistance level adjustment
- Percentage position calculation within range
- Automatic updates as market structure changes
Remember:
- Combine multiple confirmation signals
- Use appropriate timeframe settings
- Monitor both ZigZag and Marker signals
- Pay attention to Donchian channel interactions
- Consider market volatility when trading
This indicator works best when:
- Used with proper risk management
- Combined with other technical tools
- Applied to appropriate timeframes
- Signals are confirmed by price action
**DISCLAIMER**: This indicator and its signals are intended solely for educational and informational purposes. They do not constitute financial advice. Trading involves significant risk of loss. Always conduct your own analysis and consult with financial professionals before making trading decisions.