Adaptive Risk Management [sgbpulse]1. Introduction:
Adaptive Risk Management is an advanced indicator designed to provide traders with a comprehensive risk management tool directly on the chart. Instead of relying on complex manual calculations, the indicator automates all critical steps of trade planning. It dynamically calculates the estimated Entry Price , the Stop Loss location, the required Position Size (Quantity) based on your capital and risk limits, and the three Take Profit targets based on your defined Reward/Risk ratios. The indicator displays all these essential data points clearly and visually on the chart, ensuring you always know the potential risk-reward profile of every trade.
ARM : The A daptive R isk M anagement every trader needs to ARM themselves with.
2. The Critical Importance of Risk Management
Proper risk management is the cornerstone of successful trading. Consistent profitability in the market is impossible without rigorously defining risk limits.
Risk Control: This starts by setting the maximum risk amount you are willing to lose in a single trade (Risk per Trade), and limiting the total capital allocated to the position (Max Capital per Trade).
Defining Boundaries (Stop Loss & Take Profit): It is mandatory to define a technical Stop Loss and a Take Profit target. A fundamental rule of risk management is that the Reward/Risk Ratio (R/R) must be a minimum of 1:1.
3. Core Features, Adaptivity, and Customization
The Adaptive Risk Management indicator is engineered for use across all major trading styles, including Swing Trading, Intraday Trading, and Scalping, providing consistent risk control regardless of the chosen timeframe.
Real-Time Dynamic Adaptivity: The indicator calculates all risk management parameters (Entry, Stop Loss, Quantity) dynamically with every new bar, thus adapting instantly to changing market conditions.
Trend Direction Adjustment: Define the analysis direction (Long/Uptrend or Short/Downtrend).
Intraday Session Data Control: Full control over whether lookback calculations will include data from Extended Trading Hours (ETH), or if the daily calculations will start actively only from the first bar of Regular Trading Hours (RTH).
Status Validation: The indicator performs critical status checks and displays clear Warning Messages if risk conditions are not met.
4. Intuitive Visualization and Real-Time Data
Dynamic Tracking Lines: The Entry Price and Stop Loss lines are updated with every new bar. Crucially, the length of these lines dynamically reflects the calculation's lookback range (e.g., the extent of Lookback Bars or the location of the confirmed Pivot Point), providing a visual anchor for the calculated price.
Risk and Reward Zones: The indicator creates a graphical background fill between Entry and Stop Loss (marked with the risk color) and between Entry and the Reward Targets (marked with the reward color).
Essential Information Labels: Labels are placed at the end of each line, providing critical data: Estimated Entry Price, Stock/Contract Quantity (Quantity), Total Entry Amount, Estimated Stop Loss, Risk per Share, Total Financial Risk (Risk Amount), Exit Amount, Estimated Take Profit 1/2/3, Reward/Risk Ratio 1/2/3, Total Reward 1/2/3, TP Exit Amount 1/2/3.
4.1. Data Window Metrics (16 Full Series)
The indicator displays 16 full data series in the TradingView Data Window, allowing precise tracking of every calculation parameter:
Entry Data: Estimated Entry, Quantity, Entry Amount.
Risk Data (Stop Loss): Estimated Stop Loss, Risk per Share, Risk Amount, Exit Amount.
Reward Data (Take Profit): Estimated Take Profit 1/2/3, Reward/Risk Ratio 1/2/3, Total Reward 1/2/3, TP Exit Amount 1/2/3.
4.2. Instant Tracking in the Status Line
The indicator displays 6 critical parameters continuously in the indicator's Status Line: Estimated Entry, Quantity, Estimated Stop Loss, Estimated Take Profit 1/2/3.
5. Detailed Indicator Inputs
5.1 General
Focused Trend: Defines the analysis direction (Uptrend / Downtrend).
Max Capital per Trade: The maximum amount allocated to purchasing stocks/contracts (in account currency).
Risk per Trade: The maximum amount the user is willing to risk in this single trade (in account currency).
ATR Length: The lookback period for the Average True Range (ATR) calculation.
5.2 Intraday Session Data Control
Regular Hours Limitation : If enabled, all daily lookback calculations (for Entry/Stop Loss anchor points) will begin strictly from the first Regular Trading Hours (RTH) bar. This limits the lookback range to the current RTH session, excluding preceding Extended Trading Hours (ETH) data. Only relevant for Intraday charts. Default: False (Off)
5.3 Entry Inputs
Entry Method: Selects the entry price calculation method:
Current Price: Uses the closing price of the current bar as the estimated entry point (Market Entry).
ATR Real Bodies Margin :
- Uptrend: Calculates the Maximum Real Body over the lookback period + the calculated safety margin.
- Downtrend: Calculates the Minimum Real Body over the lookback period - the calculated safety margin.
ATR Bars Margin :
- Uptrend: Calculates the Maximum High price over the lookback period + the calculated safety margin.
- Downtrend: Calculates the Minimum Low price over the lookback period - the calculated safety margin.
Lookback Bars: The number of bars used to calculate the extremes in the ATR-based entry methods (Relevant only for ATR Real Bodies Margin and ATR Bars Margin methods).
ATR Multiplier (Entry): The multiplier applied to the ATR value. The result of the multiplication is the calculated safety margin used to determine the estimated Entry Price.
5.4 Risk Inputs (Stop Loss)
Risk Method: Selects the Stop Loss price calculation method.
ATR Current Price Margin :
- Uptrend: Entry Price - the calculated safety margin.
- Downtrend: Entry Price + the calculated safety margin.
ATR Current Bar Margin :
- Uptrend: Current Bar's Low price - the calculated safety margin.
- Downtrend: Current Bar's High price + the calculated safety margin.
ATR Bars Margin :
- Uptrend: Lowest Low over lookback period - the calculated safety margin.
- Downtrend: Highest High over lookback period + the calculated safety margin.
ATR Pivot Margin :
- Uptrend: The first confirmed Pivot Low point - the calculated safety margin.
- Downtrend: The first confirmed Pivot High point + the calculated safety margin.
Lookback Bars: The lookback period for finding the extreme price used in the 'ATR Bars Margin' calculation.
ATR Multiplier (Risk): The multiplier applied to the ATR value. The result of the multiplication is the calculated safety margin used to place the estimated Stop Loss. Note: If set to 0, the Stop Loss will be placed exactly at the technical anchor point, provided the Minimum Margin Value is also 0.
Minimum Margin Value: The minimum price value (e.g., $0.01) the Stop Loss margin buffer must be.
Pivot (Left / Right): The number of bars required on either side of the pivot bar for confirmation (relevant only for the ATR Pivot Margin method).
5.5 Reward Inputs (Take Profit)
Show Take Profit 1/2/3: ON/OFF switch to control the visibility of each Take Profit target.
Reward/Risk Ratio 1/ 2/ 3: Defines the R/R ratio for the profit target. Must be ≥1.0.
6. Indicator Status/Warning Messages
In situations where the Stop Loss location cannot be calculated logically and validly, often caused by a mismatch between the configured Focused Trend (Uptrend/Downtrend) and the actual price action, the indicator will display a warning message, explaining the reason and suggesting corrective action.
Status Message 1: Pivot reference unavailable
Condition: The Stop Loss is set to the "ATR Pivot Margin" method, but the anchor point (Pivot) is missing or inaccessible.
Message Displayed: "Pivot reference unavailable. Wait for valid price action, or adjust the Regular Hours Limitation setting or Pivot Left/Right inputs."
Status Message 2: Calculated Stop Loss is unsafe
Condition: The calculated Stop Loss is placed illogically or unsafely relative to the trend direction and the Entry price.
Message Displayed: "Calculated Stop Loss is unsafe for current trend. Wait for valid price action or adjust SL Lookback/Multiplier."
7. Summary
The Adaptive Risk Management (ARM) indicator provides a seamless and systematic approach to trade execution and risk control. By dynamically automating all critical trade parameters—from Entry Price and Stop Loss placement to Position Sizing and Take Profit targets—ARM removes emotional bias and ensures every trade adheres strictly to your predefined risk profile.
Key Benefits:
Systematic Risk Control: Strict enforcement of maximum capital allocation and risk per trade limits.
Adaptivity: Dynamic calculation of prices and quantities based on real-time market data (ATR and Lookback).
Clarity and Trust: Clear on-chart visualization, precise data metrics (16 series), and unambiguous Status/Warning Messages ensure transparency and reliability.
ARM allows traders to focus on strategy and analysis, confident that their execution complies with the core principles of professional risk management.
Important Note: Trading Risk
This indicator is intended for educational and informational purposes only and does not constitute investment advice or a recommendation for trading in any form whatsoever.
Trading in financial markets involves significant risk of capital loss. It is important to remember that past performance is not indicative of future results. All trading decisions are your sole responsibility. Never trade with money you cannot afford to lose.
אינדיקטורים ואסטרטגיות
TTM Squeeze Pro Enhanced v1.5.1 [pyrevo]# TTM Squeeze Pro Enhanced
**Version:** 1.5.1
**Author:** pyrevo
**License:** MPL 2.0
## Credits
This indicator is a collective work based on the contributions of the TradingView community:
* **John Carter**: Creator of the original TTM Squeeze and TTM Squeeze Pro concepts.
* **Lazybear**: Original interpretation of the TTM Squeeze (Squeeze Momentum Indicator).
* **Makit0**: Evolution of Lazybear's script to factor in TTM Squeeze Pro upgrades (Squeeze PRO Arrows).
* **marsrides**: Some aesthetics solutions.
* **Beardy_Fred**: The base code from which this enhanced version was derived.
## Overview
**TTM Squeeze Pro Enhanced** is a professional-grade momentum and volatility indicator designed to identify explosive breakout opportunities. It is a refined version of the community's collective works, with amendments primarily to the Squeeze Conditions and visual aesthetics to provide a clearer, more actionable reading of market state.
### The Concept
For those unfamiliar with the TTM Squeeze, it is a visual way of seeing how Bollinger Bands (standard deviations from a simple moving average) relate to Keltner Channels (average true range bands) compared with the momentum of the price action.
The concept is that as Bollinger Bands compress within Keltner Channels, price volatility decreases, giving way for a potential explosive price movement up or down.
### TTM Squeeze vs. TTM Squeeze Pro
* **Original TTM Squeeze:** Uses a 1.5 ATR Keltner Channel.
* **TTM Squeeze Pro (Enhanced):** Uses 1.0, 1.5, and 2.0 ATR Keltner Channels.
This helps differentiate between levels of squeeze (compression). The greater the compression (Bollinger Bands moving deeper into tighter Keltner Channels), the more potential for explosive moves.
## Indicator Analysis
### 1. Squeeze Detection (Dots)
The colored dots along the zero line represent the state of market volatility. This enhanced version uses a distinct color palette to indicate compression levels:
* **🔴 Red Dots (High Compression):** Extreme squeeze. One or both Bollinger Bands are inside the 1.0 ATR Keltner Channel.
* **🟠 Orange Dots (Medium Compression):** Significant squeeze. One or both BBs are inside the 1.5 ATR Keltner Channel.
* **⚪ Gray Dots (Low Compression):** Standard squeeze. One or both BBs are inside the 2.0 ATR Keltner Channel.
* **◽ Light Gray Dots (No Squeeze):** Volatility is normal or expanding. Squeeze has "fired".
### 2. Momentum (Histogram)
The histogram bars show price momentum relative to the squeeze:
* **Bright Green:** Positive, increasing momentum (Bullish).
* **Dark Green:** Positive, decreasing momentum (Bullish exhaustion).
* **Bright Red:** Negative, increasing momentum (Bearish).
* **Dark Red:** Negative, decreasing momentum (Bearish exhaustion).
### 3. Dual Momentum System
An optional secondary system to gauge trend strength:
* **Fast & Slow Momentum Lines:** Moving averages of the momentum to help identify crossovers.
* **Trend Crossovers:** Triangle markers indicate when fast momentum crosses slow momentum.
## Ideal Scenario
As the ticker enters the squeeze, **Gray dots** would warn of the beginning of a low compression squeeze. As the Bollinger bands continue to constrict, **Orange dots** would highlight a medium compression. As the price action and momentum continues to compress, a **Red dot** shows warning of high compression.
As price action leaves the squeeze, the coloring would reverse (Red → Orange → Gray → Light Gray). Any compression squeeze is considered "fired" at the first Light Gray dot that appears.
*Note: This is an ideal progression, however any type of squeeze sequence may appear at anytime.*
## Entry and Exit Guide
* **Entry:** John Carter recommends entering a position after at least 5 dots of compression (Gray/Orange/Red) or waiting for the first "No Squeeze" dot (Light Gray) to appear with confirming momentum.
* **Exit:** Exit on the second bar of decreasing momentum (Dark Green or Dark Red), or remain in the position after confirming a continuing trend through a separate indicator.
## Settings & Customization
* **Timeframe:** Built-in Multi-Timeframe (MTF) support allowing you to view higher-timeframe squeeze signals on lower-timeframe charts.
* **Appearance Modes:**
* **Default:** Standard enhanced palette.
* **Modern:** High-contrast palette (Teal/Red/Gold).
* **Classic MACD:** Traditional Blue/Orange line configuration.
* **Dashboard:** An on-chart table providing real-time data on squeeze status, momentum value, and trend strength.
Raja's SMC Order Blocks Display [PRO]Raja's SMC Order Blocks Display - Complete Description
🌟 A Message from Raja Saien
This indicator has been crafted with dedication, countless hours of research, and deep passion for trading excellence. Raja Saien has poured his heart and soul into creating this powerful tool to help YOU succeed in the markets.
For Everyone Starting Their Trading Journey:
If you're new to trading, remember - every expert was once a beginner. This indicator is your gateway to understanding how institutional money moves in the markets. Raja Saien believes in YOUR potential to learn, grow, and achieve financial freedom through smart trading.
The path to success requires:
✨ Dedication to learning the craft
💪 Patience during the learning curve
🎯 Consistent practice with the right tools
🚀 Belief in your ability to master the markets
This isn't just an indicator - it's a mentor on your chart, showing you where the smart money is positioned. With hard work and this tool in your arsenal, you can transform your trading and your life.
Remember: The markets reward those who prepare, practice, and persist. Raja Saien has given you the tool - now it's your turn to commit to the journey!
Overview
This is an advanced TradingView indicator that identifies and displays Smart Money Concepts (SMC) and Order Blocks. It's designed for professional traders who want to understand institutional trading patterns and market structure.
Main Features
1. Smart Money Concepts (SMC) Detection
ZigZag Pattern Recognition: Identifies market structure using pivot highs and lows
Break of Structure (BOS): Detects when price breaks through important structural levels
Change of Character (CHoCH): Identifies trend reversals and shifts in market sentiment
Configurable Length: Adjustable ZigZag sensitivity (default: 5 bars)
2. Order Blocks (OB)
Order blocks are zones where institutional investors have placed large orders. The indicator identifies two types:
Bullish Order Blocks:
Created when market shifts from bearish to bullish
Marks the last bearish candle before the structure break
Displayed in green/teal color
Represents potential support zones where price may bounce
Looks back 10 bars to find the lowest bearish candle
Bearish Order Blocks:
Created when market shifts from bullish to bearish
Marks the last bullish candle before the structure break
Displayed in red color
Represents potential resistance zones where price may reject
Looks back 10 bars to find the highest bullish candle
3. Order Block Management
Dynamic Extension: Active order blocks extend forward on the chart
Mitigation Detection: Automatically detects when price fully breaks through an order block
Bullish OB mitigated when close drops below the bottom
Bearish OB mitigated when close rises above the top
Visual Feedback: Mitigated blocks turn gray and are labeled "Mitigated"
Auto-cleanup: Removes mitigated order blocks from active tracking
4. Moving Averages Suite
Includes multiple trend indicators for comprehensive analysis:
Fast EMA (default 9): Yellow line - captures short-term momentum
Slow EMA (default 21): Purple line - identifies medium-term trends
EMA 50: Orange line - major trend filter
SMA 200: Blue line - long-term trend and institutional reference point
All EMAs support multiple source options: Open, High, Low, Close, HL2, HLC3, OHLC4
Customization Options
SMC Settings
ZigZag Length: Control sensitivity of structure detection (2-100)
Show Order Blocks: Toggle order block display on/off
Visual Settings
Bullish Color: Customize color for bullish order blocks (default: teal #089981)
Bearish Color: Customize color for bearish order blocks (default: red #f23645)
Transparency: Order blocks displayed with 80% transparency for better chart visibility
EMA Settings
Fast EMA Length: Adjustable period (default: 9)
Slow EMA Length: Adjustable period (default: 21)
Source Selection: Choose calculation source for each EMA
Toggle EMA 50: Show/hide the 50-period EMA
Toggle SMA 200: Show/hide the 200-period SMA
How It Works
Structure Detection Process
Identifies pivot highs and lows based on specified length
Creates ZigZag lines connecting significant swing points
Tracks current trend direction (bullish/bearish/neutral)
Monitors for structural breaks that signal trend changes
Order Block Creation
When price breaks above a previous high (bullish BOS):
Scans last 10 bars for the lowest bearish candle
Creates bullish order block at that candle's range
Marks it as active support zone
When price breaks below a previous low (bearish BOS):
Scans last 10 bars for the highest bullish candle
Creates bearish order block at that candle's range
Marks it as active resistance zone
Order Block Lifecycle
Active: Box extends forward with colored border and background
Tested: Price can interact with the zone multiple times
Mitigated: Once price closes through the zone, marked as invalidated
Removed: Automatically cleaned up after mitigation
Trading Applications
Entry Strategies
Pullback Entries: Wait for price to return to an active order block
Confirmation: Look for bullish price action at bullish OBs, bearish at bearish OBs
EMA Confluence: Stronger setups when OBs align with EMA levels
Risk Management
Stop Loss: Place stops just beyond the order block boundary
Invalidation: Exit if order block gets mitigated
Multiple Timeframes: Check OBs on higher timeframes for stronger zones
Trend Analysis
EMA Alignment: All EMAs pointing same direction = strong trend
EMA 50 Test: Key level for trend continuation/reversal
SMA 200: Major institutional reference point
Technical Specifications
Max Boxes: 500 (sufficient for most chart timeframes)
Max Lines: 500
Max Labels: 500
Overlay: True (draws directly on price chart)
Version: Pine Script v5
Best Practices
Use on liquid markets (forex, major stocks, crypto)
Combine with volume analysis for confirmation
Higher timeframes produce more reliable order blocks
Wait for clear structure breaks before trusting new OBs
Don't trade against the major trend (SMA 200 direction)
Use multiple confirmations before entering trades
Limitations
Works best in trending markets with clear structure
May produce false signals in ranging/choppy conditions
Requires understanding of Smart Money Concepts
Not a standalone trading system - use with proper risk management
Historical order blocks don't guarantee future reactions
HVTC 1HVTC – SMC Market Structure & Trend Indicator
HVTC is a Smart Money Concepts–based tool that helps traders visualize market structure and trend direction with clarity.
Features:
CHoCH & BOS Detection
Automatically identifies structural shifts using true SMC logic and labels them directly on the chart.
Trend Filter
Confirms bullish or bearish conditions using an internal trend system to keep trades aligned with the major direction.
EMA 25 Guide
EMA 25 acts as dynamic support/resistance, helping define momentum and bias.
Alerts (Optional)
Notify traders when CHoCH/BOS or key retests occur—ideal for those who don’t monitor charts continuously.
Use Cases:
Works for Crypto, Forex, Gold, Indices, and Stocks across all timeframes. Helps improve entries, exits, and overall market understanding based on institutional structure.
Not financial advice. Use with proper risk management.
Liquidity Heatmap [Eˣ]💧 Liquidity Heatmap - Free Indicator
Overview
The Liquidity Heatmap reveals where stop losses are clustered in the market - the hidden liquidity zones that smart money targets. This indicator automatically identifies Buy-Side Liquidity (BSL) above price and Sell-Side Liquidity (SSL) below price, showing you exactly where institutional traders are likely to hunt for stops before major moves.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 What This Indicator Does
Identifies Liquidity Zones:
• Buy-Side Liquidity (BSL) - Stop losses from SHORT positions clustered above price
• Sell-Side Liquidity (SSL) - Stop losses from LONG positions clustered below price
• Automatically clusters nearby levels into high-probability zones
• Shows liquidity strength (1-5+) - higher numbers = more stops = bigger target
• Removes swept liquidity in real-time as price takes out stops
Visual Display:
• 🔴 Red Zones Above Price = Buy-Side Liquidity (shorts' stops)
• 🟢 Green Zones Below Price = Sell-Side Liquidity (longs' stops)
• Thicker/Darker Zones = Higher liquidity concentration
• BSL/SSL Labels = Show exact strength count
• Triangle Markers = Liquidity sweep alerts (when price takes stops)
Smart Features:
• Auto-removes old liquidity (customizable lookback period)
• Clusters nearby levels to reduce noise
• Tracks liquidity strength and age
• Updates in real-time as new swing points form
• Alerts when major liquidity zones are swept
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 How To Use This Indicator
Understanding Liquidity Concepts
What is Liquidity?
Liquidity refers to clusters of stop loss orders sitting in the market. These stops represent:
• Long traders' stop losses (below support) = Sell-Side Liquidity
• Short traders' stop losses (above resistance) = Buy-Side Liquidity
Why Does This Matter?
• Institutions NEED liquidity to fill large orders
• Price often "sweeps" liquidity zones before reversing
• Major liquidity = major target for smart money
• Understanding liquidity = understanding market maker behavior
The Liquidity Cycle:
1. Retail traders place stops at obvious levels (swing highs/lows)
2. Smart money identifies these clusters
3. Price is pushed to sweep the stops (liquidity grab)
4. Institutions fill their orders with this liquidity
5. Price reverses in the opposite direction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Trading Strategies
Strategy 1: Liquidity Sweep Reversals
Best For: Swing trading, catching reversals
Timeframes: 15min, 1H, 4H, Daily
Entry Setup:
1. Identify strong Sell-Side Liquidity (SSL) zone below price
2. Wait for price to sweep down into the SSL zone
3. Look for rejection/reversal candle pattern (pin bar, engulfing)
4. Enter LONG after sweep and reversal confirmation
5. Stop loss: Below the swept liquidity zone
6. Target: Opposite liquidity zone or key resistance
Why It Works: Smart money sweeps stops to fill buy orders, then pushes price higher
Example:
• SSL zone at $45,000 with strength 3
• Price drops to $44,950, sweeps the SSL
• Strong bullish reversal candle forms
• Enter long at $45,100
• Target: BSL zone at $47,000
Strategy 2: Liquidity-to-Liquidity Runs
Best For: Day trading, scalping
Timeframes: 5min, 15min, 1H
Entry Setup:
1. Price sweeps Sell-Side Liquidity below and reverses up
2. Identify Buy-Side Liquidity zone above
3. Enter LONG targeting the BSL zone above
4. Exit near/at the BSL zone (don't wait for sweep)
5. Stop loss: Below recent swing low
Why It Works: Price moves from liquidity pool to liquidity pool
Variation - Reverse for Shorts:
• BSL sweep above → Look for SSL zone below
• Enter short targeting lower liquidity
Strategy 3: Liquidity Avoidance (Stop Placement)
Best For: Improving win rate on existing strategies
Timeframes: All
Rules:
1. NEVER place stops exactly at obvious liquidity zones
2. Place stops beyond the liquidity zone with buffer
3. Or place stops before the liquidity zone (tighter, riskier)
4. Monitor liquidity strength - avoid zones with strength 3+
Why It Works: Market makers hunt obvious stop clusters
Example:
• Trading long, swing low at $100 (SSL zone, strength 4)
• Bad: Stop at $99.50 (will get swept)
• Better: Stop at $98.50 (beyond the liquidity)
• Alternative: Stop at $100.50 (tighter, before sweep zone)
Strategy 4: Confluence Trading
Best For: High probability setups
Timeframes: 1H, 4H, Daily
Entry Setup:
1. Find liquidity zone that aligns with:
• Major support/resistance level
• Fibonacci retracement (0.618, 0.786)
• Trendline
• Round psychological number ($50,000, $2,000, etc)
2. Wait for sweep of this high-confluence zone
3. Enter on reversal with multiple confirmations
4. Larger position size justified by confluence
Why It Works: Multiple factors = institutional interest = higher probability
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Settings Explained
Core Settings
Swing Detection Length (Default: 10)
• Number of bars left/right to identify swing highs and lows
• Lower values (5-8): More sensitive, more liquidity zones, more noise
• Higher values (12-20): Less sensitive, only major swings, cleaner chart
• Recommended: 8-10 for intraday, 10-15 for swing trading
Liquidity Lookback Bars (Default: 100)
• How many historical bars to track liquidity zones
• Lower values (50-75): Shows only recent liquidity
• Higher values (100-200): Shows longer-term liquidity clusters
• Zones older than this are automatically removed
• Recommended: 100-150 for most timeframes
Zone Proximity % (Default: 0.5)
• Percentage threshold to group nearby levels into single zone
• Lower values (0.2-0.4): Keeps levels separate, more zones
• Higher values (0.6-1.0): Aggressive clustering, fewer zones
• Recommended: 0.4-0.6 for crypto, 0.3-0.5 for forex, 0.5-0.8 for stocks
Visualization Settings
Show Buy-Side Liquidity
• Toggle ON/OFF red zones above price
• Turn OFF if only interested in downside liquidity
Show Sell-Side Liquidity
• Toggle ON/OFF green zones below price
• Turn OFF if only interested in upside liquidity
Show Liquidity Labels
• Toggle BSL/SSL labels with strength numbers
• Turn OFF for cleaner chart appearance
• Keep ON to see exact liquidity strength
Display Style
• Boxes: Filled rectangular zones (best for visualizing strength)
• Lines: Horizontal dashed lines (minimal, clean look)
• Both: Boxes + Lines (maximum visibility)
Color Intensity
• Low: 85% transparency (subtle, less distracting)
• Medium: 75% transparency (balanced visibility)
• High: 65% transparency (bold, maximum visibility)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Info Panel Guide
Located in the top-right corner, the info panel provides real-time liquidity statistics:
Buy-Side Zones
• Count of active BSL zones above current price
• Higher number = More upside targets for price
Sell-Side Zones
• Count of active SSL zones below current price
• Higher number = More downside targets for price
Total Zones
• Combined count of all active liquidity
• Useful for gauging overall market structure
Nearest BSL
• Distance in % to closest Buy-Side Liquidity above
• Example: +2.5% means BSL is 2.5% above current price
• Quick reference for next upside target
Nearest SSL
• Distance in % to closest Sell-Side Liquidity below
• Example: -1.8% means SSL is 1.8% below current price
• Quick reference for next downside target
Liquidity Bias
• ⬆️ Bullish : More BSL than SSL (upside targets dominate)
• ⬇️ Bearish : More SSL than BSL (downside targets dominate)
• ↔️ Balanced: Equal liquidity on both sides (range-bound)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 Understanding Liquidity Strength
What Do The Numbers Mean?
Strength 1 : Single swing point
• Light liquidity, minor target
• Can be ignored in trending markets
• Useful in ranging/choppy conditions
Strength 2-3 : Moderate liquidity cluster
• Multiple nearby swing points merged
• Decent target for intraday moves
• Watch for potential sweeps
Strength 4-5 : Strong liquidity cluster
• Major cluster of stops
• High-probability target for institutions
• Expect reactions when swept
Strength 6+ : Extreme liquidity pool
• Massive stop cluster (rare)
• Critical zone - high probability of sweep
• Often marks major support/resistance
• Ideal for confluence setups
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Alert Setup
This indicator includes 2 powerful alert types:
1. Buy-Side Liquidity Sweep
• Triggers when price sweeps BSL zone above
• Shows potential bullish reversal opportunity
• Often precedes upward continuation after sweep
2. Sell-Side Liquidity Sweep
• Triggers when price sweeps SSL zone below
• Shows potential bearish reversal opportunity
• Often precedes downward continuation after sweep
To Set Up Alerts:
1. Click the "Alert" button (clock icon) in TradingView
2. Condition: Select "Liquidity Heatmap"
3. Choose alert type: BSL Sweep or SSL Sweep
4. Configure notification method (push, email, webhook)
5. Click "Create"
Pro Tip: Set alerts for both BSL and SSL sweeps to catch opportunities in both directions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 Pro Tips & Best Practices
✅ DO:
• Wait for confirmation - Don't enter immediately on sweep, wait for reversal pattern
• Combine with trend - SSL sweeps in uptrends = higher probability longs
• Check multiple timeframes - 1H liquidity + 4H liquidity = strongest zones
• Monitor strength - Focus on zones with strength 3+
• Use proper risk management - Liquidity sweeps can go further than expected
• Watch for re-sweeps - Sometimes liquidity zones get swept multiple times
• Consider volume - High volume sweeps = stronger reversal potential
⚠️ DON'T:
• Don't fade strong trends - In strong trends, sweeps often continue rather than reverse
• Don't overtrade - Not every sweep is a tradeable setup
• Don't ignore context - Check broader market conditions and news
• Don't use alone - Combine with price action, support/resistance, and other analysis
• Don't place stops at liquidity - Your stops will be hunted
• Don't expect perfection - Some sweeps fail, some zones never get hit
🎯 Best Timeframes:
• Scalping: 5min, 15min (fast moves, frequent sweeps)
• Day Trading: 15min, 1H (balanced view)
• Swing Trading: 1H, 4H, Daily (major liquidity zones)
• Position Trading: 4H, Daily, Weekly (institutional liquidity)
🔥 Best Markets:
• Crypto (high volatility, frequent liquidity grabs)
• Forex (EUR/USD, GBP/USD - liquid pairs)
• Futures (ES, NQ, CL - high liquidity contracts)
• Stocks (large caps with high volume)
⏰ Best Times:
• Market opens (high volatility = liquidity hunting)
• Before/after major news events
• Session overlaps (London/NY for forex)
• First hour and last hour of trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 What Makes This Different?
Unlike basic pivot indicators, the Liquidity Heatmap:
• Institutional Perspective - Shows where smart money hunts stops
• Dynamic Clustering - Automatically groups nearby levels for clarity
• Strength Tracking - Not just where, but HOW MUCH liquidity exists
• Auto-Cleanup - Removes swept and old liquidity automatically
• Visual Clarity - Instant understanding of market structure
• Actionable - Clear targets and reversal zones for trading
• Real-Time Updates - Adapts as market structure evolves
Based On Professional Concepts:
• Order flow analysis
• Market maker behavior
• Institutional trading techniques
• Liquidity engineering principles
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Common Liquidity Patterns
Pattern 1: The Double Sweep
• Price sweeps SSL below, reverses up
• Price sweeps BSL above, reverses down
• Back to original range
• Trading: Fade the second sweep for mean reversion
Pattern 2: The Cascade
• Multiple SSL zones stacked below
• Price sweeps first zone, continues to next
• Chain reaction of stop losses triggering
• Trading: Ride the momentum to lowest zone
Pattern 3: The Fake-Out
• Price approaches liquidity but doesn't quite sweep
• Reverses before hitting the zone
• "Scared money" didn't wait for full sweep
• Trading: Wait for actual sweep, don't anticipate
Pattern 4: The Absorption
• Price sweeps major liquidity zone (strength 5+)
• No reversal, just consolidation
• Institutions absorbed all liquidity
• Trading: Wait for breakout direction, likely continuation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Upgrade Your Trading Arsenal
This free indicator gives you institutional-level liquidity analysis. Want more?
🔥 Check out my premium scripts for:
• Automated entry signals with liquidity confirmation
• Multi-timeframe liquidity analysis
• Advanced stop loss management that avoids liquidity zones
• Backtested strategies with performance tracking
• Custom alerts for high-probability setups
• And much more...
👉 Visit my profile to see all available tools!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Important Notes
• Liquidity analysis is one piece of the puzzle - use with other analysis methods
• Not all liquidity zones get swept - some remain untouched
• Market conditions change - adapt your strategy accordingly
• Always use proper position sizing and risk management
• Liquidity sweeps can be violent - use appropriate stop losses
• Practice on demo accounts before trading with real capital
• Past liquidity patterns don't guarantee future price action
Disclaimer: This indicator is for educational purposes. Trading involves risk. Always do your own research and never risk more than you can afford to lose.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🙏 Support This Work
If you find this indicator valuable:
• ⭐ Give it a thumbs up
• 💬 Share your best liquidity sweep trades in the comments
• 🔔 Follow for more free professional-grade tools
• 🚀 Share with traders who need to understand liquidity
Got questions? Drop a comment and I'll help you master liquidity trading!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed with ❤️ for traders who want to think like institutions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Version History
• v1.0 - Initial release with dynamic liquidity detection and clustering
ONE Clear Multi‑Timeframe Synchronization (MTS) [Sync]**Script Profile — ONE Clear Multi‑Timeframe Synchronization (MTS) (Pine v6)**
* **Purpose:** Identifies a *multi‑timeframe “ignition”* pattern—strong daily upside confirmed by the next day and aligned with weekly & monthly structure—designed for pattern recognition and research (non‑financial advice).
* **Core Signals:**
* **MTS D1 (Ignition):** Day‑1 ≥ **+7%**, **close near high** (≥95%), **volume expansion** vs 20‑day average, and **prior‑day hammer** (stabilization).
* **MTS D2 (Confirmation):** Day‑2 ≥ **+5%** to validate D1.
* **Higher‑TF Alignment:** Confirms **weekly** (close above prior week’s high or green week) and **monthly** (close above prior month’s high or green month) conditions via `request.security`.
* **Context Overlays (optional):** Pivot‑based **Support/Resistance** with **“B” breaks** (green = resistance break; red = support break) gated by a **volume oscillator** (EMA5 vs EMA10).
* **Alerts:**
* **MTS Ignition Confirmed** (D1 + D2 + hammer + weekly/monthly + volume gate)
* **Support/Resistance Broken** (with volume gate)
* **Stability Fix:** Precomputes `ta.crossover`/`ta.crossunder` **once per bar** and reuses variables in conditions to avoid inconsistent historical evaluation—*no change in strategy logic or thresholds.*
* **Typical Read:** Use D1 (low/mid/high) as reference levels; D2 confirms regime shift; green “B” after D2 suggests continuation, red “B” warns of failure.
Daily Buy Signal – RSI/EMA21
Daily Buy Signal – RSI/EMA21
A simple technical signal that identifies potential daily buy opportunities using RSI and EMA21 alignment.
This script generates a daily buy signal when momentum and trend strength align.
The signal triggers when the price closes above the 21-period EMA and the RSI(14) crosses above the 50 level, or when both the RSI stays above 50 and the price shifts from closing below the EMA21 to closing above it.
A label is plotted below the candle, and the script includes an alert condition so users can receive real-time notifications.
FVG with Fibonacci Levels [MHA Finverse]FVG with Fibonacci Levels - Professional Fair Value Gap Indicator
This advanced Fair Value Gap (FVG) indicator automatically identifies and tracks market imbalances with integrated Fibonacci retracement levels, providing traders with precise entry and exit opportunities.
Key Features:
Smart Gap Detection
• Automatically identifies bullish and bearish fair value gaps in real-time
• Customizable minimum gap percentage filter to avoid noise
• Visual color-coded boxes for easy identification
Fibonacci Integration
• Built-in 0.5 and 0.618 Fibonacci retracement levels
• Fully customizable fib levels, colors, and line styles
• Helps identify optimal entry zones within each gap
Intelligent Gap Management
• Tracks multiple gaps simultaneously (up to 20)
• Automatic gap mitigation detection (Close or Wicks)
• Option to remove or highlight filled gaps
• Auto-hide boxes after specified bar count
Advanced Alert System
• Alerts when gaps are filled
• Fibonacci level touch alerts for both 0.5 and 0.618 levels
• Separate alerts for bullish and bearish setups
• Customizable alert preferences
Clean Visual Display
• Transparent boxes that don't clutter your chart
• Extending lines that update in real-time
• Customizable colors for both bullish and bearish gaps
• Option to change border style when gaps are filled
Perfect For:
Smart Money Concepts (SMC) traders, Price Action traders, and anyone looking to trade market structure and liquidity gaps with precision.
How to Use:
The indicator draws boxes around identified fair value gaps and extends them forward until they are filled. Fibonacci levels within each gap provide optimal entry zones. Set up alerts to get notified when price interacts with these key levels.
Credits
Special thanks to Quant Vue for their code examples and inspiration that contributed to the development of this indicator.
Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves substantial risk of loss. Always conduct your own research and consider your risk tolerance before making any trading decisions. Past performance does not guarantee future results.
TRI - Multi-Timeframe FVGTRI - MULTI-TIMEFRAME FAIR VALUE GAPS v1.0.0
DESCRIPTION:
Advanced multi-timeframe Fair Value Gap (FVG) indicator that displays FVG zones from higher timeframes
on your current chart. Supports automatic or manual timeframe selection with comprehensive visualization
and alert system.
KEY FEATURES:
Multi-timeframe FVG detection - view FVG from any higher timeframe
Automatic timeframe selection - configure different FVG timeframes for each chart timeframe
Automatic mitigation detection - zones change color when price mitigates them
Configurable FVG threshold - filter out small gaps
Customizable visualization - colors, borders, labels, text colors
Smart zone inclusion - larger zones automatically remove smaller included zones
Memory efficient - automatic cleanup of expired zones
HOW IT WORKS:
A Fair Value Gap (FVG) is detected when there's a 3-candle pattern with a gap between candle 1 and
candle 3, indicating institutional order flow imbalances. Bullish FVG occurs when candle 3's low is
above candle 1's high (gap up), creating a demand zone shown in green. Bearish FVG occurs when candle
3's high is below candle 1's low (gap down), creating a supply zone shown in red.
The indicator uses request.security() to fetch data from the selected higher timeframe, detects FVG
patterns on that timeframe, and displays them on your current chart. FVG zones remain active until
price closes through them (mitigation), then change color and remain visible for a configurable
number of bars before disappearing.
TIMEFRAME CONFIGURATION:
Configure different FVG timeframes based on current chart timeframe:
1m-5m charts → Default 4h FVG
15m charts → Default 4h FVG
30m-1h charts → Default 4h FVG
4h charts → Default 4h FVG
Daily charts → Default Daily FVG
Weekly charts → Default Weekly FVG
Monthly charts → Default Monthly FVG
All timeframes are configurable via input settings.
BEST USE:
Works on all timeframes and asset classes. Particularly useful for intraday traders who want to see
higher timeframe FVG zones on their lower timeframe charts. FVG zones often act as support/resistance
and are frequently filled by price returning to rebalance the imbalance. Use them to identify potential
entry/exit points, stop-loss placement, and institutional order flow areas.
Squeeze Momentum OmniViewSqueeze Momentum OmniView+ is an enhanced and modernized version of the classic Squeeze Momentum Indicator by LazyBear, rebuilt from the ground up in Pine Script v6.
This upgraded edition introduces OmniView color-mapping, adaptive histogram scaling, extreme detection, heat-zone alerts, and dynamic fire/ice icons, all fully synchronized with your selected visualization mode.
Key Features
1. OmniView Color Engine (Exact Price-State Matching)
Reproduces the full OmniView color logic (aqua → yellow → red), tracking market compression, expansion, and directional strength using a seamless multi-gradient system.
2. Dual Histogram Modes
Choose how the histogram is normalized:
Price-State Mode: Colors reflect price position within its recent range.
Self-Normalized Mode: Colors adapt to the histogram’s own momentum curve.
Both modes automatically adjust alerts, extremes, and icons.
3. Enhanced Squeeze Logic
The script includes the classic squeeze states (ON / OFF / Neutral) with clean visual dots and improved logic for precise state transitions.
4. Adaptive Extreme Detection (Upper & Lower Extremes)
Detects when price or momentum sets new highs/lows according to the active mode.
Automatically draws 🔥 fire labels near upper extremes and ❄️ ice labels near lower extremes, with:
Adaptive or fixed offsets
Customizable sizes
Optional dimming on momentum fade
Icon colors matching the histogram
5. Full Alert Suite
Includes alerts for:
New Upper / Lower Extremes
Heat-Zone Crossings (25%, 50%, 75%)
Momentum Turning Up / Down
Zero-Line Crossovers
Squeeze ON / OFF
All alert conditions adapt dynamically to the mode selected.
6. Clean, modern, and fully customizable
Every visual element—colors, transparency, icon sizing, offsets, squeeze dots, fades—can be adjusted from the settings panel.
What This Indicator Helps You See
Momentum acceleration and deceleration
Market compression/expansion phases
Heat levels in the current price context
Momentum extremes that often signal turning points
Trend continuation or exhaustion patterns
High-precision squeeze entries with visual clarity
Designed For
Traders looking for a more intelligent version of Squeeze Momentum with:
Better visual clarity
Stronger adaptive behavior
More actionable alerts
More information per bar without clutter
A special thanks to LazyBear, the original author of the Squeeze Momentum engine.
This script is not affiliated with or endorsed by him, but it extends his outstanding contribution to the TradingView community.
Cloud Matrix [CongTrader]🚀 Cloud Matrix — Advanced Multi-Layer Ichimoku System
Cloud Matrix is an enhanced trend-analysis system built on the public-domain Ichimoku Kinko Hyo methodology.
This indicator delivers a multi-dimensional view of trend, momentum, and market structure, allowing traders to evaluate market conditions at a glance.
Cloud Matrix is not a simple Ichimoku clone. It introduces advanced confirmation logic, multi-timeframe trend filtering, and a modern visual framework designed for today’s dynamic markets.
🔥 Key Features & Highlights
1️⃣ Smart Preset Engine (4 Modes)
Choose from optimized presets for different markets and volatility levels:
Traditional 9/26/52
Crypto Fast 10/30/60
Crypto Medium 20/60/120
Custom Mode
→ Fast, adaptable, and beginner-friendly.
2️⃣ Advanced Trend Confirmation Engine
Cloud Matrix uses a 5-factor scoring system to filter high-quality signals:
Tenkan vs Kijun
Price vs Cloud
Cloud Twist
Chikou Position
Close vs Kijun
A bullish/bearish signal only triggers when multiple Ichimoku conditions align, reducing noise dramatically.
3️⃣ Higher-Timeframe EMA200 Filter
One of the signature strengths of Cloud Matrix:
EMA200 from a higher timeframe
Helps you follow the dominant macro trend
Avoids counter-trend traps
Ideal for swing and position traders
4️⃣ Intelligent Auto Signals
The indicator includes refined and clean signals for:
Bullish / Bearish TK Cross
Bullish / Bearish Kumo Breakout
All signals support:
Labels
Alerts
“Alert on Close” mode to avoid repaint-related confusion
5️⃣ Enhanced Kumo Cloud Visualization
Adjustable opacity (strong / soft)
Clear bullish/bearish cloud shading
Improved readability on fast markets
6️⃣ Real-Time Market State Dashboard
A compact dashboard shows all key Ichimoku conditions:
Price vs Cloud
Cloud Twist (Bullish/Bearish)
Tenkan–Kijun Relationship
Chikou Status
HTF EMA Trend
Active Preset
→ Designed for instant market diagnostics.
🎯 How Traders Use Cloud Matrix
Perfect for:
Trend following
Swing trading
Crypto, Stocks, Forex
Early breakout detection
Filtering low-quality setups
📌 Suggested Usage
Bullish Bias When:
Price is above the Cloud
Cloud Twist is bullish
Tenkan crosses above Kijun
Chikou is above price
HTF EMA200 is bullish
Bearish Bias When:
Opposite conditions apply.
⚠️ Important Note
This indicator is for analysis and educational purposes only.
It does not provide financial advice or guaranteed trading results.
Ichimoku concepts belong to the public domain; this is a modernized expansion built for study and research.
✍️ Author
CongTrader – 2025
Designed to help traders see the market through a multi-layered, structured lens..
CHOCH & Liquidity Sweep Detectorso think of this one as an upgraded version from the previous liquidity sweep and reversal indicator i shared. This one:
Identifies when price wicks above a swing high then closes below it (bearish sweep 💧)
Identifies when price wicks below a swing low then closes above it (bullish sweep 💧)
Orange labels mark the sweeps with dashed lines showing the liquidity level
CHOCH (Change of Character) Detection
After a liquidity sweep, it watches for structure breaks
Bearish CHOCH: After bullish sweep, price breaks below previous structure low (🔴 SHORT setup)
Bullish CHOCH: After bearish sweep, price breaks above previous structure high (🟢 LONG setup)
Market Structure Tracking
Shows current structure highs/lows with dotted lines
Tracks whether market is in bullish, bearish, or neutral trend
Dashboard (bottom-right)
Shows current trend direction
Liquidity sweep status
CHOCH confirmation
Setup Ready alert when both conditions align
Clear action recommendation
How to use with tf alignment indicator:
Apply both indicators to your 1hr/4hr chart
Wait for alignment (Daily/Weekly/Monthly all bearish or bullish)
Look for liquidity sweep (💧 label appears)
Wait for CHOCH (big red/green label with "CHOCH")
Enter on retest of the broken structure level
FlowTrinity — Crypto Dominance Rotation IndexFlowTrinity — Crypto Dominance Rotation Index
(Tracks BTC / Stablecoin / Altcoin dominance flows with standardized oscillators)
⚪ Overview
FlowTrinity decomposes total crypto market structure into three capital-flow regimes — BTC dominance, Stablecoin dominance, and Altcoin dominance — each normalized into oscillator form. Additionally, a fourth histogram tracks Total Market Cap expansion/contraction relative to BTC+Stable capital, revealing underlying rotation pressure not visible in raw dominance charts.
Each component is standardized through SMA/STD normalization, producing smoothed 0–100 style oscillations that highlight overbought/oversold rotation extremes, risk-on/risk-off transitions, and capital cycle inflection zones.
⚪ Flow Components
Stablecoin Dominance Oscillator —White line
Measures the combined USDT + USDC share of market dominance.
High values indicate increased hedging behavior or sidelined capital.
Low values coincide with renewed risk appetite and capital deployment into crypto assets.
Altcoin Dominance Oscillator — Orange Line
Tracks the share of liquidity rotating into altcoins (Total – BTC – Stable).
Rising values indicate broad market expansion and speculative activity.
Falling values reflect flight-to-safety or concentration back into majors.
BTC Dominance Oscillator — Purple line(off by default
Normalized BTC dominance revealing transitions between Bitcoin-led markets and altcoin-led cycles. Useful for identifying BTC absorption phases vs. altcoins dispersion regimes.
Total–BTC–Stable MarketCap Difference Histogram — histogram
A normalized histogram of total market cap change minus BTC+Stable market cap change.
• Positive → altcoin segment expanding
• Negative → capital retreating into BTC or stables
Acts as a structural layer confirming or contradicting dominance-based signals.
Normalization Logic
All flows use SMA + standard deviation scaling (lookback 7 / smoothing 7), enabling consistent comparison across unrelated dominance and market-cap metrics.
⚪ Use Cases
• Identify shifts between BTC-led and alt-led markets
• Detect early signs of liquidity rotation
• If Stablecoin OSC is oversold, liquidity may soon rotate to BTC or Altcoins, signaling potential price moves.
• If Stablecoin OSC is overbought and Altcoin OSC is oversold, it can indicate an early buying opportunity in Altcoins.
• Watching these oscillator positions helps spot early market rotations and plan entries or exits.
snapshot
Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice or investment guidance. Cryptocurrency trading involves significant risk; you are solely responsible for your trading decisions, based on your financial objectives and risk tolerance. The author assumes no liability for any losses arising from the use of this tool.
Quicksilver Master Terminal [Institutional]Overview
The Quicksilver Master Terminal is a comprehensive data visualization interface designed to bring institutional-grade market awareness to the retail chart. It replaces the need for multiple cluttered indicators by consolidating Trend, Momentum, Volatility, and Structure into a single Heads-Up Display (HUD).
Designed by Quicksilver Algo Systems, this tool is engineered for precision scalpers and prop firm traders who require instant situational awareness without switching timeframes.
Features
1. The Institutional HUD (Heads-Up Display)
Located in the top-right corner, this live dashboard provides real-time metrics on:
Market Structure: Instantly identifies if the asset is in a Bullish or Bearish regime relative to the 200 EMA.
Momentum Status: Tracks overbought/oversold conditions using smoothed Stochastic logic.
Volatility (ATR): Displays live Average True Range data for precise Stop Loss placement.
Volume Flow: Detects institutional volume spikes (1.5x average).
2. The Trend Cloud
A dynamic visual ribbon that fills the space between the Fast EMA (50) and Slow EMA (200).
Green Cloud: Strong Bullish Trend (Look for Longs).
Red Cloud: Strong Bearish Trend (Look for Shorts).
Cross: Visual warning of trend reversals.
3. Sniper Signal Logic
The script paints "INSTITUTIONAL BUY" and "INSTITUTIONAL SELL" labels only when high-probability confluence occurs:
Exhaustion: Stochastic RSI breaches extreme levels (<20 or >80).
Confirmation: Price action aligns with Heikin Ashi smoothing to filter noise.
Momentum: Fast %K crosses Slow %D.
How to Use
For Scalping (1m - 5m): Wait for the Trend Cloud to align with the Signal. Take "BUY" signals only when the Cloud is Green.
For Risk Management: Use the live "Volatility" number in the HUD to set your Stop Loss (e.g., 1.5x the current Volatility value).
About the Developer
This script is part of the Quicksilver Ecosystem. We build algorithmic solutions focused on capital preservation and risk management for funded traders.
Disclaimer: This tool is for educational market analysis only. Past performance is not indicative of future results.
BTC Swing Plan – Levels & ZonesThis indicator draws a structured breakout model for BTCUSD with clearly defined entry levels, stop zones, and four realistic upside targets.
It automatically plots:
Breakout zone
Stop-loss zone
Target 1
Target 2
Target 3
Target 4 (stretch target)
Midlines & color-coded structure boxes
This tool is designed for traders who prefer clean execution levels, disciplined risk management, and realistic price expansion steps—not overly aggressive moon projections.
All levels are fully adjustable from the settings menu.
Candlestick Pattern Identifier (Extended + Alerts)Candlestick Pattern Identifier (Extended + Alerts)
EMA & SMA StackA clean, lightweight trend-structure tool that overlays six moving averages on price so you can instantly see direction, momentum, and trend health.
Includes
3 Exponential Moving Averages with adjustable lengths
3 Simple Moving Averages with adjustable lengths
Thin, color-coded lines for fast visual clarity
Default layout: 8 EMA (red), 21 EMA (orange), 34 EMA (yellow), 50 SMA (green), 100 SMA (blue), 200 SMA (purple)
How to use
When faster EMAs are above slower EMAs and price is above all lines, trend strength is bullish.
When faster EMAs fall below slower SMAs and price is under all lines, trend strength is bearish.
Tight stacking = compression and potential breakout zones.
Wide separation = strong trend or exhaustion risk.
Why it helps
This removes guesswork. You get immediate confirmation of trend direction, support and resistance, and momentum shift on any timeframe.
Minimal clutter. Maximum signal.
Kinetic EMA & Volume with State EngineKinetic EMA & Volume with State Engine (EMVOL)
1. Introduction & Concept
The EMVOL indicator converts a dense family of EMA signals and volume flows into a compact “state engine”. Instead of looking at individual EMA lines or simple crossovers, the script treats each EMA as part of a kinetic vector field and classifies the market into interpretable states:
- Trend direction and strength (from a grid of prime‑period EMAs).
- Volume regime (expansion, contraction, climax, dry‑up).
- Order‑flow bias via delta (buy versus sell volume).
- A combined scenario label that summarises how these three layers interact.
The goal is educational: to help traders see that moving averages and volume become more meaningful when observed as a structure, not as isolated lines. EMVOL is therefore designed as a real‑time teaching tool, not as an automatic signal generator.
2. Volume Settings
Group: “Volume Settings”
A. Calculation Method
- Geometry (Source File) – Default mode.
Buy and sell volume are estimated from each candle’s geometry: the close is compared to the high/low range and the bar’s total volume is split proportionally between buyers and sellers. This approximation works on any TradingView plan and does not require lower‑timeframe data.
- Intrabar (Precise) – Reconstructs buy/sell volume using a lower timeframe via requestUpAndDownVolume(). The script asks TradingView for historical intrabar data (e.g., 15‑second bars) and builds buy/sell volume and delta from that stream. This mode can produce a more accurate view of order flow, but coverage is limited by your account’s history limits and the symbol’s available lower‑timeframe data.
B. Intrabar Resolution (If Precise)
- Intrabar Resolution (If Precise) – Selected only when the calculation method is “Intrabar (Precise)”. It defines which lower timeframe (for example 15S, 30S, 1m) is used to compute up/down volume. Smaller intrabar timeframes may give smoother and more granular deltas, but require more historical depth from the platform.
When “Intrabar (Precise)” is active, the dashboard’s extended section shows the resolution and the number of bars for which precise volume has been successfully retrieved, in the format:
- Mode: Intrabar (15S) – where N is the count of bars with valid high‑resolution volume data.
In Geometry mode this counter simply reflects the processed bars in the current session.
3. Kinetic Vector Settings
Group: “Kinetic Vector”
A. Vector Window
- Vector Window – Controls the temporal smoothing applied to the aggregated vectors (trend, volume, delta, etc.). Internally, each bar’s vector value is averaged with a simple moving window of this length.
- Shorter windows make the state engine more reactive and sensitive to local swings.
- Longer windows make the states more stable and better suited to higher‑timeframe structure.
B. Max Prime Period
- Max Prime Period – Sets the largest prime number used in the EMA grid. The engine builds a family of EMAs on prime lengths (2, 3, 5, 7, …) up to this limit and converts their slopes into angles.
- A higher limit increases the number of long‑horizon EMAs in the grid and makes the vectors sensitive to broader structure.
- A lower limit focuses the analysis on short- and medium‑term behaviour.
C. Price Source
- Price Source – The price series from which the kinetic EMA grid is built (e.g., Close, HLC3, OHLC4). Changing the source modifies the context that the state engine is reading but does not change the core logic.
4. State Engine Settings
Group: “State Engine Settings”
These inputs define how the continuous vectors are translated into discrete states.
A. Trend Thresholds
- Strong Trend Threshold – Value above which the trend vector is treated as “extreme bullish” and below which it is “extreme bearish”.
- Weak Trend Threshold – Inner boundary between neutral and directional conditions.
Roughly:
- |trend| < weak → Neutral trend state.
- weak < |trend| ≤ strong → Bullish/Bearish.
- |trend| > strong → Extreme Bullish/Extreme Bearish.
B. Volume Thresholds
- Volume Climax Threshold – Upper bound at which volume is considered “climax” (unusually expanded participation).
- Volume Expansion Threshold – Boundary for normal expansion versus contraction.
Conceptually:
- Volume above “expansion” indicates increasing activity.
- Volume near or above “climax” marks extreme participation.
- Negative values below the symmetric thresholds map to contraction and extreme dry‑up (liquidity vacuum) states.
C. Delta Thresholds
- Strong Delta Threshold – Cut‑off for extreme buying or selling dominance in delta.
- Weak Delta Threshold – Threshold for mild buy/sell bias versus neutral order flow.
Combined with the sign of the delta vector, these thresholds classify order flow as:
- Extreme Buy, Buy‑Dominant, Neutral, Sell‑Dominant, Extreme Sell.
D. State Hysteresis Bars
- State Hysteresis Bars – Minimum number of bars for which a new state must persist before the engine commits to the change. This prevents the dashboard from flickering during fast spikes and emphasises persistent market behaviour.
- Smaller values switch states quickly; larger values demand more confirmation.
5. Visual Interface
Group: “Visual Interface”
A. Ribbon Base Color
- Ribbon Base Color – Base hue for the multi‑layer EMA ribbon drawn around price. The script plots a dense grid of hidden EMAs and fills the gaps between them to form a semi‑transparent band. Narrow, overlapping bands hint at compression; wider separation hints at dispersion across EMA horizons.
B. Show Dashboard
- Show Dashboard – Toggles the on‑chart table which summarises the current state engine output. Disable this if you only want to keep the EMA ribbon and volume‑based structure on the price chart.
C. Color Theme
- Color Theme – Switch between a dark and light style for the dashboard background and text colours so that the table matches your chart theme.
D. Table Position
- Table Position – Places the dashboard at any corner or edge of the chart (Top / Middle / Bottom × Left / Centre / Right).
E. Table Size
- Table Size – Changes the dashboard’s text size (Tiny, Small, Normal, Large). Use a larger size on high‑resolution screens or when streaming.
F. Show Extended Info
- Show Extended Info – Adds diagnostic rows under the main state summary:
- Mode / Primes / Vector – Shows the current calculation mode (Geometry / Intrabar), the selected intrabar resolution and coverage in bars ( ), how many prime periods are active, and the vector window.
- Values – Displays the current aggregated vectors:
- P: price vector
- V: volume vector
- B: buy‑volume vector
- S: sell‑volume vector
- D: delta vector
Values are bounded between ‑1 and +1.
- Volume Stats – Prints the last bar’s raw buy volume, sell volume and delta as formatted numbers.
- Footer – A final row with the symbol and current time: #SYMBOL | HH:MM.
These extended rows are meant for inspecting how the engine is behaving under the hood while you scroll the chart and compare different assets or timeframes.
6. Language Settings
Group: “Language Settings”
- Select Language – Switches the entire dashboard between English and Turkish.
The underlying calculations and scenario logic are identical; only the labels, titles and comments in the table are translated.
7. Dashboard Structure & Reading Guide
The table summarises the current situation in a few rows:
1. System Header – Shows the script name and the active calculation method (“Geometry” or “Intrabar”).
2. Scenario Title – High‑level description of the current combined scenario (e.g., “Trending Buy Confirmed”, “Sideways Balanced”, “Bull Trap”, “Blow‑Off Top”). The background colour is derived from the scenario family (trending, compression, exhaustion, anomaly, etc.).
3. Bias / Trend Line – States the dominant trend bias derived from the trend vector (Extreme Bullish, Bullish, Neutral, Bearish, Extreme Bearish).
4. Signal / Consideration Line – A short sentence giving qualitative guidance about the current state (for example: continuation risk, exhaustion risk, trap‑like behaviour, or compression). This is deliberately phrased as a consideration, not as a direct trading signal.
5. Trend / Volume / Delta Rows – Three separate rows explain, in plain language, how the trend, volume regime and delta are classified at this bar.
6. Extended Info (optional) – Mode / primes / vector settings, current vector values, and last‑bar volume statistics, as described above.
Together, these rows are meant to be read as a narrative of what price, volume and order‑flow are doing, not as mechanical instructions.
8. State Taxonomy
The state engine organizes market behaviour in three stages.
8.1 Trend States (from the Price Vector)
- Extreme Bullish Trend – The prime‑grid price vector is strongly upward; most EMAs are aligned to the upside.
- Bullish Trend – Upward bias is present, but less extreme.
- Neutral Trend – EMAs are mixed or flat; price is effectively sideways relative to the grid.
- Bearish Trend – Downward bias, with the EMA grid sloping down.
- Extreme Bearish Trend – Strong downside alignment across the grid.
8.2 Volume Regime States (from the Volume Vector)
- Volume Climax (Buy‑Side) – Strong positive volume vector; participation is unusually high in the current direction.
- Volume Expansion – Activity above normal but below the climax threshold.
- Neutral Volume – No major expansion or contraction versus recent history.
- Volume Contraction – Activity is drying up compared with the past.
- Extreme Dry‑Up / Liquidity Vacuum – Very low participation; the market is thin and prone to slippage.
8.3 Delta Behaviour States (from the Delta Vector)
- Extreme Buy Delta – Buying pressure dominates strongly.
- Buy‑Dominant Delta – Buy volume exceeds sell volume, but not at an extreme.
- Neutral Delta – Buy and sell flows are roughly balanced.
- Sell‑Dominant Delta – Selling pressure dominates.
- Extreme Sell Delta – Aggressive, one‑sided selling.
8.4 Combined Scenario State s
EMVOL uses the three base states above to generate a single scenario label. These scenarios are designed to be read as context, not as entry or exit signals.
Trending Scenarios
1. Trending Buy Confirmed
- Bullish or extreme bullish trend, supported by expanding or climax volume and buy‑side delta.
- Educational idea: a healthy uptrend where both participation and order flow agree with the direction.
2. Trending Buy – Weak Volume
- Bullish trend, but volume is neutral, contracting or in dry‑up while delta is still buy‑side.
- Educational idea: price is advancing, yet participation is thinning; trend continuation becomes more fragile.
3. Trending Sell Confirmed
- Bearish or extreme bearish trend, with expanding or climax volume and sell‑side delta.
- Educational idea: strong downtrend with both volume and order‑flow confirmation.
4. Trending Sell – Weak Volume
- Bearish trend, but volume is neutral, contracting or very low while delta remains sell‑side.
- Educational idea: downside continues but with limited participation; vulnerable to short‑covering.
Sideways / Range Scenarios
5. Sideways Balanced
- Neutral trend, neutral delta, neutral volume.
- Classic range environment; low directional edge, suitable for observation and context rather than trend trading.
6. Sideways with Buy Pressure
- Neutral trend, but buy‑side delta is dominant or extreme.
- Range with latent accumulation: price may still appear sideways, but buyers are quietly more active.
7. Sideways with Sell Pressure
- Neutral trend with dominant or extreme sell‑side delta.
- Distribution‑like environment where price chops while sellers are gradually more aggressive.
Exhaustion & Volume Extremes
8. Exhaustion – Buy Risk
- Extreme bullish trend, volume climax and strong buy‑side delta.
- Educational idea: very strong up‑move where both participation and delta are already stretched; risk of exhaustion or blow‑off.
9. Exhaustion – Sell Risk
- Extreme bearish trend, volume dry‑up and strong sell‑side delta.
- Suggests one‑sided selling into increasingly thin liquidity.
10. Volume Climax (Buy)
- Neutral trend, neutral delta, but volume at climax levels.
- Often associated with a “big event” bar where participation spikes without a clear directional commitment.
11. Volume Climax (Sell / Dry‑Up)
- Neutral trend and neutral delta, while the volume vector indicates an extreme dry‑up.
- Highlights a stand‑still episode: very limited interest from both sides, increasing the sensitivity to future impulses.
Divergences
12. Divergence – Bullish Context
- Bullish or extreme bullish trend, but delta has faded back to neutral.
- Price trend continues while order‑flow conviction softens; can precede pauses or complex corrections.
13. Divergence – Bearish Context
- Bearish or extreme bearish trend with a neutral delta.
- Downtrend persists, but selling pressure no longer dominates as clearly.
Consolidation & Compression
14. Consolidation
- Default state when no specific pattern dominates and the market is broadly balanced.
- Educational use: treat this as a “no strong edge” label; focus on structure rather than direction.
15. Breakout Imminent
- Neutral trend with contracting volume.
- Compression phase where energy is building up; often precedes transitions into trending or shock scenarios.
Traps & Hidden Divergences
16. Bull Trap
- Bullish trend, with neutral or contracting volume and sell‑side delta.
- Price appears strong, but order‑flow shifts against it; often seen near fake breakouts or failing rallies.
17. Bear Trap
- Bearish trend, neutral or contracting volume, but buy‑side delta.
- Downtrend “looks” intact, while buyers become more aggressive underneath the surface.
18. Hidden Bullish Divergence
- Bullish trend, contracting volume, but strong buy‑side delta.
- Educational idea: price dips or slows while aggressive buyers step in, often inside an ongoing uptrend.
19. Hidden Bearish Divergence
- Bearish trend, volume expansion and strong sell‑side delta.
- Reinforced downside pressure even if price is temporarily retracing.
Reversal & Transition Patterns
20. Reversal to Bearish
- Neutral trend, volume climax and strong sell‑side delta.
- Suggests that heavy selling appears at the top of a move, turning a previously neutral or rising context into potential downside.
21. Reversal to Bullish
- Neutral trend, extreme volume dry‑up and strong buy‑side delta.
- Often associated with selling exhaustion where buyers start to take control.
22. Indecision Spike
- Neutral trend with extreme volume (climax or dry‑up) but neutral delta.
- Crowd participation changes sharply while order‑flow remains undecided; treat as an informational spike rather than a direction.
Extended Compression & Acceleration
23. Coiling Phase
- Neutral trend, contracting volume, and delta that is neutral or only mildly one‑sided.
- Extended compression where price, volume and delta all contract into a tightly coiled range, often preceding a strong move.
24. Bullish Acceleration
- Bullish trend with volume expansion and strong buy‑side delta.
- Uptrend not only continues but gains kinetic strength; educationally, this illustrates how trend, volume and delta align in the strongest phases of a move.
25. Bearish Acceleration
- Bearish trend with volume expansion and strong sell‑side delta.
- Mirror image of Bullish Acceleration on the downside.
Trend Exhaustion & Climax Reversal
26. Bull Exhaustion
- Bullish or extreme bullish trend, with contraction or dry‑up in volume and buy‑side or neutral delta.
- The move has already travelled far; participation fades while price is still elevated.
27. Bear Exhaustion
- Bearish or extreme bearish trend, with volume climax or contraction and sell‑side or neutral delta.
- Down‑move may be approaching a point where additional selling pressure has diminishing impact.
28. Blow‑Off Top
- Extreme bullish trend, volume climax and extreme buy delta all at once.
- Classic blow‑off behaviour: price, volume and order‑flow are simultaneously stretched in the same direction.
29. Selling Climax Reversal
- Extreme bearish trend with extreme volume dry‑up and extreme sell‑side delta.
- Marks a very aggressive capitulation phase that can precede major rebounds.
Advanced VSA / Anomaly Scenarios
30. Absorption
- Typically neutral trend with expanding or climax volume and extreme delta (either buy or sell).
- Educational focus: large participants are aggressively absorbing liquidity from the opposite side, while price remains relatively contained.
31. Distribution
- Scenario where volume remains elevated while directional conviction weakens and the trend slows.
- Represents potential “selling into strength” or “buying into weakness”, depending on the active side.
32. Liquidity Vacuum
- Combination of thin liquidity (extreme dry‑up) with a directional trend or strong delta.
- Highlights environments where even small orders can move price disproportionately.
33. Anomaly / Shock Event
- Triggered when the vector z‑scores detect rare combinations of price, volume and delta behaviour that deviate from their own historical distribution.
- Intended as a warning label for unusual events rather than a specific tradeable pattern.
9. Educational Usage Notes
- EMVOL does not produce mechanical “buy” or “sell” commands. Instead, it classes each bar into an interpretable state so that traders can study how trends, volume and order‑flow interact over time.
- A common exercise is to overlay your usual EMA crossovers, support/resistance or price patterns and observe which EMVOL scenarios appear around entries, exits, traps and climaxes.
- Because the vectors are normalized (bounded between ‑1 and +1) and then discretized, the same conceptual states can be compared across different symbols and timeframes.
10. Disclaimer & Educational Purpose
This indicator is provided strictly as an educational and analytical tool. Its purpose is to help visualise how price, volume and order‑flow interact; it is not designed to function as a stand‑alone trading system.
Please note:
1. No Automated Strategy – The script does not implement a complete trading strategy. Scenario labels and dashboard messages are descriptive and should not be followed as unconditional entry or exit signals.
2. No Financial Advice – All information produced by this indicator is general market analysis. It must not be interpreted as investment, financial or trading advice, or as a recommendation to buy or sell any instrument.
3. Risk Warning – Trading and investing involve substantial risk, including the risk of loss. Always perform your own analysis, use appropriate position sizing and risk management, and consult a qualified professional if needed. You are solely responsible for any decisions made using this tool.
4. Data Precision & Platform Limits – The “Intrabar (Precise)” mode depends on the availability of high‑resolution historical data at the chosen intrabar timeframe. If your TradingView plan or the symbol’s history does not provide sufficient depth, this mode may only partially cover the visible chart. In such cases, consider switching to “Geometry (Source File)” for a fully populated view.
Renkli EMA ve Ok Sinyali by incebacak//@version=5
indicator(, overlay=true)
//
emaLength = input.int(20, "EMA Periyodu")
emaColorUp = input.color(color.green, "EMA Yukarı Renk")
emaColorDown = input.color(color.red, "EMA Aşağı Renk")
barColorUp = input.color(color.new(color.green, 0), "Yukarı Mum Renk")
barColorDown = input.color(color.new(color.red, 0), "Aşağı Mum Renk")
emaThickness = input.int(3, "EMA Kalınlığı")
//
emaValue = ta.ema(close, emaLength)
//
emaRising = emaValue > emaValue
emaFalling = emaValue < emaValue
emaCol = emaRising ? emaColorUp : emaColorDown
plot(emaValue, color=emaCol, linewidth=emaThickness, title="EMA")
//
barcolor(close > emaValue ? barColorUp : barColorDown)
//
plotshape(ta.crossover(close, emaValue), title="Al Sinyali", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(ta.crossunder(close, emaValue), title="Sat Sinyali", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
HTF Candle Overlay – Multi-Timeframe Visualization ToolThis indicator overlays true Higher Timeframe (HTF) candlesticks directly onto any lower timeframe chart, allowing you to see the larger market structure while trading on precise execution timeframes such as 1-minute, 3-minute, or 5-minute.
Instead of constantly switching chart timeframes, you can now see both higher and lower timeframe price action at the same time. Each HTF candle is drawn as a large transparent candlestick with full upper and lower wicks, perfectly aligned in both time and price.
This makes it easy to identify:
- Trend direction from the higher timeframe
- Key support and resistance zones inside each HTF candle
- Liquidity sweeps and rejections across timeframes
- Optimal entries on lower timeframes with higher-timeframe confirmation
Key Features
- Displays true Higher Timeframe candles on any lower timeframe
- Clear transparent candle bodies for unobstructed price visibility
- Full upper and lower wicks
- Non-repainting confirmed candles
- Optional live display of the currently forming HTF candle
- Accurate time-based alignment
- Lightweight and optimized for performance
Who This Indicator Is For
- Scalpers who want higher-timeframe bias
- Day traders using multi-timeframe confirmation
- Smart Money / ICT traders monitoring HTF structure
- Anyone who wants clean multi-timeframe clarity without chart switching
How To Use
- Apply the indicator to any chart.
- Select your preferred Higher Timeframe (HTF) in the settings.
- Use your lower timeframe for entries while respecting HTF structure and direction.
- This tool helps you trade with the bigger picture in view while executing with precision on lower timeframes.
Rolling Volume Profile [Matrix Volume Heatmap] by NXT2017Description
This indicator offers a unique visual approach to Volume Profile analysis. Instead of the traditional histogram bars or boxes, this script renders a Rolling Volume Profile as a background "Matrix Heatmap" directly on your chart.
By dividing the price action of the most recent N-candles into 30 horizontal zones (buckets), it visualizes where the most trading activity has occurred within your defined lookback period. The visualization uses dynamic transparency to highlight the Point of Control (POC) and high-volume nodes, while fading out low-volume areas.
🧠 How it Works
The script operates on a "Rolling Window" basis, meaning it recalculates the profile at every bar to reflect the immediate market context.
Dynamic Range: It calculates the highest High and lowest Low of the user-defined Lookback Length (default: 1000 bars).
Bucket Slicing: This vertical range is divided into 30 equal price buckets.
Volume Distribution (Overlap Logic): The script iterates through the historical data. If a candle is large and spans multiple buckets, its volume is distributed proportionally across those buckets. This ensures a more realistic profile compared to simply assigning volume to the close price.
Heatmap Visualization:
The script calculates the Maximum Volume (POC) within the profile.
It uses a Reference Length to normalize this maximum.
Dynamic Opacity: Zones with volume close to the maximum are rendered opaque (solid). Zones with low relative volume become highly transparent. This creates an automatic "Heatmap" effect, allowing you to instantly spot the most significant price levels.
⚙️ Settings
Lookback Length (candles): Defines how far back the profile calculates volume (e.g., 1000 bars).
POC Reference Length: Defines the smoothing window for the 100% volume baseline. Increasing this stabilizes the color changes; decreasing it makes the heatmap more reactive to sudden volume spikes.
Profil Color: Choose the base color for the matrix. The transparency is calculated automatically.
💡 Use Case
This tool is ideal for traders who want to see the "Value Area" of the current range without cluttering the chart with complex boxes or side-bars. It works excellent as a background context tool to identify:
High Volume Nodes (Support/Resistance)
Low Volume Nodes (Price gaps/Rejection areas)
Migrating Points of Control (Trend direction)
Trend Vector Pro v2.0Title: Trend Vector Pro v2.0
👨💻 Developed by: Mohammed Bedaiwi
💡 Strategy Overview & Coherence
Trend Vector Pro (TVPro) is a momentum-based trend & reversal strategy that uses a custom smoothed oscillator, an optional ADX filter, and classic Pivot Points to create a single, coherent trading framework.
Instead of stacking random indicators, TVPro is built around these integrated components:
A custom momentum engine (signal generation)
An optional ADX filter (trend quality control)
Daily Pivot Points (context, targets & S/R)
Swing-based “Golden Bar” trailing stops (trade management)
Optional extended bar detection (overextension alerts)
All parts are designed to work together and are documented below to address originality & usefulness requirements.
🔍 Core Components & Justification
1. Custom Momentum Engine (Main Signal Source)
TVPro’s engine is a custom oscillator derived from the bar midpoint ( hl2 ), similar in spirit to the Awesome Oscillator but adapted and fully integrated into the strategy. It measures velocity and acceleration of price, letting the script distinguish between strong impulses, weakening trends, and pure noise.
2. ADX Filter (Trend Strength Validation – Optional)
Uses Average Directional Index (ADX) as a gatekeeper.
Why this matters: This prevents the strategy from firing signals in choppy, non-trending environments (when ADX is below the threshold) and keeps trades focused on periods of clear directional strength.
3. Classic Pivot Points (Context & Targets)
Calculates Daily Pivot Points ( PP, R1-R3, S1-S3 ) via request.security() using prior session data.
Why this matters: Momentum gives the signal, ADX validates the environment, and Pivots add external structure for risk and target planning. This is a designed interaction, not a random mashup.
🧭 Trend State Logic (5-State Bar Coloring)
The strategy uses the momentum's value + slope to define five states, turning the chart into a visual momentum map:
🟢 STRONG BULL (Bright Green): Momentum accelerating UP. → Strong upside impulse.
🌲 WEAK BULL (Dark Green): Momentum decelerating DOWN (while positive). → Pullback/pause zone.
🔴 STRONG BEAR (Bright Red): Momentum accelerating DOWN. → Strong downside impulse.
🍷 WEAK BEAR (Dark Red): Momentum decelerating UP (while negative). → Rally/short-covering zone.
🔵 NEUTRAL / CHOP (Cyan): Momentum is near zero (based on noise threshold). → Consolidation / low volatility.
🎯 Signal Logic Modes
TVPro provides two selectable entry styles, controlled by input:
Reversals Only (Cleaner Mode – Default): Targets trend flips. Entry triggers when the current state is Bullish (or Bearish) and the previous state was not. This reduces noise and over-trading.
All Strong Pulses (Aggressive Mode): Targets acceleration phases. Entry triggers when the bar turns to STRONG BULL or STRONG BEAR after any other state. This mode produces more trades.
📌 Risk Management Tools
Golden Bars – Trailing Stops: Yellow “Trail” Arrows mark confirmed Swing Highs/Lows. These are used as logical trailing stop levels based on market structure.
Extended Bars: Detects when price closes outside a 2-standard-deviation channel, flagging overextension where a pullback is more likely.
Pivot Points: Used as external targets for Take Profit and structural stop placement.
⚙️ Strategy Defaults (Crucial for Publication Compliance)
To keep backtest results realistic and in line with House Rules, TVPro is published with the following fixed default settings:
Order Size: 5% of equity per trade ( default_qty_value = 5 )
Commission: 0.04% per order ( commission_value = 0.04 )
Slippage: 2 ticks ( slippage = 2 )
Initial Capital: 10,000
📘 How to Trade with Trend Vector Pro
Entry: Take Long when a Long signal appears and confirm the bar is Green (Bull state). Short for Red (Bear state).
Stop Loss: Place the initial SL near the latest swing High/Low, or near a relevant Pivot level.
Trade Management: Follow Golden (Trail) Arrows to trail your stop behind structure.
Exits: Exit when: the trailing stop is hit, Price reaches a major Pivot level, or an opposite signal prints.
🛑 Disclaimer
This script is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always forward-test and use proper risk management before applying any strategy to live trading.
Cold Brew Ranges🧭 Core Logic and Calculation
The fundamental logic for each range (OR and CR) is identical:
Time Definition: Each range is defined by a specific Start Time and a fixed 30-second duration. The timestamp function, using the "America/New_York" time zone, is used to calculate the exact start time in Unix milliseconds for the current day.
Example: t0200 = timestamp(TZ, yC, mC, dC, 2, 0, 0) sets the start time for the 02:00 OR to 2:00:00 AM NY time.
Range Data Collection: The indicator uses the request.security_lower_tf() function to collect the High (hArr) and Low (lArr) prices of all bars that fall within the defined 30-second window, using a user-specified, sub-chart-timeframe (openrangetime, defaulted to "1" second, "30S", or "5" minutes). This ensures high precision in capturing the exact high and low during the 30-second window.
High/Low Determination: It iteratively finds the absolute highest price (OR_high) and the absolute lowest price (OR_low) recorded by the bars during that 30-second window.
Range Locking: Once the current chart bar's time (lastTs) passes the 30-second End Time (tEnd), the High and Low are locked (OR_locked = true), meaning the range calculation is complete for the day.
Drawing: Upon locking, the range is drawn on the chart using line.new for the High, Low, and Equilibrium, and box.new for the shaded fill. The lines are extended to a subsequent time anchor point (e.g., the 02:00 OR is extended to 08:20, the 09:30 OR is extended to 16:00).
Equilibrium (EQ): This is calculated as the simple average (midpoint) of the High and Low of the range.
EQ=
2
OR_High+OR_Low
⏰ Defined Trading Ranges
The indicator defines and tracks the following specific 30-second ranges:
Range Name Type Start Time (NY) Line Extension End Time (NY) Common Market Context
02:00 OR Opening 02:00:00 08:20:00 Asian/European Market Overlap
08:20 OR Opening 08:20:00 16:00:00 Pre-New York Open
09:30 OR Opening 09:30:00 16:00:00 New York Stock Exchange Open (Most significant OR)
18:00 OR Opening 18:00:00 20:00:00 Futures Market Open (Sunday/Monday)
20:00 OR Opening 20:00:00 Next Day's session start Asian Session Start
15:50 CR Closing 15:50:00 20:00:00 New York Close Range
⚙️ Key User Inputs and Customization
The script offers extensive control over which ranges are displayed and how they are visualized:
Range Time & History
openrangetime: Sets the sub-timeframe (e.g., "1" for 1 second) used to calculate the precise High/Low of the 30-second range. Crucial for accuracy.
showHistory: A toggle to show the ranges from previous days (up to a histCap of 50 days).
Range Toggles and Styling
On/Off Toggles: Independent input.bool (e.g., OR_0200_on) to enable or disable the display of each individual range.
Colors & Width: Separate color and width inputs for the High/Low lines (hlC), the Equilibrium line (eqC), and the background fill (fillC) for each range.
Line Styles: Global inputs for the line styles of High/Low (lineStyleInput) and Equilibrium (eqLineStyleInput) lines (Solid, Dotted, or Dashed).
showFill: Global toggle to enable the shaded background box that highlights the area between the High and Low.
Extensions
The script calculates and plots extensions (multiples of the initial range) above the High and below the Low.
showExt: Toggles the visibility of the extension lines.
useRangeMultiples: If true, the step size for each extension level is equal to the initial range size:
Step=Range=OR_High−OR_Low
If false, the step size is a fixed value defined by stepPts (e.g., 60.0 points, which is a common value for NQ futures).
stepCnt: Determines how many extension levels (multiples) are drawn above and below the range (default is 10).
📈 Trading Strategy Implications
The Cold Brew Ranges indicator is a tool for session-based support and resistance and range breakout/reversal strategies.
Key Support/Resistance: The High and Low of these defined opening ranges often act as strong, predefined price levels. Traders look for price rejection off these boundaries or a breakout with conviction.
Equilibrium (Midpoint): The EQ often represents a fair value for that specific session's opening. Movements away from it are seen as opportunities, and a return to it is common.
Extensions: The range extensions serve as potential profit targets or stronger, layered support/resistance levels if the market trends aggressively after the opening range is set.
The core idea is that the activity in the first 30 seconds of a significant trading session (like the NYSE or a market session open) sets a bias and initial boundary for the trading period that follows.






















