Programmers Toolbox of ta LibraryA programmer's "Swiss army knife" for selecting functions from the " ta Library by Trading View " during coding. Illustrates the results of the individual library functions. Adds a few extra features. Extensively and uniquely documented.
Индикаторы и стратегии
CCI + Buy/Sell Cross (supfabio)This indicator is an enhanced version of the Commodity Channel Index (CCI) designed to generate clear BUY and SELL signals based on customizable level crossovers, with built-in support for webhook automation and external trade execution.
🔹 Signal Logic
BUY Signal:
Triggered when the CCI crosses upward (from below to above) the user-defined BUY level (red line).
SELL Signal:
Triggered when the CCI crosses downward (from above to below) the user-defined SELL level (green line).
Signals can optionally be configured to trigger only on candle close, reducing real-time noise and false signals.
🔹 Key Features
✅ Original CCI calculation (standard formula preserved)
✅ Fully configurable BUY and SELL levels
✅ Optional display of signal level lines
✅ Visual BUY / SELL markers plotted on the CCI panel
✅ Support for moving average smoothing and Bollinger Bands applied to the CCI
✅ Dynamic alerts using alert(), ideal for:
Webhook integrations
Trading bots
External servers and automated execution systems
🔹 Alerts & Webhook Integration
The indicator sends dynamic alert messages containing:
Action type (BUY / SELL)
Symbol
Closing price
Timestamp
To use:
Add the indicator to your chart
Create an alert and select “Any alert() function call”
Enable Webhook URL and configure your endpoint
Done — signals will be sent automatically
🔹 Best Use Cases
Traders who use CCI as a primary entry trigger
Momentum or mean-reversion strategies
Automated trading systems
Visual backtesting and signal validation
⚠️ Disclaimer
This indicator is not a complete trading system and does not replace proper risk management. Always use it in combination with market context, confirmation tools, and sound position sizing.
RTSLThis script is designed to help traders trail stop-losses in a structured and disciplined manner. It adapts to price movement to protect open profits while allowing trades enough room to develop. By reducing emotional decision-making and manual intervention, the script improves trade management, enforces risk discipline, and helps traders stay aligned with their original trade logic across different market conditions.
4HR JRSX Swing Bias (RB Trading)4HR JRSX Swing Bias (RB Trading)
The 4HR JRSX Swing Bias is a higher timeframe swing analysis script designed to evaluate directional pressure, momentum decay, and price acceptance on the four hour chart. It is built specifically for GBPUSD and EURUSD and is not intended for use on other markets or timeframes.
It highlights conditions where directional pressure weakens, rotates, and is then confirmed by price behavior.
Intended Use and Scope
• Timeframe: 4 hour only
• Markets: GBPUSD and EURUSD
• Style: Swing bias and rotation analysis
• Signal frequency: Intentionally low, typically 10 to 15 setups per year per pair
• Alerts: Available for confirmed setups
• Not designed for Asia session conditions
Core Framework
The script operates through a sequential three-stage process. A setup can only appear when all stages align.
Directional pressure evaluation
Momentum exhaustion and rotation
Candle-based price confirmation
This structure prevents signals from appearing during noise or low-quality market conditions.
Directional Pressure Evaluation
The first stage measures directional pressure across multiple four hour candles using a smoothed strength calculation. This step evaluates whether bullish or bearish participation is dominant over time rather than reacting to isolated price spikes.
When directional pressure is unclear or neutral, the script remains inactive.
Momentum Exhaustion and Rotation
Once directional pressure is established, the script monitors for loss of momentum. Exhaustion is identified when pressure fails to expand despite continued price movement.
This decay often appears near the later stages of a directional move and signals increased probability of rotation rather than continuation.
Price Acceptance and Confirmation
The final stage requires price to confirm the rotation through candle behavior. No intrabar logic is used.
• Buy confirmation requires either
– a bullish candle close following downside pressure exhaustion
– or a pinbar showing strong rejection of lower prices
• Sell confirmation requires either
– a bearish candle close following upside pressure exhaustion
– or a pinbar showing strong rejection of higher prices
A setup is only confirmed after the four hour candle has fully closed.
Stop and Target Reference Plotting
When a setup is confirmed, the script plots visual reference levels:
• A stop reference beyond the exhaustion zone where the setup would be invalidated
• A projected target reference calculated using a fixed 4R multiple relative to the stop distance
These levels are provided for structural planning and consistency. They do not represent predictions or guarantees.
Why the Four Hour Chart Is Required
The pressure and exhaustion calculations are tuned to higher-timeframe behavior. On lower timeframes, momentum cycles occur too rapidly and lead to frequent false rotations.
The four hour chart provides the balance required for meaningful pressure, decay, and acceptance to develop.
Session Considerations
The script is not intended for Asia session evaluation. Reduced liquidity during those hours can distort momentum behavior and reduce signal quality. Best evaluation occurs during or after London and New York participation.
Chart Presentation Guidelines
• Use the script on a clean chart
• Avoid stacking other oscillators or momentum tools
• If drawings are used, they should be limited to swing structure or key price levels
All visual elements should support understanding of the script output.
Important Notes
This script analyzes historical price behavior to identify structural swing conditions. It does not predict future price movement or ensure outcomes. Users should test the tool, understand its confirmation rules, and apply independent risk management.
RO H1 Signal CandleMarks specific H1 signal candles based on Bucharest (RO) time.
Designed for clean backtesting and time-based analysis.
Displays a small marker on selected hourly candles only.
Green AverageGA (Green Average) is used as a bias and context tool. The indicator is not an entry signal by itself,
but answers the question: Should I even be looking for longs or shorts right now?
1. What the indicator shows
• BP (green line): buying pressure – how much of the upward movement is driven by green
candles.
• SP (red line): selling pressure – how much of the downward movement is driven by red candles.
• GA % (box): proportion of candles that are green (frequency / flow).
2. Quick market read (3 seconds)
• BP above SP → bullish bias
• SP above BP → bearish bias
• Lines close together → chop / uncertain market
• Both lines spiking simultaneously → high energy / volatility
3. Core rules
• Bias first, entry second: trade only in the direction of dominant pressure.
• Crossovers indicate regime shifts, not automatic entries.
• GA % is context, not a buy/sell signal.
4. Entry models
A) Trend continuation
BP > SP with clear separation. Wait for a pullback (VWAP, support, MA) and enter on trend
resumption.
B) Regime shift after crossover
After a BP/SP crossover, wait for price confirmation (15m swing break or VWAP reclaim).
C) Mean reversion (range)
Only when both lines are low and cross frequently. Small targets, defensive sizing.
5. Common mistakes
• Taking every crossover as a trade
• Oversizing when lines are glued together
• Assuming high GA % guarantees upside
6. Day types
• Trend day: BP dominates, GA % often above 52–55.
• Chop day: BP ≈ SP, GA % around 50.
• Distribution: GA % high but SP takes control.
7. Default settings (ETH 5m)
• Window N = 24 (≈ 2 hours)
• BP/SP smoothing = 3
• GA used together with VWAP and price structure
Session Boxes 03:33-07:30 + 14:00ession Boxes & Pre-Market Structure (14:00–07:30) Indicator
This indicator plots key session structures and highlights a unique pre-market range window using colored boxes on the 15-minute chart. Designed for intraday traders, it visually marks important institutional activity times and a strategic price zone that often sets the tone for the following trading day.
📍 Key Features:
✅ 03:00 AM Box
Draws a purple box around the 03:00 candle (EST) until 16:00 (market close).
Useful for identifying London/early European session impact.
✅ 07:30 AM Box
Draws an orange box around the 07:30 candle (EST) until 16:00.
Marks the key pre-market data release period (e.g., CPI/NFP days).
✅ 🔴 14:00 to Next Day 07:30 Range Box
Draws a red box with 50% opacity starting from the 14:00 (2 PM) candle and ending at the 07:30 AM candle the next day.
This range often represents institutional positioning and pre-market accumulation/distribution zones.
Ideal for identifying breakout or rejection zones for the next session.
⚠️ Important Notes:
Works only on the 15-minute timeframe.
Auto-adjusts to the New York timezone (EST/EDT).
A visual label reminds you to switch to the correct timeframe if you’re on the wrong chart.
QSYCThis indicator helps one to take huge longer term bets on the basis of
Quarterly
Semi Annually
Yearly
Custom levels
Trend Fusion Indicator🎯 Trend Fusion Indicator🎯
Professional trading indicator combining EMA momentum with Supertrend volatility for high-probability signals.
📊KEY FEATURES:
• 9 EMA & Supertrend (10,3) crossover signals
• Visual trend direction with colored fills
• Buy/Sell arrows at crossover points
• Real-time trend tracking
• Clean, professional interface
⚡SIGNAL LOGIC:
✅ BUY: When EMA crosses ABOVE Supertrend
✅ SELL: When EMA crosses BELOW Supertrend
🎨VISUAL INDICATORS:
• Green Zone/Fill: Bullish trend (EMA > Supertrend)
• Red Zone/Fill: Bearish trend (EMA < Supertrend)
• Triangle Arrows: Entry signals
• Background Colors: Trend confirmation
⚙️CUSTOMIZABLE SETTINGS:
• EMA Length (Default: 9)
• Supertrend ATR Length (Default: 10)
• Supertrend Factor (Default: 3.0)
🔔ALERTS INCLUDED:
• Buy Alert: EMA crosses above Supertrend
• Sell Alert: EMA crosses below Supertrend
📈 BEST FOR:
• Swing Trading
• Day Trading
• Trend Following
• Market Reversals
⚠️ DISCLAIMER: This indicator is for educational purposes only.
Trading involves risk. Not financial advice. Use at your own risk.
Forexsebi - DAX Future Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - NASDAQ Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - GBPJPY Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - EURUSD Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - GBPUSD Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
MTF Trend DashboardThe Multi-Timeframe Trend Dashboard PRO is an advanced technical analysis tool that consolidates trend signals across six configurable timeframes into a single, intuitive heat-map dashboard. Designed for traders who need instant market clarity without switching between charts.
Core Features
🌊 Multi-Timeframe Analysis
Analyzes up to 6 customizable timeframes simultaneously (5m, 15m, 1H, 4H, Daily, Weekly)
Each timeframe independently evaluated for trend direction and strength
Weighted scoring system prioritizes higher timeframe signals
📈 Four-Pillar Technical Confluence
EMA Crossover (20/50) - Trend direction indicator (🟢 Bullish / 🔴 Bearish)
RSI (14) - Momentum analysis with exact values and overbought/oversold zones
MACD (12,26,9) - Momentum confirmation (🟢 Positive / 🔴 Negative)
Volume Analysis - Confirms move validity (🔥 High / ❄️ Low / ⚪ Normal)
🎯 Smart Signal System
🚀 STRONG BUY - All indicators strongly bullish (Score ≥2.5)
📈 BUY - Multiple bullish confirmations (Score 1.5-2.5)
🟢 Bullish - Mild uptrend (Score 0-1.5)
⚪ NEUTRAL - Sideways market (Score = 0)
🔴 Bearish - Mild downtrend (Score -1.5 to 0)
📉 SELL - Multiple bearish confirmations (Score -2.5 to -1.5)
💥 STRONG SELL - All indicators strongly bearish (Score ≤-2.5)
🎨 Heat-Map Color Coding
Bright Green = Strong uptrend with high conviction
Yellow = Neutral/Choppy conditions
Bright Red = Strong downtrend with high conviction
Color intensity reflects signal strength
💪 Strength Meter
Visual bar showing average trend strength across all timeframes (0-100%)
Helps identify powerful moves vs weak consolidations
🎯 Overall Bias
Weighted composite score emphasizing higher timeframes
Daily/Weekly signals carry 4-5x more weight than intraday
Provides "big picture" directional bias
🚨 Built-in Alert System
Strong Bullish/Bearish Confluence detected
Major trend changes across multiple timeframes
Customizable alert messages
How to Use
Trend Confirmation - Look for alignment (all rows showing same color = strong trend)
Divergence Detection - Lower timeframes differ from higher = potential reversal
Entry Timing - Wait for Overall Bias + multiple green signals with 🔥 volume
Risk Management - Avoid trades when Overall Bias shows ⚪ NEUTRAL
Customization
Adjustable EMA, RSI, MACD, Volume parameters
Flexible timeframe selection (enable/disable any TF)
Dark/Light theme support
Position and size controls
© | Built on TradingView
Precision tools for precision traders.
USDT Market Cap Change [Alpha Extract]A sophisticated stablecoin market analysis tool that tracks USDT market capitalization changes across daily and 60-day periods with statistical normalization and gradient intensity visualization. Utilizing z-score methodology for overbought/oversold detection and dynamic color gradients reflecting change magnitude, this indicator delivers institutional-grade market liquidity assessment through stablecoin flow analysis. The system's dual-timeframe approach combined with statistical normalization provides comprehensive market sentiment measurement based on capital inflows and outflows from the dominant stablecoin.
🔶 Advanced Market Cap Tracking Framework
Implements daily USDT market capitalization monitoring with dual-period change calculations measuring both 1-day and 60-day net capital flows. The system retrieves real-time CRYPTOCAP:USDT data on daily timeframe resolution, calculating absolute dollar changes to quantify stablecoin supply expansion or contraction as primary market liquidity indicator.
// Core Market Cap Analysis
USDT = request.security("CRYPTOCAP:USDT", "D", close)
USDT_60D_Change = USDT - USDT
USDT_1D_Change = USDT - USDT
🔶 Dynamic Gradient Intensity System
Features sophisticated color gradient engine that intensifies visual representation based on change magnitude relative to recent extremes. The system normalizes current 60-day change against configurable lookback period maximum, applying gradient strength calculation to transition colors from neutral tones through progressively intense blues (negative) or reds (positive) based on flow direction and magnitude.
🔶 Statistical Z-Score Normalization Engine
Implements comprehensive z-score calculation framework that normalizes 60-day market cap changes using rolling mean and standard deviation for objective overbought/oversold determination. The system applies statistical normalization over configurable periods, enabling cross-temporal comparison and threshold-based regime identification independent of absolute market cap levels.
// Z-Score Normalization
Change_Mean = ta.sma(USDT_60D_Change, Normalization_Length)
Change_StdDev = ta.stdev(USDT_60D_Change, Normalization_Length)
Z_Score = Change_StdDev > 0 ? (USDT_60D_Change - Change_Mean) / Change_StdDev : 0.0
🔶 Multi-Tier Threshold Detection System
Provides four-level regime classification including standard overbought (+1.5σ), standard oversold (-1.5σ), extreme overbought (+2.5σ), and extreme oversold (-2.5σ) thresholds with configurable adjustment. The system identifies market liquidity extremes when stablecoin inflows or outflows reach statistically significant levels, indicating potential market turning points or trend exhaustion.
🔶 Dual-Timeframe Flow Visualization
Features layered area plots displaying both 60-day strategic flows and 1-day tactical movements with distinct color coding for instant flow direction assessment. The system overlays short-term daily changes on longer-term 60-day trends, enabling traders to identify divergences between tactical and strategic capital flows into or out of stablecoin reserves.
🔶 Gradient Color Psychology Framework
Implements intuitive color scheme where red gradients indicate capital inflow (bullish for crypto as USDT supply expands for buying) and blue gradients show capital outflow (bearish as USDT is redeemed). The intensity progression from pale to vivid colors communicates flow magnitude, with extreme colors signaling statistically significant liquidity events requiring attention.
🔶 Background Zone Highlighting System
Provides subtle background coloring when z-score breaches overbought or oversold thresholds, creating visual alerts without obscuring primary data. The system applies translucent red backgrounds during overbought conditions and blue during oversold states, enabling instant regime recognition across chart timeframes.
🔶 Configurable Normalization Architecture
Features adjustable gradient lookback and statistical normalization periods enabling optimization across different market cycles and trading timeframes. The system allows traders to calibrate sensitivity by modifying the window used for maximum change detection (gradient) and mean/standard deviation calculation (z-score), adapting to volatile or stable market regimes.
🔶 Market Liquidity Interpretation Framework
Tracks USDT supply changes as proxy for overall cryptocurrency market liquidity conditions, where expanding market cap indicates fresh capital entering crypto markets and contracting cap suggests capital flight. The system provides leading indicator properties as large stablecoin inflows often precede major market rallies while outflows may signal distribution phases.
🔶 Why Choose USDT Market Cap Change ?
This indicator delivers sophisticated stablecoin flow analysis through statistical normalization and gradient visualization of USDT market capitalization changes. Unlike traditional market sentiment indicators that rely on price action alone, this tool measures actual capital flows through the dominant stablecoin, providing objective assessment of market liquidity conditions. The combination of dual-timeframe tracking, z-score normalization for overbought/oversold detection, and intensity-based gradient coloring makes it essential for traders seeking macro-level market assessment and regime change detection across cryptocurrency markets. The indicator excels at identifying liquidity extremes that often precede major market reversals or trend accelerations.
Forexsebi - GOLD Psychological Levels - TrendflowPsychological GOLD levels every $50 with clear zones, highlighted $100 & $500 levels, SMA 50 & 200, and a multi-timeframe trend table. Perfect for structure, trend, and rejection trading on XAUUSD.
Psychologische GOLD-Levels in 50-Dollar-Abständen mit klaren Zonen, 100- & 500-Dollar-Highlights, SMA 50 & 200 sowie einer Multi-Timeframe Trend-Tabelle. Ideal für Struktur-, Trend- und Rejection-Trading auf XAUUSD.
Key Features
Psychological Gold Levels
Automatic levels every $50
Adjustable number of levels above and below current price
Highlighted zones around each level for clearer reaction areas
Special Level Highlighting
$100 levels (xx00) highlighted for medium importance
$500 levels (x000 / x500) marked as major psychological levels
Different colors and stronger line thickness for key zones
Price Labels
Clean price labels displayed on the chart
Special symbols for 100 and 500 dollar levels
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Displays the current trading session (Asia, Frankfurt, London, NY)
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Distinction between normal, $100 and $500 levels
Precision Candle (Multi-Asset)This Script Helps in finding a Precision Candle, which signifies a potential crack in correlated assets.
you can choose between 2 or 3 assets.
make sure to use the same time frame across all assets.
Enjoy !
ICT Candle Reading PROICT Candle Reading – Visual Clean
This indicator is designed to provide a clean and precise price reading, based on ICT and Smart Money Concepts, without cluttering the chart.
Its purpose is to help traders identify real institutional zones, understand market intention, and improve entry timing, using pure price action.
🔹 What does this indicator show?
🟢 Fair Value Gaps (FVG / Imbalances)
Detects market inefficiencies created by impulsive moves.
Displayed as clean and minimal boxes extended into the future.
Useful as mitigation, reaction, or continuation zones.
🟠 Liquidity Sweeps
Highlights liquidity grabs above recent highs or below recent lows.
Drawn using dashed horizontal lines.
Helps identify market manipulation before the true move.
🔵 Displacement Candles
Identifies candles with dominant bodies, showing institutional momentum.
Marked with small symbols to keep the chart clean.
Useful to confirm impulse starts or shifts in market intent.
🎯 Indicator Philosophy
❌ No lagging indicators
❌ No chart clutter
✅ Real ICT concepts
✅ Clean candle reading
✅ Suitable for scalping, intraday, and swing trading
⚙️ Customization
Each concept can be enabled or disabled individually.
Zone extension length is adjustable.
Optimized for 15M, 1H, and 4H timeframes.
📈 How to use
This indicator does not provide automatic buy/sell signals.
It is best used with:
Higher timeframe bias
Market structure
Session timing (London / New York)
Proper risk management
🧠 Final Notes
ICT Candle Reading – Visual Clean helps you see the market from an institutional perspective, focusing only on what truly matters: price, liquidity, and intent.
Magical Thirteen Turns - The Greedy SnakeThe number 9 appears:
Meaning: Warning signal. The rise may encounter resistance and a cautious pullback is about to begin.
Operation: Consider reducing your holdings (selling a portion) to lock in profits and avoid experiencing wild fluctuations.
The number 13 appears:
Meaning: Strong sell signal. The upward momentum is likely to be exhausted, which is also known as "bull exhaustion".
Operation: It is recommended to liquidate your positions or significantly reduce them. Short sell (if you are trading contracts).
HTF Suspension Blocks [TakingProphets]-----------------------------------------------------------------------------------------------
HTF SUSPENSION BLOCKS
-----------------------------------------------------------------------------------------------
HTF Suspension Blocks bring ICT’s Suspension Block concept into a multi-timeframe workflow by detecting the 3-candle pattern on higher timeframes and projecting those zones directly onto your current execution chart.
Instead of only seeing Suspension Blocks on the timeframe they form, this script identifies valid HTF formations, draws their ranges on your lower timeframe, extends them forward, and manages invalidation automatically. You get higher-timeframe context while staying in your execution environment.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
- Detect ICT-style Suspension Blocks on multiple higher timeframes (HTF 1 / HTF 2 / HTF 3)
- Project HTF blocks onto the current chart using bar-time anchored drawing
- Require measurable body-to-body separation defined in true ticks (instrument-aware)
- Auto-extend blocks forward in time until invalidation
- Optional Consequent Encroachment (50% equilibrium) inside each block
- Per-timeframe visibility limiting so charts stay clean and actionable
- Labels each block with the originating HTF (ex: M5 / M15 / M60)
- Alerts for:
- New HTF bullish / bearish block formation
- Price entering into any HTF bullish / bearish block
- Session-restricted alert windows (New York time)
-----------------------------------------------------------------------------------------------
WHAT IS A SUSPENSION BLOCK
-----------------------------------------------------------------------------------------------
A Suspension Block is a strict 3-candle displacement sequence defined by body-to-body gaps around a middle candle. This HTF variant uses the same model, but evaluates the pattern on a higher timeframe and then projects the zone onto your current chart.
Bullish Suspension Block logic:
- HTF Candle 1 close is BELOW HTF Candle 2 open by at least Minimum Body Separation
- HTF Candle 3 open is ABOVE HTF Candle 2 close by at least Minimum Body Separation
- HTF Candle 3 open is ABOVE HTF Candle 1 close to ensure a valid vertical span
- Block vertical span: Candle 1 close (low) to Candle 3 open (high)
- Block remains valid until price CLOSES below the block low (Candle 1 close)
Bearish Suspension Block logic (mirror conditions):
- HTF Candle 1 close is ABOVE HTF Candle 2 open by at least Minimum Body Separation
- HTF Candle 3 open is BELOW HTF Candle 2 close by at least Minimum Body Separation
- HTF Candle 3 open is BELOW HTF Candle 1 close to ensure a valid vertical span
- Block vertical span: Candle 1 close (high) to Candle 3 open (low)
- Block remains valid until price CLOSES above the block high (Candle 1 close)
All gap calculations are normalized using `syminfo.mintick` so the “ticks” setting behaves correctly across instruments.
-----------------------------------------------------------------------------------------------
GENERAL SETTINGS
-----------------------------------------------------------------------------------------------
- Minimum Body Separation (ticks)
- Minimum required body-to-body gap in HTF tick units
- Used for both:
- Candle 1 close to Candle 2 open separation
- Candle 2 close to Candle 3 open separation
- Examples:
- 0.25 = quarter-tick gap
- 1.0 = full tick gap
-----------------------------------------------------------------------------------------------
TIMEFRAMES
-----------------------------------------------------------------------------------------------
This script supports up to 3 higher timeframe sources. Each HTF has:
- Enable toggle
- Timeframe selector
- Per-timeframe Max Blocks visibility control
HTF 1 / HTF 2 / HTF 3:
- These are the timeframes the script scans for Suspension Blocks
- Blocks are drawn only when your current chart timeframe is LOWER than the selected HTF
- This prevents duplicate / redundant rendering when you’re already on the HTF or higher
Max Blocks per timeframe:
- Limits the number of most-recent blocks shown per side (bullish + bearish) for that HTF
- 0 = show all blocks for that timeframe
-----------------------------------------------------------------------------------------------
VISUALIZATION SETTINGS
-----------------------------------------------------------------------------------------------
Bullish Blocks:
- Toggle visibility
- Fill color controls opacity / emphasis
- Optional border with selectable style (Solid / Dashed / Dotted)
Bearish Blocks:
- Toggle visibility
- Fill color controls opacity / emphasis
- Optional border with selectable style (Solid / Dashed / Dotted)
Consequent Encroachment (CE):
- Optional 50% equilibrium line drawn inside each block
- Style options (Solid / Dashed / Dotted)
- Automatically extends as blocks extend
HTF Labels:
- Each block is labeled with its originating timeframe (ex: M5 / M15 / M60)
- Label styling includes:
- Text color
- Size (Tiny / Small / Normal / Large)
- Labels are intentionally hidden on non-visible blocks when visibility limiting is active
-----------------------------------------------------------------------------------------------
HOW HTF PROJECTION WORKS
-----------------------------------------------------------------------------------------------
- The script requests the last 3 candles of each selected HTF via `request.security()`
- It maps those HTF candles into the standard 3-candle Suspension Block model:
- Candle 1 = oldest
- Candle 2 = middle
- Candle 3 = most recent
- When a valid block forms:
- A box is created using `xloc.bar_time`
- The left side anchors to the HTF candle timestamp
- The right side projects forward to the current chart time
- Each HTF has its own independent storage set:
- Bull boxes, bear boxes
- High / low bounds
- CE lines
- Labels
-----------------------------------------------------------------------------------------------
BLOCK MANAGEMENT & INVALIDATION
-----------------------------------------------------------------------------------------------
- All blocks extend forward automatically to the current bar time
- Bullish invalidation:
- Block is removed when price CLOSES below the block low
- Bearish invalidation:
- Block is removed when price CLOSES above the block high
- When a block invalidates:
- The box is deleted
- Its CE line is deleted
- All stored references are removed from the set
This keeps the chart focused on active HTF zones only.
-----------------------------------------------------------------------------------------------
VISIBILITY LIMITING
-----------------------------------------------------------------------------------------------
Each timeframe’s “Max Blocks” setting controls how many blocks per side remain visible.
When Max Blocks > 0:
- The script calculates distance from current price to every stored block range
- It keeps the closest N blocks per side (bullish + bearish)
- Blocks not kept are made fully transparent:
- Hidden fill
- Hidden border
- Hidden CE line
- Hidden label text
This gives you the most relevant HTF structures near price without clutter.
-----------------------------------------------------------------------------------------------
ALERT SYSTEM
-----------------------------------------------------------------------------------------------
Alerts are optional and can be restricted to specific NY sessions.
Sessions (New York time):
- Session 1 (default: 09:30–16:00)
- Session 2 (optional)
- Session 3 (optional)
Alert types:
- HTF Bullish Block Formed
- Triggers when any enabled HTF forms a new bullish suspension block
- HTF Bearish Block Formed
- Triggers when any enabled HTF forms a new bearish suspension block
- Enter Bullish Block
- Triggers when price transitions from NOT inside any bullish HTF block to inside one
- Enter Bearish Block
- Triggers when price transitions from NOT inside any bearish HTF block to inside one
Messages:
- Fully customizable alert text inputs
- Script automatically appends ticker + current chart timeframe for context
-----------------------------------------------------------------------------------------------
BEST USE CASES
-----------------------------------------------------------------------------------------------
- Use HTF Suspension Blocks as “context zones” while executing on a lower timeframe
- Pair with ICT displacement, liquidity, PD arrays, and market structure for confluence
- Treat blocks as HTF inefficiency zones that can act as reaction points on retracements
- Use “enter block” alerts as a heads-up to shift into execution mode at HTF levels
-----------------------------------------------------------------------------------------------
DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results.
© TakingProphets
-----------------------------------------------------------------------------------------------
VEGA (Velocity of Efficient Gain Adaptation)VEGA (Velocity of Efficient Gain Adaptation)
VEGA is a momentum oscillator that measures the velocity of an efficiency-weighted adaptive moving average. Unlike traditional momentum indicators that react uniformly to all price movements, VEGA intelligently adapts its sensitivity based on market conditions—responding quickly during trending periods and filtering noise during consolidation.
--------------------------------
What Makes VEGA Different
Efficiency-Driven Adaptation
At its core, VEGA uses the Efficiency Ratio (ER) to distinguish between trending and choppy markets. When price moves efficiently in one direction, VEGA's underlying adaptive MA speeds up to capture the move. When price chops sideways, it slows down to avoid whipsaws. This creates a momentum reading that's inherently cleaner than fixed-period alternatives.
Linear Regression Smoothed Source
VEGA offers an optional LinReg-smoothed price source that blends regular candles with linear regression values. This pre-smoothing reduces noise before it ever enters the calculation, resulting in a histogram that's easier to read without sacrificing responsiveness. The mix ratio lets you dial in exactly how much smoothing you want.
Z-Score Normalization with Dead Zone
Rather than arbitrary oscillator bounds, VEGA normalizes output as standard deviations from the mean. This gives statistically meaningful levels: readings above +2σ or below -2σ represent genuinely extreme momentum. The configurable dead zone (with Snap, Soft Fade, or None modes) filters out insignificant movements near zero, keeping you focused on signals that matter.
--------------------------------
How It Works
1. Source Preparation — Price is smoothed via a LinReg/regular candle blend
2. Efficiency Ratio — Measures directional movement vs total movement over the lookback period
3. Adaptive MA — Applies variable smoothing based on efficiency (fast during trends, slow during chop)
4. Velocity — Calculates the rate of change of the adaptive MA
5. Normalization — Converts to Z-Score (standard deviations) or ATR-normalized percentage
6. Dead Zone — Optionally filters near-zero values to reduce noise
--------------------------------
How To Read VEGA
Signal and Interpretation
Histogram above zero | Bullish momentum
Histogram below zero | Bearish momentum
Bright color | Momentum accelerating
Faded color | Momentum decelerating
Beyond ±1σ bands | Above-average momentum
Beyond ±2σ bands | Extreme momentum (potential reversal zone)
Zero line cross*| Momentum shift
--------------------------------
Key Settings
ER Length — Lookback for efficiency ratio calculation. Higher = smoother, slower adaptation.
Fast/Slow Smoothing — Controls the adaptive MA's responsiveness range. The MA blends between these based on efficiency.
LinReg Settings — Enable smoothed candles and adjust the blend ratio (0 = regular candles, 1 = full LinReg, 0.5 = 50/50 mix).
Z-Score Lookback — Period for calculating mean and standard deviation. Shorter = more reactive normalization.
Dead Zone Type — How to handle near-zero values:
Snap — Hard cutoff to zero
Soft Fade — Gradual reduction toward zero
None — No filtering
Dead Zone Threshold — Values within this Z-Score range are affected by the dead zone setting.
VEGA works on any timeframe and any market. For best results, adjust the ER Length and LinReg settings to match your trading style and the volatility characteristics of your instrument.
RSI Info WindowRSI Info Window is a minimalist overlay utility that displays the current RSI value and a simple market state label (Overbought, Oversold, or Neutral) directly on the chart. The goal is to provide quick RSI context without using a separate oscillator pane, helping keep the chart clean for price-action, SMC, and structure-based trading.
How it works
Calculates RSI using the selected RSI Length (default 14).
Compares RSI to the Overbought and Oversold thresholds (default 70/30).
Displays a small label on the most recent candle showing:
RSI value
Current state: Overbought / Oversold / Neutral
The label updates in real time as the latest candle forms.
Inputs
RSI Length – Controls RSI sensitivity (default 14)
Overbought Level – RSI threshold for overbought (default 70)
Oversold Level – RSI threshold for oversold (default 30)
How to use
Overbought: RSI above the overbought level — may indicate momentum is extended; watch for continuation vs exhaustion based on your system.
Oversold: RSI below the oversold level — may indicate downside extension; watch for reversal conditions and structure confirmation.
Neutral: RSI between thresholds — often indicates balanced conditions or consolidation.
This indicator is designed as a compact reference tool, not a complete trading system.
Notes
The overlay label is anchored to the most recent candle and refreshes on the last bar.
Intended to save screen space vs. a full RSI subpanel.
Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice. Always use risk management and confirm signals with your broader trading plan.






















