Multi-Indicator Confluence Strategy Automator [MarkitTick]💡 A comprehensive, multi-dimensional technical analysis suite engineered to evaluate market conditions through a rigorous synthesis of trend, momentum, volatility, and cross-asset correlation metrics. Designed for traders who require a systematic approach to market entry and risk management, this script aggregates signals from multiple proven indicators and applies advanced statistical filters to minimize false positives. By unifying foundational technical analysis with advanced mathematical concepts like the Hurst exponent and momentum inflation, this tool provides a highly objective, data-driven environment for evaluating market structure and defining structured trade parameters.
✨ Originality and Utility
Standard trading methodologies often rely on isolated indicators, which can lead to high failure rates in dynamic market environments. The originality of this script lies in its robust confluence engine, which demands simultaneous alignment across multiple independent market dimensions before generating a signal.
Instead of merely stacking moving averages, this suite integrates a strict Boolean gating system that evaluates:
A primary directional baseline derived from a Hull Moving Average combined with an Average True Range volatility buffer.
A directional movement and momentum confirmation matrix utilizing the Average Directional Index and Commodity Channel Index.
Dynamic volume filtering to ensure market participation supports the price action.
Advanced statistical gating mechanisms, including confluence decay, regime detection, and cross-asset correlation analysis.
This utility is exceptionally valuable for systematic traders, as it translates complex, multidimensional market data into a highly legible, unified dashboard while automatically projecting risk-adjusted stop-loss and take-profit levels dynamically based on current market volatility.
🔬 Methodology and Concepts
● The Confluence Engine
The core of this strategy revolves around a scoring system that evaluates bullish or bearish alignment. A valid signal requires a minimum confluence score, calculated by assessing the following core components:
• Baseline Trend
The script utilizes a Hull Moving Average to determine the primary market bias. To eliminate noise, a volatility buffer equivalent to a fraction of the Average True Range is applied, ensuring that only definitive breakouts beyond the baseline are considered valid directional shifts.
• Directional Movement (ADX/DMI)
The first confirmation layer relies on the Average Directional Index alongside the Directional Movement Indicators. A trend is only considered active if the ADX exceeds a user-defined threshold, and the relationship between the positive and negative directional indicators defines the bias.
• Momentum Oscillators (CCI)
The second confirmation layer employs the Commodity Channel Index to measure the current price level relative to an average price level over a given period. Bullish or bearish confirmation requires the CCI to pierce specific upper or lower thresholds.
• Volume Validation
A volume filter ensures that signals are backed by significant market interest. The current period's volume must exceed a rolling exponential moving average of historical volume, multiplied by a strict sensitivity factor.
• Advanced Gating Filters
Confluence Decay: A time-based penalty system that degrades the value of a signal if the confluence state persists for too long without triggering an entry, preventing late entries into exhausted trends.
Hurst Regime Detector: Classifies the market as trending or mean-reverting, gating signals that conflict with the overarching statistical regime.
Momentum Inflation Ratio: Normalizes current price velocity against historical volatility to detect and filter out exhaustion spikes.
Cross-Asset Lead-Lag: Computes the Pearson correlation against a secondary asset to confirm macroeconomic or sector-wide alignment before entry.
🎨 Visual Guide
The script employs a highly intuitive visual hierarchy designed to keep the chart clean while providing maximum data density.
● Chart Elements
• Heatmap Candles
The standard price candles are color-coded based on the baseline trend state. Bullish bars are colored a vibrant teal, bearish bars are marked in a distinct red, and neutral states default to a muted slate blue. This visual heuristic allows traders to instantly recognize the dominant market regime without processing raw numerical data.
• Signal Markers
When all confluence conditions and advanced gates are met, the script plots distinct entry markers: small upward-pointing triangles below the bar for long signals, and downward-pointing triangles above the bar for short signals.
• Risk Management Levels
Upon a confirmed signal, the script dynamically draws horizontal lines representing the trade parameters:
Entry Line: A dashed, neutral-colored line projecting the exact trigger price.
Stop Loss (SL): A dashed, red line projected against the trend based on a multiple of the Average True Range.
Take Profit (TP1, TP2, TP3): Three dotted, green lines representing scaled exit targets, dynamically calculated using expanding volatility multiples.
Each line is accompanied by a precise price label anchored to the right side of the chart.
● The Information Dashboard
A comprehensive table is anchored to the top right of the screen. It displays the real-time status of the Baseline, Confirm 1, Confirm 2, Volume, Exit status, and the aggregate Score. Furthermore, it outputs the exact values for ADX, ATR, Decay Age, Hurst Exponent, Momentum Inflation, Baseline Distance-Integral, and Lead-Lag Correlation, using a color-coded text system (Green for bullish/favorable, Red for bearish/unfavorable, Yellow for warnings).
📌 Note : the best way to resolve visual overlap is to navigate to the Object Tree and drag the indicator above the main chart layer, or simply hide the native candles in your chart settings.
📖 How to Use
● Interpreting Signals
Traders should monitor the chart for the appearance of the signal triangles. Because the script utilizes a strict minimum gap requirement between signals, traders will not be overwhelmed by repetitive alerts during a sustained trend.
● Executing Trades
Once a signal appears, the script automatically projects the optimal Entry, Stop Loss, and three Take Profit levels on the chart. Traders can use these exact price labels to populate their exchange order tickets or algorithmic routing software.
● Managing Positions
The built-in Exit Indicator, driven by a faster CCI calculation, will trigger an alert when counter-trend momentum builds, providing an objective reason to manually close or trail stops on an active position before the hard stop loss is hit.
● Dashboard Monitoring
Use the dashboard table to gauge the overall health of the trend. If the Confluence Score drops or the Confluence Decay percentage reaches high levels, it is highly advisable to tighten stops on existing positions, as the mathematical probability of trend continuation has diminished.
⚙️ Inputs and Settings
● Core Indicator Tuning
Baseline HMA Length: Adjusts the sensitivity of the primary trend filter.
ADX/DMI Length & Threshold: Defines how strong a trend must be to pass the first confirmation gate.
CCI Length & Threshold: Sets the momentum required for the second confirmation gate.
Volume RMA Length & Multiplier: Configures the strictness of the volume participation filter.
● Risk Parameters
ATR Length: The lookback period for volatility measurement.
SL ATR Mult: The multiplier applied to the ATR to define the stop-loss distance.
TP1, TP2, TP3 ATR Mult: The multipliers defining the three scale-out profit targets.
● Advanced Filter Settings
Confluence Decay: Toggles the time penalty system and defines the maximum bars before full decay.
Hurst Regime Detector: Toggles regime filtering and sets the threshold for trending vs. mean-reverting environments.
Momentum Inflation Ratio: Toggles velocity normalization and sets the threshold ratio for exhaustion alerts.
Cross-Asset Lead-Lag: Defines the correlation ticker, correlation lookback window, and minimum Pearson threshold.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Rescaled Range Analysis and the Hurst Exponent
This script integrates a specialized implementation of the Hurst Exponent, a statistical measure originally developed in hydrology, to classify financial time series data. It calculates the cumulative deviation of the asset's price from its Simple Moving Average over a defined rolling window. By identifying the maximum and minimum cumulative deviations, the script establishes the range, which is then normalized against the standard deviation of the price series to compute the rescaled range ratio. The final Hurst value is derived logarithmically. A value significantly greater than 0.5 mathematically confirms a persistent, trending regime, while a value below 0.5 indicates an anti-persistent, mean-reverting environment.
● Momentum Inflation via Volatility Normalization
The script tackles the academic problem of momentum illusion, where sheer point movement is mistaken for structural momentum, by normalizing absolute price speed against the Average True Range. It then compares this normalized current velocity against a rolling historical average of normalized velocity. If the resulting ratio exceeds the user-defined threshold, the script identifies the movement as mathematically over-extended, gating further entries to prevent buying the top or selling the bottom of a volatility spike.
● Cross-Asset Correlation Dynamics
To account for macroeconomic interconnectedness, the script employs a rolling Pearson correlation coefficient between the primary asset and a defined leading indicator. By analyzing the covariance of the two assets relative to the product of their standard deviations over a specific window, it mathematically verifies if the broader sector or macroeconomic environment supports the localized signal.
● Distance-Integral Calculations
The Baseline Distance-Integral utilizes a rolling mathematical sum of the spatial delta between the closing price and the moving average. This integral provides a quantifiable area-under-the-curve measurement, offering deeper insight into the cumulative kinetic energy of a trend rather than relying solely on point-in-time cross signals.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. อินดิเคเตอร์

Bollinger Squeeze Breakout + VolumeA volatility contraction often precedes a volatility expansion. When Bollinger Bands narrow significantly, it signals that the market has entered a period of low energy, and low energy rarely lasts. This strategy is built around that principle: it waits for a genuine squeeze, then enters only when price breaks out of the bands with volume confirming that the move has real participation behind it, not just noise.
The logic
A squeeze is identified when the Bollinger Band width (the distance between the upper and lower bands relative to price) falls below its own recent average,meaning volatility is unusually compressed compared to the recent past. Once that condition is met, the strategy watches for price to close outside either band. A long entry triggers when price closes above the upper band during a squeeze, confirmed by volume exceeding its 20-period average. A short entry triggers under the mirrored condition on the lower band. Stops and targets are based on ATR, since the appropriate distance for both should scale with the market's actual movement at the time of entry, not a fixed number.
This approach tends to filter out the false breakouts that occur during already-volatile, choppy conditions, since the entry only fires after a genuine period of compression, which is when breakouts have historically had more follow-through.
Notes on use
The squeeze threshold and lookback length are the two inputs worth tuning per instrument, a 50-period lookback works reasonably well on daily and 4-hour charts, but lower timeframes may benefit from a shorter lookback to react faster to genuine volatility shifts. As with any breakout strategy, backtest across both trending and range-bound periods before drawing conclusions, since this approach is built specifically to perform during regime transitions and may underperform in markets that stay range-bound for extended periods without ever truly compressing.
This is shared for educational and discussion purposes. As always, backtest thoroughly on your own instruments and timeframes, and treat this as a starting framework rather than a finished system. Feedback and variations are welcome in the comments. กลยุทธ์

MACD Trend Continuation Filter [algo_aakash]MACD Trend Continuation Signals with Trend Strength and Session Validation is a trend-following indicator designed to reduce false MACD crossover signals by requiring confirmation from market direction, trend strength, and trading session activity before generating a signal.
Instead of treating every MACD crossover equally, the indicator applies a sequential validation process so that signals are only produced when momentum develops in the direction of the prevailing trend during active market sessions.
Problem Statement
Standard MACD crossover strategies often generate numerous signals during ranging markets, weak trends, or periods of reduced market participation. While many of these crossovers satisfy the basic MACD conditions, they frequently lack the broader context needed to support a higher-probability continuation move.
This indicator addresses that issue by combining momentum, trend direction, trend strength, and session timing into a single validation workflow. The objective is not to increase the number of signals, but to improve their selectivity by filtering out conditions that commonly produce lower-quality entries.
Methodology
The indicator evaluates each setup through four consecutive validation stages.
Stage 1 – Momentum Trigger
The process begins with a traditional MACD crossover.
A bullish setup requires the MACD line to cross above the signal line while both remain below the zero line, indicating that bullish momentum is emerging from previously negative momentum.
A bearish setup requires the MACD line to cross below the signal line while both remain above the zero line, indicating weakening bullish momentum before potential downside continuation.
Stage 2 – Trend Direction
After a valid MACD crossover is detected, price location relative to the selected EMA determines the higher-level trend.
Long signals require price above the EMA.
Short signals require price below the EMA.
This prevents taking counter-trend MACD crossovers.
Stage 3 – Trend Strength
The indicator then evaluates ADX.
Signals are only accepted when ADX exceeds the user-defined threshold, indicating that directional movement has sufficient strength. When enabled, this filter attempts to reduce signals generated during low-volatility consolidation periods.
Stage 4 – Session Validation
Finally, signals are restricted to the selected trading sessions.
By default, only London and New York sessions are considered valid. These periods generally coincide with higher market participation and increased liquidity compared with quieter trading hours.
Only when all four stages agree is a signal plotted.
Signal Workflow
Bullish Signal
MACD crosses above its signal line.
MACD remains below zero.
Price trades above the EMA trend filter.
ADX exceeds the minimum strength threshold (optional).
The current bar occurs during an enabled trading session (optional).
A bullish signal is displayed.
Bearish Signal
MACD crosses below its signal line.
MACD remains above zero.
Price trades below the EMA trend filter.
ADX exceeds the minimum strength threshold (optional).
The current bar occurs during an enabled trading session (optional).
A bearish signal is displayed.
Why This Indicator Is Different
Many MACD-based scripts generate signals immediately after every crossover.
This indicator instead applies a layered validation process where each filter serves a distinct analytical purpose:
MACD identifies the momentum shift.
The EMA confirms the broader directional bias.
ADX measures whether the market is exhibiting sufficient directional strength.
The session filter limits signals to predefined periods of higher market activity.
Rather than operating as independent indicators displayed together, these components form a sequential decision process where each stage must validate the previous one before a signal is produced.
Inputs
The indicator allows customization of:
MACD fast, slow, and signal periods
EMA length
ADX length
Minimum ADX threshold
London session
New York session
Enable/disable ADX filtering
Enable/disable session filtering
Alerts
Built-in alert conditions include:
Bullish Signal
Bearish Signal
Alerts trigger only after all enabled validation stages have been satisfied.
Practical Usage
The indicator is intended for traders who prefer trading with the prevailing market direction rather than reacting to every MACD crossover.
Because multiple filters must align, signal frequency is intentionally lower than a standard MACD indicator. Traders may use the signals alongside their own price action analysis, support and resistance levels, or risk management rules.
Limitations
Signals are generated only after bar confirmation.
Strong trends may still produce losing trades during rapid market reversals.
Session filtering may exclude valid opportunities occurring outside the selected trading hours.
ADX measures trend strength but does not indicate future price direction.
The indicator is designed as a confirmation tool and should not be relied upon as the sole basis for trading decisions.
Notes
This script is intended for educational and analytical purposes. It visualizes a structured validation process that combines momentum, trend direction, trend strength, and trading session timing into a single signal-generation workflow. As with any technical indicator, outputs should be evaluated within a broader trading plan that includes appropriate risk management. อินดิเคเตอร์

All In One#ALL IN ONE. This was developed to take into account all major functions which influence the price and trying to detect trend and reversal as early and as accurately as possible. It takes into account pretty much everything except the options influence and delta. This one tool combined with options data is very powerful. Weeks worth of backtesting has helped to refine this and make it better.
" THIS IS INTENDED FOR DAILY TIMEFRAME"
This is a multi-layered trading indicator that combines market structure analysis, volume profiling, momentum scoring, early reversal detection, and a regime-aware quality grading system into one tool. Here's everything it measures and why each piece matters.
### 1. Market Structure (BOS / CHoCH)
Tracks pivot highs/lows at a configurable length and detects when price breaks structure — a **Bull CHoCH** (Change of Character) when price crosses above the last swing high while not already in an uptrend, and the mirror for bear. Each break also auto-draws an **Order Block** (the last opposing candle before the move) which stays active until "mitigated" (price trades back through it). This tells you where institutional footprints likely sit and whether the prevailing trend has structurally shifted.
### 2. Internal Structure (iBOS / iCHoCH)
Same logic as above but on a tighter pivot length, capturing minor/internal structure shifts inside the larger trend — useful for spotting early continuation or internal pullback completion before the major structure reacts.
### 3. Fair Value Gaps (FVG)
Detects 3-candle price voids (`low > high ` for bull, `high < low ` for bear) and boxes them as unmitigated liquidity/imbalance zones. They persist until price trades back through the gap, marking areas the market is statistically likely to revisit.
### 4. Premium / Discount Zones
Splits the current swing range at its midpoint (equilibrium) and labels price as trading in Premium (expensive, sell-side bias) or Discount (cheap, buy-side bias)
### 5. Multi-Timeframe Trend (1H / 4H / 1D)
Independently calculates SMC trend direction on three timeframes using `request.security`, giving you confluence/alignment confirmation rather than relying on a single timeframe's noise.
### 6. Volume Analysis Suite
Includes relative volume vs. a moving average, up/down volume ratio (50-bar cumulative buy vs. sell pressure), VolBuzz (% above/below average), and HVE/HV1 tagging (highest volume ever / highest in the past year) — flags genuine institutional participation vs. routine volume.
### 7. Momentum Score (0-100)
A weighted composite of RSI, EMA stack position, MACD histogram, volume-confirmed candle strength, and body-size-vs-ATR — condensed into a single normalized score so you don't have to read five separate oscillators.
### 8. Early Reversal Detection Engine
The most complex subsystem — combines RSI divergence, liquidity sweeps, wick rejection, volume climax, ATR-extension snapbacks, Williams %R hooks, and MTF trend agreement into a weighted 0-100 reversal score, with cooldowns and CHoCH-based filters to avoid fighting strong trends. Flags both "Early" and "Strong" reversal grades.
### 9. Relative Strength (RS) vs. Benchmarks
Compares the symbol's performance against SPY, QQQ, and a sector ETF (e.g., XLK) over a lookback window — tells you if you're trading a leader or a laggard relative to the market.
### 10. Regime Detection
Classifies the current environment as Bull Trend, Bear Trend, Compression, Expansion, or Range/Chop using MTF trend alignment plus Bollinger Band-width contraction/expansion — context that changes how every other signal should be interpreted.
### 11. Quality Score (the regime-aware grading system we just built)
This is the unifying layer — it takes Trend, Structure, Liquidity/Trend-Health, Volume/Trend-Momentum, Momentum, RS, and Candlestick sub-scores and combines them into a single 0-100 grade (A+ Setup → Avoid). Critically, it **switches scoring logic** depending on whether the market is in a clean trend (rewards trend health and sustained pressure) or a setup/chop phase (rewards sweep + discount + volume climax entry conditions) — so the same dashboard works whether you're trend-following or hunting reversals.
### 12. Dual Dashboard Display
One table gives you the full multi-timeframe/volume/momentum snapshot at a glance; the second breaks down exactly how the quality score was built, sub-score by sub-score, so you can see *why* a setup is graded the way it is rather than trusting a black-box number.
---
### Why it's a full package
Most retail indicators give you structure or FVGs or volume — rarely all of them reconciled into one coherent decision layer. This tool's real value is that the **quality score forces every other module to agree before it tells you something is good** — trend, structure, liquidity, volume, momentum, and relative strength all have to contribute, and the regime switch stops the score from unfairly penalizing a healthy trend just because it doesn't look like a textbook reversal setup. It's built to answer one practical question — "is this actually a good trade right now, and why" — using everything else in the script as supporting evidence rather than standalone signals you'd have to mentally reconcile yourself.
## Operating Notes: Interpreting Reversal Signals in Strong Trends
When multiple timeframe and momentum readings align in one direction, confirm volume support on the lower timeframes (4H and 1H Vol Buzz) before acting on a reversal signal. A reading above +25% on those timeframes adds meaningful confirmation.
Case Study: A High-Score Signal That Failed to Reverse the Trend
In late September, the indicator fired an Early Bear Reversal at a score of 85/100. Price nonetheless continued making higher highs through November and December. Reviewing the dashboard at the signal bar: all three SMC timeframes (1H, 4H, 1D) were Bullish, the Momentum Score read 84/100 (Strong Bull), and RSI stood at 72. Every component of the bear reversal score was technically valid — the engine correctly identified local exhaustion. But local exhaustion within a strong trend typically resolves as a brief pause or shallow pullback, not a structural reversal.
Principles for Evaluating Reversal Signals
A high reversal score indicates conditions for a reversal, not a confirmed trend change. The score reflects exhaustion, not capitulation. In a strong uptrend, even a textbook bear setup often resolves as a 2–5% pullback before the primary trend resumes.
Multi-timeframe alignment is the primary filter. When 1H, 4H, and 1D structure are all bullish, bear reversal signals should be treated with significant skepticism. At minimum, the 4H or 1D trend should flip bearish before a bear reversal signal carries real weight.
RSI divergence loses reliability in strong trends. RSI can remain overbought for extended periods during sustained moves. Divergence frequently fires early and is repeatedly overridden by continued price advance, leading to premature short entries or unwarranted exits from long positions.
ATR band position is a key qualifier. A reversal signal carries limited weight if price is only touching the inner or outer band edge. The signal gains weight when price has pushed deep into the outer ATR zone (Band 2) and begins closing back inside it — indicating an actual mean-reversion event rather than ordinary extension.
Momentum Score should be deteriorating, ideally below 50, before a bear reversal is trusted. A reading of 84/100 indicates the underlying trend engine remains fully intact. A credible reversal candidate shows momentum already declining over several bars, not holding at trend-strength levels.
Vol Buzz and U/D Ratio confirm whether genuine selling pressure is present. A bear reversal signal has substantially more weight when accompanied by elevated Vol Buzz on down candles and a U/D ratio below 0.8. Absent that confirmation, the apparent reversal more likely reflects a temporary pause in buying rather than active distribution.
Structural confirmation is required before acting. A reversal score fires on a single bar, but a credible reversal requires confirmation through an actual structure break — at minimum a Bear CHoCH on the 4H or Daily timeframe. Until that print occurs, the prevailing trend remains intact and reversal signals should be treated as alerts to monitor rather than instructions to trade.
Summary Framework
A high reversal score functions as an early warning, not an entry trigger. It indicates that conditions are favorable for a reversal — comparable to a weather forecast calling for a storm that does not always materialize. Confirmation should be sought through structural breaks, volume validation, or multi-timeframe alignment before any position is taken against the prevailing trend. As a standing rule: do not take a position against a strong, multi-timeframe-confirmed trend on the strength of a single reversal signal, regardless of score. Wait for a second signal or for structure to break first. อินดิเคเตอร์

ZH Market FilterBackground coloring (the core filter) paints the chart by market regime, based on Qullamaggie's MA idea. It compares a fast MA (10) and slow MA (20), and checks whether each is trending up versus 5 bars ago:
* Dark green — 10 above 20, both trending up (strongest)
* Light green — 10 above 20, only the 10 trending up (early/weakening)
* Yellow — 10 above 20, neither trending up (stalling)
* Black — anything else (downtrend or chop)
Plotted lines: the 10-MA (red) and 20-MA (black), plus three toggleable reference SMAs — 50 (blue), 100 (orange), 200 (purple).
Range-bound override lets you mark a consolidation manually. You enter four things: Range Top, Range Bottom, Start Date, and Range Color. From the start date forward, the background paints your chosen color — overriding the MA coloring — because you've called it range-bound. It ends automatically on the first candle that closes above the top or below the bottom, then reverts to the normal MA coloring for good. It's one range per start date (move the date forward to mark a new one), and it triggers on closes, not wick pokes.
Metrics table (top-right) shows two readouts, pulled exactly from your ZH indicator:
* QQQ — QQQ's daily % change
* BRD — breadth, calculated as (new highs − new lows) / new lows × 100 from ATHI.US and ATLO.US
Labels are white; values are green when positive, red when negative.
A few practical notes: it's Pine v6, the metrics need ATHI.US/ATLO.US data on your plan (they work in your ZH script, so you're set), and if you leave the range prices at 0 it simply won't paint — no more flattened chart. One thing to keep in mind on the range start date: it has to be a date that exists on the chart, not in the future, or nothing paints. อินดิเคเตอร์

EMA DistanceIntroduction
EMA Distance is a simple trend analysis indicator that measures how far the current price is trading from an Exponential Moving Average (EMA).
While an EMA helps identify the prevailing market trend, it does not indicate whether price is trading close to its average value or has extended significantly away from it. EMA Distance addresses this by expressing the difference between price and the EMA as a percentage, providing a normalized view of price extension.
The indicator is displayed as a histogram centered around a zero line, making it easy to distinguish whether price is trading above or below the selected EMA.
How It Works
The indicator first calculates an Exponential Moving Average using the selected EMA Length.
It then measures the percentage distance between the current closing price and the EMA using the following calculation:
EMA Distance = ((Close − EMA) / EMA) × Scale Factor
Positive values indicate that price is trading above the EMA.
Negative values indicate that price is trading below the EMA.
Larger positive or negative values indicate that price is moving further away from its average, while values closer to zero suggest that price is trading near the EMA.
Key Features
Percentage-Based Measurement
EMA Distance expresses the difference between price and the EMA as a percentage, making the indicator applicable across different markets and price levels.
Quick Trend Bias
The zero line immediately shows whether price is trading above or below the selected EMA.
Monitor Price Extension
Large positive or negative values may indicate that price has moved significantly away from its average and could be approaching a temporary overextended condition.
Lightweight and Fast
The indicator uses a simple calculation that is suitable for all markets and timeframes.
Interpretation
Above Zero
Positive values indicate that price is trading above the EMA, suggesting bullish market conditions.
The larger the value, the further price has moved above its average.
Below Zero
Negative values indicate that price is trading below the EMA, suggesting bearish market conditions.
Increasingly negative values reflect greater downside extension.
Near Zero
Values close to zero indicate that price is trading near the EMA.
This often occurs during consolidations, pullbacks, or periods of reduced momentum.
Expanding Distance
When the histogram continues moving away from zero, price is increasing its distance from the EMA.
This may reflect strengthening momentum but can also indicate that the market is becoming increasingly extended.
Contracting Distance
When the histogram moves back toward zero, price is returning closer to its average.
This often occurs during pullbacks, consolidations, or weakening trends.
Alert Conditions
The indicator includes two built-in alert conditions:
Price Crossed Above EMA
- Triggered when the EMA Distance crosses above zero, indicating that price has moved above the selected EMA.
Price Crossed Below EMA
- Triggered when the EMA Distance crosses below zero, indicating that price has moved below the selected EMA.
These alerts help traders monitor changes in market bias without continuously watching the chart.
Example Applications
- Identifying bullish or bearish market bias.
- Measuring how far price has extended from the EMA.
- Monitoring pullbacks toward the moving average.
- Comparing trend extension across different markets and timeframes.
- Supporting trend-following strategies by observing price location relative to the EMA.
Notes
EMA Distance is designed as a market context indicator rather than a standalone trading system.
A large distance from the EMA does not necessarily indicate an immediate reversal. Strong trends can remain extended for prolonged periods before retracing.
For best results, combine EMA Distance with price action, support and resistance, and other trend analysis techniques to better understand overall market conditions.
EMA Distance provides a simple way to visualize how far price has moved from its average, helping traders evaluate trend extension, market bias, and potential pullback opportunities. อินดิเคเตอร์

Sessionscope [Quantum Algo]Sessionscope is a time-based ICT killzone tool that plots the four primary intraday
killzones, projects the liquidity each one creates, and then measures what happens after
that liquidity is taken. It is built for traders who use Smart Money / ICT concepts and
want session context plus a quantified read on how each killzone behaves on their specific
instrument.
It is not a buy/sell signal system. It is a context and statistics tool.
WHAT IT PLOTS
- Four killzone range boxes, each with its high, low and equilibrium (50%) level.
- Forward-projected session liquidity: each closed killzone's high as buy-side liquidity
(BSL) and its low as sell-side liquidity (SSL).
- Liquidity sweep marks, recolored by outcome (reversal vs continuation).
- The New York midnight open (00:00 ET) as a daily reference line.
- A statistics dashboard summarizing each killzone over the full chart history.
THE FOUR KILLZONES
Default windows, in New York time (America/New_York):
- Asia 20:00 - 00:00
- London Open 02:00 - 05:00
- New York AM 07:00 - 10:00
- London Close 10:00 - 12:00
These are the conventional ICT killzone windows. Because the timezone is anchored to
America/New_York rather than a fixed UTC offset, the windows automatically follow US
daylight saving (EST/EDT) and stay aligned year-round. All four windows, names and colors
are fully editable, so you can shift them, repurpose one (for example to a New York PM or
Silver Bullet window), or adapt the New York window to index timing (08:30 - 11:00) if you
trade futures rather than forex.
SESSION LIQUIDITY (BSL / SSL)
While a killzone is open, the box tracks its developing high and low in real time. When the
killzone closes, those extremes are frozen and projected forward as horizontal liquidity
levels - the high as buy-side liquidity, the low as sell-side liquidity - and extended until
the next instance of that same session. A sweep is registered when price trades through a
projected level (a wick or close beyond the high, or beyond the low). The level can be frozen
at the moment of the sweep to keep the chart clean.
SWEEP OUTCOME ENGINE (the core idea)
Marking a sweep is common. Sessionscope goes further and classifies the outcome of every
sweep:
- High sweep -> REVERSAL if price closes back below the swept high within a configurable
number of bars; otherwise CONTINUATION.
- Low sweep -> REVERSAL if price closes back above the swept low within that window;
otherwise CONTINUATION.
A reversal is the classic ICT liquidity-grab outcome (the level is run, then rejected). A
continuation means the level broke and held (a genuine expansion). Each sweep mark is
recolored to its resolved outcome, and the result feeds the Rev% statistic below. This turns
the qualitative liquidity-grab premise into a measured, per-session number.
NEW YORK MIDNIGHT OPEN
The first traded price after 00:00 America/New_York is captured each day and drawn as a
horizontal reference for that session - a level many ICT traders use as a daily equilibrium
anchor. It is fixed once printed and does not move.
STATISTICS DASHBOARD
For each enabled killzone, accumulated over the entire visible chart history:
- Avg Rng : average high-to-low range of the session, in price.
- xATR : that average range expressed as a multiple of the daily ATR(14), so you can see
which killzone expands most relative to typical daily volatility.
- Swept% : how often the session's liquidity is taken - the share of its high and low
levels that get swept before the session next reopens.
- Rev% : of the sweeps that occurred, how often price reversed back inside the range
(a grab) rather than continuing through (a breakout).
- Bias% : share of sessions that closed above their open (directional tendency).
- n : number of completed sessions in the sample.
Read together, Swept% and Rev% answer two distinct questions: how often does this killzone's
liquidity get run, and when it does, how often does it snap back? Bias% and xATR add the
session's directional lean and its size relative to the day.
HOW IT WORKS (calculation notes)
- Sessions are detected with Pine's time/session function in the chosen timezone; the box
high/low are running extremes of the bars inside each window.
- The daily ATR used for xATR is requested from the 1D timeframe using an offset expression
with lookahead disabled, so it is fully confirmed and constant intraday (no lookahead bias).
- Sweep outcomes are evaluated only on confirmed price relative to fixed, already-closed
levels.
- Statistics are accumulated over the full chart history independently of what is drawn.
- To keep the price scale anchored to current price, only a configurable number of recent
sessions of boxes and levels are kept on the chart (older drawings are removed); this does
not affect the statistics, which always use full history.
WHAT MAKES IT DIFFERENT
Most session and killzone tools stop at colored boxes, session highs/lows, midpoints and a
basic range table. Sessionscope adds the outcome layer: it does not just show that liquidity
was swept, it measures whether each session's sweeps tend to reverse or continue, and colors
them accordingly. The Rev% metric, combined with Swept%, is the part that goes beyond a
standard session-range tool.
SETTINGS
Grouped for clarity: Timezone; Sessions / Killzones (per-session enable, name, window,
color); Box & Level Visuals (boxes, fills, high/low, equilibrium, labels, history cap);
Session Liquidity & Sweeps (projection, sweep marks, freeze-on-sweep, line style, reversal
window, outcome coloring); New York Midnight Open; Statistics Dashboard (position, size);
and Alerts.
HOW TO USE
- Apply on an intraday timeframe; 1m to 1h work best (5m or 15m for clean session structure).
- Mark your higher-timeframe bias first, then use the killzone windows to time entries.
- When a killzone level is swept, read the outcome color and that session's historical Rev%
to gauge whether a reversal back inside the range is the higher-probability path.
- Use xATR to see which session is statistically the most active on your instrument, and
Bias% for its directional lean.
REPAINTING
Boxes and the live high/low update in real time while the current session is forming - this
is expected real-time behavior, not lookahead. Once a session closes, its levels are fixed;
sweeps are detected on price crossing those fixed levels; and an outcome, once resolved on a
closed bar, does not change. No lookahead is used anywhere in the script.
CONCEPTS AND CREDIT
The concepts used here - killzones, buy-side and sell-side liquidity, liquidity sweeps, the
midnight open, and premium/discount equilibrium - originate with the Inner Circle Trader
(Michael J. Huddleston) and the wider Smart Money Concepts / price-action community, where
they are taught and discussed openly. The session window defaults follow the killzone times
commonly used by that community. All code in this script - the session detection, liquidity
projection, sweep-outcome classification and statistics engine - is written independently and
reuses no third-party code. It is published open-source so anyone can read, verify and modify
it under TradingView's House Rules.
DISCLAIMER
This script is provided for educational and informational purposes only. It is not financial,
investment or trading advice, and it does not produce buy or sell recommendations. All
statistics are descriptive measurements of historical data on the current chart and do not
predict future price behavior; past behavior of a session or level does not guarantee future
results. Trading involves substantial risk of loss. You are solely responsible for your own
decisions and risk management. Test any tool thoroughly on your own markets and timeframes
before relying on it. อินดิเคเตอร์

Asian & London Session Highs/LowsDescription:
This indicator automatically detects and plots the highest and lowest price points of the Asian and London trading sessions. It is designed specifically for day traders, particularly those using Smart Money Concepts (SMC), Inner Circle Trader (ICT) methodologies, or classic Price Action strategies, who rely on session liquidity and daily market structure.
Session highs and lows act as major liquidity pools. A common trading concept involves waiting for the London or New York session to sweep the Asian session liquidity (High or Low) before anticipating a reversal or a strong trend continuation. This tool visually highlights these crucial levels directly on your chart, saving you time and keeping your analysis precise.
Key Features:
1. Accurate High/Low Detection: Pinpoints the exact highest and lowest wicks within your defined session windows.
2. Fully Customizable Session Times: Adjust the start and end times for both the Asian and London sessions directly from the indicator settings. Perfect for isolating specific timeframes like the "Asian Killzone".
3. Native Timezone Support: Built with Pine Script v6, it handles timezones flawlessly. You don't need to do any complex UTC math—just input your session string (e.g., 0000-0800) and the indicator does the rest.
4. Clean & Uncluttered Charts: Draws clean horizontal lines extending to the right for easy visibility. The script automatically removes lines from previous days, ensuring your current chart remains neat and focused on the active session.
5. Visual Customization: Easily change line colors, thickness, and how far the lines extend to the right to perfectly match your personal chart theme.
How to Use:
1. Apply the indicator to your intraday chart (e.g., 5m, 15m, 30m, 1H).
2. Open the indicator Settings.
3. Adjust the Asian Session Time and London Session Time to match your trading strategy (default is set to standard broad sessions, but can be narrowed down to specific killzones).
4. Watch for price action reactions, breakouts, or liquidity sweeps around these key structural lines during the trading day.
Note: This indicator is designed for intraday timeframes. It will not display lines on Daily (1D) or higher timeframes.
อินดิเคเตอร์

Asian & London Session Highs/Lows
Description:
This indicator automatically detects and plots the highest and lowest price points of the Asian and London trading sessions. It is designed specifically for day traders, particularly those using Smart Money Concepts (SMC), Inner Circle Trader (ICT) methodologies, or classic Price Action strategies, who rely on session liquidity and daily market structure.
Session highs and lows act as major liquidity pools. A common trading concept involves waiting for the London or New York session to sweep the Asian session liquidity (High or Low) before anticipating a reversal or a strong trend continuation. This tool visually highlights these crucial levels directly on your chart, saving you time and keeping your analysis precise.
Key Features:
1. Accurate High/Low Detection: Pinpoints the exact highest and lowest wicks within your defined session windows.
2. Fully Customizable Session Times: Adjust the start and end times for both the Asian and London sessions directly from the indicator settings. Perfect for isolating specific timeframes like the "Asian Killzone".
3. Native Timezone Support: Built with Pine Script v6, it handles timezones flawlessly. You don't need to do any complex UTC math—just input your session string (e.g., 0000-0800) and the indicator does the rest.
4. Clean & Uncluttered Charts: Draws clean horizontal lines extending to the right for easy visibility. The script automatically removes lines from previous days, ensuring your current chart remains neat and focused on the active session.
5. Visual Customization: Easily change line colors, thickness, and how far the lines extend to the right to perfectly match your personal chart theme.
How to Use:
1. Apply the indicator to your intraday chart (e.g., 5m, 15m, 30m, 1H).
2. Open the indicator Settings.
3. Adjust the Asian Session Time and London Session Time to match your trading strategy (default is set to standard broad sessions, but can be narrowed down to specific killzones).
4. Watch for price action reactions, breakouts, or liquidity sweeps around these key structural lines during the trading day.
Note: This indicator is designed for intraday timeframes. It will not display lines on Daily (1D) or higher timeframes.
อินดิเคเตอร์

อินดิเคเตอร์

Time Flow Money Flow DashboardTime Flow Money Flow Dashboard is a multi-timeframe bias and execution dashboard designed to show money-flow direction, dot signals, divergence, and 1/16th strategy alignment in one compact row.
Each box represents a configurable higher timeframe. The box turns green when smoothed Money Flow Index is rising and red when it is lowering. The dashboard also reports whether that timeframe has a fresh green dot, red dot, or no new dot.
The script includes:
• Multi-timeframe money-flow direction
• Green dot / red dot flip detection
• Bullish and bearish money-flow divergence detection
• 1/16th strategy alignment
• Automatic lower-timeframe derivation from each higher timeframe
• Lower-timeframe EMA crossover confirmation
• Configurable dashboard position
• Configurable MFI length, smoothing, divergence pivots, and EMA crossover settings
The 1/16th strategy logic uses the higher timeframe for directional bias and the 1/16 lower timeframe for execution timing. A long setup appears when higher-timeframe bias is bullish, lower-timeframe money flow is rising, and the lower timeframe fast EMA crosses above the slow EMA. A short setup appears when higher-timeframe bias is bearish, lower-timeframe money flow is lowering, and the lower timeframe fast EMA crosses below the slow EMA.
This tool is intended as a visual confluence dashboard, not a standalone buy/sell system. Always confirm with market structure, liquidity, volume, and risk management.
อินดิเคเตอร์

Bias Zone (ES & NQ)Bias Zone (ES & NQ)
A clean daily bias zone for index futures. Enter today's zone top and bottom in Settings and the script shades it, reads the regime, and labels it:
🟢 Price ABOVE the zone → BULLISH (green)
🔴 Price BELOW the zone → BEARISH (red)
🟡 Price INSIDE the zone → NEUTRAL (yellow)
One script, both markets. It auto-detects whether you're on ES/MES or NQ/MNQ from the chart symbol and shows the matching zone, so you keep one indicator on both charts.
How to use:
1. Add it to your ES (or MES) and NQ (or MNQ) chart.
2. Open Settings and type today's zone top and bottom for each market.
3. Read the regime, or stand aside when price is inside the zone.
Important — read this: this is a MORNING SNAPSHOT. It shows where price sits relative to the zone at the time it was generated, not a live or predictive signal. The zone can shift through the session, so it is NOT a cue to enter a trade, and bullish/bearish is a description of structure, not a buy/sell call. Always do your own analysis and manage your own risk.
Optional midline, regime label, and a "bias as of" timestamp are included. อินดิเคเตอร์

อินดิเคเตอร์

อินดิเคเตอร์

Scalp The ReactScalp The React (STR) is an advanced, all-in-one market structure and liquidity mapping framework. Designed for scalpers, intraday traders, and swing traders, this indicator dynamically builds actionable "Reaction Zones," Fibonacci projection targets, and liquidity sweep setups based on real-time market structure breaks and session timings.
Instead of relying on static, manual drawings, STR automatically identifies structural pivots, determines the market bias, and projects forward-looking target zones to give you a complete roadmap of where the price is likely to react.
🌟 Core Features & Modules
1. Dynamic Fibonacci Setup Modes
The heart of STR is its adaptive Fibonacci projection engine. Depending on your trading style, you can choose how the indicator anchors its High/Low legs to draw the target zones.
Scalp Mode: A step-by-step approach. It waits for the current 0 or 1 boundaries of the active setup to be completely broken before anchoring a new Fibonacci leg.
Intraday Mode: Focuses purely on trend reversals. It maps new Fibonacci projection zones only when a Change of Character (CHoCH) occurs.
HTF (Higher Timeframe) Mode: Top-down analysis made easy. It grabs the exact High and Low of the previous Higher Timeframe candle (e.g., 4H) and projects intraday zones based on that HTF range.
Session Mode: Perfect for session-to-session liquidity traders. It automatically tracks the High and Low of specific trading sessions (Asia, London, New York). The moment a session ends, it instantly projects the Fibonacci scheme based on the current market bias. (Labels explicitly tell you if a level is the "Asia High" or "London Low").
First 4H Mode: An opening range breakout approach. It maps the High and Low of the day's first 4 hours (e.g., 03:00 - 07:00) and projects the roadmap for the rest of the day.
2. Target & Liquidity Zones
Whenever a new setup is confirmed, the indicator plots highly specific mathematical zones:
Magnetic Retest Level (0.5): The fair-value equilibrium of the anchor leg.
Reaction Zone (1.47 - 1.55): The primary Take Profit and reaction box.
External Reaction Zone (2.56 - 2.64): The extended macro target box.
Liquidity Sweep Box (-0.21 to -0.29): Placed exactly opposite to the breakout direction. If the price pushes into this zone and closes back inside the range, the indicator marks a precise Sweep (x) label, signaling a potential liquidity trap / reversal.
3. Market Structure Engine (BOS & CHoCH)
The script continuously scans for fractal highs and lows. It draws "Candidate" levels and waits for the price to break them (wick or body close based on your preference). Once broken, it permanently stamps the chart with BOS (Break of Structure) or CHoCH (Change of Character) labels and lines, keeping a clean historical record of the trend state.
4. Kinetic MA Trail & Bias Engine
To avoid plotting setups against the broader trend, the indicator uses a "Kinetic MA." This is a macro moving average that trails the price uniquely by filtering out noise using Supertrend and ATR logic.
When the price is above the Kinetic MA, the macro bias is Bullish.
When the price is below the Kinetic MA, the macro bias is Bearish.
Note: This internal bias is what dictates the direction of the Session and First 4H Fibonacci projections.
5. Advanced FVG / Breaker Engine
A built-in Fair Value Gap (FVG) and Breaker block extraction module.
Displays the last N unmitigated gaps.
Overlap Filter: Automatically hides overlapping FVGs to keep the chart incredibly clean.
Raid Detection: Marks an "x" inside the gap if the price aggressively wicks into it (a liquidity raid) but fails to close beyond it.
Supports mitigation filtering by Wick, Body Close, or Average line.
⚙️ How to Use It?
Select your Mode: If you trade the London/New York overlaps, set the Fib Mode to "Session". If you are a pure price-action scalper, set it to "Scalp" or "Intraday".
Follow the Liquidity: Look for setups where the price breaks structure, pulls back into the yellow Magnetic Level (0.5), or sweeps the Red Liquidity Box (-0.21 to -0.29) before targeting the Green Reaction Zones.
Align with the Kinetic MA: Use the glowing Kinetic MA band to stay on the right side of the macro trend.
⚠️ Disclaimer
For Educational Purposes Only:
The "Scalp The React" indicator and all its built-in features (including Fibonacci zones, market structure labels, moving averages, and FVG detection) are provided strictly for educational and informational purposes.
Not Financial Advice:
This script does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. Trading in financial markets (including cryptocurrencies, forex, stocks, and commodities) involves a high degree of risk and may not be suitable for all investors. You could lose some or all of your initial investment.
No Guarantee of Results:
Past performance of any trading system or methodology is not necessarily indicative of future results. The zones, labels, and signals generated by this script are based on mathematical formulas and historical price action; they do not predict the future.
User Responsibility:
By using this script, you acknowledge that you are solely responsible for your own trading decisions. Always conduct your own research (DYOR), practice strict risk management, and consult with a certified financial advisor before making any trading or investment decisions. The author of this script assumes no responsibility for any trading losses incurred. อินดิเคเตอร์

Round NumbersRound Numbers highlights the key psychological price levels around the current market by drawing round, half, and quarter number levels around price.
The goal is simple: make round numbers easier to see, improve chart readability, and help you stay visually oriented without cluttering the chart with unrelated logic.
How it works
Automatically adapts level spacing across different markets using daily range and decimal-place anchoring.
Works with Forex, cryptocurrencies, indices, commodities, and stocks.
Optional symbol-specific override multipliers are available for instruments that require custom spacing.
Displays
Round levels
Half levels
Quarter levels
Use cases
Visualize where price is trading relative to nearby psychological levels.
Improve chart structure and orientation.
Keep important price levels visible across different markets.
Settings
Visible Levels - Number of levels displayed around the current price.
Round / Half / Quarter - Individual visibility and style settings.
Overrides - Optional symbol-specific spacing multipliers.
This indicator is designed as a visual reference layer. It does not generate trade signals and does not attempt to identify support or resistance using order flow, liquidity, or reversal logic.
อินดิเคเตอร์

Liquidity Profile Order Blocks [BOSWaves]Liquidity Profile Order Blocks - Impulse-Validated Order Block Detection with Embedded Net Delta Volume Profiles
Overview
Liquidity Profile Order Blocks is a pivot-anchored order block detection system that constructs supply and demand zones from impulse-validated swing events and embeds a live net delta volume profile inside each active block, where zone boundaries, profile distribution, and visual intensity are driven by measurable price displacement, volume-weighted directional flow at each price row, and real-time retest interaction rather than arbitrary candle pattern matching or static zone geometry.
Instead of identifying order blocks through isolated candle formations or fixed lookback patterns, each block requires a confirmed swing pivot followed by a displacement move exceeding a configurable ATR multiple, ensuring that only structurally significant events with genuine impulse evidence behind them generate zones. The embedded net delta profile then maps the buy and sell volume distribution across the price rows of each block using the formation candles, identifying the Point of Control and revealing whether the underlying flow within the block was predominantly buying or selling pressure at each specific level.
This creates an order block framework that combines structural detection criteria with internal participation intelligence. Each zone simultaneously shows where price pivoted with sufficient impulse to warrant attention, how volume was distributed across its price range during formation, whether that distribution was net buy or net sell dominant at each level, and how the balance is evolving as price retests the zone. When price enters an active block the visual system responds with intensified borders, brightened profile rows, and a glow effect that makes active interaction immediately identifiable.
Price is therefore evaluated not just against zones that meet structural criteria but against zones with a fully mapped internal participation profile that reveals the order flow composition of the institutional activity that created them.
Conceptual Framework
Liquidity Profile Order Blocks is founded on the principle that genuine order block zones carry two layers of evidence: a structural fingerprint in price behavior visible through pivot and impulse mechanics, and a participation fingerprint visible through the distribution of buying and selling volume across the zone's price range during its formation.
Traditional order block tools identify zones through candle pattern criteria alone and display them as uniform rectangles with no internal structure, treating all zones equally regardless of their internal flow composition. This framework adds the participation layer by building a per-row net delta profile inside each zone from the same bars that defined it, exposing how aggressively one side dominated at each price level and identifying the specific level within the zone where the greatest total participation was concentrated.
Three core principles guide the design:
Order block detection should require both a confirmed swing pivot and a measurable impulse displacement, ensuring structural and momentum criteria are satisfied simultaneously before a zone is committed.
Each zone should carry an embedded net delta profile derived from its formation bars, providing internal participation intelligence that distinguishes between zones with clean directional conviction and zones with contested or mixed flow composition.
Zone visualization should respond dynamically to retest interaction, intensifying when price is actively engaging with a block to communicate the structural significance of the current price location in real time.
This shifts order block analysis from pattern-matching zone marking into impulse-validated structural detection with embedded volume profile intelligence that reveals the institutional participation dynamics underlying each zone.
Theoretical Foundation
The indicator combines pivot high and low detection for swing identification, ATR-normalized impulse measurement for displacement validation, multi-candle zone boundary construction from formation bars, per-row volume allocation using price overlap fractions, net delta calculation across profile rows, POC identification by maximum row volume, retest interaction detection for profile updates and active state management, and a multi-layer gradient visualization system with glow intensity scaling.
Pivot detection uses configurable left and right bar requirements to identify confirmed swing highs and lows. Impulse validation measures the price displacement from pivot to the detection bar relative to ATR, filtering for only the moves with sufficient momentum evidence. Zone boundaries are constructed from the configured number of formation candles preceding the pivot, with ATR-based minimum and maximum height constraints preventing zones from being either too thin to be meaningful or too wide to be actionable. Volume allocation to each profile row is proportional to the overlap between each formation bar's range and the row boundary, ensuring volume is distributed to the price levels where it actually traded rather than assigned uniformly.
Four internal systems operate in tandem:
Impulse-Validated Detection Engine : Monitors confirmed pivot highs and lows and tests the displacement from pivot price to current close against the ATR multiple threshold, qualifying only structurally significant impulse events as order block origins.
Zone Construction and Constraint System : Builds zone boundaries from formation candles with ATR-based height clamping, manages maximum zone count by removing oldest blocks when the limit is reached, and optionally removes overlapping same-side zones to maintain a clean active zone set.
Net Delta Profile Engine : Allocates volume from formation bars to price rows via overlap-weighted fractions, tracks signed buy and sell volume per row to derive net delta ratios, identifies the POC as the maximum total volume row, and optionally updates the profile with additional volume on each confirmed retest bar.
Retest Interaction and Visual System : Monitors price entry into each zone, tracks touch count and armed state, detects mid-level confirmation for active signal generation, scales visual intensity through glow, border weight, and profile row brightness based on interaction state, and invalidates zones on configurable close or wick breach conditions.
This design ensures each zone carries both structural and participatory credentials while the visual system communicates interaction state dynamically throughout the zone's active lifecycle.
How It Works
Liquidity Profile Order Blocks evaluates price through a sequence of structure-aware and participation-tracking processes:
Pivot Detection : Swing highs and lows are confirmed when the configured number of bars to the left and right validate the pivot, identifying structurally significant turning points for impulse testing.
Impulse Validation : On each confirmed pivot, the price displacement from the pivot level to the current close is measured in ATR multiples. Displacement exceeding the configured threshold qualifies the event as an order block origin.
Zone Boundary Construction : The formation candle range spanning the configured number of bars before the pivot is used to derive zone top and bottom, with ATR-based minimum and maximum height constraints applied to ensure zone dimensions remain structurally meaningful.
Overlap Removal : When enabled, a newly created zone checks for existing same-direction zones that overlap with its boundaries and removes the oldest overlapping zone, preserving the most recently formed level.
Formation Profile Build : Each formation bar's volume is allocated to profile rows in proportion to the overlap between the bar's high-low range and each row boundary. Bullish formation bars contribute to buy volume and bearish bars to sell volume, building the initial net delta distribution across the zone's price rows.
POC Identification : The row with the greatest total volume accumulation across all formation bars is identified as the Point of Control, receiving distinct highlighting and an optional midpoint line.
Active State Monitoring : On each subsequent bar, price is tested for entry into each zone. Entry triggers a touch count increment and arms the zone for signal detection. When price closes beyond the midline in the zone direction after touching, the zone enters active state with intensified visual treatment.
Retest Profile Update : When the retest profile update setting is enabled, each confirmed bar while price is inside a zone contributes additional volume to the net delta profile, keeping the participation distribution current as the auction continues.
Visual Refresh : On every bar all active zones are redrawn with current glow intensity, border weight, profile row colors, and info box content reflecting the latest touch count, net delta percentage, total volume, and active state.
Invalidation Testing : On each confirmed bar, close or wick price is tested against the zone boundary in the opposing direction. Breach triggers zone deletion with full cleanup of all associated visual objects.
Together, these elements form a continuously updating order block system where structural credentials, internal participation profiles, and real-time retest dynamics are maintained simultaneously across all active zones.
Interpretation
Liquidity Profile Order Blocks should be interpreted as an impulse-validated structural zone system with embedded participation intelligence and dynamic interaction tracking:
Bullish Order Block (Green) : Zone formed below a confirmed swing low followed by a sufficient upward impulse, identifying a price region where buying activity concentrated before a displacement move higher.
Bearish Order Block (Red) : Zone formed above a confirmed swing high followed by a sufficient downward impulse, identifying a price region where selling activity concentrated before a displacement move lower.
Zone Body : The shaded rectangle spanning the formation candle range with gradient fill reflecting zone direction. Gradient intensity increases toward the dominant edge of the zone where institutional activity was most concentrated.
Net Delta Profile Bars : Horizontal bars centered within the zone body extending left or right from the center line to reflect net buy or net sell dominance at each price row. Longer bars indicate more decisive directional dominance at that level.
Point of Control Row : The profile row with the greatest total volume receives a distinct highlighted background and optional horizontal line, marking the price level of maximum participation concentration within the zone.
Info Box : Panel extending to the right of each zone displaying zone direction, net delta percentage across all formation volume, and total formatted volume, providing a quick quantitative summary of the zone's participation profile.
Midline : Dashed horizontal line at the zone center provides the reference level for mid-zone confirmation logic and serves as a precision target for entries and invalidation management.
Active Retest Glow : When price enters a zone after prior interaction, borders intensify, the POC line brightens, profile rows saturate, and the seam line thickens, communicating active structural engagement with immediate visual clarity.
Trend Cloud : Optional EMA fill and lines provide macro trend regime context, coloring in the bullish or bearish direction to help assess whether order block retests are occurring with or against the broader directional trend.
Zone impulse strength, net delta profile composition, POC location, touch count, and active glow state collectively provide more structural intelligence than zone boundaries alone.
Signal Logic & Visual Cues
Liquidity Profile Order Blocks generates retest confirmation signals when specific interaction conditions within active zones are met:
Bullish Retest Confirmation : Generated when price enters a bullish order block, the zone is in armed state from a prior touch, and price closes above the zone midline after having been at or below it, suggesting buying pressure is reasserting within the demand zone.
Bearish Retest Confirmation : Generated when price enters a bearish order block, the zone is in armed state from a prior touch, and price closes below the zone midline after having been at or above it, suggesting selling pressure is reasserting within the supply zone.
Both signal types require prior zone interaction to arm the zone before confirmation can trigger, filtering out first-touch reactions and focusing on the mid-level confirmation that indicates directional intent within the block.
Alert generation covers bullish and bearish retest confirmations for systematic zone-based monitoring workflows.
Strategy Integration
Liquidity Profile Order Blocks fits within institutional order flow and structural zone-based trading approaches:
POC-Precise Entries : Use the POC row within each zone as the highest-precision entry reference rather than the full zone boundary, placing entries at the level of maximum prior participation where the institutional activity was most concentrated.
Net Delta Zone Selection : Prioritize bullish zones showing net buy dominance in the profile and bearish zones showing net sell dominance, as aligned delta composition confirms that the formation volume was directionally consistent with the expected zone function.
Mid-Level Confirmation Entries : Use the midline confirmation signal as an entry trigger rather than entering on initial zone touch, waiting for price to demonstrate directional intent by closing beyond the zone center in the expected direction.
Touch Count Conviction Weighting : Assign higher confidence to zones with lower touch counts. Fresh zones with zero prior retests carry the most unmitigated institutional order potential. Zones with multiple touches have progressively absorbed more of the original order flow.
Retest Profile Monitoring : Monitor the net delta profile as it updates during retests with the Update Net Profile on Retest setting enabled. Profile composition shifting against the zone direction during a retest suggests absorption rather than continuation, warranting reduced confidence in zone integrity.
Invalidation Mode Selection : Use Close invalidation for stricter zone management that requires a full bar close beyond the boundary. Use Wick invalidation for earlier removal when any price excursion beyond the zone boundary is sufficient to consider the level structurally violated.
Technical Implementation Details
Detection Engine : Pivot high and low confirmation with ATR-normalized displacement measurement for impulse validation
Zone Construction : Multi-candle formation boundary derivation with ATR min and max height clamping and optional overlap removal
Profile System : Per-row volume allocation via high-low overlap fractions with signed net delta accumulation and maximum volume POC identification
Interaction Logic : Touch count tracking, armed state management, mid-level confirmation detection, and optional retest profile accumulation
Visual System : Multi-layer gradient zone fill, glow-scaled borders and lines, net delta profile bars, POC row and line highlighting, and info box with live metrics
Invalidation : Configurable close or wick breach detection with full object cleanup on zone removal
Trend Context : Dual EMA regime cloud with configurable fast and slow lengths for directional bias overlay
Performance Profile : Optimized with configurable maximum block count and array-based object management supporting real-time execution across all timeframes
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Intraday order block mapping for scalping with shorter pivot length and tighter impulse threshold for responsive zone formation on smaller structural moves
15 - 60 min : Session-level institutional zone identification with balanced pivot and impulse settings producing zones aligned with meaningful intraday structural events
4H - Daily : Swing-level demand and supply zone mapping with higher pivot requirements and wider impulse thresholds reflecting larger structural displacements
Suggested Baseline Configuration:
Pivot Length : 8
Impulse Size (ATR) : 1.10
Formation Candles : 4
Remove Overlapping Same-Side Blocks : Enabled
Minimum Zone Height (ATR) : 0.12
Maximum Zone Height (ATR) : 1.20
Maximum Blocks : 6
Invalidation : Close
Profile Granularity : 12
POC Highlight : Both
Update Net Profile On Retest : Enabled
Active Retest Glow : Enabled
Show Info Box : Enabled
Show MA Fill : Disabled
Show MA Lines : Disabled
These suggested parameters should be used as a baseline; their effectiveness depends on the instrument's volatility characteristics, typical impulse behavior, and preferred zone density, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Too many zones forming : Increase Impulse Size to demand a stronger displacement move after each pivot, or increase Pivot Length to require more structurally significant swing confirmation before an order block qualifies.
Zones not forming frequently enough : Decrease Impulse Size toward 0.5 for more inclusive displacement qualification, or decrease Pivot Length toward 3 for faster pivot confirmation on shorter swing structures.
Zone boundaries too wide : Decrease Maximum Zone Height ATR multiplier to compress oversized zones, or decrease Formation Candles to limit the boundary range to fewer formation bars.
Zone boundaries too narrow : Increase Minimum Zone Height ATR multiplier to expand zones that are structurally too thin to provide meaningful interaction space.
Profile too granular or too coarse : Adjust Profile Granularity to increase or decrease the number of price rows, calibrating profile resolution to the zone height and the instrument's typical price movement within order block regions.
Zones invalidating too quickly : Switch Invalidation to Close mode to require a full bar close beyond the boundary rather than a wick excursion, reducing premature zone removal on temporary price spikes.
Too many zones overlapping : Enable Remove Overlapping Same-Side Blocks to automatically clean older zones when new ones form at the same area, or reduce Maximum Blocks to limit total active zone count.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Trending markets with clear impulse moves following swing pivots where order block zones consistently align with subsequent pullback reaction levels
Liquid instruments with consistent volume where the net delta profile produces meaningful row-level participation distributions that accurately reflect institutional flow composition
Institutional zone-based trading approaches where POC precision entries and net delta filtering provide higher-quality trade framing than conventional order block boundary entries
Multi-timeframe workflows where higher-timeframe order block zones provide directional structural context for lower-timeframe entry timing
Reduced Effectiveness:
Choppy, range-bound markets where frequent small swing pivots generate overlapping zones without the sustained impulse displacement required for meaningful structural significance
Low-liquidity instruments where thin volume produces sparse net delta profiles with insufficient row-level differentiation to distinguish POC and flow composition reliably
News-driven or gap-heavy markets where impulse moves occur on discontinuous price action that distorts zone boundary derivation relative to actual institutional entry levels
Instruments with irregular volume distribution where the net delta profile loses compositional accuracy due to inconsistent participation patterns across formation bars
Extreme volatility environments where ATR-based zone constraints produce inconsistent zone sizes that do not reflect the structural significance of the underlying pivot events
Integration Guidelines
Confluence : Combine with BOSWaves momentum tools, volume analysis, or structural break indicators to validate order block retests with broader analytical context before acting on mid-level confirmation signals
Profile Composition Awareness : Treat net delta profile composition as a zone quality indicator. Zones with clean directional dominance across most rows carry higher conviction than zones with mixed or opposing flow across their price range.
POC Respect : Use the POC row as the precision reference for entry placement and invalidation management. The maximum participation level within the zone represents the most meaningful price within the block from an institutional activity perspective.
Touch Count Discipline : Reduce position sizing or confidence on zones that have been retested multiple times. Each touch consumes a portion of the original order flow that created the zone, reducing the probability of a sustained reaction on subsequent tests.
Active Glow Response : Treat the active glow state as an immediate visual alert that price is engaging with a structurally significant level. Use this as a cue to increase monitoring frequency and prepare for confirmation or invalidation rather than acting immediately on zone entry alone.
Disclaimer
Liquidity Profile Order Blocks is a professional-grade order block detection and volume profile analysis tool. It uses impulse-validated pivot detection with per-row net delta profiling but does not access true exchange-level order book data. All volume distribution and flow measurements are derived from OHLCV data and represent best-approximation estimates of institutional participation rather than actual order book information. Results depend on instrument liquidity, volume reliability, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates momentum context, trend structure, and comprehensive risk management. อินดิเคเตอร์

EMA SlopeIntroduction
EMA Slope is a simple trend momentum indicator designed to measure how quickly an Exponential Moving Average (EMA) is rising or falling over a selected lookback period.
While moving averages are commonly used to identify trend direction, they often provide limited insight into the speed of trend development. EMA Slope addresses this by calculating the percentage change of an EMA over time, helping traders evaluate whether a trend is strengthening, weakening, or moving sideways.
The indicator is displayed as a histogram centered around a zero line, making it easy to identify bullish and bearish momentum shifts.
How It Works
The indicator first calculates an Exponential Moving Average using the selected EMA Length.
It then measures the percentage change between the current EMA value and the EMA value from a specified number of bars ago:
EMA Slope = ((Current EMA - Previous EMA) / Previous EMA) × Scale Factor
Positive values indicate that the EMA is rising.
Negative values indicate that the EMA is falling.
Larger positive or negative values indicate a steeper slope and stronger directional momentum.
Key Features
Percentage-Based Measurement
Unlike raw EMA differences, the slope is expressed as a percentage change. This helps normalize values across instruments with different price ranges.
Easy Trend Assessment
The histogram quickly reveals whether trend momentum is accelerating, decelerating, or remaining stable.
Early Momentum Shifts
Crosses above and below the zero line can help identify potential changes in market direction before they become obvious on price charts.
Lightweight and Fast
The indicator uses a straightforward calculation and is suitable for all timeframes and instruments.
Interpretation
Above Zero
When EMA Slope is above zero, the EMA is rising and trend momentum is bullish.
Higher positive values suggest stronger upward momentum.
Below Zero
When EMA Slope is below zero, the EMA is falling and trend momentum is bearish.
Lower negative values suggest stronger downward momentum.
Near Zero
Values near zero indicate a flat EMA and a market that may be consolidating or lacking directional conviction.
Slope Expansion
Increasing histogram values indicate strengthening trend momentum.
Slope Contraction
Decreasing histogram values indicate weakening trend momentum and potential trend exhaustion.
Alert Conditions
The indicator includes two built-in alert conditions:
Bullish Slope
• Triggered when EMA Slope crosses above zero.
Bearish Slope
• Triggered when EMA Slope crosses below zero.
These alerts can help traders monitor changes in directional momentum without continuously watching charts.
Example Applications
• Confirming trend direction.
• Identifying strengthening momentum.
• Monitoring trend slowdowns.
• Filtering trades in the direction of the prevailing trend.
• Comparing trend conditions across multiple instruments.
Notes
EMA Slope is designed as a trend analysis tool rather than a complete trading system.
Like all trend-following indicators, it may produce delayed signals during sharp reversals and can generate whipsaws in highly ranging markets.
For best results, consider combining EMA Slope with price action analysis, support and resistance levels, or additional market context.
EMA Slope helps traders move beyond simple trend direction by quantifying the speed of trend development, providing a clearer view of market momentum and trend quality. อินดิเคเตอร์

Adaptive Daytrade SignalThis is an adaptive day trading signal that analyzes market conditions using ADX+EMA; in trending markets, it automatically switches to VWAP+EMA to follow the trend on pullbacks, and in ranging markets, it switches to RSI + Bollinger Bands for counter-trend trading.
Recommended timeframes: 3- to 15-minute charts; Instruments: Nikkei 225 futures, S&P 500; for individual stocks, high-volume large-cap stocks; Session restrictions: For individual stocks, it’s effective to wait and see for the first 30 minutes after the open (adjust using “Limit to session”)
The key feature is that it automatically assesses market conditions and switches trading strategies accordingly. The chart background color lets you see the current market phase at a glance (green = uptrend, red = downtrend, gray = range-bound).
In trending phases (trend-following), the system waits for pullbacks or retracements to the EMA9 and enters only when the price is moving in the same direction as the VWAP. This is a classic approach in stock day trading and offers a good balance between win rate and potential profit.
In ranging phases (counter-trend), the system targets rebounds at the outer bands of the Bollinger Bands combined with RSI overbought conditions. Since attempting to follow the trend when there is no clear trend can result in being caught in a round-trip loss, the system automatically switches to this strategy when the ADX is weak.
In line with our opportunity-focused risk management policy, we set stop-losses relatively tight (based on the most recent swing or ATR × 1.0) and use a two-tiered profit-taking strategy: TP1 (1R) as a target for partial profit-taking, and TP2 (2.5R) to let profits run. Stop-loss and profit-taking lines are automatically displayed on the chart.
Since all parameters are adjustable, by adjusting the two settings—ADX trend threshold (trend detection sensitivity) and Volume vs. avg (volume filter)—you can balance the frequency of signals between prioritizing opportunities and prioritizing accuracy.
This indicator is calculated based on closing price candlesticks and does not use `request.security`, so there is no risk of repainting. However, signals are confirmed once the candlestick closes, and labels are displayed after the candlestick closes. อินดิเคเตอร์

อินดิเคเตอร์

Smart Money Fibonacci OTE Engine [ChartPrime]🔶 OVERVIEW
In the world of Smart Money Concepts (SMC), finding a "cheap" or "expensive" price is not enough—you need to find the Optimal Trade Entry (OTE). The Smart Money Fibonacci OTE Engine is an automated structural analysis tool that identifies trend shifts and projects institutional retracement zones in real-time.
Unlike traditional Fibonacci tools that require manual drawing, this engine detects Break of Structure (BOS) events and automatically anchors a Fibonacci grid to the most relevant swing points. It specifically highlights the OTE zone, where institutional buying or selling typically occurs after a trend confirmation.
🔶 CORE MECHANICS: AUTOMATED ANCHORING
The engine operates on a sophisticated "Pivot and Shift" logic:
Swing Detection: The script monitors price for structural Swing Highs and Swing Lows based on your chosen pivot length.
Fibonacci Direction Shift Recognition: A direction shift is confirmed when pivot price exceeds the previous Swing Pivot High (Higher High), and a down direction shift is confirmed when price drops below the previous Swing Pivot Low (Lower Low).
Dynamic Stretching: Once a direction is established, the Fibonacci grid "breathes" with the market. If the trend continues to make new highs or lows, the grid automatically stretches to include the new extension, ensuring your retracement levels are always mathematically accurate.
🔶 THE OPTIMAL TRADE ENTRY (OTE) ZONE
The OTE zone is the primary focus of this indicator. Based on ICT (Inner Circle Trader) concepts, the OTE represents the "sweet spot" of a retracement.
The Range: By default, the zone is plotted between the 0.618 and 0.786 Fibonacci levels.
Institutional Discount/Premium: In a bullish trend, price retreating into the OTE zone is considered "buying at a discount." In a bearish trend, a rally into the OTE is "selling at a premium."
Visual Clarity: The zone is highlighted with a colored box (teal for bull, red for bear), making it easy to identify exactly where to look for price action reversal signals.
🔶 KEY VISUAL FEATURES
Structure Labels: Automatically marks HH (Higher High) and LL (Lower Low) points with Break-of-Structure (BOS) lines.
Swing Diagonal: A dotted line connects the two anchor points of the Fibonacci grid, providing a clear visual representation of the current swing's slope and magnitude.
Extended Levels: Horizontal Fibonacci lines (0.236, 0.382, 0.5, etc.) are projected across the chart, with price-sensitive labels that update every tick.
Historical Mode: Toggle "Show Previous Fibs" to see where past OTE zones were respected, helping you backtest the current asset's adherence to Fibonacci levels.
🔶 INDICATOR INPUTS
Pivot Length: Adjust this to filter between micro-structure (short length) and macro-structure (long length).
OTE Upper/Lower Levels: Fully customizable boundaries for your entry zone.
Visual Styles: Change line styles (Solid, Dashed, Dotted) and colors for the grid, labels, and structure shifts to match your chart theme.
🔶 TRADING UTILITY
High-Probability Entries: Instead of "chasing" a breakout, wait for the Smart Money Fibonacci Engine to identify the higher high or lower low, then wait for price to return to the OTE box.
Confluence Tool: Use the OTE zone in conjunction with Order Blocks or Liquidity Sweeps. When an OTE zone aligns with a previously swept EQL or EQH, the probability of a reversal increases significantly.
Objective Profit Taking: Use the 0.0 (origin) and various extension levels as objective targets for scaling out of positions.
🔶 CONCLUSION
The Smart Money Fibonacci OTE Engine removes the subjectivity from drawing Fibonacci retracements. By automating the detection of market structure and highlighting the most statistically relevant entry zones, it allows traders to focus on execution rather than chart drawing. อินดิเคเตอร์

อินดิเคเตอร์

Ultimate RSIHere is a breakdown of its core features and how they work together:
1. Volatility-Adaptive RSI Length
How it works: Instead of using a static length (like the traditional 14-period RSI), the script calculates the market's standard deviation (volatility).
The Benefit: When the market is highly volatile, the RSI length dynamically shortens, making the indicator more responsive so you can catch quick reversals. When volatility drops (consolidation), the length expands, smoothing the RSI line to filter out "chop" and false signals.
2. Dynamic Overbought / Oversold Zones (Bollinger Bands)
How it works: Standard RSIs use static horizontal lines at 70 and 30. This script applies Bollinger Bands directly to the RSI values themselves.
The Benefit: A reading of 70 isn't always overbought in a strong trend. By wrapping the RSI in a standard deviation channel, you get a dynamic zone. If the RSI breaks above its upper dynamic band, you know momentum is genuinely extreme relative to recent conditions, rather than a fixed arbitrary number.
3. Automated Divergence Detection
How it works: The script constantly scans for discrepancies between price action and RSI momentum.
The Benefit: It automatically plots visual markers on the RSI pane when it detects:
Regular Divergences (Reversals): E.g., Price makes a Lower Low, but RSI makes a Higher Low (Bullish Divergence).
Hidden Divergences (Trend Continuations): E.g., Price makes a Higher Low, but RSI drops to a Lower Low (Hidden Bullish).
4. RSI Moving Average (Signal Line)
How it works: An additional moving average (you can choose between SMA, EMA, RMA, WMA, or HMA) is plotted alongside the RSI.
The Benefit: This acts as a trigger line. An RSI crossing above its EMA can be used as an early entry signal, or as confirmation that momentum has definitively shifted.
5. Multi-Timeframe (MTF) Support
How it works: You can configure the indicator to calculate RSI based on a higher timeframe (e.g., pulling 4-Hour RSI data while you are looking at a 15-minute chart).
The Benefit: This ensures your lower timeframe entries are always aligned with the macro momentum, preventing you from trading against the larger trend.
6. Visual Confluence & Alerts
The RSI line itself is color-coded. For example, it turns bright green when momentum is both above 50 and rising, and dark red when below 50 and falling.
It includes a full suite of alert conditions (divergences and MA crossovers) so you can automate your trading or get pinged when a setup occurs.
In summary, it's designed to replace 3 or 4 different indicators on your chart by giving you adaptive momentum, dynamic exhaustion zones, trend direction, and divergence signals all natively in one branded, professional package. อินดิเคเตอร์
