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.
Indicators and strategies
TR FVG Finder 1.0TR FVG Finder 1.0 - Identify High-Probability Trading Zones
Unlock the power of Fair Value Gaps (FVGs) with this advanced TradingView indicator! Designed for traders seeking high-probability setups, the Fair Value Gap Detector identifies key price imbalances on your chart, helping you spot potential reversal and continuation zones with precision.
Key Features:
Accurate FVG Detection: Automatically detects bullish and bearish Fair Value Gaps based on a proven 3-candle pattern, highlighting areas where price is likely to return.
Customizable Display: Shows the most recent 3 FVGs by default (combined bullish and bearish), with an option to adjust the number of FVGs displayed.
Visual Clarity: Draws semi-transparent boxes (green for bullish FVGs, red for bearish FVGs) that extend 15 candles to the right, making it easy to track key levels.
Versatile for All Markets: Works on any timeframe and instrument—perfect for forex, stocks, crypto, and commodities like XAU/USD (gold).
User-Friendly: Simple to use with customizable settings, ideal for both beginner and experienced traders.
How It Works:
The indicator identifies FVGs by analyzing a 3-candle pattern:
- Bullish FVG: When the high of the candle two bars back is below the low of the current candle.
- Bearish FVG: When the low of the candle two bars back is above the high of the current candle. These gaps often act as magnets for price, making them powerful zones for trading strategies like breakouts, pullbacks, or reversals.
Why Use This Indicator?
- Enhance your technical analysis with a proven concept used by institutional traders.
- Spot high-probability trading opportunities with clear visual cues.
- Save time by automating FVG detection—no manual drawing required.
Best Practices:
- Use on lower timeframes (e.g., 15-minute or 1-hour) for more frequent FVGs, especially in volatile markets like forex or crypto.
- Combine with other indicators (e.g., support/resistance, volume) for confirmation.
- Ideal for strategies like ICT (Inner Circle Trader) concepts, Smart Money trading, and price action analysis.
Regards,
Trader Riaz
TR, ATR & DATRTr, Atr & Datr For Zone Marking. Validate Your Demand And Supply Zones Using This Free Indicator.
EMA Selectable Crossing TriggerEMA Crossover Signal Indicator
This Pine Script creates a customizable Exponential Moving Average (EMA) crossover indicator designed for traders to identify potential "call" or "put" signals on a chart. The script plots four adjustable EMA lines and generates a signal when two specific EMAs—the "Target" and "Trigger" lines—cross each other. The direction of the crossover determines whether a "call" (bullish) or "put" (bearish) signal is displayed.
Features:
Target EMA (EMA 5):
A fast-moving EMA with a default length of 5 periods.
This line serves as the primary signal generator when it crosses the Trigger EMA.
Fully adjustable via input settings.
Trigger EMA (EMA 15):
A slightly slower EMA with a default length of 15 periods.
Acts as the reference line for the Target EMA crossover.
Fully adjustable via input settings.
Support/Resistance EMA (EMA 90):
A medium-term EMA with a default length of 90 periods.
Provides a visual guide for potential support or resistance levels on the chart.
Fully adjustable via input settings.
Support/Resistance EMA (EMA 180):
A long-term EMA with a default length of 180 periods.
Offers additional context for major support or resistance zones.
Fully adjustable via input settings.
Signal Logic:
Call Signal: Generated when the Target EMA (e.g., EMA 5) crosses above the Trigger EMA (e.g., EMA 15), indicating potential bullish momentum.
Put Signal: Generated when the Target EMA crosses below the Trigger EMA, signaling potential bearish momentum.
Signals are plotted directly on the chart at the point of crossover for easy identification.
Customization:
All four EMA lengths (Target, Trigger, EMA 90, and EMA 180) are user-adjustable through the script’s input settings, allowing flexibility to adapt the indicator to different timeframes or trading strategies.
The script plots each EMA line in distinct colors for clear visualization.
Usage:
This indicator is ideal for traders using EMA crossovers to spot entry points for options trading (calls or puts) or trend-following strategies. The additional EMA 90 and EMA 180 lines provide context for key support and resistance levels, enhancing decision-making. Adjust the EMA lengths based on your preferred trading style or asset volatility.
Percentage ChangeThis is a very simple script. It calculations the percentage the stocks price has changed with 3 different metrics over the configured lookback period.
- Close to Open: calculates the percentage difference between the opening bar at the beginning of the lookback period to the closing current bar.
- Low to High: calculates the percentage difference between the lowest low to the highest high over the period.
- High to Low: calculates the percentage difference between the highest high to the lowest low over the period.
This indicator is used to call out especially volatile periods allowing traders to target spikes up or down.
[JB] Relative StregnthMy first attempt at a relative strength indicator. Compares the price of the current chart to a symbol of your choice (VUG) by default, but SPY and QQQ are common choices. Configurable timeframe and smoothing parameters as well.
★ Kozmik Kâr Fetih Pro ★KOZMIK PROFIT CONQUEST PRO - ADVANCED TRADING SYSTEM
"A multi-strategy technical analysis tool combining algorithmic precision with institutional-grade risk management"
CORE FEATURES
Quad-Layer Trend Analysis
(8-21-50-200 EMA/SMA/WMA/VWMA/HMA) with dynamic trend confirmation
Smart Signal Generation
RSI divergence + ADX trend strength + Volume spikes + Fibonacci alignment
Adaptive Risk Controls
ATR-based dynamic Stop Loss & fixed-risk Take Profit (1:3 RR ratio)
Market Diagnostics Dashboard
Real-time trend strength, volatility index, and volume analysis
Anti-False Signal Protocol
Cooldown period and volume confirmation filters
OPTIMAL USAGE PARAMETERS
Timeframes: 15min - 4HR (All chart intervals supported)
Asset Classes: Crypto - Stocks - Forex - Commodities
Strategy Integration:
Trend following / Swing trading / Breakout strategies
Recommended Combo:
Price action patterns + Fibonacci retracement + This indicator
CONFIGURATION GUIDE
Visual Customization:
Toggle MA visibility and line styles
Extend SL/TP projection lines
Customize alert thresholds
Signal Filters:
ADX strength threshold (Default: 22)
Volume multiplier (1.5x baseline)
Fibonacci confirmation (Optional)
RISK MANAGEMENT SYSTEM
Fixed 2% account risk per trade (User-adjustable)
Volatility-adjusted position sizing
Three-tier profit booking levels
Session-specific volatility guardrails
OPERATIONAL NOTES
Allow complete candle closure before signal confirmation
Combine with fundamental analysis during earnings/events
Disable during extreme volatility (VIX > 40 equivalent conditions)
Weekly backtest recommended for parameter optimization
TOP TRADE SCENARIOS
EMA Stack Bullish + RSI Hidden Bull Divergence
Fibonacci 61.8% Retest + Volume Surge
Super Trend MA Bounce + ADX Power Cross
Compression Breakout + ATR Expansion
Session Open Gap Fill + Institutional Volume
SYSTEM SPECIFICATIONS
Version: 3.14 (Stable Build)
Calculation Method: Multi-timeframe weighted analysis
Data Requirements: OHLC + Volume
Processor Load: Medium (Optimized for retail devices)
DISCLAIMER: This tool provides probabilistic assessments, not financial advice. Past performance ≠ future results. Demo test mandatory before live deployment. Not responsible for trading losses.
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)
Support & Resistance with RSI BreakoutsThe script is a TradingView Pine Script (v5) indicator that identifies support and resistance levels using RSI (Relative Strength Index) breakouts. Here’s a breakdown of what it does:
Features:
RSI Calculation:
The script calculates the 14-period RSI (default) using the closing price.
The user can modify the RSI period through an input setting.
Buy and Sell Signals:
A buy signal is triggered when RSI drops below 20 (indicating oversold conditions).
A sell signal is triggered when RSI rises above 80 (indicating overbought conditions).
Visual Representation:
Buy signals are marked with a green upward arrow (↑) below the price bars.
Sell signals are marked with a red downward arrow (↓) above the price bars.
The arrows help traders easily spot potential trade opportunities.
Usage:
This script is useful for traders looking to buy at oversold conditions and sell at overbought conditions based on RSI.
It works best when combined with other indicators or price action strategies to confirm signals.
5-Min ORB with Volume SpikeThis indicator identifies Opening Range Breakouts (ORB) based on the high and low of the first 5 minutes of the trading day and confirms the breakout with a volume spike.
🔍 What It Does:
Automatically captures the Opening Range High and Low from 9:30 AM to 9:35 AM (configurable).
Plots green (high) and red (low) lines across the chart once the opening range is set.
Highlights long breakout signals when price breaks above the OR High with above-average volume.
Highlights short breakout signals when price breaks below the OR Low with above-average volume.
Volume confirmation is based on a customizable 20-period simple moving average (SMA) of volume.
⚙️ Best Used On:
5-minute or lower intraday charts (e.g., SPY, QQQ, futures, etc.)
Highly liquid, high-volatility instruments
U.S. equity market open (customizable for other sessions)
📈 Trading Edge: This strategy helps traders identify strong, momentum-driven breakouts early in the trading session — especially when confirmed by increased institutional activity (volume spike).
Combined Support & Resistance IndicatorsPivot Points Calculation:
The script calculates the Pivot Point as the average of the high price (high), low price (low), and closing price (close) of the current bar.
The Pivot Point is plotted on the chart as a red line.
Support and Resistance Levels:
The Support Level is calculated as the lowest price over the last lookback bars.
The Resistance Level is calculated as the highest price over the last lookback bars.
These levels are displayed on the chart using horizontal lines: green for support and red for resistance.
Momentum Indicators:
RSI (Relative Strength Index): A momentum oscillator calculated based on the closing price over the last 14 bars. It is plotted as a yellow line.
MACD (Moving Average Convergence Divergence): An indicator consisting of the MACD line (blue) and the signal line (orange). It is calculated based on the closing price.
Moving Averages:
SMA 20: A simple moving average over the last 20 bars. It is plotted as a green line.
SMA 50: A simple moving average over the last 50 bars. It is plotted as a red line.
Dynamic Levels Drawing:
Instead of using hline (which does not support dynamic values), the script uses line.new to draw dynamic support and resistance levels. These lines are updated on each bar.
Power Balance Bull&Bear - CoffeeKillerPower Balance Bull&Bear - CoffeeKiller Indicator Guide
Welcome traders! This guide will walk you through the Power Balance Bull&Bear indicator, a unique and powerful market analysis tool developed by CoffeeKiller that visualizes the ongoing battle between buyers and sellers in any market.
Core Concept: Buyers vs. Sellers
The foundation of this indicator rests on a simple yet profound concept: every price movement in the market represents a battle between buyers and sellers.
Positive Green Line: Buyer Power
- Represents cumulative buying pressure in the market
- Tracks positive directional movement over a specified period
- Rising positive line indicates increasing buying momentum
- Peaks in the positive line show moments of maximum buyer dominance
Negative Red Line: Seller Power
- Represents cumulative selling pressure in the market
- Tracks negative directional movement over a specified period
- Falling negative line indicates increasing selling momentum
- Troughs in the negative line show moments of maximum seller dominance
Master Line: Market Balance
- Calculated as the difference between positive and negative movements
- Above zero: buyers are in control
- Below zero: sellers are in control
- Peaks and troughs: moments of extreme buyer or seller dominance
Core Components
1. Directional Movement Analysis
- Cumulative measurement of price changes in both directions
- Normalization for consistent visualization
- Optional smoothing for clearer signals
- Custom box size for sensitivity control
2. Distance Measurement
- Calculation of separation between buyer and seller lines
- Convergence and divergence thresholds
- Dynamic fill coloring based on distance trends
- Distance trend visualization
3. Peak Detection System
- Identification of local maxima and minima in buyer/seller dominance
- Background highlighting of significant peaks
- Zero-line cross detection for trend changes
- Visual cues for market extremes
4. Trend Analysis
- Buyer/seller line crossovers for major trend signals
- Distance trending for momentum confirmation
- Status monitoring (Near, Far, Normal)
- Direction tracking for both buyer and seller lines
Main Features
Time Resolution Settings
- Normal mode: calculations based on chart timeframe
- Custom resolution mode: calculations based on specified timeframe
- Multi-timeframe analysis capabilities
- Flexible time projection options
Visual Elements
- Color-coded buyer and seller lines
- Dynamic fill coloring based on convergence/divergence
- Background highlighting for significant peaks
- Distance line with threshold markers
Signal Generation
- Buyer/seller crossover alerts
- Convergence/divergence notifications
- Peak detection signals
- Status change alerts
Analysis Table(I personally don't use the table it was coded to take longer signals to show strength or weakness in overall trend)
- Current distance measurement
- Distance trend indication
- Status monitoring (Near, Far, Normal)
- Buyer and seller line trend tracking
Trading Applications
1. Trend Identification
- Buyer line crossing above seller line: bullish trend beginning
- Seller line crossing above buyer line: bearish trend beginning
- Distance between lines: trend strength
- Distance trending: momentum confirmation
2. Reversal Detection
- Peak formation after extended trend: potential exhaustion
- Buyer/seller line convergence: decreasing trend strength
- Distance falling below convergence threshold: potential trend change
- Background highlighting: visual cue for significant peaks
3. Momentum Analysis
- Increasing distance: accelerating trend
- Decreasing distance: decelerating trend
- Distance above divergence threshold: strong momentum
- Distance below convergence threshold: weak momentum
4. Market Balance Assessment
- Buyer line trend: indicates strength/weakness of bulls
- Seller line trend: indicates strength/weakness of bears
- Master line position relative to zero: overall market bias
- Distance between lines: consensus or disagreement in the market
Optimization Guide
1. Period Settings
- Longer period: smoother signals, less noise, fewer false signals
- Shorter period: more responsive, captures minor moves, potentially more noise
- Default (20): balanced approach for most timeframes
2. Box Size Parameter
- Smaller box size: more sensitive to price changes
- Larger box size: less sensitive, focuses on major moves
- Default (0.001): calibrated for typical price ranges
3. Distance Thresholds
- Convergence threshold: determines when lines are considered "near"
- Divergence threshold: determines when lines are considered "far"
- Adjusting these based on volatility of the instrument
4. Color Customization
- Positive Green line: representing buyer strength
- Negative Red line: representing seller strength
- Diverging fill: when the gap between buyers and sellers is increasing
- Converging fill: when buyers and sellers are moving closer together
Best Practices
1. Signal Confirmation
- Wait for buyer/seller crossovers to confirm
- Look for background highlighting at peaks
- Check distance trends for momentum confirmation
- Use the analysis table for additional context
2. Timeframe Selection
- Lower timeframes: more signals, potential noise
- Higher timeframes: cleaner signals, less frequent
- Custom resolution: allows comparison across timeframes
- Consider using multiple timeframes for confirmation
3. Market Context
- Strong buyer line rising + weak seller line: very bullish
- Strong seller line falling + weak buyer line: very bearish
- Both lines rising: volatile uptrend
- Both lines falling: volatile downtrend
4. Combining with Other Indicators
- Use with trend indicators for confirmation
- Pair with oscillators for overbought/oversold conditions
- Combine with volume analysis for validation
- Consider support/resistance levels when peaks form
Advanced Trading Strategies
1. Buyer/Seller Balance Strategy
- Enter long when buyer line crosses above seller line
- Enter short when seller line crosses above buyer line
- Use distance trend for filtering quality of signals
- Exit when distance falls below convergence threshold
2. Peak Trading Strategy
- Identify significant peaks with background highlighting
- Look for consecutive lower peaks in buyer line for shorting opportunities
- Look for consecutive higher troughs in seller line for buying opportunities
- Use master line crosses through zero as confirmation
3. Convergence/Divergence Strategy
- Enter positions when distance exceeds divergence threshold (strong trend)
- Take partial profits when distance starts decreasing
- Exit fully when distance falls below convergence threshold
- Re-enter when a new trend forms with increasing distance
4. Line Trend Combination Strategy
- Strongest bullish signal: Rising buyer line + falling seller line + increasing distance
- Strongest bearish signal: Falling buyer line + rising seller line + increasing distance
- Potential reversal signal: Decreasing distance + peak formation + line trend change
- Continuation signal: Consistent buyer/seller dominance + increasing distance after consolidation
Practical Analysis Examples
Bullish Market Scenario
- Buyer line trends upward as buying pressure increases
- Seller line remains flat or trends downward as selling pressure decreases
- Distance between lines expands, showing divergence (strong trend)
- Positive background highlights appear at new peaks in buyer dominance
- Master line moves further above zero
Bearish Market Scenario
- Seller line trends downward as selling pressure increases
- Buyer line remains flat or trends downward as buying pressure decreases
- Distance between lines expands, showing divergence (strong trend)
- Negative background highlights appear at new troughs in seller dominance
- Master line moves further below zero
Consolidation Scenario
- Buyer and seller lines move sideways
- Distance between lines narrows, showing convergence
- Few or no new peak highlights appear
- Master line oscillates close to the zero line
- Analysis table shows "Stable" trends for both buyer and seller lines
Understanding Market Dynamics Through Power Balance
At its core, this indicator provides a unique lens to visualize the ongoing battle between bulls and bears:
1. **Relative Strength**: When the buyer line rises faster than the seller line, bulls are gaining strength relative to bears - a bullish signal. When the seller line falls faster than the buyer line, bears are dominating - a bearish signal.
2. **Market Consensus**: Convergence between lines suggests market participants are reaching consensus about price direction. Divergence suggests growing disagreement and potential for stronger moves.
3. **Exhaustion Signals**: Major peaks in either line that are highlighted by background colors suggest moments where one side (buyers or sellers) has reached maximum strength - often precursors to reversals.
4. **Trend Confirmation**: The status indicators (Near, Far, Normal) provide context about the current market phase, helping confirm whether a trend is establishing, continuing strongly, or potentially fading.
Remember:
- Combine signals from buyer/seller lines, distance measurements, and peak formations
- Use appropriate timeframe settings for your trading style
- Monitor the analysis table for additional context
- Consider market conditions and correlate with price action
This indicator works best when:
- Used as part of a comprehensive trading system
- Combined with proper risk management
- Applied with an understanding of current market conditions
- Signals are confirmed by price action and other indicators
**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.
Coinbase PremiumCoinbase Premium Indicator
This Pine Script indicator displays the premium on Coinbase relative to the current ticker, if the ticker is available on Coinbase. It calculates the premium as the percentage difference between the price of the current ticker and the price on Coinbase.
Features:
Fetches the current ticker price.
Checks if the current ticker is available on Coinbase.
Calculates the premium only if the ticker is available on Coinbase.
Plots the premium on the chart.
Displays a message if the current ticker is not available on Coinbase.
Use this indicator to monitor the price premium of assets on Coinbase compared to other exchanges.
HILo Ema Squeeze BandsThis indicator combines uses ema to identify price squeeze before a big move.
The ema gets initialised at new high low. It used 3 ema's lengths. For result use x, 2x ,4x ie 50, 100, 200 or 100,200,400 and so on . On more volatile asset use a higher settings like 100,200,400. The inner band is divided into 4 zones, which can give support resistance. As you use it you will become aware of subtle information that it can give at times. Like you may be able to find steps at which prices move, when the market is trending
Just like in Bollinger bands, in a trending market the price stays within sd=1 and sd=2 so does in the inner band the price will remain in band1 and band2. But Bollinger band cannot print steps this indicator shows steps
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.
BCVC - Volume & Big Candle ColorThe BCVC (Volume & Big Candle Color) indicator helps traders identify significant price movements accompanied by unusual volume activity. By dynamically coloring bars based on volume spikes and candle size, it highlights potential momentum shifts, breakouts, or reversals. This tool is ideal for traders who want to:
Spot institutional buying/selling activity.
Confirm trend strength using volume and price volatility.
Filter noise by focusing on high-impact bars.
Key Features
Volume Spike Detection:
Compares current volume to a moving average (EMA) of volume.
Highlights bars where volume exceeds the average by a user-defined multiplier.
Big Candle Detection:
Identifies bars with a range (high-low) larger than the historical average range (EMA of candle ranges).
Thresholds for "big candles" are customizable.
Color-Coded Logic:
White Bars: High volume + Big candle + Bullish (close > open).
Orange Bars: High volume + Big candle + Bearish (close < open).
Blue Bars: High volume + Regular candle + Bullish.
Maroon Bars: High volume + Regular candle + Bearish.
Input Parameters
Volume Settings:
Volume Period: EMA length for average volume calculation (default: 20).
Volume Multiplier: Threshold multiplier for volume spikes (e.g., 1.25 = 25% above average).
Candle Size Settings:
Lookback Period: EMA length for average candle range (default: 7).
Big Candle Multiplier: Threshold multiplier for large candles (e.g., 1.3 = 30% above average range).
How It Works
Volume Analysis:
The indicator calculates an EMA of volume over the specified period.
If the current bar’s volume exceeds Average Volume × Volume Multiplier, it’s flagged as a high-volume bar.
Candle Range Analysis:
The average candle range (high-low) is calculated using an EMA over the lookback period.
A "big candle" is identified when the current bar’s range exceeds Average Range × Big Candle Multiplier.
Combined Signals:
High-volume bars are colored based on whether they are bullish/bearish and whether their range exceeds the big-candle threshold.
Example: A white bar (high volume + big candle + bullish) suggests strong buying pressure with institutional participation.
Usage Scenarios
Breakout Confirmation: A white/orange bar at a support/resistance level may validate a breakout.
Reversal Signals: A maroon/orange bar after a long trend could indicate exhaustion and potential reversal.
Trend Strength: Clusters of blue/white bars during uptrends (or maroon/orange in downtrends) confirm momentum.
Benefits
Visual Clarity: Instantly spot high-impact bars without manually scanning volume or candle size.
Customizable Sensitivity: Adjust multipliers to filter noise (e.g., increase for fewer signals).
Universal Application: Works on all timeframes and instruments (stocks, forex, crypto).
Notes
Best Paired With: Trendlines, support/resistance levels, or momentum oscillators (e.g., RSI).
Avoid False Signals: Use higher multipliers (e.g., 1.5) on lower timeframes to reduce noise.
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.
Daily & Multi-Day High/LowDaily & Multi-Candle High/Low Indicator
This indicator clearly highlights essential price levels directly on your chart, significantly improving your trading decisions:
First Candle High/Low (Session Open):
Quickly identify the high and low of the first candle each trading day, ideal for session-open traders.
Previous Day's High/Low:
Automatically plots the highest and lowest prices from the previous trading day, crucial for daily breakout or reversal strategies.
Multi-Candle High/Low (Customizable Period):
Easily track the highest and lowest points of the last X candles (default: 108 candles). Perfect for spotting key support and resistance zones.
Customization Options:
Adjust colors, line styles (solid, dashed, dotted), and line thickness directly from the settings for personalized visibility.
Ideal for day traders, swing traders, and price-action traders looking for clear and actionable daily levels on their charts.
Triple Witching HourThe "Triple Witching Hour" indicator highlights the days when the quarterly expiration of stock index futures, options on futures, and options on stocks occurs simultaneously. These events, known as "Triple Witching Days," typically happen on the third Friday of March, June, September, and December. The indicator marks these days on the chart with a red triangle below the price bars and displays a label with the text "Triple Witching Hour." Traders can use this tool to identify periods of potential market volatility and adjust their strategies accordingly.
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!
Fair Value Gap (FVG) Detector Fair Value Gap (FVG) is an imbalance in price action that occurs when there is a strong displacement (big movement) in the market, leaving a gap between wicks. This gap represents an area where price moved too quickly, and liquidity was not fully filled.
Traders use FVGs as potential areas where price might retrace and react before continuing in the original direction.
Standard Deviation SMA RSI | mad_tiger_slayerOverview of the Script
The Standard Deviation SMA RSI is a custom TradingView indicator that enhances the Relative Strength Index (RSI) by incorporating a Simple Moving Average (SMA) and Standard Deviation bands . This approach smooths RSI calculations while factoring in volatility to provide clearer trend signals . Additionally, the indicator includes overbought and oversold thresholds, trend-coded RSI signals , and dynamic volatility bands for improved market analysis. This indicator is designed for swing traders and long-term investors looking to capture high-probability trend shifts.
How Do Traders Use the Standard Deviation SMA RSI?
In the provided chart image, the indicator is displayed on a price chart. Each visual component serves a distinct function in identifying trend conditions and volatility levels .
INTENDED USES
⚠️ NOT INTENDED FOR SCALPING
With the smoothing nature of the SMA-based RSI , this indicator is not designed for low-timeframe scalping. It works best on timeframes above 1-hour , with optimal performance in 12-hour, daily, and higher timeframes.
📈 TREND-FOLLOWING & MEAN REVERSION
The Standard Deviation SMA RSI functions as both a trend-following and mean-reverting indicator:
Trend-Following: Identifies strong, sustained trends using RSI signals and SMA confirmation.
Mean Reversion: Detects overbought/oversold conditions based on standard deviation bands and RSI thresholds .
A VISUAL REPRESENTATION OF INTENDED USES
RSI Line (Green/Pink/Gray): The RSI line dynamically changes color based on trend conditions .
Green RSI → Strong uptrend, RSI above the uptrend threshold.
Pink RSI → Downtrend, RSI below the downtrend threshold.
Gray RSI → Neutral state or consolidation.
If the SMA of RSI is above Long Threshold , the market is in a bullish trend.
If it’s below Short Threshold, bearish conditions prevail.
Threshold Lines (Teal/Purple):
Green Line → Long Entry Threshold
Red Line → Short Entry Threshold
Standard Deviation Bands:
Upper Band → Measures bullish volatility expansion
Lower Band → Measures bearish volatility expansion
Colored Candles: Price candles adjust color based on RSI conditions , visually aligning price action with market trends.
Indicator's Primary Elements
Input Parameters
The script includes several configurable settings, allowing users to tailor the indicator to different market environments:
RSI Length: Controls the number of periods for RSI calculations.
SMA Length: Defines the period for the SMA applied to RSI , creating a smoothed trend line.
Standard Deviation Period: Determines the length for volatility calculations.
Overbought and Oversold Levels:
Can be adjusted to customize sensitivity.
Standard Deviation SMA RSI Calculation
The SMA-based RSI smooths fluctuations while the standard deviation bands measure price volatility.
Upper and Lower Bands: Calculated by adding/subtracting standard deviation to/from the SMA-based RSI.
Trend Signal Calculation:
RSI is compared to uptrend and downtrend thresholds to determine buy/sell conditions.
Long and Short Conditions
Buy and sell conditions are determined by RSI relative to key thresholds :
Bullish Signal: RSI above long threshold & SMA confirms trend .
Bearish Signal: RSI below short threshold & SMA confirms downtrend .
Reversals: RSI entering overbought/oversold areas suggests possible trend reversals.
Conclusion
The Standard Deviation SMA RSI is a powerful trend-following and mean-reverting tool , offering enhanced insights into RSI movements, volatility, and market strength . By combining SMA smoothing, standard deviation bands, and dynamic thresholds , traders can better identify trend confirmations, reversals, and overextended conditions .
✅ Customizable settings allow traders to optimize sensitivity.
✅ Works best on high timeframes (12H, Daily, Weekly).
✅ Ideal for swing traders and long-term investors.