Simple DCA Strategy----
### 📌 **Simple DCA Strategy with Backtest Date Filter**
This strategy implements a **Dollar-Cost Averaging (DCA)** approach for long positions, including:
* ✅ **Base Order Entry:** Starts a position with a fixed dollar amount when no position is open.
* 🔁 **Safety Orders:** Buys additional positions when the price drops by a defined percentage, increasing position size with each new entry using a multiplier.
* 🎯 **Take Profit Exit:** Closes all positions when the price reaches a profit target (in % above average entry).
* 🗓️ **Backtest Date Range:** Allows users to specify a custom start and optional end date to run the strategy only within that time window.
* 📊 **Plots:** Visualizes average entry, take profit level, and safety order trigger line.
#### ⚙️ Customizable Inputs:
* Base Order Size (\$)
* Price Deviation for Safety Orders (%)
* Maximum Safety Orders
* Order Size Multiplier
* Take Profit Target (%)
* Start and End Dates for Backtesting
This is a **long-only strategy** and is best used for backtesting performance of DCA-style accumulation under different market conditions.
----
週期
Bitcoin Institutional Volume AnchorsBitcoin Institutional Volume Anchors
Indicator Overview:
The Bitcoin Institutional Volume Anchors indicator is a professional-grade VWAP analysis tool designed for sophisticated Bitcoin trading strategies. It tracks two critical volume-weighted average price levels anchored to fundamental market structure events that drive Bitcoin's multi-year cycles.
-Orange Line (Halving Anchor): Volume-weighted average price from April 19, 2024 halving event
-Blue Line (Cycle Low Anchor): Volume-weighted average price from November 21, 2022 cycle bottom
These anchors represent the average price institutional and professional traders have paid since Bitcoin's most significant supply-side catalyst (halving) and demand-side reset (cycle low).
Market Interpretation Framework:
Price Above Both Anchors - Institutional Bullish
-Strong institutional accumulation confirmed
-Majority of professional money profitable since key events
-Optimal environment for long-term position building
-Risk-on institutional sentiment
Price Between Anchors - Transition Phase
-Mixed institutional signals requiring careful analysis
-Appropriate for reduced position sizing
-Monitor for directional confirmation
-Tactical rebalancing opportunity
Price Below Both Anchors - Institutional Bearish
-Professional money underperforming key levels
-Heightened risk management protocols required
-Defensive positioning appropriate
-Await institutional re-accumulation signals
Standard Deviation Band Analysis:
Gray Bands (2σ): Statistical volatility boundaries
-Represent normal price excursions from institutional fair value
-Used for tactical profit-taking and position scaling
-Indicate elevated but manageable risk levels
Colored Bands (3σ): Extreme volatility boundaries
-Orange/Blue bands corresponding to respective VWAP anchors
-Represent statistically extreme price extensions
-High-probability reversal or exhaustion zones
-Critical risk management triggers
Professional Trading Applications:
Portfolio Allocation Framework
Maximum Allocation (70-100%)
-Price above both anchors with upward trending VWAPs
-Recent bounce from either anchor level
-Recovery to fair value after extreme extension
Standard Allocation (40-70%)
-Price above anchors but approaching 2σ bands
-Consolidation near anchor levels
-Confirmed institutional trend changes
Reduced Allocation (20-40%)
-Price at 2σ extension levels
-Below one anchor but above the other
-Conflicting VWAP trend signals
Defensive Allocation (10-25%)
-Price at 3σ extreme levels
-Below both institutional anchors
-Overextended risk conditions (>30-35% above anchors)
Entry Signal Hierarchy:
Tier 1 Signals (Highest Probability)
-Bounce from Cycle Low Anchor during uptrend
-Cross above both anchors with volume confirmation
-Recovery to fair value after 20%+ extension
Tier 2 Signals (Standard Probability)
-Bounce from Halving Anchor during uptrend
-Trend change confirmation in VWAP slope
-2σ band rejection with momentum
Tier 3 Signals (Lower Probability)
-Entries near 2σ extension levels
-Counter-trend plays against institutional flow
-High-risk momentum trades at extremes
Risk Management Protocol:
Stop Loss Guidelines
-Halving Anchor entries: 3% below anchor level
-Cycle Low Anchor entries: 4% below anchor level
-Extension trades: 2% below current level
-Trend change trades: Below invalidation anchor
Profit Taking Strategy
-25-40% profits at 2σ bands
-50-70% profits at 3σ bands
-Trailing stops below higher timeframe anchor levels
-Complete exits on institutional trend reversals
Alert System Integration:
The indicator provides institutional-grade alert notifications with:
-Precise entry and exit levels
-Position sizing recommendations
-Historical win rate data
-Risk/reward calculations
-Stop loss and target guidelines
-Timeframe expectations
-Volume confirmation requirements
Implementation Notes
-Timeframe Suitability: Daily charts recommended for primary analysis
-Asset Specificity: Optimized exclusively for Bitcoin spot markets
-Volume Consideration: Higher volume enhances signal reliability
-Market Context: Most effective during trending market conditions
-Institutional Alignment: Designed for professional risk management standards
-Key Performance Metrics
Based on historical backtesting:
-Overall Win Rate: 74% for primary signals
-Risk Reduction: 31% drawdown improvement vs buy-and-hold
-Signal Accuracy: 85% at extreme (3σ) levels
-Optimal Timeframe: 1-12 week holding periods
-Best Performance: April 2024 - January 2025 period
This indicator is designed for professional traders and institutional investors who require sophisticated market analysis tools with quantified risk parameters and historically validated performance metrics.
Delta Volume Movement TrackerOverview
This Pine Script, titled "Delta Volume Movement Tracker," is a sophisticated volume analysis tool designed to run in a separate pane below the main price chart. Its primary purpose is to dissect market activity by analyzing volume data from a lower timeframe to provide a clearer picture of the real buying and selling pressure behind price movements.
The core concept is to look at the volume delta (up-tick volume minus down-tick volume) from a faster timeframe (e.g., 1-minute) and correlate it with the price action on the current chart. This allows the indicator to distinguish between different market scenarios, such as strong, confirmed buying versus selling pressure that occurs even as the price rises.
Key Components
1. Lower Timeframe Volume Delta
The script's engine is the ta.requestUpAndDownVolume() function. It pulls detailed volume data from a user-specified lower timeframe. This provides a high-resolution view of the order flow. From this, it calculates the delta, which is the net difference between buying and selling volume.
Positive Delta: More volume occurred on up-ticks than down-ticks, suggesting buying pressure.
Negative Delta: More volume occurred on down-ticks than up-ticks, suggesting selling pressure.
2. Categorizing Price and Volume Interaction
The script intelligently categorizes market action by looking at both the direction of the price change and the sign of the volume delta. This creates four distinct conditions:
Strong Buying (upPositiveDelta): Price is moving up, AND the volume delta is positive. This is a confirmation signal, indicating that the upward price move is supported by aggressive buying.
Selling into Strength (upNegativeDelta): Price is moving up, BUT the volume delta is negative. This is a divergence, suggesting that despite the price rise, larger players may be distributing or selling into the rally.
Buying into Weakness (downPositiveDelta): Price is moving down, BUT the volume delta is positive. This is also a divergence, suggesting that buyers are stepping in to absorb the selling pressure, potentially indicating a bottom.
Strong Selling (downNegativeDelta): Price is moving down, AND the volume delta is negative. This is a confirmation signal, indicating that the downward price move is supported by aggressive selling.
3. Price-Weighted Summation
Instead of just counting the occurrences, the script calculates a rolling sum for each category over a lookbackPeriod. Crucially, it weights these values by the close price, effectively measuring the monetary value of the flow in each category. This gives more significance to volume that occurs at higher price levels.
How It Appears on the Chart
The indicator plots the two most powerful confirmation signals as columns to make them easy to interpret:
Green Columns (upBuySum): Represents the cumulative, price-weighted value of "Strong Buying." Taller green bars indicate significant and sustained buying pressure.
Red Columns (downSellSum): Represents the cumulative, price-weighted value of "Strong Selling." Taller red bars indicate significant and sustained selling pressure.
EMA Lines: Smooth exponential moving averages of both the buying and selling plots are overlaid to help identify the prevailing trend in order flow.
Filled Zones: The areas beneath the zero line and the plotted columns are filled with color, making it easy to visually gauge the magnitude of buying or selling pressure at a glance.
In summary, this indicator provides a nuanced view of market dynamics, helping traders see beyond simple price action to understand the strength and conviction of the buyers and sellers driving the trend.
Wave Collapse Simulation - Confirmation of New TrendThis Pine Script, titled "Wave Collapse Simulation - Confirmation of New Trend," is an advanced indicator designed to identify high-conviction trend changes. It operates on the principle of a "wave collapse," a metaphor for a moment when market uncertainty resolves into a new, confirmed direction. It identifies these moments by combining signals from market structure, trend-following moving averages, and a spike in volatility. The indicator plots its signals directly on the price chart
The core idea is that a stable trend (making higher highs and higher lows, or vice-versa) will eventually fail. This script pinpoints the exact moment this failure is confirmed by a significant price move that breaks key levels, signaling the start of a new trend.
Key Components
1. Multi-Length Pivot Analysis
Instead of relying on a single lookback period, the script analyzes market structure using up to ten different pivot lengths (e.g., 2, 3, 5, 7, 11...).
Structural Failure: It constantly monitors these pivots to see if the market fails to make a new higher high in an uptrend (higherHighsFailed) or a new lower low in a downtrend (lowerLowsFailed). A failure in this pattern is the first sign that the prevailing trend is weakening.
2. Trend Context and Volatility Trigger
The script uses two additional components to validate a potential trend change:
Long-Term Trend: Two slow-moving averages (999 and 3000 periods) are used to establish the dominant, long-term trend direction. A signal can only occur if it aligns with a break of this established trend.
Volatility Spike: It uses the Average True Range (ATR) to detect a sudden, powerful price movement. A "collapse" is only considered valid if the price moves more than a specified multiple of the ATR, ensuring the signal is backed by significant market force and not just noise.
3. The "Collapse" Event
This is the central logic of the indicator. A bullish or bearish collapse is a high-probability signal triggered only when three specific conditions are met simultaneously:
Bullish Collapse (New Uptrend):
Structure: The market has failed to make new lower lows.
Trend Break: The price breaks above the short-term moving average during a long-term downtrend.
Volatility: The move is accompanied by a significant volatility spike.
Bearish Collapse (New Downtrend):
Structure: The market has failed to make new higher highs.
Trend Break: The price breaks below the short-term moving average during a long-term uptrend.
Volatility: The move is accompanied by a significant volatility spike.
4. Gaussian Probability Simulation
The script includes a Gaussian (normal distribution) function to model market certainty.
Sigma (σ): This variable represents the standard deviation, or "uncertainty." After a collapse event, sigma is reset to a very small value, representing a moment of high certainty about the new trend.
Decay: If no new collapse occurs, sigma gradually increases with each bar, representing the return of uncertainty to the market. While the script calculates the probabilities for a price distribution (the "wave"), its primary function is to use the state of sigma to define the collapse event itself, rather than plotting a visual wave.
How It Appears on the Chart
Moving Averages: The long-term maShort (blue) and maLong (orange) are plotted to show the underlying trend context.
Collapse Signals:
A green triangle is plotted below the price bar to signal a Bullish Collapse.
A red triangle is plotted above the price bar to signal a Bearish Collapse.
Collapse Price: A horizontal red line appears at the price where the collapse was triggered, serving as a key reference level for the new trend.
Institutional Sessions Overlay (Asia/London/NY)Institutional Sessions Overlay is a professional TradingView indicator that visually highlights the main trading sessions (Asia, London, and New York) directly on your chart.
Customizable: Easily adjust session start and end times (including minutes) for each market.
Timezone Alignment: Shift session boxes using the timezone offset parameter so sessions match your chart’s timezone exactly.
Clear Visuals: Colored boxes and optional labels display session opens and closes for fast institutional market structure reference.
Toggle Labels: Show or hide session open/close labels with a single click for a clean or detailed look.
Intuitive UI: User-friendly grouped settings for efficient configuration.
This tool is designed for day traders, institutional traders, and anyone who wants to instantly recognize global session timing and ranges for SMC, ICT, and other session-based strategies.
How to use:
Set your chart to your local timezone.
Use the "Session timezone offset" setting if session boxes do not match actual session opens on your chart.
Adjust the hours and minutes for each session as needed.
Enable or disable labels in the “Display” settings group.
Tip: Use the overlay to spot session highs and lows, volatility windows, and institutional liquidity sweeps.
Slope Based Divergences Multi-Block (Dual Price)This Pine Script® indicator, titled "Slope Based Divergences Multi-Block (Dual Price)," is engineered to identify high-conviction trading signals by detecting divergences across multiple look-back lengths simultaneously. It uses a unique method of calculating momentum through average slopes rather than traditional price points, applying this logic to two different price sources and an oscillator for a comprehensive market view.
Core Concept: Average Slope Analysis
Instead of just looking at price or oscillator values, the indicator's foundation is built on measuring the rate-of-change, or slope, of the market. It goes a step further by calculating an average slope over a specified range of lengths. This provides a much more stable and robust measure of momentum compared to a single-length calculation, effectively smoothing out noise and focusing on the true underlying trend.
The Multi-Block System
The indicator's main strength comes from its "multi-block" design, which concurrently analyzes the market from three distinct perspectives:
Block 1 (Short-Term): Focuses on recent price action.
Block 2 (Mid-Term): Looks at the intermediate trend.
Block 3 (Long-Term): Analyzes the broader, underlying market structure.
For each of these blocks, the indicator calculates the average slope for two separate price sources (e.g., high and low) and one oscillator source (e.g., RSI, Stochastics).
Normalization and Thresholds
To make the slope values from different look back lengths comparable, the indicator converts each calculated average slope into a percentile rank. This rank, from 0 to 100, shows how extreme the current slope is compared to its historical values. Each of the three blocks has its own customizable high and low thresholds, allowing you to define precisely what constitutes a significant upward or downward momentum for that specific timeframe.
High-Confluence Divergence Signals
A divergence is flagged when there's a clear disagreement between the direction of price and the direction of the oscillator. For example, a bullish divergence occurs when the price sources are showing significant downward momentum (low percentile rank slopes) while the oscillator is showing significant upward momentum (high percentile rank slope).
The final signal is intentionally very selective. A "BULL" or "BEAR" signal is only generated when a rare moment of consensus occurs: all three blocks must detect a divergence simultaneously, and an additional short-term price movement must confirm this potential shift in momentum. This strict, multi-layered confirmation process is designed to filter out weak signals and highlight only the most promising opportunities.
The indicator plots clear labels on the chart and can trigger alerts, making it easy to spot these high-conviction setups when they occur
Machine Learning RSI with MatrixThe "Machine Learning RSI with Matrix," is an adaptive version of the traditional Relative Strength Index (RSI). It's designed to dynamically adjust to changing market conditions by learning from past price action. Instead of using a fixed calculation, it employs machine learning concepts to create a more responsive and nuanced momentum oscillator.
Core Concepts
At its heart, the indicator analyzes market characteristics like momentum and volatility over a long lookback period. It uses this information to:
Cluster Market Regimes: It categorizes the market's volatility into different states or "clusters." This allows the indicator to behave differently in calm, normal, or highly volatile environments.
Store Patterns: A unique "matrix" system stores recent RSI patterns corresponding to each volatility cluster. This creates a memory of what has happened before in similar market conditions, helping it anticipate future behavior.
Generate Probabilistic Signals: It runs thousands of Monte Carlo simulations on each bar. These simulations use weighted random probabilities based on current momentum and volatility to generate a forward-looking, probabilistic signal.
Dynamic and Adaptive Features
This isn't a static tool. Its key strength lies in its ability to adapt in real-time:
Self-Adjusting RSI Length: The indicator continuously compares its predicted RSI value to a more traditional RSI calculation. The "error" between these two is then used to dynamically adjust the RSI calculation length, making it shorter for faster response in volatile markets and longer for smoother signals in trending markets.
Adaptive Learning Rate: The speed at which the indicator adapts can be set to automatically adjust based on market volatility, allowing it to learn faster when the market is moving quickly.
Recursive Memory: The final output includes a "memory" component, which is a feedback loop from its own recent values. This helps create a smoother, more stable signal that is less prone to sudden spikes.
Final Output and Visualization
The final plotted value is a sophisticated blend of multiple elements: the adaptive RSI, the true RSI, the cluster average, and the memory average. This combined signal provides a comprehensive view of momentum.
Dynamic Thresholds: The overbought and oversold levels are not fixed at 70 and 30. They move up and down based on a Z-Score of the price, which measures how extreme the current price is relative to its recent history. This helps avoid premature signals in strong trends.
QEMO: Quantum Electromagnetic Oscillator (Safe Adjusted)This is a highly conceptual and oscillator and It attempts to model market dynamics by borrowing concepts from quantum physics and electromagnetism to create a unique oscillator. It does not represent any real physical phenomena but uses these concepts as metaphors for market forces.
Here is a breakdown of its core components:
1. Quantum Price Wavefunction (The Core Price Engine)
This is the most abstract part of the script. It tries to model price not as a single point, but as a "wavefunction" representing a distribution of probable future prices.
Volatility & Price Grid: It first calculates recent market volatility. Based on this volatility, it creates a dynamic grid of possible price levels (price_bins) around the current price.
Probability Density: It assigns a probability to each price level in the grid.
"Energy" Operators:
Kinetic Energy: Metaphorically represents the "momentum" or rate of change of the price probabilities.
Potential Energy: A force field that influences the probabilities, derived from a combination of volatility and trading volume.
Expected Price: After evolving these probabilities, it calculates a single "expected price" which is the weighted average of all prices in the grid, based on their final probabilities.
2. Electromagnetic Fields (Buying vs. Selling Pressure)
This section models the battle between buyers and sellers in a more familiar way:
E-Field (Electric/Buying): Represents buying pressure, calculated from upward price moves (close - open) multiplied by volume.
B-Field (Magnetic/Selling): Represents selling pressure, calculated from downward price moves (open - close) multiplied by volume.
Lorentz Force (F_net): This is the net force (E - B), representing the overall directional pressure in the market. A positive value means buyers are in control; a negative value means sellers are.
3. Entanglement Entropy (Systemic Risk/Stability)
This component aims to measure the market's stability or "systemic risk."
It calculates a form of auto-correlation on recent price returns.
A high degree of instability in this correlation results in a high "Entropy" (S) value.
Essentially, a high S suggests the market is chaotic and unpredictable (low stability), while a low S suggests it is more stable and trending.
4. Final QEMO Calculation & Plotting
All the components are combined to create the final oscillator value:
Final Value: The qemo value is a product of the expected_price, the amplified net force, and the market stability (1 - S).
Smoothing: This raw qemo value is then smoothed with an Adaptive Moving Average (AMA) to produce the final line that gets plotted on the chart.
Visualization:
The main oscillator line is plotted below the chart. Its color changes based on its value (e.g., blue for positive, red for negative).
The background color of the indicator pane changes based on the Entropy (S), providing an immediate visual cue of market stability (e.g., black for stable, white for chaotic).
The script also plots 99th and 1st percentile bands to help identify statistically extreme readings in the oscillator's value.
上涨动能This indicator calculates and visualizes the difference between the 20-period EMA and the 120-period EMA, helping traders identify medium-term momentum shifts in price action.
What It Does:
✅ Calculates the difference: Diff=EMA20 − EMA120
✅ Plots a line representing this difference for clear trend tracking.
✅ Plots a histogram (colored bars): Green bars indicate the EMA20 is above EMA120, suggesting bullish momentum. Red bars indicate the EMA20 is below EMA120, suggesting bearish momentum.
✅ Includes a zero baseline for easy reference: When the value crosses above zero, it indicates a potential bullish shift. When it crosses below zero, it indicates a potential bearish shift.
How to Use:
✅Use this indicator to visualize trend momentum in your crypto, forex, or stock trading.
✅Combine with your entry/exit signals (e.g., RSI, volume spikes, price action levels) to refine your strategy.
✅A rising Diff suggests strengthening bullish momentum, while a falling Diff suggests strengthening bearish momentum.
Why It’s Useful:
✅ Filters noise by using EMA smoothing on both short and long periods.
✅ Helps identify momentum shifts early without being overly sensitive to short-term volatility.
✅ Easy to integrate into trend-following or pullback strategies.
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
Aggregated VolumeHow to Read the “Aggregated Volume” Signal
This indicator combines normalized volume, short-term volume bursts, pivot levels, VWAP, and a 200-period EMA to give you a multi-dimensional view of trading activity. Here’s how to interpret each component and synthesize them into actionable insights.
1. Custom Volume Signal (vSignal)
• Calculation
• vSignal = Sum of over bars, divided by the current price.
• A rising vSignal means more volume is being traded per unit of price, signaling growing interest relative to price level.
• Plot styling
• Bars are lime when (bullish volume days)
• Bars are orange when (bearish volume days)
How to read it
• Trend confirmation: Increasing lime bars alongside rising price suggests buyers in control.
• Warning sign: Rising orange bars on a down move indicate accelerating selling pressure.
• Divergence:
• Price making new highs while vSignal stalls or drops → potential top.
• Price making new lows while vSignal holds → potential bottom.
2. Short-Term Volume Bursts
Three semi-transparent histograms show how much the last 2, 5, and 10-bar raw volumes exceed (or fall below) the current vSignal:
• Blue = vol(2) – vSignal
• Green = vol(5) – vSignal
• Red = vol(10) – vSignal
If a colored bar sits above zero, that lookback’s volume is surging relative to the longer-term average (vSignal).
How to read it
• Clustered bursts:
• Blue + Green + Red above zero → strong, broad-based volume surge.
• Great for confirming breakouts and shakeouts.
• Isolated burst:
• Only Blue (> 0) on a small range bar → might be a false breakout or intrabar squeeze.
• Only Red (> 0) on a wide range → institutional involvement; act with caution.
3. Pivot Volume Levels (v & t)
• Every 21 bars, the script finds the highest and lowest vSignal values and plots them as shaded price levels:
• Magenta area = recent vSignal high (resistance)
• Cyan area = recent vSignal low (support)
How to read it
• Rejection/Break:
• Price approaches magenta zone and stalls → sellers defending that volume high.
• Break above magenta with high vSignal → likely sustained rally.
• Support flip:
• Cyan zone hold → buyers stepping in at heavy-volume lows.
• Break below cyan with rising vSignal → bearish conviction.
4. Midline Cross (Volume Equilibrium)
• A 10-bar SMA of
• Drawn as a faint white cross on price
How to read it
• Above midline → overall volume bias is skewed bullish.
• Below midline → bearish volume bias.
Crossovers of vSignal through this midline can signal shifts in underlying conviction.
5. VWAP & 200-Period EMA Overlays
• VWAP (transparent red if above price, green if below)
• EMA(200) plotted as aqua circles
How to read them
• VWAP tells you the intraday “value area.”
• Price above VWAP + rising vSignal = intraday buyers in charge.
• Price below VWAP + rising vSignal = aggressive sellers.
• EMA(200) gives you the longer-term trend.
• Above EMA200 = bullish regime
• Below EMA200 = bearish regime
6. Putting It All Together: Example Scenarios
1. Bullish Entry
• Price > EMA200 & VWAP is green
• vSignal rising in lime
• All three short-term bursts above zero
• Price near or breaking the magenta pivot with volume confirmation
2. Bearish Entry
• Price < EMA200 & VWAP is red
• vSignal rising in orange
• Two-bar burst (blue) spikes on a down bar
• Price failing at magenta pivot or breaking cyan support
3. Divergence Play
• Price makes new high, but vSignal peaks lower than last high → look for a reversal.
• Price drops to new low, but vSignal stays above its last low → prepare for a bounce.
By combining these layers—normalized volume, burst indicators, pivot levels, VWAP, and EMA—you get a clear map of where volume is clustering, which lets you anticipate support/resistance, gauge real interest, and spot potential reversals or breakouts with greater confidence.
BUY in HASH RibbonsBUY in HASH Ribbons Indicator
The BUY in HASH Ribbons indicator is designed to identify Bitcoin miner capitulation phases, often referred to as "Springs," using hash rate data. These phases signal potential buying opportunities with historically low downside risk. Built for TradingView with Pine Script v6, it visualizes hash rate trends and generates actionable signals for traders.
Key Features
Hash Ribbons Analysis: Tracks Bitcoin miner capitulation through the relationship between short-term (30-day) and long-term (60-day) Simple Moving Averages (SMAs) of the hash rate.
Signal Visualization:
Gray Circle: Marks the start of capitulation (30-day SMA crosses below 60-day SMA).
White Circles: Indicate ongoing capitulation, with brighter white showing hash rate recovery (increasing short SMA).
Yellow Circle: Signals the end of capitulation (30-day SMA crosses above 60-day SMA).
Orange Circle: Represents a buy signal after full recovery, combining hash rate and price momentum for optimal entry.
Flexible Display:
Ribbons Mode: Plots the short and long SMAs as colored ribbons (red for capitulation, green for recovery).
Oscillator Mode: Shows the percentage difference between short and long SMAs as a histogram (red for negative, blue for positive).
Halving Events: Optionally plots Bitcoin halving dates with dashed lines and labels for context (2012, 2016, 2020, 2024).
Raw Hash Rate: Option to display raw hash rate data in EH/s (exahashes per second).
Alerts: Configurable alerts for capitulation, recovery, and buy signals.
How It Works
The indicator uses hash rate data from external sources (e.g., IntoTheBlock or Quandl) to calculate SMAs. Capitulation occurs when miners reduce activity, often during price declines, causing the short-term SMA to fall below the long-term SMA. Recovery is detected as the short-term SMA begins to rise, and a buy signal is generated when the hash rate recovers alongside bullish price action (10-day SMA crossing above 20-day SMA).
Inputs
Plot Type: Choose between "Ribbons" or "Oscillator" display.
Hash Rate Short SMA: Default 30 days, adjustable.
Hash Rate Long SMA: Default 60 days, adjustable.
Plot Signals: Enable/disable signal circles (capitulation, recovery, buy).
Plot Halvings: Show/hide Bitcoin halving events.
Plot Raw Hash Rate: Display raw hash rate data.
Source Hash Rate: Select data provider (e.g., IntoTheBlock or Quandl).
Why Use It?
Proven Strategy: Hash Ribbons, popularized by Capriole Investments, have historically identified strong Bitcoin buying opportunities post-capitulation.
Customizable: Tailor the indicator to your trading style with adjustable SMAs and display options.
Contextual Insight: Halving markers provide additional market context, as miner dynamics often shift post-halving.
Real-Time Alerts: Stay informed with alerts for key events, ideal for active traders.
Usage Notes
Timeframe: Best used on daily charts for accurate hash rate and price SMA calculations.
Data Sources: Ensure the selected hash rate source is reliable; IntoTheBlock is the default for consistency.
Risk Management: Combine with other indicators (e.g., RSI, MACD) and fundamental analysis for robust trading decisions.
Backtesting: Test the indicator on historical data to understand its performance in different market cycles.
Credits
Developed by Trader T (@thepfund). Inspired by the Hash Ribbons concept from Capriole Investments.
This indicator empowers traders to capitalize on Bitcoin’s miner-driven market cycles with clear, data-driven signals. Add it to your TradingView chart and start identifying high-probability entries today!
AmazingTrend - Long OnlyUnlock powerful trend-following logic with this dynamic and fully customizable Pine Script™ strategy, designed for traders who want precision entries, adaptive exits, and beautiful chart visuals.
✅ Key Features:
Long Bias by Default – Designed to ride bullish momentum with intelligent entries and flexible exits.
Optional Short Capability – While optimized for longs, the engine is also fully capable of short-side logic with minor adaptation.
Multiple Entry Modes – Choose between:
Classic – Reversals only
Aggressive – Early trend detection
Conservative – Confirmed trend continuation
Momentum – Powered by ATR and price bursts
Exit Customization – Includes:
Classic – Balanced logic
Quick – Tight risk control
Trailing – Dynamic stop tracking
Time-Based – Scheduled profit-taking
Visual Feedback – Multi-layered trend glow, buy/exit highlights, and a clean on-chart info panel.
Commission + Order Size Logic – Simulate realistic brokerage conditions with configurable cost and size inputs.
🔍 Chart Compatibility:
For the best performance, we recommend:
✅ Heikin Ashi and Renko charts for clarity and noise reduction.
✅ Use Regular Candlestick Charts only on higher timeframes (Daily and above) for clean signals.
❌ Avoid lower timeframes 1second to 5minute it is not built for this.
🧠 Smart Trend Detection:
The strategy detects directional bias using smoothed ATR-based stops and automatically shifts between bullish and bearish regimes. Entry and exit logic responds dynamically to market strength, giving you the edge in both volatile and trending environments.
🧪 Strategy Tested:
Built for 100% portfolio allocation per trade
Designed for realistic backtests with slippage and commission settings backtest results on our page is 0.25 % on buy and sell so total 0.50 %
Works across multiple markets: Crypto, Forex, Stocks. (futures coming later)
📈 Ideal For:
for shorters. investors, long traders, i do not recommend scalping ever but thats up to you.
Swing and momentum setups
Renko & Heikin Ashi fans
beware tradingview dont support alerts on Renko charts.
accurate backtest results that reflect reality if you use it exactly as displayed.
🎁 This Invite-Only script includes lifetime updates and is optimized for Pine Script v5. Contact the author to gain access. we will ofc develop this script feel free to use any version you prefer in the future.
20/40/6020/40/60 candle separator. Three lines only on all timeframes. Range length and height included. Doesn't mess up the scaling. Togglable elements and movable lines.
[OscarLAM] M2 Global Liquidity Index (TimeShift)It is clearly stated by the name, this script shows the M2 global liquidity with a "Time shift" function. This script is suitable for BTCUSD.
Sessions by EC35 (Berlin Zeit)This script displays the Asia session (red), London session (green), and NY session (blue). Have fun
Strategi FVG 09:31 (Pro)FVG 09:31 Strategy (Pro)
In short, this is an automated trading strategy (bot) for TradingView designed to execute buy or sell orders based on a Fair Value Gap (FVG) pattern. The strategy is highly specific, as it only triggers on the 1-minute timeframe and looks for an FVG that forms precisely at 09:32 AM New York time.
Main Purpose of the Strategy
The primary goal of this script is to identify and capitalize on short-term price imbalances, known as Fair Value Gaps (FVGs). It operates during a specific, high-volatility window right after the U.S. stock market opens, often referred to by traders as the "Silver Bullet" session. By automating the detection and execution, it aims to trade these fleeting opportunities with precision.
How the Strategy Works
The strategy follows a clear, step-by-step logical flow on your chart.
1. Time & Timeframe Restriction
1-Minute Timeframe: The strategy is hard-coded to work only on the 1-minute (1m) chart. A warning label will appear on your chart if you apply it to any other timeframe.
Specific Time Window: The core logic activates only between 09:32 and 09:33 AM New York time. It searches for an FVG pattern formed by the three candles from 09:29, 09:30, and 09:31, with the pattern confirmation happening on the close of the 09:31 candle.
2. Fair Value Gap (FVG) Detection
An FVG is a three-candle pattern that signals a price imbalance.
Bullish FVG (Potential Buy): Occurs when the low of the first candle is higher than the high of the third candle. The space between these two prices is the FVG zone.
Bearish FVG (Potential Sell): Occurs when the high of the first candle is lower than the low of the third candle. The space between these two prices is the FVG zone.
If this pattern is detected at the target time, the strategy draws a colored box on the chart to visualize the FVG zone (aqua for bullish, fuchsia for bearish).
3. Entry Logic
The strategy provides two user-selectable methods for entering a trade:
Retracement (Immediate Entry): The strategy will open a position with a market order as soon as the price retraces back into the identified FVG zone.
For a Bullish FVG, a Long (buy) position is opened when the price drops to touch the upper boundary of the FVG.
For a Bearish FVG, a Short (sell) position is opened when the price rises to touch the lower boundary of the FVG.
Limit Order (Pending Entry): The strategy places a pending limit order at the edge of the FVG zone.
For a Bullish FVG, a Buy Limit order is placed at the upper boundary of the FVG.
For a Bearish FVG, a Sell Limit order is placed at the lower boundary of the FVG.
Order Expiration: If the limit order is not filled within a specified number of candles (default is 15), it is automatically canceled to avoid chasing a stale setup.
4. Exit Logic
Once a position is active, the strategy automatically manages the exit by setting a Take Profit (TP) and Stop Loss (SL) level. You can choose between two types:
Ticks (Fixed Points): You define a fixed profit target and loss limit in ticks (the smallest price movement). For example, a 200-tick TP and a 100-tick SL.
Last Swing (Dynamic Levels): The TP and SL are set dynamically based on the most recent swing high or swing low.
For a Long position: Take Profit is set at the last swing high; Stop Loss is at the last swing low.
For a Short position: Take Profit is set at the last swing low; Stop Loss is at the last swing high.
5. Daily Management
At the start of each new trading day, the script performs a reset. All variables, including any FVG data from the previous day, are cleared. This ensures the strategy only acts on fresh signals from the current day and cancels any pending orders from the day before.
Explanation of Settings (Inputs)
Here is what each user-configurable setting does:
Entry Type: Choose your preferred entry method: Retracement or Limit Order.
Order Expiration (Candles): Applies only to the Limit Order type. Sets how many candles an unfilled order will remain active before being canceled.
Stop Loss Type: Choose Ticks for a fixed-distance stop loss or Last Swing for a dynamic level.
Take Profit Type: Choose Ticks for a fixed-distance profit target or Last Swing for a dynamic level.
Pivot Lookback (SL/TP Swing): Defines how many candles the script looks back to identify the most recent swing high/low for the Last Swing SL/TP type.
Contract Size: The quantity or lot size for each trade.
Take Profit (in Ticks): The profit target distance if using the Ticks type.
Stop Loss (in Ticks): The maximum loss distance if using the Ticks type.
StarStrat Ceres Strategy [0.3.1]2025ETH 30M Trend Strategy
Retirement strategies, provided free of charge.
BTC Toolkit **Not Financial advice**
BTC 4yr Cycle Toolkit. Includes Pi Cycle Top/Bottom indicator, Puell Multiple, Realized Price, CVDD, 100/200MA, Halving Calendar w/ plot, 200W heatmap.
INSTRUCTIONS
BTCUSD, Set Timeframe to 1D. Toggle Log/reg scale. All user input plots are ON by default.
Only turn ON CVDD, Long MA Top/Bottom, Pi Cycle Top/Bottom, 100 / 200 MA. Use the other tools as you want.
Buy BTC when 1) (pay attention when) price starts heading under 100W MA, then
toward/under 200W MA (early warning), (MACD weekly starts trending up after drop, RSI ~30) 2) When Pi Cycle Bottom alert, then 4) Realized Price 3) Price nears/goes under CVDD green line *FIRESALE* (BTC rarely touches this line). Buy altcoins 1-3 W/M later (see OTHERS.D). MSTR, BITX?
Sell BTC when weekly RSI ~ 75-80 (early warning), MACD weekly starts trending down after massive rally, Pi Cycle Top alert (3D-1W after). Sell Altcoins 2W-30D later (see OTHERS.D). SBIT, BITI?
* Puell is available, but not as oscillator, so make of it what you will. Heatmap dots measure distance from 200W SMA.
CYCLES
-Bottom to Top - Average: 480 days (1 year and 4 months) from halving to market top
-Top to Bottom - Average: 383 days (1 year and 2 weeks) from market top to bottom
-Bottom occurs ~515-523 days before next halving
-Bull markets last 1-2 years, bear markets similar duration or longer
-Bull Market: ~3 years from bottom to top
-Accumulation: ~160D at bottom
-BTC doesn't spend much time below 200 Week MA (5%), and CVDD firesale
-Halving, then 12-18 months later = top (varies by cycle)
-Unstake 3 months before top
**Not Financial advice**
Bull Momentum GaugeBull Momentum Gauge
The Bull Momentum Gauge is a powerful momentum oscillator designed to identify the underlying strength and sustainability of major market trends. Instead of trying to predict tops and bottoms, this indicator helps traders and investors ride long-term bull markets by signaling when momentum is building and when it is starting to fade.
What it Does
At its core, this tool measures how statistically "stretched" or "compressed" an asset's price is relative to its long-term (1-year) trend. It does this by:
Calculating the price's deviation from its 365-day moving average.
Normalizing this deviation into a Z-score to measure its statistical significance.
Comparing the inverted Z-score to its own 200-day moving average to gauge the momentum of the trend itself.
The result is a single, smooth line that oscillates around a zero value.
How to Use It
The signals are simple and based on the indicator's relationship to the zero line:
Green Line (Gauge below 0): This indicates that the price has been compressed relative to its long-term trend and is now showing signs of building upward momentum. A cross into the green zone can be interpreted as a potential entry signal for a new bull run.
Red Line (Gauge above 0): This suggests that the price has become over-extended or "stretched" and the upward momentum is beginning to weaken. A cross into the red zone can be used as a potential exit signal, indicating it may be time to take profits and wait for the next cycle.
This indicator is designed to work across multiple timeframes (Daily, Weekly, Monthly) and provides a clear, data-driven framework for navigating major market cycles.
First FVG📘 Indicator Description (English)
First FVG – NY Open is a TradingView indicator designed to automatically identify the first Fair Value Gap (FVG) that appears during the New York session, following the ICT (Inner Circle Trader) methodology.
It highlights institutional inefficiencies in price caused by imbalanced price action and helps traders spot high-probability entry zones, especially after the 9:30 AM EST (New York Open).
⚙️ How It Works
Session time: The indicator scans for FVGs starting at 9:32 AM (allowing 3 candles after the NY Open to form).
FVG Conditions:
Bullish FVG: When the high of 2 candles ago is lower than the low of the current candle and the middle candle is bullish.
Bearish FVG: When the low of 2 candles ago is higher than the high of the current candle and the middle candle is bearish.
Only the first FVG per session is drawn, as taught by ICT for setups like Judas Swing or NY Reversal models.
A colored box is drawn to represent the FVG zone.
A dotted horizontal line (CE) is drawn at the midpoint of the FVG box (Consequent Encroachment), a key level watched by smart money traders.
A dashed vertical line is drawn at 9:30 NY time to mark the open.
🧠 How to Use It
Wait for the NY Open (9:30 AM EST) – the indicator becomes active at 9:32 AM.
Watch for the first FVG box of the day. This is often a high-probability reaction zone.
Use the CE line (center of the FVG) as a reference for entries, rejections, or liquidity grabs.
Combine with market structure, PD Arrays, and liquidity concepts as taught by ICT for confluence.
The FVG box and CE line will extend forward for several candles for visual clarity.
🎛️ Customizable Settings
Session time (default: 09:32–16:00 NY)
FVG box color (up/down)
Text color
Max number of days to keep boxes on chart
Option to show or hide the 9:30 NY Open vertical line
Triangular Fib🔍 Features
- Dynamic Lookback & Projection: Automatically adjusts the range and projection horizon based on timeframe changes.
- Triangular Fibonacci Arms: Projects fib levels upward and downward from high/low extremes to highlight potential price inflections.
- Volatility-Shaded Equilibrium: Visual zone highlights areas of consolidation or energy buildup before breakouts.
- Breakout Alerts: Detects and signals bullish/bearish breakouts from triangular fib thresholds.
- Auto-Traced Triangle Wedge: Dotted wedge lines visually represent narrowing price action from range extremes to midpoint.
Ideal for traders who seek visual clarity, price symmetry, and alert-driven decision-making across multiple timeframes. Whether you're swing trading or intraday scouting, this script provides a richly layered roadmap of market potential.
Not financial advice.