Alpha Simple Supply/Demand
Alpha Simple Supply/Demand
This indicator's primary function is to plot potential Supply (Resistance) and Demand (Support) zones on the chart by referencing the High and Low price points.
How It Functions
Supply Zones (Red): These are drawn around the Daily Highs and represent areas where selling pressure (resistance) is anticipated.
Demand Zones (Green): These are drawn around the Daily Lows and represent areas where buying pressure (support) is anticipated.
Application on a 30-Minute Chart
This setup helps you see how the current intra-day price action is interacting with the significant daily structural levels established over the past few sessions.
אינדיקטורים ואסטרטגיות
ueuito Trend Strength LSMA-BasedAnother experience.... still improving
Indicator Description (English)
Name: Trend Strength LSMA-Based
Overview:
This indicator is designed to measure the strength and exhaustion of a trend based on the Least Squares Moving Average (LSMA). It combines price, trend slope, volume, and volatility to calculate a trend exhaustion score, which is then smoothed and visualized as a colored area on the chart. The indicator also plots discrete points to signal potential reversals or decreases in trend intensity.
Key Features:
LSMA-Based Trend Strength:
Calculates a Least Squares Moving Average (LSMA) of the selected timeframe.
Measures the slope of the LSMA to capture trend direction and momentum.
Trend Exhaustion Score:
Combines multiple factors:
Distance between price and LSMA
LSMA slope (trend strength)
Volume relative to its moving average
ATR-based volatility
Each factor is weighted according to user-defined inputs.
The combined score is multiplied to produce a scaled trend exhaustion value.
Smoothed Area Plot:
The trend exhaustion score is smoothed using an EMA to reduce noise.
Displayed as a colored area that changes based on trend strength:
Strong bullish exhaustion → dark green
Weak bullish exhaustion → light green
Strong bearish exhaustion → dark red
Weak bearish exhaustion → light red
Neutral → gray
Dynamic Visual Cues:
Points for reversals: small green/red circles appear when the trend changes direction.
Points for intensity decrease: small green/red circles appear when the trend weakens but has not yet reversed.
The area’s color intensity dynamically reflects the strength of the trend exhaustion, making it visually intuitive.
Multi-Timeframe Support:
The indicator can calculate the trend exhaustion based on a different timeframe from the chart, allowing for higher timeframe trend analysis on lower timeframe charts.
Customizable Settings:
LSMA period, smoothing length, volume period, ATR period
Weighting for each factor in the score calculation
Thresholds for weak/strong exhaustion
Timeframe selection
Usage:
Identify when a trend is losing strength or approaching a potential reversal.
Helps visualize the current momentum and exhaustion of bullish or bearish trends.
Can be used in conjunction with other technical tools for confirming entries or exits.
Important Note:
Depending on the asset, market volatility, and timeframe, it may be necessary to adjust the indicator settings to optimize its responsiveness and accuracy. The default parameters provide a general starting point but fine-tuning is recommended for best results.
Clean Projected Camarilla (No History)Here is a professional description you can use for the indicator settings or if you publish this script on TradingView.Indicator Name: Clean Projected Camarilla Levels (Dynamic)Description:This indicator calculates and projects future Camarilla Pivot points based on the current, developing market data. Unlike standard pivot indicators that show past levels, this tool is designed for forward-looking analysis, showing you where the next period's Support and Resistance levels will be if the market closed at the current price.Key Features:Zero Clutter: Utilizes line.new drawing functions to ensure only the current projected levels are visible. No historical trails or "ghost lines" are left on the chart.Dynamic Updates: The levels (R4, R3, S3, S4) update in real-time with every tick as the current High, Low, and Close change.Multi-Timeframe Capable: By default, it projects the Next Quarter's levels (using 3M data), but can be customized to project Next Day, Next Week, or Next Month levels via the settings menu.Visual Aid: Lines automatically extend to the right for easy visibility against current price action.Formulas Used:R4 / S4 (Breakout Levels): Calculated using the $1.1/2$ range multiplier. A break beyond these often signals a trend continuation.R3 / S3 (Reversal Levels): Calculated using the $1.1/4$ range multiplier. These are the primary zones for mean reversion or "fade" trades.How to Use:Use this tool to anticipate future boundaries before the current period closes.Scenario A: If the Projected R4 moves significantly away from the current price, volatility is expanding.Scenario B: If price is approaching the Projected R3, be aware that this level might act as resistance in the upcoming session.
AQR Momentum AQR Momentum – Short Description
Uses the slopes of 20/55/200-day moving averages to measure short-, mid-, and long-term trend direction.
Green = rising trend; Red = falling trend.
55-day slope is the primary momentum signal; 200-day shows the market regime.
FVG PilotWhat it does
Automatically detects and draws Fair Value Gaps (FVGs) on the chart.
Removes an FVG as soon as it’s invalidated (bullish FVG invalid if price closes below its lower bound; bearish FVG invalid if price closes above its upper bound).
Triggers alerts only during Silver Bullet (SB) sessions in Europe/Berlin time when a new FVG is created.
Optionally draws two thin vertical lines at the start and end of each SB session so you can see the windows at a glance.
Runs on confirmed bars to avoid repainting.
How FVGs are detected
Wick mode (default):
Bullish FVG when low > high → gap [high , low]
Bearish FVG when high < low → gap [high, low ]
Body mode (optional): uses candle bodies instead of wicks:
Bullish FVG when current body low > prior body high
Bearish FVG when current body high < prior body low
Silver Bullet sessions (Europe/Berlin)
Three configurable session windows (default examples):
SB1: 10:00–11:00
SB2: 02:00–03:00
SB3: 07:00–08:00
Alerts for new FVGs fire only inside these windows.
Session lines: a thin vertical line is drawn on the first bar inside a session (start) and on the first bar after a session (end).
Inputs
Show Bullish / Bearish FVGs
Use Bodies (instead of wicks)
Minimum FVG size (in ticks)
Box opacity
SB sessions: enable/disable each window and set times (Europe/Berlin)
Session line toggle + color/width
Alerts included
SB (Berlin): Bullish FVG created – fires only during SB sessions
SB (Berlin): Bearish FVG created – fires only during SB sessions
Bullish FVG invalidated – fires when a bullish FVG is invalidated (no time filter)
Bearish FVG invalidated – fires when a bearish FVG is invalidated (no time filter)
How to set alerts (TradingView)
Click Create Alert.
Condition: choose this indicator, then pick one of the alert conditions above.
Select your alert options (once per bar close is recommended), then Create.
Tips
If you don’t see boxes, reduce Minimum FVG size or lower opacity (e.g., 70–85).
Body mode is stricter; start with wicks if you want more signals.
SB windows use Europe/Berlin and automatically account for DST.
The script respects platform limits for drawings; if your chart is cluttered, zoom in or reduce active sessions.
Point of Control + Momentum CandlesPOINT OF CONTROL + MOMENTUM CANDLES
A multi-feature indicator combining volume-based POC detection, 6-level momentum candle coloring, higher timeframe buy/sell signals, and order block identification.
FEATURES
Point of Control (POC)
Calculates the price level with highest traded volume over a customizable lookback period. Includes break and rejection detection with visual signals.
Momentum Candle Coloring
Colors candles based on EMA positioning and RSI values across 6 momentum levels:
- Bull 3/2/1: Strong to weak bullish momentum (Blue/Cyan/Green)
- Bear 1/2/3: Weak to strong bearish momentum (Yellow/Orange/Red)
- Neutral: No clear momentum (White)
Buy/Sell Signals
Generates signals from a user-selectable timeframe using EMA crossovers and RSI conditions. Signals appear on your current chart for multi-timeframe analysis.
Order Blocks
Detects potential institutional entry zones:
- Bullish OB: Last bearish candle before bullish impulse
- Bearish OB: Last bullish candle before bearish impulse
Blocks extend forward and optionally delete when mitigated.
Dashboard
Displays POC price, distance, RSI, momentum level, signal timeframe, and active order block count.
ALERTS
10 conditions available: POC breaks, rejections, buy/sell signals, and order block formations.
HOW TO USE
- Trade POC breaks for trend continuation
- Trade POC rejections for reversals
- Use candle colors to gauge momentum strength
- Confirm entries with higher timeframe signals
- Watch for price returning to order blocks
SETTINGS
All parameters are fully customizable including lookback periods, thresholds, timeframes, colors, and visual styles.
DISCLAIMER
For educational purposes only. Not financial advice. Trading involves risk. Always conduct your own analysis before making trading decisions.
Williams %R + Bollinger %B📊 Williams %R + Bollinger %B Indicator
This indicator blends two complementary oscillators to provide a clearer view of market momentum, volatility, and extreme zones:
🔹 Williams %R (W%R):
Measures the price’s position within its recent range, helping identify overbought/oversold conditions and potential reversal points. It reacts quickly to market shifts, making it useful for spotting short-term exhaustion.
🔹 Bollinger %B (BB%):
Shows where the price sits relative to the Bollinger Bands, highlighting volatility expansions, contractions, and pressure around the bands. It helps confirm breakouts, squeezes, and volatility-driven moves.
🎯 What This Combined Indicator Offers
Dual insight: Momentum (W%R) + volatility (BB%).
Higher precision: Identifies areas where both range extremes and volatility extremes align.
Better timing: Provides clearer entry/exit confirmation based on price behavior relative to range and volatility.
🧠 Suggested Use
Look for confluences, such as W%R showing oversold while BB% signals a lower-band rejection or squeeze.
Spot true breakouts when BB% expands while W%R exits extreme zones.
Filter out noise by analyzing the relationship between both oscillators.
Point of Control + Momentum CandlesPOINT OF CONTROL + MOMENTUM CANDLES
A comprehensive technical analysis indicator combining volume-based Point of Control detection, momentum-graded candle coloring, higher timeframe buy/sell signals, and order block identification.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT THIS INDICATOR DOES
This indicator identifies key price levels where the most trading activity has occurred (Point of Control), colors candles based on momentum strength, generates buy/sell signals from a user-selected timeframe, and detects order blocks that may act as future support/resistance zones.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FEATURES
1. POINT OF CONTROL (POC)
The POC represents the price level with the highest traded volume over a lookback period. This indicator calculates a volume profile by distributing volume across price levels and identifying where the most activity occurred.
- Orange horizontal line shows the current POC level
- Yellow box highlights the candles used in the POC calculation
- Break detection identifies when price closes decisively beyond the POC
- Rejection detection identifies when price tests but fails to break the POC
2. MOMENTUM CANDLE COLORING
Candles are colored based on a 6-level momentum system using EMA positioning and RSI values:
Bullish Levels (price above both EMAs):
- Bull Level 3 (Royal Blue): Strong momentum, RSI above 70
- Bull Level 2 (Cyan): Medium momentum, RSI above 60
- Bull Level 1 (Green): Weak momentum, above EMAs
Bearish Levels (price below both EMAs):
- Bear Level 1 (Yellow): Weak momentum, below EMAs
- Bear Level 2 (Orange): Medium momentum, RSI below 40
- Bear Level 3 (Red): Strong momentum, RSI below 30
Neutral (White): No clear directional momentum
3. BUY/SELL SIGNALS
Signals are generated from a user-selectable timeframe (default: 10 minutes) and appear on your current chart. This allows you to see higher timeframe signals while trading on lower timeframes.
Buy Signal Conditions:
- EMA crossover (fast crosses above slow) OR RSI exits oversold
- Bullish candle on the signal timeframe
- Close above both EMAs
Sell Signal Conditions:
- EMA crossunder (fast crosses below slow) OR RSI exits overbought
- Bearish candle on the signal timeframe
- Close below both EMAs
4. ORDER BLOCKS
Order blocks identify potential institutional entry zones that may act as future support or resistance.
- Bullish Order Block (Green zone): The last bearish candle before a bullish impulse move
- Bearish Order Block (Red zone): The last bullish candle before a bearish impulse move
- Blocks automatically extend forward and can be set to delete when mitigated (price closes through the zone)
5. DASHBOARD
A customizable info panel displays:
- Current POC price
- Distance from POC (percentage)
- Position relative to POC (Above/Below/At)
- Lookback period
- Current RSI value
- Current momentum level
- Signal timeframe
- Active order block count
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
POC Trading:
- Watch for breaks above POC for potential long entries
- Watch for breaks below POC for potential short entries
- Rejections at POC can indicate reversal opportunities
Momentum Reading:
- Use candle colors to gauge trend strength at a glance
- Level 3 colors indicate strong momentum (potential continuation)
- Level 1 colors indicate weakening momentum (potential reversal)
- Neutral/white candles suggest consolidation or indecision
Signal Confirmation:
- Use buy/sell signals from a higher timeframe to confirm entries on your trading timeframe
- Combine signals with POC breaks/rejections for higher probability setups
Order Block Strategy:
- Look for price to return to bullish order blocks for potential long entries
- Look for price to return to bearish order blocks for potential short entries
- Mitigated blocks (price closes through) lose their significance
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS OVERVIEW
POC Settings:
- Lookback Period: Number of bars for POC calculation (default: 20)
- Volume Resolution: Price level granularity (default: 50)
- Recalculation Frequency: How often POC updates (default: every 3 bars)
Break/Rejection Detection:
- Break Threshold: Minimum percentage move to confirm a break (default: 0.3%)
- Rejection Wick Ratio: Minimum wick-to-body ratio for rejections (default: 0.5)
Momentum Settings:
- Fast/Slow EMA lengths for trend determination
- RSI length and threshold levels for momentum grading
Buy/Sell Signals:
- Signal Timeframe: The timeframe used for signal calculation
- Separate EMA and RSI parameters for signal generation
Order Blocks:
- Order Block Timeframe: Timeframe for OB detection
- Max Blocks Per Side: Limits displayed order blocks
- Delete Mitigated: Automatically removes invalidated blocks
All visual elements (colors, sizes, line styles) are fully customizable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
10 alert conditions are available:
- Bullish/Bearish POC Break
- Bullish/Bearish POC Rejection
- Any POC Break
- Any POC Rejection
- Buy Signal
- Sell Signal
- Bullish Order Block Formed
- Bearish Order Block Formed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES
- The indicator uses request.security() to fetch data from the signal and order block timeframes. This is designed to work when viewing charts at timeframes equal to or lower than your selected signal/OB timeframes.
- POC calculations are based on the visible volume data. Assets with limited volume data may produce less reliable POC levels.
- Order blocks are detected using a simplified algorithm based on candle patterns and displacement. They represent potential zones of interest, not guaranteed support/resistance levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own analysis and consider your risk tolerance before making trading decisions. Use this tool as part of a comprehensive trading strategy, not as a standalone signal generator.
microwave weeeingThis algorithmic indicator finds trading opportunities. Its principle is simple: it identifies inflection points where trading volume explodes, groups together multiple inflection points near those points, and then retains only those that actually function as support and resistance. It's recommended to monitor the indicator over at least a 15-minute chart.
매물대를 찾아주는 알고리즘 지표. 원리는 간단하게 거래량이 폭발했던 변곡 구간을 찾고, 그 근처에 여러 번 쌓인 변곡구간만 묶어서 박스로 만들고, 그 박스가 실제로 지지·저항 역할을 한 것만 남기는 지표. 최소 15분봉 이상에서 보는걸 추천합니다.
PD Array Matrix [NINE Θ]PD Array Matrix
A comprehensive ICT-based indicator that combines multiple Premium/Discount Array concepts into a single, unified tool for Smart Money analysis.
Overview
PD Array Matrix provides traders with institutional-grade market structure analysis by integrating key ICT (Inner Circle Trader) concepts. This indicator automatically identifies and displays critical price levels, imbalances, and divergences that smart money uses to execute trades.
Key Features
Change in State of Delivery (CISD)
Automatically detects shifts in market delivery, signaling potential reversals or continuation setups.
Bullish and Bearish detection with directional filtering
Confirmation arrows for visual clarity
Wick-based invalidation for precise risk management
Customizable line styles, colors, and label formats
Order Blocks
Identifies institutional order flow zones where significant buying or selling occurred.
Box or Line display styles
Filter by direction: Both, Bullish, Bearish, or CISD Direction
CISD Direction mode only shows Order Blocks that align with the current market bias
Automatic invalidation when price mitigates the zone
Market Structure Levels
Tracks key liquidity levels that institutional traders target.
Minor Levels: Intermediate swing highs/lows (Buyside/Sellside)
Major Levels: Significant swing points with higher timeframe relevance
Automatic fill detection with optional historical display
Customizable display modes: Label Only, Price Only, Both, or Minimalistic
Fair Value Gaps (FVGs)
Detects price imbalances created by aggressive market moves.
Three display styles: Normal, Minimalist, and Classic
Optional Volume Imbalance detection (body-to-body gaps)
50% Consequent Encroachment line
Proximity-based display showing FVGs closest to current price
Inversion Fair Value Gaps (IFVGs)
Identifies when price inverts through an existing FVG, flipping its directional bias.
Automatic conversion from FVG to IFVG on body close
Configurable lookback period to filter old inversions
Independent display controls from regular FVGs
Invalidation tracking when price closes through the zone
Higher Timeframe FVGs
Displays Fair Value Gaps from higher timeframes on your current chart.
Auto Timeframe selection based on your chart
Manual timeframe override option
Seamless integration with lower timeframe analysis
SMT Divergences
Detects Smart Money Tool divergences between correlated instruments.
Auto SMT Mode: Automatically selects correlated pairs for:
Index Futures (NQ, ES, YM, RTY)
Metals (GC, SI, PL)
Energy (CL, RB, NG)
Forex Majors
Crypto (BTC, ETH)
Manual symbol selection for custom pairs
Dual symbol comparison for confluence
Automatic invalidation tracking
Session Filters
Limit all setups to specific trading sessions.
Two configurable session windows
Multiple timezone support
Applies to: FVGs, IFVGs, CISDs, Order Blocks, and SMTs
Active on timeframes ≤ 1 hour
Customization
Every component offers extensive customization:
Individual toggle controls for each feature
Color settings for bullish/bearish elements
Multiple line styles (Solid, Dashed, Dotted)
Label size and position options
Transparency controls
Historical display limits
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always conduct your own analysis and manage risk appropriately.
Kriptano Short IndicatorИндикатор "KRIPTANO SHORT INDICATOR" 🚀 объединяет мощные инструменты для трейдинга: детектирование резких движений (пампов) 🔥 и построение уровней сопротивления с возможностью ручного выбора диапазона 📏.
Он анализирует рост цены выдавая сигнал SHORT⚠️. Уровни сопротивления строятся по таймфреймам от 5 минут до недели, с возможностью настройки цвета и отображения пробитых уровней 🎨. Встроен объёмный профиль с ручным выбором диапазона, который позволяет визуализировать распределение объёма по ценам💹.
Индикатор удобен для поиска точек входа и анализа рыночных структур на различных таймфреймах 📊
The "KRIPTANO SHORT INDICATOR" 🚀 combines powerful tools for trading: detecting sharp moves (pumps) 🔥 and building resistance levels with the ability to manually select the range 📏.
It analyzes price growth and generates a SHORT signal ⚠️. Resistance levels are built on timeframes from 5 minutes up to 1 week, with flexible color settings and the option to display broken levels 🎨. A built‑in volume profile with manual range selection allows you to visualize volume distribution by price 💹.
The indicator is convenient for finding entry points and analyzing market structure across different timeframes 📊.
Trivon LiteTrivon Lite is the simplified version of the Trivon trading system — designed to give traders clean Buy/Sell signals filtered by trend direction.
It is lightweight, beginner-friendly, and perfect for those who want a simple visual system to assist with entries.
✨ Features
Buy/Sell signals based on optimized volatility + trend conditions
Two built-in trend filters (Lite mode uses restricted settings)
Clean TP/SL visualization
Uses a simple risk-reward model
Works on all markets & timeframes
🔓 What's Included in Lite
Basic core entry system
Trend filters (limited customization)
Basic TP/SL settings
🔒 What's in Trivon Pro (Paid Version)
Fully adjustable trend filter periods
Optional higher-timeframe confirmation
Trend Table (multi-timeframe strength overview)
Backtesting Dashboard for performance insights
Additional filtering options for cleaner signals
ATR-based TP/SL customization
More advanced signal refining tools
If you enjoy Trivon Lite, the premium version Trivon Pro is coming out soon...
KRIPTANO SHORT INDICATORИндикатор "KRIPTANO SHORT INDICATOR" 🚀 объединяет мощные инструменты для трейдинга: детектирование резких движений (пампов) 🔥 и построение уровней сопротивления с возможностью ручного выбора диапазона 📏.
Он анализирует рост цены выдавая сигнал SHORT⚠️. Уровни сопротивления строятся по таймфреймам от 5 минут до недели, с возможностью настройки цвета и отображения пробитых уровней 🎨. Встроен объёмный профиль с ручным выбором диапазона, который позволяет визуализировать распределение объёма по ценам
💹. Индикатор удобен для поиска точек входа и анализа рыночных структур на различных таймфреймах 📊
The "KRIPTANO SHORT INDICATOR" 🚀 combines powerful tools for trading: detecting sharp moves (pumps) 🔥 and building resistance levels with the ability to manually select the range 📏.
It analyzes price growth and generates a SHORT signal ⚠️. Resistance levels are built on timeframes from 5 minutes up to 1 week, with flexible color settings and the option to display broken levels 🎨. A built‑in volume profile with manual range selection allows you to visualize volume distribution by price 💹.
The indicator is convenient for finding entry points and analyzing market structure across different timeframes 📊.
River 4.0River 4.0 is a visual system designed to help traders read market direction, trend-shift momentum, and high-quality entry zones through a combination of the River Cloud, three key structural lines, and a dedicated scalp zone system.
Key Features
1. River Cloud (Dynamic Daily Flow)
A dynamic zone formed between two daily-derived levels that represents market balance and directional flow.
The cloud color changes based on market conditions (Bullish, Bearish, or Neutral), including smooth gradient transitions whenever a trend shift occurs.
2. High Line, Mid Line, Low Line
Three structural reference levels that help users identify buy zones, sell zones, and neutral zones without needing any technical calculations.
– Price above the High Line = Buy Zone
– Price below the Low Line = Sell Zone
– Price between the lines = Neutral Zone
3. Trend State Display
A compact panel on the bottom-right showing the current trend state, the values of all three structural lines, and the volume condition (Rising / Falling).
4. Buy & Sell Triggers
Visual markers that appear when price breaks specific structural levels, providing confirmation for entries aligned with the prevailing trend.
5. Scalp Zone Box
A special zone that forms whenever a trend shifts, giving traders a premium early-entry window during the initial momentum of a new trend.
Ideal for aggressive entries or re-entry confirmation after a retest.
6. Clean Visuals & Lightweight Logic
The system avoids heavy calculations or complex indicators.
All components are designed for a clean, fast, and easy-to-interpret chart experience.
Purpose of River 4.0
To give traders a clear visual understanding of market flow, transition phases, and real-price-action-based entry opportunities — suitable for scalpers, intraday traders, swing traders, and beginners alike.
Fortunato Lead-Lag Multi-Asset (POC) v5_fix2//@version=6
indicator("Fortunato Lead-Lag Multi-Asset (POC) v5_fix2", shorttitle="FLL Multi POC v5_fix2", overlay=false, max_lines_count=200, max_labels_count=200)
// ========== USER CONFIG ==========
res = input.timeframe("1", "Resolution for analysis (ex: 1, 5, 3)")
corr_length = input.int(60, "Rolling window (bars) for correlation", minval=10, maxval=500)
max_lag = input.int(5, "Max lag to test (bars)", minval=1, maxval=20)
corr_threshold = input.float(0.60, "Correlation threshold (abs)", step=0.01)
min_lag_for_signal = input.int(1, "Min lag to consider (bars)", minval=0)
plot_lag_as_columns = input.bool(true, "Plot lag as columns")
// --- symbols (change to the exact tickers your feed uses) ---
sym_ndx = input.symbol("NASDAQ:NDX", "NDX (leader candidate) - change if needed")
sym_spx = input.symbol("SPX:SPX", "SPX (follower candidate) - change if needed")
// Optional add-ons
sym_vix = input.symbol("CBOE:VIX", "VIX (volatility index) - optional")
sym_dxy = input.symbol("ICEUS:DXY", "DXY (Dollar Index) - optional")
sym_xau = input.symbol("OANDA:XAUUSD","Gold (XAU/USD) - optional")
sym_oil = input.symbol("NYMEX:CL1!", "Crude Oil (continuous) - optional")
sym_btc = input.symbol("BINANCE:BTCUSDT","Bitcoin (BTC) - optional")
// ========== DATA FETCH (selected resolution) ==========
ndx = request.security(sym_ndx, res, close)
spx = request.security(sym_spx, res, close)
vix = request.security(sym_vix, res, close)
dxy = request.security(sym_dxy, res, close)
xau = request.security(sym_xau, res, close)
oil = request.security(sym_oil, res, close)
btc = request.security(sym_btc, res, close)
// ========== HELPERS ==========
has_history(len) => bar_index >= len
// rolling Pearson correlation implemented with ta.cum differences (replaces ta.sum)
rolling_corr(a, b, n) =>
if not has_history(n)
na
else
// compute rolling sums via cumulative sums
// sum_ab = sum_{k=0..n-1} a *b
float cum_ab = ta.cum(a * b)
float cum_ab_lag = cum_ab
float sum_ab = cum_ab - cum_ab_lag
float cum_a = ta.cum(a)
float cum_a_lag = cum_a
float sum_a = cum_a - cum_a_lag
float cum_b = ta.cum(b)
float cum_b_lag = cum_b
float sum_b = cum_b - cum_b_lag
float cum_a2 = ta.cum(a * a)
float cum_a2_lag = cum_a2
float sum_a2 = cum_a2 - cum_a2_lag
float cum_b2 = ta.cum(b * b)
float cum_b2_lag = cum_b2
float sum_b2 = cum_b2 - cum_b2_lag
float nn = n * 1.0
float num = sum_ab - (sum_a * sum_b) / nn
float den_part_a = sum_a2 - (sum_a * sum_a) / nn
float den_part_b = sum_b2 - (sum_b * sum_b) / nn
float den = den_part_a * den_part_b
if den <= 0.0
na
else
num / math.sqrt(den)
// ========== COMPUTE CORRELATIONS FOR ALL LAGS (USING rolling_corr) ==========
var float corr_dir1 = array.new_float()
var float corr_dir2 = array.new_float()
// ensure arrays sized correctly each bar
if array.size(corr_dir1) != (max_lag + 1)
array.clear(corr_dir1)
for i = 0 to max_lag
array.push(corr_dir1, na)
if array.size(corr_dir2) != (max_lag + 1)
array.clear(corr_dir2)
for i = 0 to max_lag
array.push(corr_dir2, na)
// fill arrays with correlation values (call rolling_corr every bar for consistency)
for i = 0 to max_lag
float val1 = na
if has_history(corr_length + i) and not na(ndx) and not na(spx)
// ndx aligned with spx shifted by +i (ndx leads spx by i)
val1 := rolling_corr(ndx, spx , corr_length)
array.set(corr_dir1, i, val1)
float val2 = na
if i > 0 and has_history(corr_length + i) and not na(ndx) and not na(spx)
// spx leads ndx by i
val2 := rolling_corr(ndx , spx, corr_length)
array.set(corr_dir2, i, val2)
// ========== FIND BEST ABSOLUTE CORRELATION AND DIRECTION ==========
float best_corr = na
int best_lag = 0
int best_dir = 0 // 1 = ndx -> spx, -1 = spx -> ndx
// scan dir1 (i = 0..max_lag)
for i = 0 to max_lag
float c = array.get(corr_dir1, i)
if not na(c)
if na(best_corr) or math.abs(c) > math.abs(best_corr)
best_corr := c
best_lag := i
best_dir := 1
// scan dir2 (i = 1..max_lag)
for i = 1 to max_lag
float c = array.get(corr_dir2, i)
if not na(c)
if na(best_corr) or math.abs(c) > math.abs(best_corr)
best_corr := c
best_lag := i
best_dir := -1
// ========== MULTI-ASSET LIGHT CONFIRMATION (explicit calls with rolling_corr) ==========
float sum_corr = 0.0
int count_corr = 0
// VIX
float local_best_vix = na
if not na(vix)
for j = 0 to max_lag
if has_history(corr_length + j)
float cc = rolling_corr(ndx, vix , corr_length)
if not na(cc)
if na(local_best_vix) or math.abs(cc) > math.abs(local_best_vix)
local_best_vix := cc
if not na(local_best_vix)
sum_corr := sum_corr + local_best_vix
count_corr := count_corr + 1
// DXY
float local_best_dxy = na
if not na(dxy)
for j = 0 to max_lag
if has_history(corr_length + j)
float cc = rolling_corr(ndx, dxy , corr_length)
if not na(cc)
if na(local_best_dxy) or math.abs(cc) > math.abs(local_best_dxy)
local_best_dxy := cc
if not na(local_best_dxy)
sum_corr := sum_corr + local_best_dxy
count_corr := count_corr + 1
// XAU
float local_best_xau = na
if not na(xau)
for j = 0 to max_lag
if has_history(corr_length + j)
float cc = rolling_corr(ndx, xau , corr_length)
if not na(cc)
if na(local_best_xau) or math.abs(cc) > math.abs(local_best_xau)
local_best_xau := cc
if not na(local_best_xau)
sum_corr := sum_corr + local_best_xau
count_corr := count_corr + 1
// OIL
float local_best_oil = na
if not na(oil)
for j = 0 to max_lag
if has_history(corr_length + j)
float cc = rolling_corr(ndx, oil , corr_length)
if not na(cc)
if na(local_best_oil) or math.abs(cc) > math.abs(local_best_oil)
local_best_oil := cc
if not na(local_best_oil)
sum_corr := sum_corr + local_best_oil
count_corr := count_corr + 1
// BTC
float local_best_btc = na
if not na(btc)
for j = 0 to max_lag
if has_history(corr_length + j)
float cc = rolling_corr(ndx, btc , corr_length)
if not na(cc)
if na(local_best_btc) or math.abs(cc) > math.abs(local_best_btc)
local_best_btc := cc
if not na(local_best_btc)
sum_corr := sum_corr + local_best_btc
count_corr := count_corr + 1
float confirm_avg = na
if count_corr > 0
confirm_avg := sum_corr / count_corr
// ========== SIGNAL LOGIC ==========
bool lead_detected = false
string lead_direction_text = "NoLeader"
if not na(best_corr) and math.abs(best_corr) >= corr_threshold and best_lag >= min_lag_for_signal
lead_detected := true
lead_direction_text := best_dir == 1 ? "NDX -> SPX" : (best_dir == -1 ? "SPX -> NDX" : "NoLeader")
// ========== PLOTS (GLOBAL) ==========
plot_best_corr = best_corr
plot_best_lag = (lead_detected ? best_lag : na)
plot_confirm_avg = confirm_avg
plot(plot_best_corr, title="Best Corr (signed)", linewidth=2)
hline(0, "zero", linestyle=hline.style_dashed)
hline(corr_threshold, "threshold +", linestyle=hline.style_solid)
hline(-corr_threshold, "threshold -", linestyle=hline.style_solid)
plot(plot_lag_as_columns ? plot_best_lag : na, title="Best Lag (bars)", style=plot.style_columns, linewidth=2)
plot(not na(plot_confirm_avg) ? plot_confirm_avg : na, title="Multi-asset confirm (avg)", linewidth=1, style=plot.style_line)
// ========== LABEL MANAGEMENT ==========
var label lbl = na
if lead_detected and barstate.isconfirmed
if not na(lbl)
label.delete(lbl)
lbl := label.new(bar_index, plot_best_corr, text="Lead: " + lead_direction_text + " lag:" + str.tostring(best_lag) + " corr:" + str.tostring(best_corr, "#.##"),
style=label.style_label_left, color=color.new(color.green, 75), textcolor=color.white, size=size.small)
// ========== ALERTS ==========
alertcondition(lead_detected and best_dir == 1, title="NDX leads SPX detected", message="NDX leads SPX — lag: {{plot_1}} corr: {{plot_0}}")
alertcondition(lead_detected and best_dir == -1, title="SPX leads NDX detected", message="SPX leads NDX — lag: {{plot_1}} corr: {{plot_0}}")
// ========== INFORMATION TABLE ==========
var table t = table.new(position.top_right, 1, 5, border_width=1)
if barstate.islast
table.cell(t, 0, 0, "Resolution: " + res)
table.cell(t, 0, 1, "Best corr: " + (na(best_corr) ? "na" : str.tostring(best_corr, "#.##")))
table.cell(t, 0, 2, "Best lag: " + (na(best_lag) ? "na" : str.tostring(best_lag)))
table.cell(t, 0, 3, "Direction: " + lead_direction_text)
table.cell(t, 0, 4, "Confirm avg: " + (na(confirm_avg) ? "na" : str.tostring(confirm_avg, "#.##")))
AbduTradingSystemA powerful automated script that integrates with Telegram/TradingView to deliver fast notifications, process events, and execute actions based on predefined conditions. Built with clean architecture and clear logic, it ensures stable performance and easy customization for all users.
sinyal Bot AlertsThis script is privately licensed and accessible by invitation only.
To access:
• Submit your TradingView username.
• Verification is provided via Telegram. • The license is individual; sharing and copying are prohibited.
Access will be granted to verified accounts within a maximum of 24 hours.
X-ray📌 X-ray is a microstructure tool that analyzes price structure based on volume distribution.
This indicator does not predict future price movements or provide buy/sell signals.
Instead, its purpose is to visually show price ranges where trading is concentrated or sparse during a specific period.
The script calculates the following structural elements:
POC (Point of Control)
VAH/VAL (Value Area High/Low)
HVN (High Volume Node)
LVN (Low Volume Node)
Value Area Box and Summary Table
All calculations are performed within the last N bars selected by the user and do not use future data.
■ Description of Unique Logic and Components
Volume-Based Price Structure Analysis
It collects closing prices and volume from recent data for a specified number of bars and derives the following elements:
POC (Point of Control)
The price range with the highest trading volume within the selected period. Because this area is where market participation is most active,
the price tends to retest or remain within this area.
This is not intended as a future prediction or signal,
but rather to illustrate the characteristic phenomenon that high-volume points can structurally act as "balance zones" in the market.
(Some traders describe the POC as "tending to act like a magnet" due to this market structural tendency.)
Value Area (VAH / VAL)
This is the price range encompassing a set percentage of total trading volume (default 70%).
This indicates a equilibrium zone where market participation was relatively high.
HVN (High Volume Node)
This is an area of high volume concentration,
a structurally dense point likely to have experienced a long market stay.
LVN (Low Volume Node)
This is a thin structural point with sparse trading volume,
a point likely to have experienced rapid price movements.
All of these elements are analytical tools for exploring and comparing market structural characteristics, not trading signals.
■ Visual Components
The indicator visually displays the following elements on the chart:
POC Line and Label
VAH/VAL Level
Value Area Box
HVN/LVN Highlight
Summary Table (POC, VAH, VAL Display)
■ User Input Description
Bars to Analyze
Value Area %
POC Line Color
VAH/VAL Line Color
Value Area Transparency
Enable HVN/LVN Detection
Number of Nodes to Show
Show Summary Table
Table Position
Each option controls the indicator's visual presentation and analysis scope and is not related to signal generation.
■ Repaint
Does not use future data
Calculations are only performed within the specified historical interval
Past bar values remain unchanged
Therefore, no repaint is performed.
However, during real-time bar progress, values are updated normally as the analysis interval moves.
■ Indicator Purpose
This tool is used to explore market structure based on volume distribution.
It helps observe whether volume is concentrated or sparse in a specific price range,
and what the structure might mean in the current market context.
■ Indicator Limitations
The tool does not perform the following:
It does not predict future price movements.
It does not provide buy or sell timing.
It does not guarantee any trading results.
The indicator simply provides structural reference information.
■ Limitations and Cautions
The indicator does not guarantee specific trading results.
Past volume structures may be interpreted differently depending on the situation.
It is best used as a supplementary structural analysis tool, not as a sole decision-making tool.
It is recommended to use it in conjunction with other analytical techniques.
■ Technical supplementary explanation of the 'magnet effect' of POC
POC is the most heavily traded area in the market,
which indicates that the price range has been a point of equilibrium among market participants.
As a result,
■ Price movements that retest or converge to this area may be observed.
This is a structural trend that occurs because it's the price range where supply and demand intersect most actively.
■ However, this is a statistical trend or a characteristic of market structure and does not guarantee future direction.
Therefore, the expression Therefore, the expression "tends to move like a magnet" is a term used by some traders to describe the structural flow of the market, and should not be taken with absolute certainty.
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.
AUTOSTDVThis indicator plots Standard Deviation projections to help traders with top ticking and bottom ticking market reversals. It automatically identifies market structure to draw both Manipulation and Distribution legs.
The script uses a custom algorithm to detect Major Highs and Major Lows based on pivot relationships. Once a major reversal is confirmed (via a break of a prior small pivot structure), the indicator calculates the standard deviation of the "Manipulation Leg" (the move leading into the pivot) and the "Distribution Leg" (the initial move away from the pivot) to project exhaustion targets.
**Features:**
* **Dual Leg Analysis:** Visualizes both the setup phase (Manipulation) and the expansion phase (Distribution).
* **Dynamic Settings:** automatically adjusts calculation lengths based on the timeframe to filter noise.
* **Timeframe Specific:** This indicator is optimized and restricted to work on the following timeframes: **5m, 15m, 30m, 1h, 2h, and 4h**.
* **Clean Visuals:** Hides raw pivot data to focus purely on the projection levels.
**Disclaimer:** I am not liable for any losses or financial damages resulting from the use of this indicator. Trading involves significant risk, and this tool is for educational purposes only. Past performance is not indicative of future results.
HoneG_ヒゲヒゲ067ALT_v3HigeHigeV3 is a tool that displays the wick ratio for one-touch trading on The Option.
Try applying it to your preferred chart, whether it's a 1-minute chart or a 15-second chart.
ザオプションのワンタッチ取引向けにヒゲ比率を表示するツール ヒゲヒゲV3 です。
1分足チャートでも、15秒足チャートでも、お好きなチャートに適用してお試しください。
Divergence+This powerful, highly customizable divergence detector helps traders spot high-probability reversal and continuation signals with exceptional clarity and precision.
Built on robust zigzag pivot analysis, the indicator identifies classic and hidden divergences between price action and your chosen oscillator (RSI, CCI, Stochastic, MFI, and more — or any external oscillator). It draws clean connecting lines and marks pivots with simple "D" (regular divergence) or "H" (hidden divergence) text labels, making potential trend changes or continuations instantly visible.
Key Features That Make It a Trader's Essential Tool:
Dual-Pane Visualization: Always displays divergences clearly in the oscillator pane, with optional overlay on the main price chart (candles) for context without clutter.
Fully Independent Controls: Toggle lines and labels separately on the price chart — show text-only markers for a minimalist setup, or full lines + labels when needed.
Complete Visual Customization: Adjust colors for every element (oscillator line, divergence lines, and label text) directly from settings. Resize labels independently for the oscillator pane and price chart (tiny for subtlety or large for emphasis).
Smart Alerts: Configurable alerts for bullish/bearish regular and hidden divergences — never miss a setup.
Repainting Option: Choose real-time repainting for faster signals or confirmed pivots for delayed but rock-solid entries.
Flexible Trend Detection: Use zigzag-based, moving average, or external trend signals to accurately classify regular vs. hidden divergences.
Clean & Minimal Design: Text-only labels (no bulky shapes) keep your chart uncluttered while highlighting key pivots.
Whether you're hunting reversals in ranging markets, confirming trend continuations, or fine-tuning entries on higher timeframes, this screener delivers professional-grade divergence analysis with unmatched flexibility. Perfect for day traders, swing traders, and anyone who wants precise, actionable signals without overwhelming visuals.
A must-have tool for elevating your technical analysis game.
IQRIQR Indicator — Simple Notes
Standard IQR: Q1, Q3, IQR = Q3–Q1, bands = Q3 ± 1.5×IQR.
IQR uses last len bars (default 60).
Display uses last N calendar days (default 60), not N bars.
Shows only the recent N-day window unless custom dates are enabled.
With overlay=true, all lines stay on the price axis and scale with candles.






















