Prop Firms No-Trade News (NFP/CPI/FOMC) - 30m WarningProp Firms No-Trade News (NFP / CPI / FOMC) — 30m Warning
This indicator is designed for traders operating under **prop firm rules**, where trading during high-impact economic news is restricted or prohibited.
It highlights **no-trade windows** around the most critical U.S. macroeconomic events and helps you stay compliant, disciplined, and risk-aware.
Covered High-Impact Events
* **Non-Farm Payrolls (NFP)**
→ Automatically calculated (1st Friday of each month at 08:30 ET)
* **Consumer Price Index (CPI)**
→ Manually configurable
* **FOMC Rate Decision / Policy Statement**
→ Manually configurable
How It Works
* **30-minute warning alert** before each event
* **No-trade window shading** on the chart
* **Optional labels** for:
* Upcoming no-trade period
* Exact news release moment
* **Customizable buffers**:
* Minutes before the event
* Minutes after the event
Alerts Included
* 30-minute pre-news warning
* No-trade window start
* No-trade window end
* News release time
All alerts can be used for **manual trading discipline** or automated workflows.
Who This Is For
* Prop firm traders (evaluation or funded)
* Futures and index traders
* Traders who want **rule-based protection against emotional or impulsive trading during news**
Notes
* News times are based on **U.S. Eastern Time (ET)**
* CPI and FOMC dates must be updated manually according to the official economic calendar
* This tool does **not execute trades** — it enforces awareness and discipline
Wskaźniki i strategie
Crypto Scalper: Hybrid Fixed/Trailing RRStrategy Overview: Scalping Hybrid — Trend Pullback with ATR-Driven Trailing Profit
This strategy is a high-precision systematic scalping framework engineered specifically for volatile assets like BTC. It leverages a dual-EMA architecture to define market structure, while employing a sophisticated "hybrid" exit logic that allows traders to choose between a classic fixed reward or a dynamic trailing system.
1. Market Regime & Trend Identification
The strategy utilizes two primary anchors to ensure it remains on the correct side of the market:
The Trend Anchor (EMA 200): Acts as the definitive filter. Longs are only permitted when price is above the 200 EMA; shorts only below it.
The Value Zone (EMA 20): Instead of chasing breakouts, the strategy waits for Mean Reversion. It identifies a "pullback" when price returns to touch or penetrate the 20 EMA, offering a superior entry price compared to momentum-chasing systems.
2. Multi-Dimensional Execution Filters
To eliminate "fakeouts" and low-probability setups, the strategy cross-references three critical data points before triggering an entry:
Institutional Alignment (VWAP): Ensures entries are occurring at or near the Volume Weighted Average Price, confirming institutional participation.
Volatility Threshold (ATR Filter): Prevents trading in "dead" or flat markets. The strategy only activates if current volatility is higher than its 50-period average.
Momentum Confirmation (Close Strength): A trade is only opened if the signal candle closes with high conviction (top 60% of the range for longs), proving that the reversal from the pullback is real.
3. Precision Risk Management (ATR-Based)
Risk is mathematically standardized using the Average True Range (ATR). By calculating stops based on current volatility rather than fixed pips/dollars, the strategy automatically loosens during high-volatility spikes and tightens during stable moves.
Stop Loss (SL): Fixed at the moment of entry at 1.0x ATR.
Cooldown Period: A mandatory 5-bar pause after every exit prevents "revenge trading" or entering twice during the same choppy consolidation.
4. Hybrid Exit Architecture (Fixed vs. Trailing)
This is the core innovation of the strategy. Users can toggle between two modes:
Fixed TP Mode: Uses a standard 1:2 Reward-to-Risk ratio (or user-defined) for consistent, predictable outcomes.
Trailing TP Mode: This is a "Runner" logic. The trailing stop remains dormant until the trade reaches a profit threshold (e.g., +1R). Once activated, it follows the price at a distance defined by ATR or a percentage. This allows the strategy to capture massive trending moves while protecting the initial risk.
Directional Movement Index - DMI🎯 Overview
This is a versatile Directional Movement Index (DMI) indicator that provides multiple visualization modes for analyzing trend strength and direction. Unlike traditional DMI displays, this version offers three different viewing options and focuses on DI crossover signals for clear trend identification.
🧩 Core Components
1. ⚙️ Technical Foundation
📊 Primary Calculation: Uses TradingView's built-in ta.dmi() function
📈 Three Core Components:
+DI (Positive Directional Indicator): Measures upward movement strength
-DI (Negative Directional Indicator): Measures downward movement strength
ADX (Average Directional Index): Measures overall trend strength
⚡ Dynamic Average: Creates a composite line (+DI minus -DI) for simplified analysis
2. 🎛️ Configuration Parameters
📏 DMI Length: Default 8 periods (standard setting)
🔄 ADX Smoothing: Additional smoothing for ADX line
🎨 Color Themes: 5 visual schemes consistent with your indicator suite
👁️ Display Toggles:
Average DMI: Shows composite line (+DI minus -DI)
DMI: Shows individual +DI and -DI lines
ADX Smoothing: Shows ADX trend strength line
📈 Signal Interpretation:
🟢 BULLISH: +DI > -DI (upward momentum stronger)
🔴 BEARISH: -DI > +DI (downward momentum stronger)
🎨 Visual Elements:
🚨 Signal Highlights: Background coloring on DI crossovers
📋 Line Labels: On-chart labels for each indicator component
📊 Table Display: Top-right bullish/bearish status indicator
📋 Dashboard Display:
Content: "⬆️ Bullish" or "⬇️ Bearish" based on DI relationship
⚡ Trading Applications
📈 Primary Uses:
🎯 Trend Direction Identification
+DI > -DI = Uptrend
-DI > +DI = Downtrend
💪 Trend Strength Assessment
ADX > 25 = Valid trend (tradable)
ADX < 25 = Weak trend (avoid trading)
ADX rising = Strengthening trend
🚨 Crossover Signals
Bull Crossover: +DI crosses above -DI
Bear Crossover: -DI crosses above +DI
🎨 Customization Options
👁️ Display Flexibility:
📊 Mode 1: Simplified (Average DMI only)
📈 Mode 2: Detailed (+DI and -DI lines)
💪 Mode 3: Strength-focused (ADX line)
🔄 Any Combination: Mix and match as needed
🎨 Visual Themes: (Consistent suite)
🎨 Classic: Green/Red (traditional directional colors)
🚀 Modern: Cyan/Purple (contemporary)
💪 Robust: Amber/Deep Purple (high contrast)
🌈 Accented: Purple/Magenta (vibrant)
⚫⚪ Monochrome: Light Gray/Dark Gray (minimalist)
🔔 Alert System
🟢 LONG Alert: Triggers when +DI crosses above -DI
🔴 SHORT Alert: Triggers when -DI crosses above +DI
📧 Format: Includes ticker symbol for tracking
⚡ Key Advantages
✅ Strengths:
🎯 Multiple Perspectives: Three display modes in one indicator
📊 Clear Trend Signals: DI crossovers provide unambiguous entries/exits
💪 Strength Filter: ADX helps avoid trading in weak trends
👁️ Visual Clarity: Color-coded and labeled for easy interpretation
🔄 Flexible Usage: Can be simple or detailed based on trader preference
📊 Optimal Settings:
⚡ Short-term Trading: 8-14 period length
📊 Medium-term Trading: 14-20 period length
📈 Long-term Trading: 20-50 period length
🎯 ADX Smoothing: Higher values for smoother trend strength
🏆 Unique Features:
Mode Selector: Choose your preferred view (simple → detailed)
Composite Average: (+DI - -DI) creates single directional line
Strength Integration: Built-in ADX for trend validation
Visual Harmony: Consistent design with your indicator family
Professional Labels: On-chart annotations for clarity
This DMI indicator provides professional-grade trend analysis with user-friendly flexibility, allowing traders from beginners to experts to customize their view according to their trading style and experience level! 📊🎯
Stochastic Momentum Index - SMI🎯 Overview
This is a Stochastic Momentum Index (SMI) indicator that combines stochastic momentum with moving average smoothing to identify trend direction and momentum strength in financial markets. The SMI measures where the current price closes relative to the midpoint of its recent trading range, providing enhanced sensitivity to price momentum.
🧩 Core Components
1. ⚙️ Technical Foundation
📊 Primary Calculation: Uses TradingView's built-in ta.stoch() function
📈 Range-Based: Compares closing price to high-low range over specified period
🎯 Scale: Oscillates between 0-100 with 50 as neutral midpoint
2. 🎛️ Configuration Parameters
📏 SMI Length: Default 101 periods (long-term smoothing)
📊 Source Price: Customizable (default = Close)
📈 MA Length: 30-period moving average applied to SMI
🔄 MA Type: 6 options (EMA, SMA, RMA, WMA, VWMA, HMA)
🎨 Color Themes: 5 visual schemes (Classic, Modern, Robust, Accented, Monochrome)
📈 Signal Interpretation:
🟢 BULLISH: SMI > 50 (price closing in upper half of range)
🔴 BEARISH: SMI < 50 (price closing in lower half of range)
🎯 Neutral Zone: Around 50 indicates balanced momentum
👁️ Visual Features
📈 Signal Line (MA):
Yellow moving average of SMI
Smooths momentum for clearer trend identification
🎯 Reference Lines:
50-level midpoint (white dashed line)
0-100 scale boundaries
🎨 Fill Zones:
🟢 Upper Zone : Bullish momentum area
🔴 Lower Zone : Bearish momentum area
Gradient fills enhance visual clarity
📋 Dashboard Display:
Content: "⬆️ Bullish" or "⬇️ Bearish" indicator
Purpose: Quick market bias assessment
⚡ Trading Applications
📈 Primary Uses:
🎯 Trend Identification
SMI > 50 = Uptrend momentum
SMI < 50 = Downtrend momentum
📊 Momentum Strength
Values near 100 = Strong bullish momentum
Values near 0 = Strong bearish momentum
Values around 50 = Neutral/consolidation
🔄 Mean Reversion
Extreme readings (near 0 or 100) may indicate overbought/oversold conditions
⏰ Timeframe Compatibility:
📅 Long-term: 101-period default suits swing/position trading
📊 Medium-term: Adjust lengths for daily/weekly analysis
⚡ Short-term: Reduce periods for intraday trading
🎨 Customization Options
🔄 Moving Average Types:
📉 EMA: Exponential - responsive to recent changes
📊 SMA: Simple - equal weight to all periods
📈 RMA: Relative - TradingView's special moving average
⚖️ WMA: Weighted - emphasizes recent data
💎 VWMA: Volume-weighted - incorporates volume
🚀 HMA: Hull - reduces lag significantly
🎨 Visual Themes:
🎨 Classic: Green/Red (traditional trading colors)
🚀 Modern: Cyan/Purple (modern aesthetic)
💪 Robust: Amber/Deep Purple (high contrast)
🌈 Accented: Purple/Magenta (vibrant)
⚫⚪ Monochrome: Light Gray/Dark Gray (minimalist)
🔔 Alert System
🟢 LONG Alert: Triggers when SMI crosses above 50
🔴 SHORT Alert: Triggers when SMI crosses below 50
📧 Format: Includes ticker symbol for easy identification
⚡ Key Advantages
✅ Strengths:
🎯 Clear Signals: Simple >50/<50 threshold for easy interpretation
📊 Range-Bound: Always oscillates 0-100 (no divergence issues)
👁️ Visual Clarity: Color-coded zones make analysis intuitive
🔄 Customizable: Multiple MA types and visual themes
📱 Professional: Clean, organized display suitable for all traders
Multi-Session Volume Profile Suite [MarkitTick]💡 This indicator provides a sophisticated, institutional-grade Volume Profile analysis suite that renders multiple temporal profiles simultaneously. It is designed for traders utilizing Auction Market Theory who require a holistic view of where value is being established across Daily, Weekly, and Monthly timeframes, alongside custom intraday sessions. By bypassing standard built-in functions in favor of a custom array-based calculation engine, this tool offers granular control over Value Area logic, Point of Control (POC) migration, and multi-timeframe confluence detection.
✨ Originality and Utility
Standard Volume Profile tools often limit traders to a single timeframe or the visible range of the chart. This creates a fragmented view of the market, where a trader might see the daily value but miss the context of the weekly or monthly auction.
This script solves that problem by layering three distinct higher-timeframe profiles (Daily, Weekly, Monthly) plus three customizable intraday session profiles onto a single chart.
● Key Differentiators
Confluence Detection Engine: The script mathematically calculates when the Points of Control (POC) of different timeframes overlap (e.g., Daily POC inside Weekly POC). It explicitly highlights these high-probability zones with specific labels (e.g., "TRIPLE CONFLUENCE"), automating the search for key support/resistance levels.
POC Migration Tracking: Unlike static profiles, this tool tracks the "Shift" of the POC. It visualizes whether value is migrating higher (▲), lower (▼), or remaining neutral (=) compared to the previous period, providing immediate insight into the trend's acceptance.
Synthetic Chart Protection: The script includes logic to detect and prevent usage on non-standard chart types like Heikin Ashi or Renko, ensuring that the volume data processed is accurate and not subject to the repainting often found in synthetic OHLC variations.
🔬 Methodology and Concepts
The core engine relies on a custom implementation of the Volume Profile formula using dynamic arrays. It does not simply pull pre-calculated data but processes the tick volume of the underlying asset relative to price action.
• Volumetric Binning
The script divides the price range of a specific period (e.g., a Day) into a user-defined number of "rows" (bins). As price trades within a specific bin, the corresponding volume is accumulated.
Point of Control (POC): The bin with the highest accumulated volume is identified as the POC. This represents the "Fair Value" or the mode of the distribution for that period.
Value Area (VA): The script calculates the total volume of the profile and then identifies the range surrounding the POC that contains a specific percentage (default 70%) of that volume. It uses a dual-scanning algorithm that expands upwards or downwards from the POC based on which adjacent row has higher volume, mimicking the auction process of testing prices.
• Exact-Anchor Pivots
Simultaneously, the script tracks "Exact-Anchor" pivots. Unlike standard pivots that settle at the close, these track the absolute High and Low of the period (Daily/Weekly/Monthly) in real-time and extend them until a new period begins.
🎨 Visual Guide
The indicator uses a color-coded hierarchy to distinguish between timeframes. Understanding this visual language is critical for interpreting the data.
● Profile Hierarchy (Default Theme)
Daily Profile (Yellow/Gold): Represents the immediate, short-term auction.
Solid Line: Daily POC.
Dotted Line: Daily Value Area High (VAH) and Low (VAL).
Weekly Profile (Blue): Represents the intermediate auction. A solid Blue line indicates the Weekly POC.
Monthly Profile (Purple): Represents the macro auction. A solid Purple line indicates the Monthly POC.
● Labels and Symbols
Right-Side Labels: At the end of profile lines, text labels display the exact price of the POC.
Shift Arrows (▲ / ▼): Located inside the POC label, these arrows indicate the direction the POC has moved relative to the previous period's POC. An Up arrow (▲) suggests buyers are accepting higher prices.
Confluence Labels: If enabled, a text box appears near price action stating "POC CONFLUENCE" or "TRIPLE CONFLUENCE" when the POCs of different timeframes align within a tight margin.
Block Symbol (⬛): A small block icon may appear above bars to denote the center of a specific session's time window.
● Pivot Lines
Orange Lines: Previous Daily High (PDH) and Low (PDL).
Green Dashed Lines: Previous Weekly High (PWH) and Low (PWL).
Red Dotted Lines: Previous Monthly High (PMH) and Low (PML).
White Dashed Line: New York Midnight Open price (if enabled).
📖 How to Use
This suite is designed for "Contextual Trading." It answers the question: Where are we relative to value?
• Trend Acceptance
Observe the Shift Arrows on the POC labels. In a healthy uptrend, you should see a sequence of Daily and Weekly profiles with (▲) arrows, indicating that the market is validating higher prices as fair value. If price rises but the POC remains lower or shifts down, it may indicate a "weak high" or a potential reversal (divergence between price and value).
• Support and Resistance
The POC lines act as high-probability support and resistance. Price returning to a Weekly (Blue) or Monthly (Purple) POC often results in a reaction, as these are areas of significant historical agreement between buyers and sellers.
• The Confluence Play
Pay special attention when the "Confluence" label appears. When a Daily POC aligns with a Weekly or Monthly POC, that specific price level possesses reinforced structural importance. A rejection from such a level is a strong signal; a breakout through such a level often leads to an explosive move as value transitions rapidly.
⚙️ Inputs and Settings
The script is highly customizable via the settings menu.
● General Settings
Row Resolution: Determines the granularity of the profile. Higher numbers (e.g., 100) create smoother, more detailed profiles but use more calculation resources.
Value Area %: Default is 70.0, representing the standard deviation of value.
Show POC Shift: Toggles the (▲/▼) comparison logic.
● Profile Scope
Show Daily/Weekly/Monthly: Checkboxes to individually enable or disable specific timeframe profiles.
Session Lookback: Controls how many historical days/weeks the profiles are kept on the chart.
● Pivots (PDH/PMH/NYM)
Show Pivots: Enables the High/Low lines for previous periods.
Show NY Midnight: Specifically toggles the opening price of the New York session (00:00 EST).
● Alerts
Approach Distance: Sets the sensitivity (in ticks) for alerts when price nears a key POC level.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator is grounded in Auction Market Theory (AMT) and statistical distribution analysis.
• The Market as a Mechanism
AMT postulates that the primary purpose of the market is to facilitate trade. Price advertises opportunity, while Time regulates the opportunity. Volume is the validation of that price. When the market spends significant time and transacts significant volume at a specific level, it establishes "Value."
• Gaussian Distribution and Central Limit Theorem
A Volume Profile is essentially a histogram of volume over price, often resembling a Gaussian (Normal) Distribution or "Bell Curve" when the market is balanced.
POC (Mode): The peak of the curve. Mathematically, this is the mode of the dataset—the price occurring with the highest frequency (volume).
Value Area (Standard Deviation): In a normal distribution, approximately 68.2% of data points fall within one standard deviation of the mean. This script defaults to a 70% Value Area to approximate this statistical boundary. Prices outside this area are considered statistically significant anomalies or "imbalanced."
• Confluence and Probability
The "Confluence" feature leverages the intersection of independent datasets. If the mode (POC) of a short-term distribution (Daily) aligns with the mode of a long-term distribution (Weekly), the probability of that price representing "True Value" increases exponentially. This aligns with statistical principles where overlapping data clusters suggest a stronger underlying signal amidst market noise.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Commodity Channel Index - CCI🎯 Overview
This is an enhanced Commodity Channel Index (CCI) indicator that transforms the traditional CCI into a centerline-focused momentum tool with moving average smoothing and comprehensive visual enhancements. Unlike standard CCI which uses ±100 levels, this version focuses on the 50-level centerline for clearer trend direction signals.
🧩 Core Components
1. ⚙️ Technical Foundation
📊 Primary Calculation: Uses TradingView's built-in ta.cci() function
📈 Statistical Approach: Measures current price relative to statistical mean
🎯 Scale Modification: Focuses on 50 as neutral (unlike traditional ±100)
📏 Default Length: 55 periods (optimal for medium-term trends)
2. 🎛️ Configuration Parameters
📏 CCI Length: Default 55 periods
📈 CCI MA Length: 30-period moving average
🔄 MA Type: 6 options (EMA, SMA, RMA, WMA, VWMA, HMA)
🎨 Color Themes: 5 visual schemes matching your other indicators
📈 Signal Interpretation:
🟢 BULLISH: CCI > 50 (price above statistical mean)
🔴 BEARISH: CCI < 50 (price below statistical mean)
👁️ Visual Features
📉 Chart Elements:
📊 Main CCI Line:
Shows raw CCI momentum
📈 Signal Line (CCI MA):
Yellow moving average of CCI
30-period default provides smoothed trend
🎨 Fill Zones:
🟢 Upper Zone : Bullish momentum area
🔴 Lower Zone : Bearish momentum area
📋 Dashboard Display:
Content: "⬆️ Bullish" or "⬇️ Bearish" indicator
Purpose: Instant market bias assessment
⚡ Trading Applications
📈 Primary Uses:
🎯 Trend Direction Identification
CCI > 50 = Uptrend momentum
CCI < 50 = Downtrend momentum
📊 Extreme Momentum Detection
CCI > 100 = Strong bullish (traditional)
CCI < -100 = Strong bearish (traditional)
CCI near ±300 = Extreme conditions
🔄 Mean Reversion Opportunities
Useful in ranging markets
🎯 Signal Types:
📈 Trend-Following: Stay long when CCI > 50, short when < 50
🔄 Mean Reversion: Fade extreme readings (>100 or <-100)
⚡ Crossover Signals: CCI crossing 50 provides entry/exit points
🎨 Customization Options
🔄 Moving Average Types:
📉 EMA: Exponential - responsive to recent CCI changes
📊 SMA: Simple - smooths CCI equally
📈 RMA: Relative - TradingView's special MA
⚖️ WMA: Weighted - emphasizes recent CCI values
💎 VWMA: Volume-weighted - incorporates volume indirectly
🚀 HMA: Hull - reduces lag on CCI signals
🎨 Visual Themes: (Consistent with your suite)
🎨 Classic: Green/Red (traditional)
🚀 Modern: Cyan/Purple (contemporary)
💪 Robust: Amber/Deep Purple (high contrast)
🌈 Accented: Purple/Magenta (vibrant)
⚫⚪ Monochrome: Light Gray/Dark Gray (minimalist)
🔔 Alert System
🟢 LONG Alert: Triggers when CCI > 50
🔴 SHORT Alert: Triggers when CCI < 50
📧 Format: Includes ticker symbol for portfolio tracking
⚡ Key Advantages
✅ Strengths:
🎯 Clear Centerline Focus: 50-level provides unambiguous trend direction
📊 Statistical Foundation: Based on mean deviation (more robust than simple oscillators)
👁️ Extreme Zone Visualization: ±300 boundaries show momentum extremes
🔄 Versatile Application: Works for both trend-following and mean reversion
📱 Professional Suite: Consistent design with your RSI and SMI indicators
⚡ Optimal Settings:
📈 Trending Markets: 55-period CCI (default)
🔄 Ranging Markets: Shorter periods (20-30)
📊 Volatile Markets: Longer periods (80-100)
📱 Day Trading: 20-period with EMA smoothing
🏆 Unique Features:
Statistical Rigor: Based on mean deviation (not just price differences)
Wide Range: ±300 scale captures extreme movements
Centerline Focus: Clear binary trend signals
Visual Harmony: Consistent with your indicator suite design
This CCI indicator provides a statistically robust approach to trend identification while maintaining the visual consistency and user-friendly design of your trading suite! 📊✨
Custom 3-Bar Counter (GMT Reset)Bar counter, adjustable to suit market hours. Text colour and size changeable
AVSL - XAUUSD M1 OptimizedCredit to Rafka.
This script is optimized for XAUUSDT.P 1-minute trading based on AVSL Indicator from Rafka.
GK Trend Ribbon SWING + PREPARE HUDGK Trend Ribbon SWIGN+ PREPARE HUD
This is the swing trading version of GK Trend Ribbon system.
it works with the core logic and structure as its predecessors,
but is tuned for a smoother, longer trend phases and reduced noise, making it more suitable for holding trades through broader market moves
The ribbon adapts to volatility using ATR-based bands, wile the zero-lag bassline tracks real trend direction.
The visual prepare alerts gives a early heads up before confirmed GK BUY or GK SELL signals,
helping traders get positioned before momentum fully shifts
CREATOR'S preferred timeframes for XAUUSD
15MIN CHART
30MIN CHART
also works on other assets
designed for structure trend based swing execution-patience, discipline and letting the ribbon lead
Relative Strength Index - RSI🎯 Overview
This is an enhanced Relative Strength Index (RSI) indicator for TradingView that combines traditional RSI analysis with a moving average overlay to generate more reliable trading signals ⚡
🧩 Core Components
1. ⚙️ Indicator Settings
2. 🎛️ Input Parameters
A. 🎨 Color Settings:
5 different color themes: 🎨 Classic, 🚀 Modern, 💪 Robust, 🌈 Accented, ⚫⚪ Monochrome
Each theme provides distinct bullish/bearish color pairs
B. 📊 RSI Configuration:
📏 Length: Default 14 periods
📈 Source: Default close price (customizable)
📊 RSI MA Length: Default 365 periods
🔄 RSI MA Type: 6 options (EMA, SMA, RMA, WMA, VWMA, HMA)
C. 📢 Signal Display:
✅ Toggle for Bull/Bear crossover signals
📋 Table display showing current market bias
3. 🧮 Technical Calculations
A. 📈 RSI Calculation:
Standard RSI formula using ta.rsi()
Configurable source and period length
B. 📊 RSI Moving Average:
Customizable MA type applied to the RSI values
Serves as a dynamic signal line
Default 365-period EMA smooths long-term trends
C. 🔔 Signal Detection:
🟢 isBull_RSI: RSI > RSI_MA (bullish condition)
🔴 isBear_RSI: RSI < RSI_MA (bearish condition)
🟢 Bull: Crossover signal (RSI crosses above MA)
🔴 Bear: Crossunder signal (RSI crosses below MA)
4. 👁️ Visual Elements
A. 📉 Main Plots:
📊 RSI Line: Thick line (width 3) colored conditionally based on position relative to its MA
📈 RSI MA Line: Yellow line showing the smoothed RSI
🎯 50-Level Line: Dashed white reference line
B. 🎨 Fill Areas:
🟢 Overbought Zone : Filled between RSI and MA
🔴 Oversold Zone : Filled between RSI and MA
Colors vary based on selected theme
C. 🌈 Background Highlights:
Subtle background coloring on bullish/bearish crossover signals
D. 📋 Table Display:
Shows "⬆️ Bullish" or "⬇️ Bearish" with appropriate coloring
5. 🔔 Alert System
🟢 LONG Alert: Triggers when RSI > RSI_MA
🔴 SHORT Alert: Triggers when RSI < RSI_MA
Includes ticker symbol in alert message
🏁 Trading Logic
🎯 Primary Signals:
🟢 Bullish Setup:
📈 RSI crosses above its moving average
📊 RSI remains above MA (continuous bullish condition)
🎨 Visual: Green/theme bull colors, bullish fill areas
🔴 Bearish Setup:
📉 RSI crosses below its moving average
📊 RSI remains below MA (continuous bearish condition)
🎨 Visual: Red/theme bear colors, bearish fill areas
✨ Key Features:
📊 Trend Filter: The RSI MA (365-period) acts as a long-term trend filter
⚡ Momentum + Trend: Combines momentum (RSI) with trend (MA) for higher probability signals
👁️ Visual Clarity: Color-coded elements make market state immediately apparent
🛠️ Customizability: Multiple MA types and color schemes adapt to different trading styles
💻 Code Structure
The script is well-organized with clear sections:
🔧 MA function definition
⚙️ Input settings
🧮 Calculations
🎨 Color definitions
📊 Plotting
📋 Table display
🔔 Alert conditions
🎯 Best Use Cases
📈 Trend Following: In trending markets, signals align with the overall direction
🔄 Mean Reversion: In ranging markets, oversold/overbought fills indicate potential reversals
⏰ Multi-Timeframe Analysis: Works well on daily/weekly charts for long-term positioning
✅ Signal Confirmation: Can be combined with other indicators for entry/exit confirmation
🏆 Unique Advantages
🎯 Reduced Whipsaws: Long MA period (365) filters out noise
👁️ Clear Visual Hierarchy: Multiple visual layers convey information efficiently
💼 Professional Presentation: Clean, organized display suitable for sharing
🛠️ Flexible Configuration: Adaptable to different assets and timeframes
Visual ATR Trailing StopVisual ATR Trailing Stop, that lets you select price and date from your screen
SMT Quarter theory - AMDX cycles and killzones.This indicator visualizes the Quarterly Theory (SMT / Smart Money Theory) concept anchored to New York time. The main daily cycle starts at 18:00 NY time and lasts exactly 24 hours — until 18:00 the next day (local NY time, automatically handling daylight saving time transitions).
Each 24-hour SMT day is divided into four 6-hour blocks:
18:00–00:00 (Asia Killzone)
00:00–06:00 (London Open)
06:00–12:00 (NY AM)
12:00–18:00 (NY PM)
Each 6-hour block is further subdivided into four 90-minute micro-cycles.
The indicator draws:
semi-transparent colored rectangles (boxes) for the 6-hour sessions using different colors and corresponding session names
lighter orange boxes for the 90-minute cycles inside each 6-hour block
vertical dashed lines at the boundaries of 6-hour sessions (different colors)
thin dotted lines at the boundaries of 90-minute cycles
a thick vertical line marking the end of the SMT day (next 18:00 NY)
text labels with the main session names placed above the chart
This indicator based on AMDX quarter theory - accumulation, manipulation, distribution, x (distribution or reversal). Use this indicator to improve your price movement understanding!
Этот индикатор предназначен для визуализации концепции Quarterly Theory (SMT / Smart Money Theory) с привязкой к нью-йоркскому времени. Основной цикл дня начинается в 18:00 по Нью-Йорку и длится ровно 24 часа — до 18:00 следующего дня (по местному времени NY, с автоматическим учётом перехода на летнее/зимнее время).
Каждый такой 24-часовой SMT-день делится на четыре 6-часовых блока:
18:00–00:00 (Asia Killzone)
00:00–06:00 (London Open)
06:00–12:00 (NY AM)
12:00–18:00 (NY PM)
Каждый 6-часовой блок, в свою очередь, разделён на четыре 90-минутных микроцикла.
Индикатор рисует:
полупрозрачные цветные прямоугольники (боксы) для 6-часовых сессий с разными цветами и соответствующими названиями
более светлые оранжевые боксы для 90-минутных циклов внутри каждого 6-часового блока
вертикальные пунктирные линии на границах 6-часовых сессий (разные цвета)
тонкие точечные линии на границах 90-минутных циклов
вертикальную жирную линию на конец SMT-дня (следующие 18:00 NY)
текстовые метки с названиями основных сессий над графиком
Crypto Institutional Liquidity Sweep StrategyStrategy Overview: Institutional Liquidity Sweep & Trend Convergence
This strategy is a high-conviction systematic trading framework designed to exploit "stop-runs" and liquidity grabs within a dominant market trend. It combines institutional price action concepts with mathematical filters to ensure entries occur only when trend direction, volatility, and liquidity align.
1. The Trend Framework (EMA 200 Filter)
The foundation of the strategy is the 200-period Exponential Moving Average (EMA). This acts as a "Directional North Star."
Long Bias: Trades are only considered when price is above the EMA 200.
Short Bias: Trades are only considered when price is below the EMA 200.
Buffer Logic: An optional percentage buffer can be applied to avoid "choppy" entries when price is hugging the moving average.
2. The Entry Trigger (Liquidity Sweeps)
The strategy identifies Institutional Liquidity Pools using Swing Highs and Swing Lows (Pivots).
The Sweep: The system waits for price to pierce below a recent structural low (Bullish Sweep) or above a recent structural high (Bearish Sweep).
The Trap: It then monitors for a "reclaim" where price quickly rejects the level. This suggests that the breach was not a breakout, but a hunt for stop-losses to fuel a move in the opposite direction.
3. Secondary Confirmation Filters
To maximize the win rate, the strategy requires a Secondary Filter to confirm market health (User selectable):
V olatility Oscillator: Ensures the market is in an Expansion Phase. It requires the oscillator to be rising, indicating that momentum is behind the reversal.
Smart Trendlines (Structure): Uses Linear Regression Slope to ensure the immediate micro-structure is aligned with the macro-trend.
4. Entry Confirmation (The Reversal Candle)
A trade is not triggered simply because a level was swept. The strategy requires a Reversal Confirmation:
Price Location: The candle must close in the upper 40% (for longs) or lower 40% (for shorts) of its total range.
Directional Body: The candle must close bullish for longs and bearish for shorts, confirming that buyers or sellers have seized control of the bar.
5. Risk Management (Fixed 1:2 RR)
The strategy prioritizes capital preservation through an ATR-based (Average True Range) risk model:
Static Exits: Upon entry, the Stop Loss and Take Profit levels are calculated and locked. They do not move, ensuring a mathematically pure 1:2 Reward-to-Risk ratio.
Volatility Adjusted: The distance of the stop loss is determined by the ATR, meaning the strategy automatically widens stops during high volatility and tightens them during calm periods.
ALMA SD Bands | RakoQuantALMA SD Bands | RakoQuant is a volatility-regime band system built from first principles using an institutional smoothing framework: an ALMA baseline combined with ALMA-smoothed standard deviation width, designed for clean trend containment and controlled regime classification.
This tool is part of the RakoQuant protected research line, focusing on minimal noise, persistent state logic, and volatility-aware market structure rather than traditional reactive Bollinger-style band behavior.
Core Concept
This indicator answers one key structural question:
Is price operating inside a stable volatility regime, or transitioning into a new directional band expansion phase?
Unlike classical deviation band systems that fluctuate aggressively candle-to-candle, ALMA SD Bands introduce:
* Ultra-smooth baseline structure
* Smoothed volatility width
* Persistent directional regime logic
* Deadband-based flip stabilization
The result is a clean institutional containment model rather than noisy retail band plotting.
How It Works
1. ALMA Baseline (Institutional Mean Structure)
The centerline of the system is computed using:
Arnaud Legoux Moving Average (ALMA)
ALMA provides:
* Reduced lag compared to EMA
* Superior smoothness compared to SMA
* Stable regime structure across crypto volatility
This baseline acts as the equilibrium axis of the band system.
2. Standard Deviation Volatility Width (Smoothed)
Band width is driven by volatility, measured through standard deviation, with two selectable modes:
* Price Standard Deviation
* Return Standard Deviation (log-return volatility)
Rather than using raw deviation directly, volatility is passed through a second ALMA smoothing layer:
Smoothed Volatility = ALMA(StdDev)
This eliminates the jitter and band shaking that defines most Bollinger-type systems.
3. Adaptive Containment Bands
Final bands are constructed as:
* Upper Band = ALMA Basis + Multiplier × Smoothed Volatility
* Lower Band = ALMA Basis − Multiplier × Smoothed Volatility
Unlike traditional ±2σ envelopes, the multiplier is intentionally adjustable and tuned for regime containment rather than extreme tagging.
4. Deadband Regime Engine (Persistent State Logic)
A defining feature of this protected release is its regime persistence model.
Instead of flipping trend bias instantly, the script applies a volatility-scaled deadband buffer:
* Bull regime activates only above Basis + Deadband
* Bear regime activates only below Basis − Deadband
This removes micro-flips and produces a true structural regime state:
* Bullish containment (green)
* Bearish containment (red)
* Neutral transition zone suppression
Regime state persists until a confirmed boundary transition occurs.
Visual Engine
ALMA SD Bands follows the RakoQuant minimal institutional plotting standard:
* Active volatility bands only
* Smooth containment fill
* Optional candle painting by regime bias
* Ultra-clean overlays suitable for confluence stacking
This indicator is designed as a structural layer, not a clutter generator.
How To Use
✅ Volatility containment framework
✅ Trend regime bias overlay
✅ Expansion / contraction classifier
✅ Portfolio directional filter (RSPS compatible)
Recommended workflow:
* Trade long only during bullish regime containment
* Defensive during bearish containment
* Watch for regime flips as volatility transition events
* Combine with momentum triggers for execution
Best environments:
* 4H–1D swing trend structure
* Volatility breakout classification
* Institutional band containment systems
Screenshot Placement
📸 Example chart / screenshot:
WMA MAD Trend | RakoQuantWMA MAD Trend | RakoQuant is a robust volatility-regime trend system built on Weighted Moving Average structure and Median Absolute Deviation dispersion, engineered to produce clean directional states while suppressing wick-driven noise and unstable ATR distortions.
This tool belongs to the RakoQuant protected research line, combining a smooth WMA baseline, statistically robust volatility envelopes (MAD bands), SuperTrend-style regime logic, and a strength-aware visualization layer designed for consistent performance across trending, mean-reverting, and mixed market environments.
Core Concept
This indicator answers one fundamental question:
Is price holding a statistically meaningful deviation from its WMA baseline, or reverting back into range?
Unlike classic SuperTrend variants that rely on ATR (highly sensitive to spikes and wicks), WMA MAD Trend uses Median Absolute Deviation as its volatility engine — a robust dispersion measure that remains stable in the presence of outliers.
How It Works
1) WMA Baseline (Directional Structure)
At its core, the indicator defines the market’s structural center using a Weighted Moving Average:
* WMA Baseline tracks directional bias with smoother, trend-weighted responsiveness
* The baseline can optionally be smoothed further in intraday mode to reduce micro-chop
This provides a stable anchor for dispersion-based regime classification.
2) MAD Volatility Engine (Robust Dispersion Core)
Instead of ATR, volatility is measured via Median Absolute Deviation (MAD) around the baseline:
* Compute absolute deviation:
|Close − Baseline|
* Take rolling median of deviation over madLen
* Optional normalization scales MAD toward a stdev-like measure (via constant factor)
This makes volatility estimation:
* Outlier-resistant
* Wick-resistant
* Regime-stable during abnormal price spikes
3) MAD Bands + SuperTrend Trailing Logic (Regime State Model)
Bands are built as:
* Upper Band = Baseline + Factor × MAD
* Lower Band = Baseline − Factor × MAD
Then classic SuperTrend-style trailing constraints are applied so the active band persists until a true regime break occurs.
That produces a state engine:
* Bull regime when price breaks above the trailing upper logic (transition into trend-up state)
* Bear regime when price breaks below the trailing lower logic (transition into trend-down state)
This behaves like a structural market regime model, not a reactive oscillator.
4) Strength Engine (Deviation-Based Intensity)
A defining layer of this tool is the MAD Z-score intensity system:
* Compute Z-score:
z = |Close − Baseline| / MAD
* Map into a 0 → 1 strength scale
Interpretation:
* Low deviation = weak regime confidence (likely chop / mean reversion)
* High deviation = strong regime confidence (trend expansion)
5) Intensity Visual Engine (Signal Clarity Layer)
WMA MAD Trend includes a protected visual engine that scales opacity with strength:
* Strong expansion = solid trend band
* Weak deviation = faded band
This gives immediate clarity:
Not all flips are equal — strength is displayed structurally.
6) Optional Institutional Filters
Two optional confirmation modules allow institutional-grade filtering:
Baseline Confirmation
* Bull flips only accepted if price is above baseline
* Bear flips only accepted if price is below baseline
EMA Stack Filter
* Bull only when Fast EMA > Slow EMA
* Bear only when Fast EMA < Slow EMA
These modules make the tool suitable for:
* Directional portfolio bias frameworks (RSPS)
* Regime classification overlays
* Trend confirmation filters for execution systems
7) Strong Flip Tier Alerts
Signal quality is tiered:
* Standard flip alerts
* Strong flip alerts only when deviation strength exceeds a threshold
This produces a higher-confidence regime transition model for swing positioning and exposure scaling.
How To Use
✅ Trend regime overlay
✅ Wick-resistant volatility trend filter
✅ MAD-based deviation strength engine
✅ Directional bias tool for portfolio systems
Best use cases:
* 1H–1D trend frameworks
* Regime filters for signal stacking
* Chop suppression in volatile markets
Suggested workflow:
* Bull bias when the regime is bullish and strength is rising
* Reduce risk / defensive when strength fades or a bearish flip occurs
* Pair with execution tools (breakout/mean-reversion entries) for timing
Screenshot Placement
📸 Example chart / screenshot: snapshot
Gartley + RSI Div + CDC ActionZone Alert//@version=5
indicator("Gartley + RSI Div + CDC ActionZone Alert", overlay=true)
// --- 1. CDC Action Zone Logic ---
ema12 = ta.ema(close, 12)
ema26 = ta.ema(close, 26)
isBlue = close > ema12 and ema12 < ema26
isGreen = ema12 > ema26
cdcSignal = isBlue or isGreen
// --- 2. RSI Bullish Divergence Logic ---
rsiVal = ta.rsi(close, 14)
lbR = 5 // Lookback Left
rbR = 5 // Lookback Right
minLow = ta.pivotlow(rsiVal, lbR, rbR)
isDiv = false
if not na(minLow)
prevLow = ta.valuewhen(not na(minLow), minLow , 0)
prevPrice = ta.valuewhen(not na(minLow), low , 0)
if rsiVal > prevLow and low < prevPrice
isDiv := true
// --- 3. Gartley Approximation (D-Point Focus) ---
// ส่วนนี้ใช้ ZigZag พื้นฐานเพื่อหาจุดกลับตัว (Simplified for Alert)
sz = input.int(10, "ZigZag Sensitivity")
ph = ta.pivothigh(high, sz, sz)
pl = ta.pivotlow(low, sz, sz)
// เงื่อนไขรวม (Combo Strategy)
// ราคาอยู่ที่จุดต่ำสุดใหม่ (Potential D) + RSI ขัดแย้ง + CDC เริ่มเปลี่ยนสี
buyAlert = isDiv and cdcSignal and not na(pl)
// --- การแสดงผลบนกราฟ ---
plotshape(buyAlert, title="Gartley-CDC Buy", style=shape.labelup, location=location.belowbar, color=color.green, text="BUY SETUP", textcolor=color.white, size=size.small)
// วาดเส้น EMA สำหรับ CDC
plot(ema12, color=color.red, linewidth=1)
plot(ema26, color=color.blue, linewidth=1)
// --- ระบบการแจ้งเตือน (Alerts) ---
if buyAlert
alert("SPA Style Setup Found: Gartley D-Point + RSI Div + CDC Signal!", alert.freq_once_per_bar)
SMC Structure + HTF Levels + VolatilityDescription: This script is a comprehensive "Smart Money Concepts" (SMC) toolkit designed to filter out market noise and focus only on the Major Market Structure. It combines structural analysis, multi-timeframe key levels, and volatility tracking into a single chart overlay.
Unlike standard fractal indicators that clutter the chart with every minor pivot, this script uses a "Retroactive" logic system to only mark significant Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH) that confirm a trend break.
Key Features
1. Major Structure Mapping (Retroactive Logic)
The Problem: Standard indicators often mark a "Lower High" too early, only for price to continue higher.
The Solution: This script waits for a Major Low to be broken (confirmed break of structure) before identifying the peak that caused it. It then "looks back" and retroactively labels that peak as the valid Lower High (LH).
Result: You get a clean chart that shows only the true structural legs of the trend, filtering out internal sub-swings and fake-outs.
2. Multi-Timeframe (MTF) Steplines
Automatically plots the previous highs and lows from higher timeframes:
PDH / PDL: Previous Day High & Low (Blue)
PWH / PWL: Previous Week High & Low (Orange)
PMH / PML: Previous Month High & Low (Purple)
These act as major magnet levels for price targets or reversal zones.
3. Volatility Regimes (Expansion vs. Consolidation)
Uses Bollinger Band Width to analyze market energy.
Green Background (Expansion): Volatility is above average. The market is moving fast (breakout or trend).
Gray Background (Consolidation): Volatility is below average. The market is squeezing, indicating a potential big move is building up.
How to Use It
Trend Following: Look for price to form a HL (Higher Low) in an uptrend. Wait for the background to turn Gray (Consolidation), then enter when it turns Green (Expansion) as price breaks upward.
Reversals: Watch for price to hit a PWH (Previous Week High). If a LH (Lower High) label appears shortly after, it confirms the reversal is valid.
Stop Placement: Use the most recent HL or LH labels as safe zones for stop-loss placement, as these represent protected structural points.
Settings
Swing Length: Adjusts how sensitive the structure detection is (Default: 5). Increase this number to see even longer-term structure.
Colors: Fully customizable colors for Bullish/Bearish structure, HTF lines, and Volatility zones.
Show/Hide: You can toggle off any element (like the Monthly levels or Volatility background) to keep your chart clean.
Relevant Levels RitradeOverview This indicator plots key price levels (Daily, Weekly, Monthly) with a unique "Smart Overlap" system. It is designed to keep charts clean by offsetting lines to the right of the price action and preventing labels from covering each other when price levels are identical.
Key Features
Smart Overlap Prevention: If two levels (e.g., Previous Day High and Weekly High) are at the exact same price, the script automatically shifts the second line to the right so both are visible side-by-side.
Origin Trace Lines: Faint, dotted grey lines connect the floating labels back to the specific candle where that High, Low, or Open actually occurred. This helps visualize exactly when the level was created.
Future Offset: Lines are drawn into the future (offset from the current bar) to avoid cluttering your analysis on current candles.
Exact Timing: The trace lines use precise time coordinates to find the exact swing high/low candle.
Included Levels (Toggleable)
PDH / PDL: Previous Day High & Low
PWH / PWL: Previous Week High & Low
DO / WO / MO: Daily, Weekly, and Monthly Opens
Settings You can customize the line colors, the offset distance (how far right the lines sit), the length of the lines, and the gap between overlapping lines.
Prime Minute MarkerPrime Minute Marker – Description
This script marks specific prime-numbered minutes directly on the chart using clean, plain text (no boxes or shapes).
It is designed for time-based market observation, helping traders spot recurring reactions, swings, and behavioral patterns that tend to appear at specific minutes within the hour.
The marker:
Displays only selected prime minutes
Uses simple text labels for a clutter-free chart
Does not interfere with price action
Works on any intraday timeframe
Is especially useful for swing points, liquidity reactions, and auction-based analysis
This tool is meant for observation and confluence, not as a standalone trading signal.
Prime Minute Marker (Selected)Prime Minute Marker – Description
This script marks specific prime-numbered minutes directly on the chart using clean, plain text (no boxes or shapes).
It is designed for time-based market observation, helping traders spot recurring reactions, swings, and behavioral patterns that tend to appear at specific minutes within the hour.
The marker:
Displays only selected prime minutes
Uses simple text labels for a clutter-free chart
Does not interfere with price action
Works on any intraday timeframe
Is especially useful for swing points, liquidity reactions, and auction-based analysis
This tool is meant for observation and confluence, not as a standalone trading signal.
BTC Trend Pullback (EMA200+EMA20) w/ ATR 1:2 RRStrategy Overview: BTC Trend Pullback (EMA200+EMA20)This strategy is a trend-following mean reversion system designed to capture high-probability entries within an established market regime. It utilizes a "dual-filter" approach: identifying the long-term trend while waiting for a short-term "cooldown" (pullback) before entering on a momentum confirmation signal.1. Trend Identification & FilteringThe strategy establishes market direction using the 200-period Exponential Moving Average (EMA).Bullish Regime: Price must be trading above the 200 EMA.Bearish Regime: Price must be trading below the 200 EMA.ADX Filter (Optional): To avoid "choppy" or sideways markets, an Average Directional Index (ADX) filter ensures that the trend has sufficient strength (typically $> 20$) before any trades are considered.2. The Pullback (Mean Reversion)Rather than chasing a breakout, this strategy waits for price to return to its "value zone"—the 20-period EMA.The script offers two modes for the pullback:Touch: A conservative entry where the candle wick merely taps the 20 EMA.Close Beyond: A more aggressive entry where the price must close on the opposite side of the 20 EMA, suggesting a deeper retracement.3. Execution via ConfirmationTo prevent "catching a falling knife," a trade is only triggered when price shows signs of resuming the primary trend. The user can select from:Bullish/Bearish Engulfing: A classic price action pattern where the current candle "swallows" the previous candle's body.Strong Close: A candle that closes in the top or bottom 40% of its total range (indicating high directional conviction).4. Risk Management (1:2 Reward-to-Risk)The strategy employs an Average True Range (ATR) based exit system to adapt to market volatility.Stop Loss (SL): Placed at $1.0 \times \text{ATR}$ from the entry price.Take Profit (TP): Placed at $2.0 \times \text{ATR}$ from the entry price.By using ATR, the strategy "breathes" with the market; stops are wider during high volatility and tighter during low volatility, maintaining a mathematically consistent 1:2 Reward-to-Risk ratio.
Global OrderFlow CVD Div (USDT+USD + Multi-OI) [TheActualSnail]Global OrderFlow CVD Div (USDT+USD + Multi-OI)
Global OrderFlow CVD Div is a multi-venue order flow proxy that aggregates CVD (Cumulative Volume Delta) from several exchanges (USDT perpetuals + USD spot) and prints pivot-based divergence labels on the price chart. Optionally, it can filter those divergence labels using Open Interest (OI) trend for extra confluence.
This is designed as a “global read” of participation: perps for positioning, spot for real flow, and OI for leverage context.
What this indicator shows
1) Delta (Orderflow proxy)
Because true bid/ask orderflow isn’t available natively in Pine for most markets, this script uses an intrabar OHLCV proxy:
If intrabar close > open → volume counted as “buy”
If intrabar close < open → volume counted as “sell”
If doji → it falls back to close vs previous close
This happens on a Lower TF (intrabar timeframe), then sums intrabar volume inside each chart candle.
2) CVD (Cumulative Volume Delta)
CVD is the cumulative sum of Delta:
Positive CVD suggests net aggressive buying (proxy)
Negative CVD suggests net aggressive selling (proxy)
You can plot:
AVG CVD (aggregated signal)
Optionally each exchange’s CVD separately (debug / comparison)
3) Divergence labels (pivot-based)
The script marks divergences at confirmed pivots:
Regular Bullish Divergence (Bull Div)
Price makes a Lower Low
CVD makes a Higher Low
Regular Bearish Divergence (Bear Div)
Price makes a Higher High
CVD makes a Lower High
Optional:
Hidden Bullish Divergence (trend continuation type)
Price makes a Higher Low
CVD makes a Lower Low
Hidden Bearish Divergence (trend continuation type)
Price makes a Lower High
CVD makes a Higher High
All labels are drawn at the pivot candle (the pivot is confirmed after Pivot length bars).
Inputs & settings explained
Calculation
Lower TF for intrabars
Sets the timeframe used to build the intrabar delta proxy (ex: 30s / 1m / 3m).
Smaller = more precise, but heavier CPU.
Delta mode
Delta = raw (buy vol − sell vol)
Delta % = delta normalized by total intrabar volume (helps when mixing sources with different volume scales)
CVD reset
Controls when CVD is reset back to 0:
None = continuous cumulative
Daily / Weekly / Monthly = resets at timeframe boundary
Fixed time = resets at a specific hour/min in your chart’s timezone
Session (regular) = uses TradingView’s regular session start
Fixed time hour / min (only used when reset = Fixed time)
CVD Sources (USDT perps + USD spot)
Each source has two controls:
✅ Checkbox = enable/disable that venue in the aggregation
Symbol picker = the actual TradingView symbol used
Defaults include:
USDT perps (Binance/Bybit/OKX/Bitget)
USD spot (Binance USD, Coinbase USD, optionally Kraken/Bitstamp)
Blend method
Average = normalizes by number of enabled sources (recommended for “global” confluence)
Sum = adds them directly (can overweight high-volume venues)
Tip: If a symbol is invalid on your TradingView plan/region, just disable it or change it to a valid ticker.
Open Interest (Perps only)
OI is optional and used as a divergence “filter” (not required).
Enable OI filter = turn OI logic on/off
Per-exchange OI toggles + symbol pickers (Binance/Bybit/OKX/Bitget)
OI blend
Average = average OI from enabled sources (recommended)
Sum = summed OI
OI trend length
Lookback for rising/falling detection
Filter labels by OI
None = no filter
Require OI Rising = only show divergence labels when blended OI is rising
Require OI Falling = only show divergence labels when blended OI is falling
Note: Coinbase has no OI feed here, so OI is perps-only by design.
Divergences
Enable divergence labels = on/off
Pivot length = pivot strength (higher = fewer, stronger signals; lower = more signals)
Use wicks for pivots
ON = pivots use High/Low (more sensitive)
OFF = pivots use Close (more conservative)
Min CVD difference (filter)
Requires the CVD pivot value to differ from the previous CVD pivot by at least this amount.
Also show hidden divergences
Enables hidden divergence labels.
Visuals
Show AVG Delta histogram (pane) = plots aggregated delta columns
Show AVG CVD (pane) = plots the aggregated CVD line
Show each CVD (pane) = plots each venue’s CVD line (useful for checking alignment)
Show AVG OI (pane) = plots blended OI (if enabled)
Show zero line (pane) = plots the 0 baseline
Up/Bear colors = colors used for plots and labels
“Icons” you see in the Inputs panel
TradingView uses common UI controls:
✅ Checkbox → enable/disable a feature or a specific exchange/OI feed
🔽 Dropdown → choose modes like Reset type / Delta mode / Blend method / OI filter
🕒 Timeframe selector → choose Lower TF for intrabars
🎨 Color swatch → change label/plot colors
✏️ Symbol picker → choose the exact exchange ticker used by the script
How to use it (practical workflow)
Pick your sources
Keep 2–4 major venues enabled for clean signal (ex: Binance/Bybit/OKX + Coinbase).
If you see “Invalid symbol”, replace the symbol or turn that source off.
Set intrabar precision
Start with 1m lower TF.
If you need more detail and your chart is smooth, try 30s.
Tune divergence sensitivity
Pivot length 5–10 is a good range.
Use wicks ON for earlier signals; OFF for stricter confirmation.
Add confluence
Use the OI filter to avoid divergences that occur with the “wrong” leverage context.
Combine with HTF levels, market structure, liquidity zones, VWAP/POC/NPOC, etc.
Important notes / limitations
This is a proxy, not true bid/ask delta.
Different exchanges report volume differently; aggregation helps but won’t be perfect.
Pivots are confirmed, so labels appear after the pivot is formed (pivotLen bars later).
More enabled sources + smaller intrabar TF = heavier calculations.
Not financial advice
This indicator is for educational/informational purposes only and does not constitute financial advice. Markets are risky. Always validate signals with other confluences, use proper risk management, and make your own decisions.
Drawdown MDD desde ATH (close)Drawdown indicator from ATH wtih maximum drawdown.
Indicates the current percentage of both






















