📊 Volume Split Buy/Sell | Copytrade TungdubaiThis Pine Script calculates the estimated buy and sell volume based on price action (relative position of the close within the price range of the candle) and plots the values on the chart. Additionally, it detects significant volume spikes by comparing the current volume to a 20-period moving average of volume.
Here’s a breakdown of what each section of the script does:
1. **Inputs and Variables:**
- `vol`: This variable holds the volume of the current candle.
- `body`: This calculates the absolute difference between the close and open prices (i.e., the body size of the candle).
- `price_range`: This is the range between the high and low of the candle.
- `buy_ratio`: This is the ratio of the candle's body above the close relative to the total range, representing buying pressure.
- `sell_ratio`: This is the inverse of `buy_ratio`, representing selling pressure.
2. **Volume Calculation:**
- `buy_volume`: The estimated buying volume is calculated as the total volume multiplied by the buying ratio.
- `sell_volume`: The estimated selling volume is calculated as the total volume multiplied by the selling ratio.
3. **Volume Plots:**
- The script plots the estimated selling volume in red below the baseline (`sell_volume`).
- The estimated buying volume is plotted in lime above the baseline (`buy_volume`).
4. **Volume Spike Detection:**
- `vol_ma`: This is the 20-period simple moving average of volume.
- `vol_spike`: This condition checks if the current volume is greater than 2.5 times the 20-period moving average of volume.
- If a volume spike is detected, a tiny purple circle is plotted at the bottom of the volume bar.
This script can be useful for visualizing the relative strength of buy and sell volumes, as well as detecting unusual volume spikes that might signal significant market activity.
Indicators and strategies
for your comparison: Global M2 Money Supply // Days Offset =📈 Global M2 Money Supply Overlay – Offset Adjustable
This script plots an aggregated, FX-adjusted global M2 money supply index directly on your TradingView chart. It pulls M2 data from multiple global regions—including North America, Europe, Asia, Latin America, and more—and normalizes it for comparison in USD terms.
You can apply a custom time offset to the M2 line using the settings, allowing you to test potential leading or lagging correlations between global liquidity and market price action (e.g., Bitcoin, equities, commodities).
💡 Ideal for macro traders, long-term investors, and anyone interested in liquidity-driven market behavior.
Features:
Combines M2 data from 20+ countries and currency zones
FX-adjusted for consistency in USD terms
Offset slider to shift M2 data forward or backward in time
Scaled to trillions for readability
Plots directly on the main chart for visual comparison
🔺 P&F Patterns with SL/TP + ConfidenceSee signals (BUY/SELL) on the chart
See dashed TP/SL levels based on the pattern breakout
Have confidence scores for each pattern
Detect core P&F patterns (Double/Triple Top/Bottom, Catapults)
UTBot + EMA Filter (HA + ATR Logic)UT+ EMA = hightest winrate >90% for scalping
UT+ EMA = hightest winrate >90% for scalping
UT+ EMA = hightest winrate >90% for scalping
UT+ EMA = hightest winrate >90% for scalping
Nirvana Mode PRONirvana Mode PRO is an advanced automated swing trading strategy designed for BTCUSDT on 15-minute charts. It uses a multi-indicator system including EMA crossover (8 & 21), RSI confirmation (thresholds: 55/45), Supertrend direction filter, and a dynamic volume spike condition to identify high-conviction entries.
Features:
– EMA (8/21) trend logic
– RSI momentum filter
– Supertrend confirmation
– Volume spike validation
– Full signal automation for integration with WunderTrading bots
– Supports Webhook alerts and 100% hands-free execution on Bitget USDT-M Futures
This strategy is optimized for stable low-risk performance with Swing Trade logic and custom alert messaging. Perfect for traders seeking consistent entries without manual intervention.
Akkerman IMB + Targets IndicatorAkkerman IMB + Targets Indicator
The Akkerman IMB + Targets Indicator is a powerful tool for traders who use the Smart Money Concept (SMC) methodology for intraday trading. This indicator combines several key elements of technical analysis, such as IMB (Imbalance) zones, liquidity zones, and intraday targets, to help traders identify significant levels on the chart for potential entry and exit points.
Main Features of the Indicator:
IMB (Imbalance) Zones:
The indicator detects IMB zones (imbalances) on the chart, which are often significant for the market because these zones can signal unsupported price moves where the market may either retrace or continue the move.
Green box — indicates a bullish IMB, where the price moves downward but does not reach the previous "low" level.
Red box — indicates a bearish IMB, where the price moves upward but does not reach the previous "high" level.
Liquidity Zones:
The indicator automatically identifies liquidity zones, which are critical levels for potential retracements or breakouts. These zones are determined by equal highs and lows on the chart (where the price has made similar highs or lows).
Triangles or lines highlight levels where significant buy or sell orders might be gathered.
Intraday Target Lines:
The indicator generates targets for intraday trading based on support and resistance levels over the last 10 periods.
These target lines on the chart indicate potential entry or exit points based on the lowest and highest prices over the past 10 bars, which represent key points for trading within the current session.
Indicator Settings:
Show IMB: Toggle to show or hide IMB zones on the chart.
Show Liquidity Zones: Toggle to show or hide liquidity zones on the chart.
Show Targets (Intraday): Toggle to show or hide intraday target lines.
Max Targets (maxTargets): Set the maximum number of targets to display on the chart.
How to Use:
IMB Zones help identify potential retracement or breakout zones on the market. These zones are a critical part of Smart Money analysis, as markets often retrace to these areas after significant price moves.
Liquidity Zones provide clues about where large orders may be gathered, which could lead to a retracement or breakout.
Intraday Targets assist in identifying important levels for entering or exiting trades within the current session to take advantage of short-term price movements.
Important Notes:
This indicator works best on the 1-hour timeframe (H1) for more accurate and stable signals.
For maximum effectiveness, it is recommended to combine this indicator with other technical indicators and analysis methods.
HL2 Moving Average with BandsThis indicator is designed to assist traders in identifying potential trade entries and exits for S&P 500 (ES) and Nasdaq-100 (NQ) futures. It calculates a Simple Moving Average (SMA) based on the HL2 value (average of high and low prices) of the current candle over a user-defined lookback period (default: 200 periods). The indicator plots this SMA as a blue line, providing a smoothed reference for price trends.
Additionally, it includes upper and lower bands calculated as a percentage (default: 0.5%) above and below the SMA, plotted as green and red lines, respectively. These bands act as dynamic thresholds to identify overbought or oversold conditions. The indicator generates trade signals based on price action relative to these bands:
Long Entry: A green upward triangle is plotted below the candle when the close crosses above the upper band, signaling a potential buy.
Close Long: A red square is plotted above the candle when the close crosses back below the upper band, indicating an exit for the long position.
Short Entry: A red downward triangle is plotted above the candle when the close crosses below the lower band, signaling a potential sell.
Close Short: A green square is plotted below the candle when the close crosses back above the lower band, indicating an exit for the short position.
The script is customizable, allowing users to adjust the SMA length and band percentage to suit their trading style or market conditions. It is plotted as an overlay on the price chart for easy integration with other technical analysis tools.
Recommended Time Frame and Settings for Trading S&P 500 and Nasdaq-100 Futures
Based on research and market dynamics for S&P 500 (ES) and Nasdaq-100 (NQ) futures, the 5-minute chart is recommended as the optimal time frame for day trading with this indicator. This time frame strikes a balance between capturing intraday trends and filtering out excessive noise, which is critical for futures trading due to their high volatility and leverage. The 5-minute chart aligns well with periods of high liquidity and volatility, such as the U.S. market open (9:30 AM–11:00 AM EST) and the afternoon session (2:00 PM–4:00 PM EST), when institutional traders are most active.
Why 5-minute? It allows traders to react to short-term price movements while avoiding the rapid fluctuations of 1-minute charts, which can be prone to false signals in choppy markets. It also provides enough data points to make the SMA and bands meaningful without the lag associated with longer time frames like 15-minute or hourly charts.
Recommended Settings
SMA Length: Set to 200 periods. This longer lookback period smooths the HL2 data, reducing noise and providing a reliable trend reference for the 5-minute chart. A 200-period SMA helps identify significant trend shifts without being overly sensitive to minor price fluctuations.
Band Percentage: 0.5% is more suitable for the volatility of ES and NQ futures on a 5-minute chart, as it generates fewer but higher-probability signals. Wider bands (e.g., 1%) may miss short-term opportunities, while narrower bands (e.g., 0.1%) may produce excessive false signals.
Trading Session Recommendations
Futures markets for ES and NQ are open nearly 24 hours (Sunday 6:00 PM EST to Friday 5:00 PM EST, with a daily break from 4:00 PM–5:00 PM EST), but not all hours are equally optimal due to varying liquidity and volatility. The best times to trade with this indicator are:
U.S. Market Open (9:30 AM–11:00 AM EST): This period is characterized by high volume and volatility, driven by the opening of U.S. equity markets and economic data releases (e.g., 8:30 AM EST reports like CPI or GDP). The indicator’s signals are more reliable during this window due to strong order flow and price momentum.
Afternoon Session (2:00 PM–4:00 PM EST): After the lunchtime lull, volume picks up as institutional traders return, and news or FOMC announcements often drive price action. The indicator can capture breakout moves as prices test the upper or lower bands.
Pre-Market (7:30 AM–9:30 AM EST): For traders comfortable with lower liquidity, this period can offer opportunities, especially around 8:30 AM EST economic releases. However, use tighter risk management due to wider spreads and potential volatility spikes.
Additional Tips
Avoid Low-Volume Periods: Steer clear of trading during low-liquidity hours, such as the overnight session (11:00 PM–3:00 AM EST), when spreads widen and price movements can be erratic, leading to false signals from the indicator.
Combine with Other Tools: Enhance the indicator’s effectiveness by pairing it with support/resistance levels, Fibonacci retracements, or volume analysis to confirm signals. For example, a long entry signal above the upper band is stronger if it coincides with a breakout above a key resistance level.
Risk Management: Given the leverage in futures (e.g., Micro E-mini contracts require ~$1,200 margin for ES), use tight stop-losses (e.g., below the lower band for longs or above the upper band for shorts) to manage risk. Aim for a risk-reward ratio of at least 1:2.
Test Settings: Backtest the indicator on a demo account to optimize the SMA length and band percentage for your specific trading style and risk tolerance. Micro E-mini contracts (MES for S&P 500, MNQ for Nasdaq-100) are ideal for testing due to their lower capital requirements.
Why These Settings and Time Frame?
The 5-minute chart with a 200-period SMA and 0.5% bands is tailored for the volatility and liquidity of ES and NQ futures during peak trading hours. The longer SMA period ensures the indicator captures meaningful trends, while the 0.5% bands are tight enough to signal actionable breakouts but wide enough to avoid excessive whipsaws. Trading during high-volume sessions maximizes the likelihood of valid signals, as institutional participation drives clearer price action.
By focusing on these settings and time frames, traders can leverage the indicator to capitalize on the dynamic price movements of S&P 500 and Nasdaq-100 futures while managing the inherent risks of these markets.
VWAP Bounce & Squeeze (Enhanced)(loosened parameters for extended hours trading, now also includes wicks)
VWAP
20/50 EMA
Volume spike and candle body simulating Bookmap/DOM
custom confluence detection for VWAP, EMA, candle structure
15 minute Opening Range
signals for long and short opportunities
automated risk/reward boxes
automated trailing stop suggestions
Log-Normal Z-ScoreLog-Normal Z-Score
This Pine Script indicator calculates a modified Z-Score based on log-normal returns, aiming to identify statistically significant price deviations.
Indicator Parameters:
Model Length: The number of bars used to calculate the mean and standard deviation of log returns.
Lookback Length: The number of bars used to compute the lookback return and volatility. This is the main timeframe over which the Z-Score is calculated.
Volatility SMA Length: The smoothing length for the volatility, applying a simple moving average to the calculated volatility.
cc AJ Algo 2 - 3,59,17,11,47,29 This Indicator finds Specific "Time Based" values from the UTC+2 Time Zone.
cc AJ Algo 1 - 0,11,41,3,17,29 This Indicator finds specific candle values based on the UTC+2 Time Zone.
Uptrend Filter: Price > 50 & 200 MA + Upward SlopeThis indicator is designed to help traders instantly identify strong uptrend conditions based on two simple yet powerful criteria:
Price is above both the 50-day and 200-day moving averages
Both moving averages are sloping upward (positive momentum)
When both conditions are met, the indicator plots a green “UP” label below the candle, signaling a valid uptrend setup. This filter is ideal for asset selection in strategy-building, portfolio rotation, or trend-following systems.
🧠 Why it works:
The 50-day MA reflects medium-term momentum.
The 200-day MA represents the long-term trend.
When both are aligned and sloping upward, it confirms strong market structure and trend health.
🧰 Best used for:
Token screening (e.g., filtering altcoins)
Momentum-based entries
Trend confirmation
Risk filtering in strategy backtesting
Fractal Lines (Configurable with Labels)Draws fractal lines with fractal range of 100 and shows last 5 fractals
BOS & CHoCH Alert Coin Holding by DTVThis is a comprehensive indicator that combines the concepts of Break of Structure (BOS) and Change of Character (CHoCH) in the Smart Money Concepts style, and automatically sends alerts whenever a CHoCH signal occurs immediately after the most recent BOS.
Key Features:
BOS Detection: Identifies BOS on both bullish and bearish trends based on Swing High/Low levels over a customizable lookback period.
Instant CHoCH Identification: Captures CHoCH immediately after a BOS, stores the CHoCH level, and monitors for a subsequent break back.
Automatic “CHoCH after BOS” Alerts: Only triggers when CHoCH happens right after an unprocessed BOS, ensuring you never miss critical signals.
Visual Overlay: Plots the CHoCH level on the chart and attaches a “CHoCH” label at the exact breakout point for easy historical reference.
User Parameters:
Lookback Swing Length (default 50): Number of bars used to calculate Swing High/Low.
Structure Display: Toggle labels for BOS and CHoCH in both internal and swing structures.
Confluence Filter: Filters out weak breakouts to reduce noise.
Label Count & Size, Colors: Customize to suit personal preferences and chart aesthetics.
Quick Start Guide:
Install: Paste the script into TradingView’s Pine Editor, save, and add it to your chart.
Add Alerts: In TradingView’s Alert dialog, select “Bullish CHoCH after BOS” or “Bearish CHoCH after BOS” to receive notifications via email or popup.
Monitor: Whenever the price breaks the stored CHoCH level after a BOS, a popup will appear and a “CHoCH” label will be placed on the chart, helping you make timely decisions.
With this indicator, you can proactively capture key structural shifts in the market and optimize your trading strategy based on clear, reliable signals.
Market Structure HH/LLThis script automatically plots basic market structure points: Higher Highs (HH) and Lower Lows (LL), based on 5-bar pivots.
Useful for identifying trends, reversals, and change of character (ChoCH) in price action setups.
🧠 Ideal for intraday traders using Smart Money Concepts (SMC) or Price Action on lower timeframes (1m–15m).
Combine with BOS/CHoCH and Order Blocks for full SMC strategy.
✅ Clean and lightweight – perfect for quick market structure visualization.
Developed by – customized for VN30F1M & scalping strategies.
Pavio do Candle (%)Oscilador que mostra a porcentagem do pavio em relação ao comprimento total do candle.
TDO & Hit Rates by Weekday (5 min)Purpose
Tracks how often the next NY session “hits” the previous day’s True Day Open (TDO) level, separately for sessions that open above vs. below TDO, and breaks the statistics down by weekday (Mon–Fri) plus an overall summary.
Key Features
True Day Open (TDO) Plot
Captures the prior day’s 23:00 CT close price as the TDO.
Plots it as a continuous yellow line across your chart.
Session Labeling
At the end of each NY session (08:30–15:00 CT), places a small “TDO” label at the TDO price to confirm visually where it lay during that day.
Hit‑Count Logic
For each 5 min bar in the NY session, checks if the bar’s high ≥ TDO ≥ low (i.e. the TDO level was “hit”).
Classifies each session by whether its opening price (first 5 min bar) was above or below the TDO.
Weekday Statistics Table
Displays in the bottom‑left of your main chart window.
Rows: Header, Mon, Tue, Wed, Thu, Fri, All.
Columns:
% Hit Above: % of “above‑TDO” sessions that saw at least one hit
% Hit Below: % of “below‑TDO” sessions that saw at least one hit
Automatically updates in real time as new sessions complete.
Inputs & Settings
Data Resolution: Default = 5 min; use any intraday timeframe you like (1, 3, 15 min, etc.).
Extended Hours: Make sure your chart’s Extended Session (overnight) is enabled so the 23:00 CT bar exists.
Overlay: Draws directly on your price chart (no separate pane).
How to Use
Add to Chart: Paste the Pine v5 code into TradingView’s editor and apply to your ES (or other) futures chart.
Enable Overnight Bars: In Chart Settings → Symbol/Session → include Extended Hours.
Select Timeframe: Set the chart (or the indicator’s “Data Resolution” input) to 5 min (or your preferred intraday).
Read the Table:
Each weekday row shows how reliable TDO touches have been historically, separately for “above” and “below” opens.
The bottom “All” row summarizes combined performance.
What You Learn
Edge Analysis: Do sessions opening above TDO tend to test that level more often than those opening below (or vice versa)?
Day‑of‑Week Bias: Are certain weekdays more prone to TDO retests?
Overall Confidence: The “All” row lets you see your full-sample hit‑rate on both sides.
Zen MIG Reversal V1**Zen MIG Reversal V1**
Zen MIG Reversal is a pattern-based indicator that highlights rare reversal setups.
It’s designed to support traders in visually identifying potential turning points, especially following strong momentum or gap-style moves.
**How it works:**
- **Bullish Reversal:**
Detects 3 consecutive bullish candles. The third bar must have a low above the high of the first bar and below the 20 EMA. When this occurs, a light blue box is drawn across the 3-bar range, from high to the current bar’s low. A blue arrow appears below the prior bar.
- **Bearish Reversal:**
Detects 3 consecutive bearish candles. The third bar must have a high below the low of the first bar and above the 20 EMA. A light red box is drawn from low to the current bar’s high. A red arrow appears above the prior bar.
- Optional settings allow you to:
- Show or hide the EMA line
- Toggle the arrows
- Adjust smoothing settings for context
**Purpose:**
It’s best used for discretionary analysis, journaling, or studying price behavior in momentum-driven environments.
**Disclaimer:**
This script is for educational and informational purposes only. It does not provide financial advice or trade recommendations. Always backtest and use proper risk management before applying any indicator to live trading.
Log-Normal Price DistributionThis Pine Script indicator plots a log-normal distribution model of future price projections on a TradingView chart. It visualizes the potential price ranges based on the statistical properties (mean and standard deviation) of log returns over a defined period. It's particularly useful for analyzing potential volatility and predicting future price ranges.
HVC + levelsPersistent HVC Rays Across All Intraday
Identify and carry forward the open, close, high and low of the highest‑volume daily candle as true horizontal support/resistance levels across every intraday timeframe – including pre‑market and after‑hours.
Description
This indicator automatically detects the single highest‑volume daily bar over your specified lookback period and then plots four persistent horizontal rays at that candle’s open, close, high, and low. Rays are anchored precisely at the New York Stock Exchange’s 09:30 ET bar using IANA timezone timestamps and extend to the right edge of your chart viewport, ensuring they remain visible on 1 min, 5 min, 15 min, hourly, and daily timeframes alike. You can also color intraday high‑volume bars for quick visual context. Store up to Max HVCs of past levels and watch older lines fade, delivering a dynamic volume‑driven support/resistance framework that adapts as new high‑volume days emerge.
Key Inputs
Lookback Period (bars): Number of bars to search for the highest‑volume daily candle.
Max HVCs: Maximum number of past HVC days whose levels remain plotted.
Color Intraday HVC Bars: Toggle to highlight intraday bars that match the highest recent volume.
Plot Persistent Rays: Toggle the horizontal levels on/off for a clean chart.
Auto Chart Patterns Alert [Trendoscope®]Triggers an alert when a new pattern is detected. Patterns detected include triangles, wedges, and channels.
Custom IndicatorThis indicator indicated the 10 EMA and 20 EMA
When Ema 20 Goes Over My 10 Sell When Ema 10 Goes Below 20 Buy