Momentum Trader ToolboxMomentum Traders Toolbox Pro combines three daily-anchored tools into one overlay so momentum traders can see trend, extension, and volatility context without stacking multiple indicators.
What it includes:
Daily EMAs: plots the 8/21/50 EMAs calculated on the daily timeframe on any chart. A fill between the 8 and 21 EMA helps visualize short-term momentum.
ADR/ATR table: optional rows show daily ATR, ADR%, distance from the daily low, distance from the selected daily EMA (default 8), and an extension reading: EMA extension (x) = (EMA distance %) ÷ (ADR%). The extension value is color-coded by thresholds you can customize.
VIX regime: pulls daily VIX and calculates a z-score over your lookback, then labels the environment as risk-on, risk-off, or neutral. The VIX values are daily-based by design, so on non-daily charts the table shows a reminder to use the daily timeframe for the VIX score.
Notes:
Daily values can update intraday until the daily candle closes.
The EMA plots include an optional Offset; keep it at 0 if you don’t want shifted lines.
Análise de Tendência
AlphaStrike: Zen ModeDescription:
1. The Philosophy: Reducing Cognitive Load Modern charts are often cluttered with dozens of noisy lines (Bollinger Bands, Moving Averages, Oscillators) that lead to "Analysis Paralysis." This script is designed with a "Zen" philosophy: P rocess the complexity in the background, but display only the decision.
This is not a simple indicator overlay. It is a Risk-Based Trading Engine that runs multiple validation checks (Momentum, Volatility, and Price Action) simultaneously but hides the underlying calculations to keep the chart clean. It focuses the trader's attention on the two things that matter most: Trend Direction and Position Sizing.
2. The "Invisible" Technical Engine The script operates on a Dual-State Logic system that adapts to market conditions. It uses standard indicators as filters, not just visuals.
A. Trend State (The Backbone) The script calculates a volatility-adjusted Trend Baseline (SuperTrend).
Green State: The market is in a markup phase. The script looks for continuation.
Red State: The market is in a markdown phase. The script looks for defense.
B. The "Confluence" Reversal Logic Instead of cluttering the screen with Bollinger Bands and RSI windows, the script performs these checks internally:
Condition 1 (Volatility): Is price extending beyond the 2.0 Standard Deviation (Bollinger Lower/Upper)?
Condition 2 (Momentum): Is RSI overextended (<35 or >65)?
Condition 3 (Price Action): Is there a specific Pin Bar candle pattern (Long wick rejection)?
Result: Only when all three conditions align does the script print a "Reversal Circle." This filters out weak signals that usually occur in strong trends.
3. The Risk Management Calculator (Key Feature) Most traders fail not because of bad entries, but because of inconsistent sizing. This script features a built-in Dynamic Position Sizing Dashboard located in the bottom right.
Adaptive Stop Loss:
In a Trend: The Stop Loss is automatically set to the Trend Line (SuperTrend).
In a Reversal: The script internally scans for the nearest Swing Low/High (using hidden Pivot calculations) and sets the Stop Loss there.
Position Sizing Math: The dashboard reads your Account Size and Risk % inputs. It instantly calculates the "Max Size" (contract/share amount) allowed for the current trade.
Formula: Position Size = (Account Value * Risk %) / Distance to Stop.
Benefit: This ensures you risk the exact same dollar amount on every trade, whether the stop loss is 1% away or 10% away.
4. How to Read the Signals
Triangles (Breakouts): These represent a shift in the dominant trend direction.
Green Triangle: Bullish Trend Start.
Red Triangle: Bearish Trend Start.
Circles (Mean Reversion): These are high-probability counter-trend plays.
Blue Circle: Buy Reversal (Oversold + Pinbar + Bollinger Support).
Orange Circle: Sell Reversal (Overbought + Pinbar + Bollinger Resistance).
5. Settings
Trend Settings: Adjust the ATR Period and Factor to change the sensitivity of the trend line.
Reversal Settings: Tweak the RSI and Bollinger thresholds to filter out more/less signals.
Risk Management: Input your total Account Size and desired Risk Per Trade (e.g., 1%) to calibrate the Dashboard.
Disclaimer This tool provides algorithmic analysis and risk calculations. It does not guarantee profits or provide financial advice. Always verify position sizes before executing.
BE-QuantFlow: Adaptive Momentum Trading█ Overview: QuantFlow: Adaptive Momentum Trading
QuantFlow is a sophisticated algorithmic momentum trading method designed specifically for indices and high-beta stocks. However, its logic is universal; with appropriate parameter tuning, it adapts to various asset classes and timeframes.
While the standard momentum indicators (like RSI or MACD) simply measure how fast price is moving (Velocity), QuantFlow analyzes the quality and conviction of the trend . Features like Dynamic Volatility Filtering and Trend Shielding, combined with volatility weighting and a "Dual-Line" approach to distinguish between a sustainable institutional trend and a temporary retail spike, make the indicator unique and more powerful.
█ Why QuantFlow ?
Quant (The Engine): This replaces subjective guessing with objective math.
Instead of just seeing that the price is "up," we measure "how it got there". For example, a stock that rises 1 currency value every day for 10 days (smooth trend) gets a much higher score than a stock that jumps 10 currency value in one minute and does nothing else (erratic noise). This mathematical rigor provides the structure.
█ Core Logic & Philosophy
To understand how QuantFlow calculates momentum, imagine a "Tug-of-War" between Buyers (Bulls) and Sellers (Bears). Most indicators (like RSI) use a single line. If RSI is at 50, it means "Neutral." But "Neutral" can mean two very different things:
Peace: Nothing is happening. No one is buying or selling.
War: Buyers are pushing hard, but Sellers are pushing back equally hard. Volatility is massive.
A single line hides this reality. QuantFlow splits the market into two separate scores:
Bull Score (Green Line): How hard are the buyers pushing?
Bear Score (Red Line): How hard are the sellers pushing?
The Layman's Advantage:
If both lines are low = Sleepy Market (Avoid).
If Green is high and Red is low = Clean Uptrend (Buy).
If Red is high and Green is low = Clean Downtrend (Sell).
If both lines are high = Chaos/War Zone (Wait).
█ How it Weight "Sustenance" (The Critical Quality Check)
This is the most unique aspect of QuantFlow: Trend direction alone is not enough; Sustenance is weighed equally . Standard indicators treat every 10 currency value movements the same way with no distinction. However, QuantFlow asks, "Did you hold the ground you gained?"
Scenario A (High Sustenance) : A stock opens at 100, marches to 110, and closes at 110.
Verdict : Buyers pushed up and sustained the price.
QuantFlow Weight : 100%. This is a high-quality move.
Scenario B (Low Sustenance) : A stock opens at 100, spikes to 110, but gets sold off to close at 102.
Verdict : Buyers pushed up (Trend is Up), but failed to sustain it (Long Wick).
QuantFlow Weight : 20%. This is treated as "Noise" or a trap.
By mathematically weighing the Close Location Value (where the candle closes relative to its high/low), QuantFlow filters out "Gap-and-Fade" traps and exhaustion spikes that fool traditional indicators.
Comparisons: QuantFlow vs. The Rest
Calculation Logic : Standard RSI/MACD measures simple price change over time. QuantFlow measures Price Change 'times (x)' Conviction (Sustenance Weighting).
Visual Output : Standard tools show a single line (0-100), often hiding market conflict. QuantFlow displays Dual Lines (Bull vs Bear Intensity) to reveal the true state of the battle.
Trap Handling : Standard indicators are often fooled by sharp spikes. QuantFlow ignores "Gap-and-Fade" moves with poor closing conviction.
Adaptability : Standard tools use static levels (e.g., Overbought > 70). QuantFlow uses Dynamic Bands that adjust automatically to recent volatility.
█ Dynamic Volatility Filtering
Unlike standard indicators that use fixed levels (e.g., "Buy if RSI > 50"), QuantFlow acknowledges that "50" means something different in a quiet market versus a crashing market. This section explains the statistical engine driving the signals.
The Problem with Static Levels : In a low-volatility environment, a momentum score of 55 might indicate a massive breakout. In a high-volatility environment, a score of 55 might just be random noise. A fixed threshold cannot handle both scenarios.
The Solution: Adaptive Statistics : The script maintains a memory of the Momentum Events. It doesn't just look at price; it looks at where the momentum occurred in the past and draws a "Noise Zone" (Grey Band). This logic acts as a "Smart Gatekeeper" for trade entries:
Scenario A: Inside the Noise (The Filter)
If a new momentum signal happens inside the Noise Zone, the script assumes it is likely chop or noise.
Action : It forces a wait period. The signal is delayed until the trend sustains itself for Confirm Bars; else the signal is cancelled. This filters out ~70% of false signals in sideways markets.
Scenario B: Outside the Noise (The Breakout)
If a new momentum signal happens outside the Noise Zone (or the momentum score smashes through the Upper Band), it is statistically significant (an outlier event).
Action: It triggers an Immediate Entry. No waiting is required because the move is powerful enough to escape the historical noise zone.
█ The ⚠️ "Warning" System (Heads-up for Smart Reversals)
While you are directional if there is potential reversal signal, it provides the heads-up warning for a better decision-making
█ Special Utility: Ghost Mode
For intraday traders, the biggest disruption to "Flow" is the mandatory broker square-off at 3:15 PM (considering Indian Market). Often, a trend continues overnight, and the trader misses the gap-up opening the next morning because their algo was flat.
Ghost Mode is a unique feature that runs silently in the background:
At Square-off: The strategy closes your official position to satisfy the broker.
In the Background: It keeps the trade "alive" virtually (Ghost).
Next Morning: If the market opens in the trend's favor, the strategy re-enters the trade automatically. This approach ensures you capture the full swing of the trend, even if you are forced to exit at the previous session.
█ Advice on this indicator:
Parameter Calibration: The default settings are optimized for BankNifty on 5-minute charts. If you trade stocks, crypto, commodities, or any higher timeframes (e.g., 15-min or hourly), you must adjust these.
Low Volatility Assets: Reduce Stop Multiplier to 2.0.
High Volatility Assets: Increase Momentum Lookback to 50 to filter noise.
Confluence (Additional Confirmation): While QuantFlow is a complete system, using it alongside Key Support/Resistance Levels or Volume Profile provides the highest probability setups.
Estado Coral + SAR + RSIWhen the price is above the SAR level, the Coral level is positive, and the RSI is above 57, a green buy candle is generated. If the SAR and Coral are negative and the RSI is below 38, a red sell bar is generated.
PREMIUM TRADE ZONES - [EntryLab]PREMIUM Trade Zones was created to help both beginner and advanced traders avoid one of the most common causes of losses: trading during sideways, choppy market conditions.
Sideways price action often occurs around the RSI 50 level, where market indecision is high. This indicator visually highlights a No Trade Zone around that area, encouraging traders to stay patient and avoid low-probability setups. Above and below this zone, clearly defined Short Trade Zones and Long Trade Zones provide additional confluence for potential entries when momentum is more favorable.
Trade Zones is especially useful for traders who may occasionally struggle with discipline — something we all experience — by offering a constant visual reminder of where trading conditions are optimal versus where caution is warranted.
The indicator is fully customizable through the settings panel, allowing users to adjust zone levels, colors, text visibility, and signal elements to suit their individual trading style and strategy. We personally use Trade Zones as an added layer of confluence when market conditions feel uncertain, consistently steering clear of the No Trade Zone where indecision and chop are most likely to occur.
This free indicator was built to support our community in developing better trading habits, improving decision-making, and progressing toward long-term consistency and profitability.
Regards,
ENTRYLAB
Market Structure [odnac]Overview
This indicator is a comprehensive tool designed for traders utilizing Smart Money Concepts (SMC) and Price Action. It automatically identifies and labels significant market structure shifts, specifically BOS (Break of Structure) and CHoCH (Change of Character), helping you stay on the right side of the trend.
Key Features
Dual Logic Modes (V1 & V2):
V1 (Fixed Pivot): Only utilizes confirmed pivot points. Ideal for conservative traders looking for major swing levels.
V2 (Dynamic Update): Automatically updates swing points to the actual highest high or lowest low between breaks. This provides a more fluid and accurate representation of price flow.
Smart Confirmation: Unlike basic pivot scripts, this indicator uses a multi-bar confirmation logic (checking candle polarity and close sequences) to filter out market noise and false pivots.
Automatic Trend Detection: The indicator tracks the current market bias (Bullish/Bearish) and visualizes it through customizable background colors or shapes.
Clear Visual Cues: * BOS: Indicates a continuation of the current trend.
CHoCH: Signals a potential trend reversal.
How to Use
Identify Trend Direction: Use the background coloring or the shapes at the bottom to quickly identify if the market is in a Bullish (Green) or Bearish (Red) phase.
Look for Structure Breaks: * When price breaks a previous high/low, the indicator will draw a line and label it as BOS if the trend continues, or CHoCH if the trend flips.
Customize for Your Assets: * For volatile assets like XLM or other cryptocurrencies, you can adjust the Swing Left/Right Bars inputs to filter for either micro-structures or macro-trends.
Input Settings
Version: Choose between V1 (Strict Pivots) and V2 (Dynamic Ranges).
Swing Left/Right Bars: Determines the sensitivity of high/low detection. Increase these values to find "stronger" structural points.
Trend Visualization: Toggle between Background fills, Shape markers at the bottom, or None for a cleaner look.
Show Swings: Toggle the visibility of the white circles marking confirmed pivot points.
Disclaimer
Market structure is a lagging indicator by nature as it requires confirmation. Always use this tool in conjunction with other technical analysis methods (Order Blocks, Fair Value Gaps, or Volume) for the best results.
ML-Inspired Adaptive Momentum Strategy (TradingView v6)This strategy demonstrates an adaptive momentum approach using volatility-normalized trend strength. It is designed for educational and analytical purposes and uses deterministic, fully transparent logic compatible with Pine Script v6.
ML-Inspired Concept (Educational Context)
Pine Script cannot train or execute real machine-learning models.
Instead, this strategy demonstrates ML-style thinking by:
Converting price data into features
Normalizing features to account for volatility differences
Producing a bounded confidence score
Applying thresholds for decision making
This is not predictive AI and does not claim forecasting capability.
Strategy Logic
EMA is used to measure directional bias
EMA slope represents momentum change
ATR normalizes the slope (feature scaling)
A clamped score between −1 and +1 is generated
Trades trigger only when the score exceeds defined thresholds
Risk & Execution
Position size capped at 5% equity
Commission and slippage included for realistic testing
Signals are calculated on closed bars only
Purpose
This script is intended to help traders explore adaptive momentum concepts and understand how feature normalization can be applied in systematic trading strategies.
Supertrend + OBV AND Logic (long only)Supertrend + OBV Regime Filter (Long-Only) is a rule-based trend regime detection script that combines ATR-based Supertrend structure with volume-confirmed momentum using On-Balance Volume (OBV). The Supertrend (ATR 10, multiplier 3) defines the primary market regime and acts as the absolute authority for trend direction, while OBV—manually calculated for robustness and smoothed using EMA(20) with a signal EMA(20)—is used to confirm participation and momentum.
A long signal is generated only on confirmed bar close when the Supertrend is bullish (price above the Supertrend line) and OBV momentum turns positive via an EMA crossover, enforcing strict AND-logic confirmation and preventing entries during low-volume or transitional phases.
The strategy maintains a single long position per trend, with no pyramiding, averaging, or discretionary overrides. A full exit is triggered immediately when the Supertrend flips bearish, serving as a hard regime exit rather than a profit-target-based stop.
Additionally, an OBV downside crossover generates a non-executable “Protect” signal (visual only), intended for risk-management actions such as reducing exposure or pausing position additions, particularly for grid or DCA implementations.
This script is not designed as a grid, scalping, or buy-and-hold strategy; instead, it functions as a conservative trend and regime filter suitable for discretionary trading or as a signal layer to control automated long-bias execution systems. Forward testing and proper risk management are strongly recommended.
Market Regime | NY Session Killzones Indicator [ApexLegion]Market Regime | NY Session Killzones Indicator
Introduction and Theoretical Background
The Market Regime | NY Session Killzones indicator is designed exclusively for New York market hours (07:00-16:00 ET). Unlike universal indicators that attempt to function across disparate global sessions, this tool employs session-specific calibration to target the distinct liquidity characteristics of the NY trading day: Pre-Market structural formation (08:00-09:30), the Morning breakout window (09:30-12:00), and the Afternoon Killzone (13:30-16:00)—periods when institutional order flow exhibits the highest concentration and most definable technical structure. By restricting its operational scope to these statistically significant time windows, the indicator focuses on signal relevance while filtering the noise inherent in lower-liquidity overnight or extended-hours trading environments.
I. TECHNICAL RATIONALE: THE PRINCIPLE OF CONTEXTUAL FUSION
1. The Limitation of Acontextual Indicators
Traditional technical indicators often fail because they treat every bar and every market session equally, applying static thresholds (e.g., RSI > 70) without regard for the underlying market structure or liquidity environment. However, institutional volume and market volatility are highly dependent on the time of day (session) and the prevailing long-term risk environment.
This indicator was developed to address this "contextual deficit" by fusing three distinct yet interdependent analytical layers:
• Time and Structure (Macro): Identifying high-probability trading windows (Killzones) and critical structural levels (Pre-Market Range, PDH/PDL).
• Volatility and Scoring (Engine): Normalizing intraday momentum against annual volatility data to create an objective, statistically grounded AI Score.
• Risk Management (Execution): Implementing dynamic, volatility-adjusted Stop Loss (SL) and Take Profit (TP) parameters based on the Average True Range (ATR).
2. The Mandate for 252-Day Normalization (Z-Score)
What makes this tool unique is its 252-day Z-Score normalization engine that transforms raw momentum readings into statistically grounded probability scores, allowing the same indicator to deliver consistent, context-aware signals across any timeframe—from 1-minute scalping to 1-hour swing trades—without manual recalibration.
THE PROBLEM OF SCALE INVARIANCE
A high Relative Strength Index (RSI) reading on a 1-minute chart has a completely different market implication than a high RSI reading on a Daily chart. Simple percentage-based thresholds (like 70 or 30) do not provide true contextual significance. A sudden spike in momentum may look extreme on a 5-minute chart, but if it is statistically insignificant compared to the overall volatility of the last year, it may be a poor signal.
THE SOLUTION: CROSS-TIMEFRAME Z-SCORE NORMALIZATION
This indicator utilizes the Pine Script function request.security to reference the Daily timeframe for calculating the mean (μ) and standard deviation (σ) of a momentum oscillator (RSI) over the past 252 trading days (one year).
The indicator then calculates the Z-Score (Z) for the current bar's raw momentum (x): Z = (x - μ) / σ
Core Implementation: float raw_rsi = ta.rsi(close, 14) // x
= request.security(syminfo.tickerid, "D",
, // σ (252 days)
lookahead=barmerge.lookahead_on)
float cur_rsi_norm = d_rsi_std != 0 ? (raw_rsi - d_rsi_mean) / d_rsi_std : 0.0 // Z
This score provides an objective measurement of current intraday momentum significance by evaluating its statistical extremity against the yearly baseline of daily momentum. This standardized approach provides the scoring engine with consistent, global contextual information, independent of the chart's current viewing timeframe.
II. CORE COMPONENTS AND TECHNICAL ANALYSIS BREAKDOWN
1. TIME AND SESSION ANALYSIS (KILLZONES AND BIAS)
The indicator visually segments the trading day based on New York (NY) trading sessions, aligning the analysis with periods of high institutional liquidity events.
Pre-Market (PRE)
• Function: Defines the range before the core market opens. This range establishes structural support and resistance levels (PMH/PML).
• Technical Implementation: Uses a dedicated Session input (ny_pre_sess). The High and Low values (pm_h_val/pm_l_val) within this session are stored and plotted for structural reference.
• Smart Extension Logic: PMH/PML lines are automatically extended until the next Pre-Market session begins, providing continuous support/resistance references overnight.
NY Killzones (AM/PM)
• Function: Highlights high-probability volatility windows where institutional liquidity is expected to be highest (e.g., NY open, lunch, NY close).
• Technical Implementation: Separate session inputs (kz_ny_am, kz_ny_pm) are utilized to draw translucent background fills, providing a clear visual cue for timing.
Market Regime Bias
• Function: Determines the initial directional premise for the trading day. The bias is confirmed when the price breaks either the Pre-Market High (PMH) or the Pre-Market Low (PML).
• Technical Implementation: Involves the comparison of the close price against the predefined structural levels (check_h for PMH, check_l for PML). The variable active_bias is set to Bullish or Bearish upon confirmed breakout.
Trend Bar Coloring
• Function: Applies a visual cue to the bars based on the established regime (Bullish=Cyan, Bearish=Red). This visual filter helps mitigate noise from counter-trend candles.
• Technical Implementation: The Pine Script barcolor() function is tied directly to the value of the determined active_bias.
2. VOLATILITY NORMALIZED SCORING ENGINE
The internal scoring mechanism accumulates points from multiple market factors to determine the strength and validity of a signal. The purpose is to apply a robust filtering mechanism before generating an entry.
The score accumulation logic is based on the following factors:
• Market Bias Alignment (+3 Points): Points are awarded for conformance with the determined active_bias (Bullish/Bearish).
• VWAP Alignment (+2 Points): Assesses the position of the current price relative to the Volume-Weighted Average Price (VWAP). Alignment suggests conformity with the average institutional transaction price.
• Volume Anomaly (+2 Points): Detects a price move accompanied by an abnormally high relative volume (odd_vol_spike). This suggests potential institutional participation or significant order flow.
• VIX Integration (+2 Points): A score derived from the CBOE VIX index, assessing overall market stability and stress. Stable VIX levels add points, while high VIX levels (stress regimes) remove points or prevent signal generation entirely.
• ML Probability Score (+3 Points): This is the core predictive engine. It utilizes a Log-Manhattan Distance Kernel to compare the current market state against historical volatility patterns. The script implements a Log-linear distance formula (log(1 + |Δ|) ). This approach mathematically dampens the impact of extreme volatility spikes (outliers), ensuring that the similarity score reflects true structural alignment rather than transient market noise.
Core Technical Logic (Z-Score Normalization)
float cur_rsi_norm = d_rsi_std != 0 ? (raw_rsi - d_rsi_mean) / d_rsi_std : 0.0
• Technical Purpose: This line calculates the Z-Score (cur_rsi_norm) of the current momentum oscillator reading (raw_rsi) by normalizing it against the mean (d_rsi_mean) and standard deviation (d_rsi_std) derived from 252 days of Daily momentum data. If the standard deviation is zero (market is perfectly flat), it safely returns 0.0 to prevent division by zero runtime errors. This allows the AI's probability score to be based on the current signal's significance within the context of the entire trading year.
3. EXECUTION AND RISK MANAGEMENT (ATR MODEL)
The indicator utilizes the Average True Range (ATR) volatility model. This helps risk management scale dynamically with market volatility by allowing users to define TP/SL distances independently based on the current ATR.
Stop Loss Multiplier (sl_mult)
• Function: Sets the Stop Loss (SL) distance as a configurable multiple of the current ATR (e.g., 1.5 × ATR).
• Technical Logic: The price level is calculated as: last_sl_price := close - (atr_val * sl_mult). The mathematical sign is reversed for short trades.
Take Profit Multiplier (tp_mult)
• Function: Sets the Take Profit (TP) distance as a configurable multiple of the current ATR (e.g., 3.0 × ATR).
• Technical Logic: The price level is calculated as: last_tp_price := close + (atr_val * tp_mult). The mathematical sign is reversed for short trades.
Structural SL Option
• Function: Provides an override to the ATR-based SL calculation. When enabled, it forces the Stop Loss to the Pre-Market High/Low (PMH/PML) level, aligning the stop with a key institutional structural boundary.
• Technical Logic: The indicator checks the use_struct_sl input. If true, the calculated last_sl_price is overridden with either pm_h_val or pm_l_val, dependent on the specific trade direction.
Trend Continuation Logic
• Function: Enables signal generation in established, strong trends (typically in the Afternoon session) based on follow-through momentum (a new high/low of the previous bar) combined with a high Signal Score, rather than exclusively relying on the initial PMH/PML breakout.
• Technical Logic: For a long signal, the is_cont_long logic specifically requires checks like active_bias == s_bull AND close > high , confirming follow-through momentum within the established regime.
Smart Snapping & Cleanup (16:00 Market Close)
• Function: To maintain chart cleanliness, all trade boxes (TP/SL), AI Prediction zones, Killzone overlays (NY AM/PM), and Liquidity lines (PDH/PDL) are automatically "snapped" and cut off precisely at 16:00 NY Time (Market Close).
• Technical Logic: When is_market_close condition is met (hour == 16 and minute == 0), the script executes cleanup logic that:
◦ Closes active trades and evaluates final P&L
◦ Snaps all TP/SL box widths to current bar
◦ Truncates AI Prediction ghost boxes at market close
◦ Cuts off NY AM/PM Killzone background fills
◦ Terminates PDH/PDL line extensions
◦ Prevents visual clutter from extending into post-market sessions
4. LIQUIDITY AND STRUCTURAL ANALYSIS
The indicator plots key structural levels that serve as high-probability magnet zones or areas of potential liquidity absorption.
• Pre-Market High/Low (PMH/PML): These are the high and low established during the configured pre-market session (ny_pre_sess). They define the primary structural breakout level for the day, often serving as the initial market inflection point or the key entry level for the morning session.
• PDH (Previous Day High): The high of the calendar day immediately preceding the current bar. This represents a key Liquidity Pool; large orders are often placed above this level, making it a frequent target for stop hunts or liquidity absorption by market makers.
• PDL (Previous Day Low): The low of the calendar day immediately preceding the current bar. This also represents a key Liquidity Pool and a high-probability reversal or accumulation point, particularly during the Killzones.
FIFO Array Management
The indicator uses FIFO (First-In-First-Out) array structures to manage liquidity lines and labels, automatically deleting the oldest objects when the count exceeds 500 to comply with drawing object limits.
5. AI PREDICTION BOX (PREDICTIVE MODEL)
Function: Analyzes AI scores and volatility to project predicted killzone ranges and duration with asymmetric directional bias.
A. DIRECTIONAL BIAS (ASYMMETRIC EXPANSION)
The prediction model calculates directional probability using the ML kernel's 252-day Normalized RSI (Z-Score) and Relative Volume (RVOL). The prediction box dynamically adjusts its range based on this probability to provide immediate visual feedback on high-probability direction.
Bullish Scenario (ml_prob > 1.0):
• Upper Range: Expands significantly (1.5x multiplier) to show the aggressive upside target
• Lower Range: Tightens (0.5x multiplier) to show the invalidation level
• Visual Intent: The box is visibly skewed upward, immediately communicating bullish bias without requiring numerical analysis.
Bearish Scenario (ml_prob < -1.0):
• Upper Range: Tightens (0.5x multiplier) to show the invalidation level
• Lower Range: Expands significantly (1.5x multiplier) to show the aggressive downside target
• Visual Intent: The box is visibly skewed downward, immediately communicating bearish bias.
Neutral Scenario (-1.0 < ml_prob < 1.0):
Both ranges use balanced multipliers, creating a symmetrical box that indicates uncertainty.
B. DYNAMIC VOLATILITY BOOSTER (SESSION-BASED ADAPTATION)
The prediction box adjusts its volatility multiplier based on the current session and market conditions to account for intraday volatility patterns.
AM Session (Morning: 07:00-12:00):
• Base Multiplier: 1.0x (Neutral Base)
• Logic: Morning sessions often contain false breakouts and noise. The base multiplier starts neutral to avoid over-projecting during consolidation.
• Trend Booster: Multiplier jumps to 1.5x when:
Price > London Session Open AND AI is Bullish (ml_prob > 0), OR
Price < London Session Open AND AI is Bearish (ml_prob < 0)
• Logic: When the London trend (typically 03:00-08:00 NY time) aligns with the AI model's directional conviction, the indicator aggressively targets higher volatility expansion. This filters for "institutional follow-through" rather than random morning chop.
PM Session (Afternoon: 13:00-16:00):
• Fixed Multiplier: 1.8x
• Logic: The PM session, particularly the 13:30-16:00 ICT Silver Bullet window, often contains the "True Move" of the day. A higher baseline multiplier is applied to emphasize this session's significance over morning noise.
Safety Floor:
A minimum range of 0.2% of the current price is enforced regardless of volatility conditions.
• Purpose: Maintains the prediction box visibility during extreme low-volatility consolidation periods where ATR might collapse to near-zero values.
Volatility Clamp Protection:
Maximum volatility is capped at three times the current ATR value. During flash crashes, circuit breaker halts, or large overnight gaps, raw volatility calculations can spike to extreme levels. This clamp prevents prediction boxes from expanding to unrealistic widths.
Technical Implementation:
f_get_ai_multipliers(float _prob) =>
float _abs_prob = math.abs(_prob)
float _range_mult = 1.0
float _dur_mult = 1.0
if _abs_prob > 30
_range_mult := 1.8
else if _abs_prob > 10
_range_mult := 1.2
else
_range_mult := 0.7
C. PRACTICAL INTERPRETATION
• Wide Upper Range + Tight Lower Range: Strong bullish conviction. The model expects significant upside with limited downside risk.
• Tight Upper Range + Wide Lower Range: Strong bearish conviction. The model expects significant downside with limited upside.
• Symmetrical Range: Neutral/uncertain market. Wait for directional confirmation before entry.
• Large Box (Extended Duration): High-confidence prediction expecting sustained movement.
• Small Box (Short Duration): Low-confidence or choppy conditions. Expect quick resolution.
III. PRACTICAL USAGE GUIDE: METHODOLOGY AND EXECUTION
A. ESTABLISHING TRADING CONTEXT (THE THREE CHECKS)
The primary goal of the dashboard is to filter out low-probability trade setups before they occur.
• Timeframe Selection: Although the core AI is normalized to the Daily context, the indicator performs optimally on intraday timeframes (e.g., 5m, 15m) where session-based volatility is most pronounced.
• PHASE Check (Timing): Always confirm the current phase. The highest probability signals typically occur within the visually highlighted NY AM/PM Killzones because this is when institutional liquidity and volume are at their peak. Signals outside these zones should be treated with skepticism.
• MARKET REGIME Check (Bias): Ensure the signal (BUY/SELL arrow) aligns with the established MARKET REGIME bias (BULLISH/BEARISH). Counter-bias signals are technically allowed if the score is high, but they represent a higher risk trade.
• VIX REGIME Check (Risk): Review the VIX REGIME for overall market stress. Periods marked DANGER (high VIX) indicate elevated volatility and market uncertainty. During DANGER regimes, reducing position size or choosing a wider SL Multiplier is advisable.
B. DASHBOARD INTERPRETATION (THE REAL-TIME STATUS DISPLAY)
The indicator features a non-intrusive dashboard that provides real-time, context-aware information based on the core analytical engines.
PHASE: (PRE-MARKET, NY-AM, LUNCH, NY-PM)
• Meaning: Indicates the current institutional session time. This is derived from the customizable session inputs.
• Interpretation: Signals generated during NY-AM or NY-PM (Killzones) are generally considered higher-probability due to increased institutional participation and liquidity.
MARKET REGIME: (BULLISH, BEARISH, NEUTRAL)
• Meaning: The established directional bias for the trading day, confirmed by the price breaking above the Pre-Market High (PMH) or below the Pre-Market Low (PML).
• Interpretation: Trading with the established regime (e.g., taking a BUY signal when the regime is BULLISH) is the primary method. NEUTRAL indicates that the PMH/PML boundary has not yet been broken, suggesting market ambiguity.
VIX REGIME: (STABLE, DANGER)
• Meaning: A measure of overall market stress and stability, based on the CBOE VIX index integration. The thresholds (20.0 and 35.0 default) are customizable by the user.
• Interpretation: STABLE indicates stable volatility, favoring momentum trades. DANGER (VIX > 35.0) indicates extreme stress; signals generated in this environment require caution and often necessitate smaller position sizing.
SIGNAL SCORE: (0 to 10+ Points)
• Meaning: The accumulated score derived from the VOLATILITY NORMALIZED AI SCORING ENGINE, factoring in bias, VWAP alignment, volume, and the Z-Score probability.
• Interpretation: The indicator generates a signal when this score meets or exceeds the Minimum Entry Score (default 3). A higher score (e.g., 7+) indicates greater statistical confluence and a stronger potential entry.
AI PROBABILITY: (Bull/Bear %)
• Meaning: Directional probability derived from the ML kernel, expressed as a percentage with Bull/Bear label.
• Interpretation: Higher absolute values (>20%) indicate stronger directional conviction from the ML model.
LIVE METRICS SECTION:
• STATUS: Shows current trade state (LONG, SHORT, or INACTIVE)
• ENTRY: Displays the entry price for active trades
• TARGET: Shows the calculated Take Profit level
• ROI | KILL ZONE:
◦ For Active Trades: Displays real-time P&L percentage during NY session hours.
◦ At Market Close (16:00 NY): Since this is a NY session-specific indicator, any active position is automatically evaluated and closed at 16:00. The final result (VALIDATED or INVALIDATED) is determined based on whether the trade reached profit or loss at market close.
◦ Result Persistence: The killzone result (VALIDATED/INVALIDATED) remains displayed on the dashboard until the next NY AM KILLZONE session begins, providing a clear performance reference for the previous trading day.
Note: If a trade is still trending at 16:00, it will be force-closed and evaluated at that moment, as the indicator operates strictly within NY trading hours.
C. SIGNAL GENERATION AND ENTRY LOGIC
The indicator generates signals based on two distinct technical setups, both of which require the accumulated SIGNAL SCORE to be above the configured Minimum Entry Score.
Breakout Entry
• Trigger Condition: Price closes beyond the Pre-Market High (PMH) or Low (PML).
• Rationale: This setup targets the initial directional movement for the day. A breakout confirms the institutional bias by decisively breaking the first major structural boundary, making the signal high-probability.
Continuation Entry
• Trigger Condition: The market is already in an established regime (e.g., BULLISH), and the price closes above the high (or below the low) of the previous bar, while the SIGNAL SCORE remains high. Requires the Allow Trend Continuation parameter to be active.
• Rationale: This setup targets follow-through trades, typically in the afternoon session, capturing momentum after the morning's direction has been confirmed. This filters for sustainability in the established trend.
Execution: Execute the trade immediately upon the close of the bar that prints the BUY or SELL signal arrow.
D. MANAGING RISK AND EXITS
1. RISK PARAMETER SELECTION
The indicator immediately draws the dynamic TP/SL zones upon entry.
• Volatility-Based (Recommended Default): By setting the SL Multiplier (e.g., 1.5) and the TP Multiplier (e.g., 3.0), the indicator enforces a constant, dynamically sized risk-to-reward ratio (e.g., 1:2 in this example). This helps that risk management scales proportionally with the current market volatility (ATR).
• Structural Override: Selecting the Use Structural SL parameter fixes the stop-loss not to the ATR calculation, but to the more significant structural level of the PMH or PML. This is utilized by traders who favor institutional entry rules where the stop is placed behind the liquidity boundary.
2. EXIT METHODS
• Hard Exit: Price hits the visual TP or SL box boundary.
• Soft Exit (Momentum Decay Filter): If the trade is active and the SIGNAL SCORE drops below the Exit Score Threshold (default 3), it indicates that the momentum supporting the trade has significantly collapsed. This serves as a momentum decay filter, prompting the user to consider a manual early exit even if the SL/TP levels have not been hit, thereby preserving capital during low-momentum consolidation.
• Market Close Auto-Exit: At 16:00 NY time, any active trade is automatically closed and classified as VALIDATED (profit) or INVALIDATED (loss) based on current price vs. entry price.
IV. PARAMETER REFERENCE AND CONFIGURATION
A. GLOBAL SETTINGS
• Language (String, Default: English): Selects the language for the dashboard and notification text. Options: English, Korean, Chinese, Spanish, Portuguese, Russian, Ukrainian, Vietnamese.
B. SESSION TIMES (3 BOX SYSTEM)
• PRE-MARKET (Session, Default: 0800-0930): Defines the session range used for Pre-Market High/Low (PMH/PML) structural calculation.
• REGULAR (Morning) (Session, Default: 0930-1200): Defines the core Morning trading session.
• AFTERNOON (PM) (Session, Default: 1300-1600): Defines the main Afternoon trading session.
• Timezone (String, Default: America/New_York): Sets the timezone for all session and time-based calculations.
C. NY KILLZONES (OVERLAYS)
• Show NY Killzones (Bool, Default: True): Toggles the translucent background fills that highlight high-probability trading times (Killzones).
• NY AM Killzone (Session, Default: 0700-1000): Defines the specific time window for the first key liquidity surge (Open overlap).
• NY PM Killzone (Session, Default: 1330-1600): Defines the afternoon liquidity window, aligned with the ICT Silver Bullet and PM Trend entry timing.
• Allow Entry in Killzones (Bool, Default: True): Enables or disables signal generation specifically during the defined Killzone hours.
• Activate AI Prediction Box (Bool, Default: True): Toggles the drawing of the predicted target range boxes on the chart.
D. CORE SCORING ENGINE
• Minimum Entry Score (Int, Default: 3): The lowest accumulated score required for a Buy/Sell signal to be generated and plotted.
• Allow Trend Continuation (Bool, Default: True): Enables the secondary entry logic that fires signals based on momentum in an established trend.
• Force Ignore Volume (Bool, Default: False): Overrides the volume checks in the scoring engine. Useful for markets where volume data is unreliable or nonexistent.
• Force Show Signals (Ignore Score) (Bool, Default: False): Debug mode that displays all signals regardless of score threshold.
• Integrate CBOE:VIX (Bool, Default: True): Enables the connection to the VIX index for market stress assessment.
• Stable VIX (<) (Float, Default: 20.0): VIX level below which market stress is considered low (increases score).
• Stress VIX (>) (Float, Default: 35.0): VIX level above which market stress is considered high (decreases score/flags DANGER).
• Use ML Probability (Bool, Default: True): Activates the volatility-normalized AI Z-Score kernel. Disabling this removes the cross-timeframe normalization filter.
• Max Learning History (Int, Default: 2000): Maximum number of bars stored in the ML training arrays.
• Normalization Lookback (252 Days) (Int, Default: 252): The number of DAILY bars used to calculate the Z-Score mean and standard deviation (representing approximately 1 year of data).
E. RISK MANAGEMENT (ATR MODEL)
• Use Structural SL (Bool, Default: False): Overrides the ATR-based Stop Loss distance to use the Pre-Market High/Low as the fixed stop level.
• Stop Loss Multiplier (x ATR) (Float, Default: 1.5): Defines the Stop Loss distance in multiples of the current Average True Range (ATR).
• Take Profit Multiplier (x ATR) (Float, Default: 3.0): Defines the Take Profit distance in multiples of the current Average True Range (ATR).
• Exit Score Threshold (<) (Int, Default: 3): The minimum score below which an active trade is flagged for a Soft Exit due to momentum collapse.
F. VISUAL SETTINGS
• Show Dashboard (Bool, Default: True): Toggles the real-time data panel.
• Show NY Killzones (Bool, Default: True): Toggles killzone background fills.
• Show TP/SL Zones (Bool, Default: True): Toggles the drawing of Take Profit and Stop Loss boxes.
• Show Pre-Market Extensions (Bool, Default: True): Extends PM High/Low lines across the entire chart for support/resistance reference.
• Activate AI Prediction Box (Bool, Default: True): Enable or disable the predictive range projection.
• Light Mode Optimization (Bool, Default: True): Toggles dashboard and plot colors for optimal visibility on white (light) chart backgrounds.
• Enforce Trend Coloring (Bool, Default: True): Forces candle colors based on Market Regime (Bullish=Cyan, Bearish=Pink) to emphasize trend direction.
• Label Size (String, Default: Normal): Options: Tiny, Small, Normal.
G. LIQUIDITY POOLS (PDH/PDL)
• Show Liquidity Lines (Bool, Default: True): Toggles the display of the Previous Day High (PDH) and Low (PDL) lines.
• Liquidity High Color (Color, Default: Green): Color setting for the PDH line.
• Liquidity Low Color (Color, Default: Red): Color setting for the PDL line.
🔔 ALERT CONFIGURATION GUIDE
The indicator is equipped with specific alert conditions.
How to Set Up an Alert:
Click the "Alert" (Clock icon) in the top TradingView toolbar.
Select "Market Regime NY Session " from the Condition dropdown menu.
Choose one of the specific trigger conditions below depending on your strategy:
🚀 Available Alert Conditions
1. BUY (Long Entry)
Trigger: Fires immediately when a confirmed Bullish Setup is detected.
Conditions: Market Bias is Bullish (or valid Continuation) + Signal Score ≥ Minimum Entry Score.
Usage: Use this alert to open new Long positions or close existing Short positions.
2. SELL (Short Entry)
Trigger: Fires immediately when a confirmed Bearish Setup is detected.
Conditions: Market Bias is Bearish (or valid Continuation) + Signal Score ≥ Minimum Entry Score.
Usage: Use this alert to open new Short positions or close existing Long positions.
V. IMPORTANT TECHNICAL LIMITATIONS
⚠️ Intraday Only (Timeframe Compatibility)
This indicator is strictly designed for Intraday Timeframes (1m to 4h).
Daily/Weekly Charts: The session logic (e.g., "09:30-16:00") cannot function on Daily bars because a single bar encompasses the entire session. Session boxes, TP/SL zones, and AI prediction boxes will NOT draw on the Daily timeframe. Only the PDH/PDL liquidity lines remain visible on Daily charts. This is expected behavior, not a limitation.
Maximum Supported Timeframe: All visual components (session boxes, killzone overlays, TP/SL zones, AI prediction boxes) are displayed up to the 4-hour timeframe. Above this timeframe, only PDH/PDL lines and the dashboard remain functional.
⚠️ Drawing Object Limit (Max 500)
A single script can display a maximum of 500 drawing objects (boxes/lines) simultaneously.
On lower timeframes (e.g., 1-minute), where many signals and session boxes are generated, older history (typically beyond 10-14 days) will automatically disappear to make room for new real-time data.
For deeper historical backtesting visualization, switch to higher timeframes (e.g., 15m, 1h).
The indicator implements FIFO array management to comply with this limit while maintaining the most recent and relevant visual data.
VI. PRACTICAL TRADING TIPS AND BEST PRACTICES
• Killzone Confirmation: The highest statistical validity is observed when a high-score signal occurs directly within a visible NY AM/PM Killzone. Use the Killzones as a strict time filter.
• Liquidity Awareness (PDH/PDL): Treat the Previous Day High (PDH) and Low (PDL) lines as magnets. If your dynamic Take Profit (TP) is placed just above PDH, consider adjusting your target slightly below PDH or utilizing the Soft Exit, as liquidity absorption at these levels often results in sudden, sharp reversals that stop out a trade just before the target is reached.
• VIX as a Position Sizer: During DANGER VIX regimes, the resulting high volatility means the ATR value will be large. It is prudent to either reduce the SL Multiplier or, more commonly, reduce the overall position size to maintain a constant currency risk exposure per trade.
• Continuation Filter Timing: Trend Continuation signals are most effective during the Afternoon (PM) session when the morning's directional breakout has had time to establish a strong, clear, and sustainable trend. Avoid using them in the initial AM session when the direction is still being contested.
• 16:00 Market Close Rule: All trades, boxes, and lines are automatically cleaned up at 16:00 NY time. This prevents overnight chart clutter and maintains visual clarity.
VII. DISCLAIMER & RISK WARNINGS
• Educational Purpose Only
This indicator, including all associated code, documentation, and visual outputs, is provided strictly for educational and informational purposes. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments.
• No Guarantee of Performance
Past performance is not indicative of future results. All metrics displayed on the dashboard (including "ROI" and trade results) are theoretical calculations based on historical data. These figures do not account for real-world trading factors such as slippage, liquidity gaps, spread costs, or broker commissions.
• High-Risk Warning
Trading cryptocurrencies, futures, and leveraged financial products involves a substantial risk of loss. The use of leverage can amplify both gains and losses. Users acknowledge that they are solely responsible for their trading decisions and should conduct independent due diligence before executing any trades.
• Software Limitations
The software is provided "as is" without warranty. Users should be aware that market data feeds on analysis platforms may experience latency or outages, which can affect signal generation accuracy.
Day Trading Signals Trend & Momentum Buy/Sell [CocoChoco]Day Trading Signals: Trend & Momentum Buy/Sell
Overview
The indicator is a comprehensive day-trading tool designed to identify high-probability entries by aligning short-term momentum with long-term trend confluence.
It filters out low-volatility "choppy" markets using ADX and ensures you are always trading in the direction of the dominant higher-timeframe trend.
Important: Use on timeframes from 15 min to 2 hours, as the indicator is for day trading only.
How It Works
The script uses a three-layer confirmation system:
Trend Alignment: Uses a Fast/Slow SMA cross (10/50) on the current chart. Signal prints only if price closes above (for bullish) or below (for bearish) the 10-period SMA.
Higher Timeframe Confluence: The script automatically looks at a higher timeframe (1H for charts <=15m, and 4H for others) and checks if the price is above/below a 200-period SMA.
Momentum & Volatility: Signals are only triggered if the Stochastic Oscillator is rising/falling and the ADX is above 20, ensuring there is enough "strength" behind the move.
Visual Signals Buy/Sell
Green Label (Up Arrow): Bullish entry signal
Red Label (Down Arrow): Bearish entry signal.
Red "X": Exit signal based on a moving average crossover (trend exhaustion).
Visual Risk/Reward (1:1) Boxes: When a signal appears, the script automatically draws a projection of your Stop Loss (Red) and Take Profit (Green) based on the current ATR (Average True Range).
How to Use
Entry: Enter when a Label appears. Ensure the candle has closed to confirm the signal.
Stop Loss/Take Profit: Use the visual boxes as a guide. The default is 1.0 ATR for risk and 1.0 RR ratio, which can be adjusted in the settings.
Exit: Exit the trade either at the target boxes or when the Red "X" appears, indicating the trend has shifted.
Please note that this is just a tool, not financial advice. Perform your own analysis before entering a trade.
Delta Reaction Zones [BOSWaves]Delta Reaction Zones - Cumulative Delta-Based Supply and Demand Identification with Flow-Weighted Zone Construction
Overview
Delta Reaction Zones is a volume flow-aware supply and demand detection system that identifies price levels where significant buying or selling pressure accumulated, constructing adaptive zones around cumulative delta extremes with intelligent flow composition analysis.
Instead of relying on traditional price-based support and resistance or fixed pivot structures, zone placement, thickness, and directional characterization are determined through delta accumulation patterns, volatility-adaptive sizing, and the proportional composition of positive versus negative volume flow.
This creates dynamic reaction boundaries that reflect actual order flow imbalances rather than arbitrary price levels - contracting during low volatility environments, expanding during elevated volatility periods, and incorporating flow composition statistics to reveal whether zones formed under buying or selling dominance.
Price is therefore evaluated relative to zones anchored at delta extremes rather than conventional technical levels.
Conceptual Framework
Delta Reaction Zones is founded on the principle that meaningful support and resistance emerge where cumulative volume flow reaches local extremes rather than where price alone forms patterns.
Traditional support and resistance methods identify turning points through price structure, which often ignores the underlying order flow dynamics that drive those reversals. This framework replaces price-centric logic with delta-driven zone construction informed by actual buying and selling pressure.
Three core principles guide the design:
Zone placement should correspond to cumulative delta extremes, not price pivots alone.
Zone thickness must adapt to current market volatility conditions.
Flow composition context reveals whether zones formed under accumulation or distribution.
This shifts supply and demand analysis from static price levels into adaptive, flow-anchored reaction boundaries.
Theoretical Foundation
The indicator combines delta proxy methodology, cumulative volume tracking, adaptive volatility measurement, and flow decomposition analysis.
A signed volume delta proxy estimates directional order flow on each bar, which accumulates into a running cumulative delta series. Pivot detection identifies local extremes in either cumulative delta or its rate of change, marking levels where flow momentum reached inflection points. Average True Range (ATR) provides volatility-responsive zone sizing, while impulse window analysis decomposes recent flow into positive and negative components with percentage weighting.
Four internal systems operate in tandem:
Delta Accumulation Engine : Computes smoothed signed volume and maintains cumulative delta tracking for directional flow measurement.
Pivot Detection System : Identifies significant turning points in cumulative delta or delta rate of change to anchor zone placement.
Adaptive Zone Construction : Scales zone thickness dynamically using ATR-based volatility measurement around pivot anchors.
Flow Composition Analysis : Calculates positive and negative flow percentages over a configurable impulse window to characterize zone formation context.
This design allows zones to reflect actual order flow behavior rather than reacting mechanically to price formations.
How It Works
Delta Reaction Zones evaluates price through a sequence of flow-aware processes:
Signed Volume Delta Calculation : Each bar's volume is directionally signed based on close-open relationship, creating a proxy for buying versus selling pressure.
Cumulative Delta Tracking : Signed volume accumulates into a running total, revealing sustained directional flow over time.
Pivot Identification : Local highs and lows in cumulative delta (or its rate of change) mark significant flow inflection points where zones anchor.
Volatility-Adaptive Sizing : ATR multiplier determines zone half-width, automatically adjusting thickness to current market conditions.
Flow Decomposition : Positive and negative volume components are separated and percentage-weighted over the impulse window to reveal dominant flow direction.
Intelligent Zone Merging : Overlapping zones of the same type automatically merge into broader reaction areas, with flow statistics blended proportionally.
Dynamic Extension and Visualization : Zones extend forward with gradient-filled composition segments showing buy versus sell flow proportions.
Breach Detection and Cleanup : Zones invalidate automatically when price closes beyond their boundaries, maintaining chart clarity.
Together, these elements form a continuously updating supply and demand framework anchored in order flow reality.
Interpretation
Delta Reaction Zones should be interpreted as flow-anchored supply and demand boundaries:
Support Zones (Green) : Form at cumulative delta lows, marking levels where selling exhaustion or buying accumulation occurred.
Resistance Zones (Red) : Establish at cumulative delta highs, identifying areas where buying exhaustion or selling distribution dominated.
Flow Composition Segments : Visual gradient within each zone reveals the buy/sell flow proportion during zone formation. The upper segment (red tint) represents negative (selling) flow percentage while the lower segment (green tint) represents positive (buying) flow percentage.
BUY FLOW / SELL FLOW / MIXED Labels : Indicate dominant flow character when one direction exceeds 60% of total impulse window activity.
Net Delta Statistics : Display cumulative flow totals (Δ) alongside percentage breakdowns for immediate context.
Zone Thickness : Reflects current volatility environment - wider zones in volatile conditions, tighter zones in calm markets.
Zone Merging : Multiple nearby pivots consolidate into broader reaction areas, weighted by their respective flow magnitudes.
Flow composition, volatility context, and delta magnitude outweigh isolated price reactions.
Signal Logic & Visual Cues
Delta Reaction Zones presents two primary interaction signals:
Support Reclaim (RC) : Green label appears when price crosses back above a support zone's midline after trading below it, suggesting renewed buying interest.
Resistance Re-enter (RE) : Red label displays when price crosses back below a resistance zone's midline after trading above it, indicating resumed selling pressure.
Alert generation covers zone creation and midline reclaim/re-entry events for systematic monitoring.
Strategy Integration
Delta Reaction Zones fits within order flow-informed and supply/demand trading approaches:
Flow-Anchored Entry Zones : Use zones as high-probability reaction areas where historical order flow imbalances occurred.
Composition-Based Bias : Favor trades aligning with dominant flow character - long setups near zones formed under buying dominance, short setups near selling-dominated zones.
Volatility-Aware Targeting : Expect wider reaction ranges when ATR expands zones, tighter ranges when ATR contracts them.
Merge-Informed Conviction : Broader merged zones represent multiple flow inflection points, potentially offering stronger support/resistance.
Midline Reclaim Validation : Use RC/RE signals as confirmation of zone respect rather than standalone entry triggers.
Multi-Timeframe Flow Context : Apply higher-timeframe delta zones to inform lower-timeframe entry precision.
Technical Implementation Details
Core Engine : Signed volume delta proxy with EMA smoothing
Accumulation Model : Persistent cumulative delta tracking with optional rate-of-change pivot detection
Zone Construction : ATR-scaled thickness around pivot anchors
Flow Analysis : Positive/negative decomposition over configurable impulse window
Visualization : Gradient-filled zones with embedded flow statistics and percentage segments
Signal Logic : Midline crossover detection with breach-based invalidation
Merge System : Proximity-based consolidation with weighted flow blending
Performance Profile : Optimized for real-time execution with configurable zone limits
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Micro-structure flow zones for scalping and short-term reversals
15 - 60 min : Intraday supply/demand identification with flow context
4H - Daily : Swing-level reaction zones with macro flow characterization
Suggested Baseline Configuration:
Delta Smoothing Length : 3
Pivot Length : 12
Pivot Source : Cumulative Delta
Impulse Window : 100
ATR Length : 14
ATR Multiplier : 0.35 (reduce for lower timeframes)
Maximum Zones : 8
Merge Overlapping Zones : Enabled
Merge Gap : 20 ticks
These suggested parameters should be used as a baseline; their effectiveness depends on the asset's volume profile, tick structure, 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:
Zones appearing oversized : Reduce ATR Multiplier to tighten zone thickness, especially on lower timeframes.
Excessive zone clutter : Increase Pivot Length to demand stronger delta extremes before zone creation.
Unstable delta readings : Increase Delta Smoothing Length to reduce bar-to-bar noise in flow calculation.
Missing significant levels : Decrease Pivot Length or switch Pivot Source to "Cumulative Delta RoC" for flow acceleration sensitivity.
Flow percentages feel stale : Reduce Impulse Window Length to emphasize more recent buying/selling composition.
Too many merged zones : Decrease Merge Gap (ticks) or disable merging to preserve individual pivot zones.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Markets with consistent volume and order flow characteristics
Instruments where delta proxy correlates well with actual tape reading
Mean-reversion strategies targeting flow exhaustion zones
Trend continuation entries at zones aligned with dominant flow direction
Reduced Effectiveness:
Extremely low volume environments where delta proxy becomes unreliable
News-driven or gapped markets with discontinuous flow
Highly manipulated or illiquid instruments with erratic volume patterns
Integration Guidelines
Confluence : Combine with BOSWaves structure, market profile, or traditional supply/demand analysis
Flow Respect : Trust zones formed with strong net delta magnitude and clear flow dominance
Context Awareness : Consider whether current market regime matches zone formation conditions
Merge Recognition : Treat merged zones as higher-conviction areas due to multiple flow inflections
Breach Discipline : Exit zone-based setups cleanly when price invalidates boundaries
Disclaimer
Delta Reaction Zones is a professional-grade order flow and supply/demand analysis tool. It uses a volume-based delta proxy that estimates directional pressure but does not access true order book data. Results depend on market conditions, volume reliability, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, volatility context, and comprehensive risk management.
ICT Fair Value Gaps [Zero-Noise Edition]ICT Fair Value Gaps
Overview
In the Smart Money Concepts (SMC) framework, clarity is the ultimate edge. Most FVG indicators clutter your screen with "ghost boxes" that remain long after they have been filled. This professional-grade tool identifies high-displacement institutional imbalances and automatically dissolves them the moment they are mitigated.
Key Features
Precision Detection : Uses the classic 3-candle displacement logic to identify institutional gaps.
Auto-Mitigation : Boxes are removed the moment price retraces and "fills" the imbalance, keeping your chart 100% clean.
High Performance : Optimized with array-based logic for zero-lag performance on all timeframes.
Built-in Alerts : Stay informed with real-time notifications when new institutional displacement occurs.
How to Trade This Tool
The Trigger : A new FVG box appears, confirming institutional "intent."
The Draw : Treat the open boxes as magnets for price (Draw on Liquidity).
The Entry : Wait for price to retrace and tap the edge of the "open" FVG.
The Exit : Use opposing mitigated zones or swing points for targets.
Customizable Settings
Visuals : Custom color palettes for Bullish and Bearish imbalances.
Labels : Toggle "FVG" text on or off for a minimalist HUD experience.
Logic : Option to hide filled gaps completely for the ultimate zero-noise experience.
Global Compatibility
Tested and optimized for:
Forex : EURUSD, GBPUSD, AUDUSD.
Indices : US30, NAS100, DAX40.
Commodities : Gold (XAUUSD), Silver, Oil.
Crypto : BTCUSD, ETHUSD.
Authors Note
This script is written in Pine Script v6 . It is designed for traders who prioritize accuracy over "noisy" indicators. If you find value in this tool, please leave a Boost and follow for more SMC tool releases!
Point of Control [BigBeluga]🔵 OVERVIEW
Point of Control identifies the exact price level with the highest traded volume over a selected lookback period.
This level—called the Point of Control (PoC) —marks where the greatest market participation occurred, representing a zone of highest volume.
The indicator helps traders visualize dominant volume concentrations, fair-value levels, and structural balance within recent price action.
🔵 CONCEPTS
Point of Control (PoC) — The single price level within the defined lookback range that has accumulated the most traded volume.
Volume Distribution Bins — The price range is divided into 25 equal bins, and volume is aggregated per bin to locate the maximum concentration.
Range Boundaries — The highest and lowest price within the lookback window are used to form the upper and lower reference limits.
PoC Channel — Optional upper and lower bands plotted around the main PoC to visualize a fair-value corridor.
Volume Intensity Mapping — Candle color dynamically shifts based on the candle’s position relative to the PoC channel, showing whether price is balanced or trending away from high-volume levels.
🔵 FEATURES
Configurable Lookback Range — Adjust how many bars (10–400) are used for calculating the PoC.
Precise PoC Calculation — Volume aggregation across 25 bins to identify the exact volume peak.
Dynamic Channel Visualization — PoC bands above and below the central level to indicate equilibrium tolerance.
Adaptive Candle Coloring —
- Neutral → price inside PoC channel. Gray
- Bullish → price above PoC channel. Blue 🔵
- Bearish → price below PoC channel. Orange 🟠
Automatic Volume Labeling — Displays total volume at the active PoC level for quick reference.
Directional Indicators — 🔵 or 🟠 markers appear when price shifts above or below the PoC channel.
Range Visualization — Plots the highest and lowest points of the active lookback window for contextual awareness.
Live Updating Logic — PoC recalculates automatically every 15 bars for efficient chart performance and accuracy.
🔵 HOW TO USE
Volume Anchoring — Use PoC as a reference for where the majority of volume occurred; price often reacts to or consolidates around this level.
Trend Confirmation — Sustained price movement away from PoC channel may signal developing directional imbalance.
Value Tracking — Watch the shifting of PoC across time to identify where fair value migrates during market evolution.
Equilibrium Mapping — When price hovers around PoC, the market is balanced; when it departs, a new value zone may form.
Combine With Volume Profiles — Use alongside profile tools for higher-resolution analysis of institutional activity.
🔵 CONCLUSION
Point of Control provides a pure, volume-centric view of market balance by pinpointing where most transactions occurred within any chosen range.
It delivers a clean and efficient visualization of fair value zones—helping traders track the heartbeat of market participation, recognize dominant liquidity areas, and stay aligned with where true market interest resides.
MaPla Green Pen - PaTom Graded Zones📘 User Guide: "MaPla Green Pen - PaTom Graded Zones"
This indicator is a complete trading system that combines technical analysis of support/resistance zones (Zones) with specific entry signals (Entry Signals) and integrated risk management (Risk Management).
1. Key Indicator Components
The indicator displays three main components on the chart:
Component,Color,Original Name,Description
Demand/Supply Zone,🟥 Red/🟦 Blue,Sone MaPla,Support/Resistance zones derived from Pivot High/Low. Used as areas of interest or potential reversal points.
Entry Signal,🟢 Green/🔴 Red,MaPla Green Pen,Trade entry signals generated by a specific rejection candlestick pattern (often resembling a Pin Bar).
Risk/Reward Lines,🟢 Lime/🟠 Orange/🔴 Red,PaTom Graded,Take Profit (TP) and Stop Loss (SL) levels automatically calculated based on the user-defined Risk/Reward Ratio.
2. Understanding the Settings (Inputs)Users can adjust these three main parameters to suit their strategy and trading timeframe:Setting NameCode VariableMeaning and AdjustmentZone Strength (Pivot Period)i_strengthDefault: 10Determines the strength of the drawn zones. Higher values make zones rarer but more significant (better for higher timeframes). Lower values create more frequent zones.Take Profit Ratio (Risk/Reward)i_tp_ratioDefault: 1.5The ratio of reward to risk. A value of 1.5 means the TP distance is 1.5 times the SL distance. It is recommended to use values of 1.0 or higher.Zone Transparencyi_zone_transDefault: 88Sets the transparency of the zone's background color. Set to 0 for solid color, or 100 for maximum transparency.
3. How to Use the Signals (Trading Strategy)
The indicator operates automatically. Follow these steps when a signal appears:
3.1 📉 For a SELL Signal
Entry: A Red Label ("SELL Signal") appears above the candlestick, indicating a strong rejection of upward price movement.
Take Profit (TP): The Orange Line (TP) is automatically drawn, based on the set RR Ratio.
Stop Loss (SL): The Red Dashed Line (SL) is automatically drawn, positioned slightly above the high of the rejection candle.
3.2 📈 For a BUY Signal
Entry: A Green Label ("BUY Signal") appears below the candlestick, indicating a strong rejection of downward price movement.
Take Profit (TP): The Lime Green Line (TP) is automatically drawn, based on the set RR Ratio.
Stop Loss (SL): The Red Dashed Line (SL) is automatically drawn, positioned slightly below the low of the rejection candle.
4. Important Notice and Disclaimer
To maintain responsibility to users and comply with TradingView's rules, a clear Disclaimer must be included with the published indicator.
🚨 Important Disclaimer
Not Financial Advice: This indicator is solely a technical analysis tool based on mathematical conditions and candlestick patterns. It does not constitute financial or trading advice. Users must conduct their own analysis and make independent trading decisions.
Repainting: The entry signals in this indicator are Non-Repainting once the bar is closed. However, the Pivot High/Low zones (Demand/Supply Zones) may slightly adjust if a stronger, subsequent candle forms (a normal characteristic of Pivot calculation).
Risk: Trading involves risk. Users should always utilize Stop Loss orders and trade only with capital they can afford to lose.
Alerts: Alerts can be set up on TradingView using the programmed messages: "BUY Signal Confirmed" or "SELL Signal Confirmed."
🇹🇭 ฉบับภาษาไทย: สรุปวิธีการใช้งาน
ผู้ใช้งานควรใช้อินดิเคเตอร์นี้เป็น เครื่องมือยืนยัน สัญญาณเข้าซื้อขาย โดยอาจพิจารณารอสัญญาณ "แม่ปลาปากกาเขียว" (Buy/Sell Label) เมื่อราคาวิ่งเข้าสู่ "โซนแม่ปลา" (Demand/Supply Zone) ที่แข็งแกร่ง เพื่อเพิ่มโอกาสสำเร็จในการเทรด
Cody Order Block Finder with RegressionThe Cody Order Block Finder with Regression Channel is a comprehensive trading tool that combines order block identification with linear regression analysis. This dual-approach indicator is designed to help traders identify potential institutional order flow zones within the context of established market trends, providing a structured methodology for trade entry and exit decisions.
Free Telegram Trading Community t.me
Order Block Detection System
Identifies potential institutional buying and selling zones based on specific candle patterns
Configurable detection parameters including required subsequent candles and minimum percentage moves
Three visual color schemes (Dark, Bright, Neon) for different chart backgrounds
Options to display order blocks using wick ranges or body ranges
Advanced filtering capabilities including size-based and ATR-based filters
Historical display controls with options to show all order blocks or only the most recent instances
Linear Regression Channel
Customizable regression length from 1 to 5000 periods
Upper and lower deviation channels with adjustable multipliers
Pearson's R correlation coefficient display for trend strength assessment
Flexible extension options for channel lines (left, right, both, or none)
Visual channel fills between regression lines for clear trend identification
Technical Specifications
Detection Logic
Bullish order blocks: Identified by a bearish candle followed by a specified number of consecutive bullish candles with minimum percentage movement
Bearish order blocks: Identified by a bullish candle followed by a specified number of consecutive bearish candles with minimum percentage movement
Size validation through configurable percentage thresholds
Optional ATR filtering for volatility-adjusted order block identification
Visual Elements
Triangle markers indicating order block locations above or below relevant candles
Extended lines marking order block boundaries with configurable right-side extension
Informative labels displaying order block size percentages
Dynamic trend labels based on regression slope analysis
Adjustable transparency and coloring for all visual elements
Alert System
Context-aware alerts that only trigger in confirmed trends
Buy alerts: Bullish order blocks detected during uptrends (positive regression slope)
Sell alerts: Bearish order blocks detected during downtrends (negative regression slope)
Customizable alert messages with trend context information
Performance Optimization
Maximum 500 lines and 500 labels for system resource management
Efficient array-based line management for historical display controls
Conditional calculations to reduce processing overhead
Application for Traders
This indicator serves multiple trading methodologies:
Trend-following traders can use regression channels for trend identification
Institutional flow traders can identify potential order block zones
Swing traders can locate high-probability reversal areas
Risk management through size and volatility filtering
The combination of order block detection with regression trend analysis provides traders with a comprehensive tool for identifying potential trade setups that align with both institutional activity and broader market trends. The extensive customization options allow adaptation to various trading styles and market conditions.
[codapro] Confirmed Supertrend Flags
Confirmed Supertrend Flags — Delayed Flip Confirmation
Description:
This script enhances the classic Supertrend by adding a confirmation delay after trend flips, helping traders filter noise and avoid premature entries in volatile environments.
Key Features:
ATR-based Supertrend stop level calculation
Confirmation logic: buy/sell flags appear only after N full bars confirm the new direction
Optional Supertrend stop line for visual tracking
Fully adjustable flag size, color, label, and placement
This is ideal for swing traders, trend followers, or anyone building a system that prefers confirmation over early guessing.
How It Works:
A trend flip is detected when price closes beyond the Supertrend stop level.
The indicator waits for a set number of bars to close in the new direction.
After confirmation, a visual flag is plotted: buy below bar, short above bar.
How to Extend with Risk Management:
While this script focuses on trend confirmation visualization, you can enhance your decision-making by combining it with risk rules:
Stop Loss: Set SL just beyond the last Supertrend level before confirmation
ATR-Based Sizing: Use the same ATR value to dynamically size your position based on volatility
Fixed % Rule: Risk a fixed % of capital per confirmed flip (e.g., 1–2%)
Time-Based Exit: Exit trades that don’t follow through within N bars post confirmation
Stack with Strategy: Use this confirmation logic to trigger entries in a separate strategy script where strategy.entry() and strategy.exit() can be defined with precise risk parameters
Want a full example of how to integrate that? Let me know and I’ll turn this into a plug-and-play strategy version.
Disclaimer:
This tool was developed as part of the codapro AI engine — a modular signal and automation layer for trading systems.
It is for educational and informational purposes only and is not financial advice. Always backtest and verify before live deployment.
Quantum Candle Scanner [JOAT]
Quantum Candle Scanner - Advanced Multi-Pattern Recognition System
Introduction and Purpose
Quantum Candle Scanner is an open-source overlay indicator that detects multiple candlestick patterns including engulfing patterns, kicker patterns, inside bar setups, momentum candles, and higher-high/lower-low sequences. The core problem this indicator solves is that traders often miss patterns because they're looking for only one type. Different patterns work better in different market conditions.
This indicator addresses that by scanning for five distinct pattern types simultaneously, giving traders a comprehensive view of price action signals.
Why These Five Pattern Types Work Together
Each pattern type identifies different market behavior:
1. Engulfing Patterns - Classic reversal signals where current candle completely engulfs the previous candle. Best for identifying potential turning points.
2. Kicker Patterns - Strong reversal signals with gap confirmation. The current candle opens beyond the previous candle's open with opposite direction. Best for identifying high-momentum reversals.
3. Inside Bar Patterns - Consolidation breakout signals where a candle's range is contained within the previous candle, followed by a breakout. Best for identifying compression before expansion.
4. Momentum Candles - Identifies the largest body candle over a lookback period. Best for spotting institutional activity.
5. HH/HL and LH/LL Sequences - Three-bar structure patterns showing trend continuation. Best for confirming trend direction.
How the Detection Works
Engulfing Pattern:
bool engulfBullBase = open <= math.min(close , open ) and
close >= math.max(close , open ) and
isBullish(0) and
getBodyPct(0) > bodyMinPct
Kicker Pattern:
bool kickerBull = isBearish(1) and isBullish(0) and
open > open and low > low and
getBodyPct(0) > 40 and getBodyPct(1) > 40
Inside Bar:
bool insideBarSetup = low < low and high > high
bool insideBarBull = insideBarSetup and isBullish(0)
HH/HL Sequence:
bool hhhlSeq = high > high and low > low and
high > high and low > low and
close > close
Optional Filters
ATR Filter - Only shows patterns where candle body exceeds ATR (strong candles only)
Body Minimum % - Requires minimum body percentage for engulfing patterns
Close Beyond Prior H/L - Requires engulfing candle to close beyond prior high/low
Dashboard Information
Engulfing - Total engulfing patterns detected
Kicker - Kicker pattern count
Inside Bar - Inside bar breakout count
HH/LL Seq - Structure sequence count
Total - Combined pattern count
How to Use This Indicator
For Reversal Trading:
1. Look for engulfing or kicker patterns at key support/resistance
2. Confirm with HH/HL or LH/LL sequence breaking
3. Enter with stop beyond the pattern
For Breakout Trading:
1. Identify inside bar setups (consolidation)
2. Enter on breakout candle in direction of break
3. Use the inside bar range for stop placement
For Trend Confirmation:
1. Use HH/HL sequences to confirm uptrend structure
2. Use LH/LL sequences to confirm downtrend structure
3. Momentum candles indicate institutional participation
Input Parameters
Detect Engulfing/Kicker/Inside Bar/Momentum/HHLL (all true) - Toggle each pattern type
Min Body % for Engulfing (0) - Minimum body percentage
ATR Filter (false) - Only show strong candles
Engulf Must Close Beyond Prior H/L (true) - Stricter engulfing definition
Compact Mode (false) - Shorter labels for cleaner charts
Timeframe Recommendations
1H-Daily: Best for reliable pattern detection
15m-30m: More patterns but higher noise
Use Compact Mode on lower timeframes
Limitations
Pattern detection is mechanical and does not consider context
Not all patterns lead to successful trades
Kicker patterns are rare but powerful
Inside bar breakouts can fail (false breakouts)
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Pattern detection does not guarantee trade outcomes. Always use proper risk management.
- Made with passion by officialjackofalltrades
Sensex / Nifty Trend + Pullback (High Probability)Below is a Sensex / Nifty–optimized, error-proof, copy-paste ready Pine Script (v5) using a Trend + Pullback strategy.
This is designed for index trading, avoids repainting, and works cleanly on 15m / 30m / 60m charts.
The SHIFT - Signal Harmonic Inflection Flow Tracker🔄 THE SHIFT — SIGNAL HARMONIC INFLECTION FLOW TRACKER
Precision reversal detection at the exact moment price shifts direction.
📐 CORE CONCEPT: THE INFLECTION POINT
Every sustained price move begins with a single moment — the instant price crosses from one phase to another. THE SHIFT captures this exact inflection point by combining two essential confirmations:
1. The Phase Cross
Price crossing the EMA ribbon midpoint represents a structural change in market bias. The ribbon midpoint is calculated as the average of EMA 21 and EMA 55, creating a dynamic equilibrium zone. When price decisively crosses this level, it signals a potential phase transition.
2. The Confirming Wick
Not every ribbon cross leads to continuation. THE SHIFT filters for quality by requiring the crossing candle to show directional commitment through its wick structure:
✓ Bullish SHIFT: Lower wick ≥ 25% of bar range (buyers absorbed selling pressure)
✓ Bearish SHIFT: Upper wick ≥ 25% of bar range (sellers absorbed buying pressure)
This dual confirmation eliminates weak crosses that occur during sideways chop.
⚙️ HOW IT WORKS
The EMA Ribbon
Five exponential moving averages (8, 13, 21, 34, 55) form an adaptive ribbon that expands during trends and contracts during consolidation. The ribbon serves multiple purposes:
✓ Visual trend identification through color gradient
✓ Dynamic support/resistance zones
✓ Phase boundary definition via ribbon midpoint
Phase Detection
The indicator tracks three distinct market phases:
✓ VELOCITY BULLISH — Price confirmed above ribbon midpoint
✓ VELOCITY BEARISH — Price confirmed below ribbon midpoint
✓ EQUILIBRIUM — Price oscillating around midpoint without confirmation
Phase confirmation requires price to remain on one side of the ribbon for a user-defined number of bars (default: 2), preventing false signals from single-bar noise.
Market Pressure Index (MPI)
MPI quantifies the balance between buying and selling pressure within each bar by analyzing where price closes relative to its range, weighted by volume. This provides momentum context for phase transitions:
✓ Positive MPI confirms bullish pressure
✓ Negative MPI confirms bearish pressure
✓ Strong readings (above threshold) indicate conviction
Consensus Grading System
Each SHIFT signal receives a quality grade (A+, A, B, C) based on five factors:
✓ Phase Strength — EMA alignment plus MPI strength
✓ Trend Alignment — All EMAs properly stacked
✓ Volume Confirmation — Above-average participation
✓ Momentum Convergence — MPI confirms direction
✓ Structure Respect — Price at value area
Higher grades indicate stronger confluence and potentially higher-probability setups.
📊 VISUAL SYSTEM
SHIFT Labels
✓ ▲ SHIFT — Bullish phase flip detected
✓ ▼ SHIFT — Bearish phase flip detected
Labels appear at the exact bar where the phase transition occurs.
Entry Zones
When a qualified SHIFT fires, a colored box appears showing:
✓ Entry zone boundaries
✓ Signal direction (LONG/SHORT)
✓ Wick percentage that triggered the signal
✓ Quality grade
Dynamic Trade Management
THE SHIFT tracks three profit targets (T1, T2, T3) and stop levels with intelligent visual feedback:
✓ Target Lines — Display as dashed lines during active trade
✓ Target Hit — Line turns GREEN with "✓ T1/T2/T3" label
✓ Target Fade — Hit targets progressively fade and disappear after user-defined bars
✓ Stop Hit — Line turns RED with "❌ STOPPED OUT" label
This visual system keeps your chart clean while providing clear feedback on trade progress.
Background Shading
Subtle background color indicates current phase:
✓ Green tint — Bullish phase
✓ Red tint — Bearish phase
✓ Yellow tint — Equilibrium
🧠 SHIFT ASSISTANT — INTELLIGENT COACHING PANEL
The SHIFT Assistant provides real-time contextual guidance that adapts to market conditions:
MARKET READ
Current market assessment:
✓ "💪 Strong bullish trend in play"
✓ "📈 Bullish momentum building"
✓ "🔥 Compression detected - breakout imminent"
✓ "⚖️ Equilibrium - wait for SHIFT"
ACTION
Specific guidance for current situation:
✓ "🟢 SHIFT LONG - Wick confirmed buyers"
✓ "📊 Halfway to T1 - Hold with conviction"
✓ "✅ T1 Hit - Consider partials, move stop to entry"
✓ "👀 Bullish shift but weak wick - skip"
✓ "⏸️ No setup - Patience pays"
CAUTION
Risk warnings when applicable:
✓ "⚠️ Bearish divergence forming - caution on new longs"
✓ "🌊 Volatility expanding - widen mental stops"
INSIGHT
Additional observations:
✓ "✨ Perfect bullish SHIFT setup"
✓ "📊 EMAs fully stacked - trend mature"
✓ "💎 Grade A+ conditions"
TRADE STATUS
When in an active trade:
✓ Current P&L percentage
✓ Bars in trade
✓ Risk buffer remaining (ATR to stop)
📋 MAIN DASHBOARD
The dashboard displays comprehensive real-time information:
Phase Status
✓ Current phase (Velocity Bullish/Bearish/Equilibrium)
✓ Phase strength (Strong/Moderate/Weak)
✓ MPI reading
Consensus Breakdown
✓ Visual progress bar showing consensus score
✓ Individual check status for all five factors
✓ Current quality grade
Wick & Shift Status
✓ Current wick type and percentage
✓ Whether a SHIFT is occurring on current bar
Three Laws Display
✓ Law 1: Direction (SHIFT BULL/BEAR or No Shift)
✓ Law 2: Confirmation (Wick Confirms or Weak Wick)
✓ Law 3: Quality (Grade passes filter or not)
All three laws must be satisfied for a signal to fire.
⚙️ INPUT PARAMETERS
SHIFT Core Engine
✓ MPI Period (14) — Lookback for Market Pressure Index calculation
✓ MPI Sensitivity (1.5) — Amplification factor for pressure readings
✓ Phase Confirmation Bars (2) — Bars required on one side of ribbon to confirm phase
✓ Strong Momentum Threshold (0.5) — MPI level considered "strong"
EMA Ribbon
✓ Show EMA Ribbon — Toggle ribbon visibility
✓ EMA Fast/2/Core/4/Slow (8/13/21/34/55) — Individual EMA periods
Signal Settings
✓ Show Signals — Toggle signal generation
✓ Minimum Signal Grade (B) — Filter signals below this quality threshold
✓ Min Wick Ratio (0.25) — Minimum wick size as percentage of bar range to confirm shift
✓ Show Entry Zones/Stops/Targets — Toggle visual elements
✓ Stop Loss ATR (1.5) — Stop distance in ATR multiples
✓ Zone Width (15) — How many bars entry zones extend forward
✓ Target Fade Duration (8) — Bars before hit targets disappear
Assistant & Dashboard
✓ Position and size options for both panels
✓ Independent show/hide toggles
Visual
✓ Customizable colors for bullish, bearish, neutral, target hit, and stop hit
✓ Background and label transparency controls
🎯 RECOMMENDED USAGE
Best Timeframes
✓ 5-minute to 1-hour for intraday trading
✓ 4-hour to Daily for swing trading
✓ Adjust Min Wick Ratio lower (0.20) on higher timeframes where wicks tend to be smaller
Best Markets
✓ Liquid instruments with clear trending behavior
✓ Futures, Forex, and large-cap equities
✓ Avoid during major news events when price action becomes erratic
Signal Filtering
✓ Grade A+ and A signals have highest confluence
✓ Grade B signals are acceptable with additional confirmation
✓ Grade C signals should generally be skipped
✓ Use the Assistant's ACTION guidance to understand why signals fire or don't fire
Trade Management
✓ T1 at 1× risk (1:1 R) — Consider taking partials
✓ T2 at 2× risk (2:1 R) — Move stop to breakeven
✓ T3 at 3× risk (3:1 R) — Full target, close remaining position
✓ Watch for phase invalidation (opposite SHIFT) as hard stop signal
🔔 ALERTS
THE SHIFT includes comprehensive alert conditions:
✓ SHIFT Long — Bullish entry signal
✓ SHIFT Short — Bearish entry signal
✓ T1/T2/T3 Hit — Target reached notifications
✓ Stopped Out — Stop level breached
✓ Shift Bullish/Bearish — Phase flip events (with or without trade signal)
Dynamic alerts include grade and wick percentage information for complete context.
📝 DEVELOPMENT NOTES
THE SHIFT emerged from extensive research into what makes reversal signals reliable versus unreliable. The key insight was that most failed reversals lack wick confirmation — the candle crosses a level but shows no evidence that the opposing force actually stepped in.
By requiring both the structural cross (price through ribbon midpoint) AND the wick confirmation (evidence of absorption), THE SHIFT filters out the low-quality signals that plague simpler crossover systems.
The intelligent Assistant panel was designed to function as a trading coach, helping traders understand not just WHEN to trade but WHY conditions are or aren't favorable. This educational component helps develop intuition over time.
⚠️ RISK DISCLAIMER
This indicator is a technical analysis tool designed to identify potential trading opportunities. It does not guarantee profits and should not be used as the sole basis for trading decisions.
Past performance of any trading system or methodology is not necessarily indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors.
Always use proper risk management, position sizing appropriate to your account, and never risk more than you can afford to lose. Paper trade any new system extensively before committing real capital.
The developer makes no claims about win rates, profit factors, or expected returns. Your results will vary based on market conditions, timeframe selection, and execution.
🎯 SUMMARY
THE SHIFT provides a unified approach to reversal detection:
✓ Simple Logic — Phase cross + wick confirmation = signal
✓ Quality Grading — Consensus scoring filters for best setups
✓ Visual Clarity — Dynamic trade management keeps charts clean
✓ Intelligent Coaching — Assistant explains market conditions in real-time
✓ Complete System — Entry, targets, stops, and management in one indicator
One objective. One system. Catch the shift.
"The market speaks in inflection points. THE SHIFT translates."
Taking you to school. — Dskyz , Trade with insight. Trade with anticipation.
[CT] Trend Pulse Oscillator Trend Pulse Oscillator is a clean, responsive trend and momentum oscillator that measures directional pressure by comparing a fast EMA to a slow EMA, then normalizing that spread by ATR so the reading stays consistent across different symbols and volatility regimes. Instead of relying on percentile bands or fixed overbought, oversold logic from legacy oscillators, this indicator converts the EMA spread into a smooth 0–100 signal that behaves like a “trend intensity meter,” where 50 acts as the neutral midpoint, values above 50 reflect bullish dominance, and values below 50 reflect bearish dominance. Because the core input is the distance between two EMAs, it naturally tracks trend alignment, and because it is volatility-normalized, it avoids becoming overly sensitive during high volatility or too sluggish during quiet conditions.
The engine begins by calculating a fast EMA and a slow EMA on your selected source, then computing the spread between them. That spread alone can be misleading across markets because the same raw distance means different things in low volatility versus high volatility environments, so the script divides the spread by ATR to create a normalized value that represents how meaningful the trend separation is relative to typical movement. Once the spread is normalized, the indicator applies a bounded mapping using an arctangent transform, which is a stable way to compress extreme values while preserving sensitivity near the midpoint. This produces a smooth oscillator that stays in a predictable 0–100 range without hard clamping, and it keeps the transitions realistic even when price accelerates strongly. The Speed setting is the main sensitivity control, where higher values make the oscillator respond faster and flip states more quickly, and lower values slow the response, reduce noise, and produce fewer regime changes.
A signal line is then applied to the oscillator using an EMA, creating a two-line framework that is easy to trade. The oscillator line represents the current trend pressure state, while the signal line represents the smoothed baseline of that pressure. The primary decision point is the relationship between the oscillator and the signal, where oscillator above signal indicates improving bullish pressure and oscillator below signal indicates improving bearish pressure. This relationship is also used to drive the visual state of the indicator so the chart feedback matches the current bias. The indicator additionally computes a Pulse histogram as the difference between the oscillator and the signal line, which helps you quickly see when momentum is expanding or contracting. When the histogram grows in the bullish direction, pressure is strengthening above the baseline, and when it contracts toward zero, pressure is fading and conditions are becoming more balanced.
The visual layer is built to make bias and transitions obvious without clutter. You can enable a fill between the oscillator and the signal line that changes color based on whether the oscillator is above or below the signal, so the “state” is visible even at a glance. The Pulse histogram can be shown to highlight the size of the separation between the oscillator and the signal, which is useful for spotting early momentum shifts, confirming continuation, or identifying when a move is losing energy. The indicator includes standard level guides with a midpoint at 50 and optional overbought and oversold thresholds, which can help you contextualize stronger pushes away from neutral. These levels are best treated as context rather than automatic reversal triggers, because this tool is designed to track trend pressure first, and it can remain elevated or depressed for extended periods during strong directional moves.
For traders who like a unified view, there is an optional setting to color price bars based on the oscillator state relative to the signal line. When enabled, candles will reflect bullish bias when the oscillator is above the signal and bearish bias when below, aligning your chart’s candle colors with the same logic driving the oscillator’s state. This makes it easy to stay consistent with your bias filter without constantly checking the panel. The indicator also includes alert conditions focused on the core events traders care about, including oscillator crosses of the signal line, crosses of the 50 midpoint, and crosses of the overbought and oversold levels, so you can automate notifications for regime shifts, momentum changes, and stronger pressure conditions.
In practical use, Trend Pulse Oscillator is most effective as a bias and timing tool. When the oscillator holds above 50 and repeatedly stays above its signal line, it reflects persistent bullish pressure where pullbacks are more likely to be continuation opportunities. When the oscillator holds below 50 and stays below its signal line, it reflects persistent bearish pressure where rallies are more likely to be corrective. The most valuable information often comes from how cleanly the oscillator can stay on the correct side of its signal and whether the Pulse histogram expands during breaks and contractions, because that combination helps separate real trend continuation from choppy rotation.
[CT] Adaptive Trend Pressure (Percentile) Adaptive Trend Pressure (Percentile) is a centered, percentile-based trend and momentum pressure gauge designed to show you whether price is behaving more like it is pushing into the upper end of its recent distribution or slipping toward the lower end. Instead of using a fixed lookback oscillator formula, it builds an adaptive “range” from percentile bands that constantly adjust to the market’s recent behavior. That makes the reading more context-aware than many traditional oscillators, because the indicator is measuring where current price sits relative to an evolving statistical envelope rather than a static high/low window. The output is a pressure value that naturally expands when price action is persistently pressing toward the upper percentile band and contracts or turns negative when price is leaning toward the lower percentile band, which helps you read both direction and the quality of participation behind that direction.
The core engine starts by modeling a dynamic band around price using a volatility component. Volatility is measured with standard deviation over a short window, then scaled by a multiplier, and that volatility-adjusted value is added to and subtracted from the selected source to create an upper and lower “series.” Those two series are then run through a percentile calculation over the chosen trend length and sensitivity setting. The indicator finds the upper percentile of the upper series and the lower percentile of the lower series, creating an adaptive envelope that reflects both price location and recent volatility conditions. Once those percentile boundaries are established, the script converts the current source into a normalized oscillator by measuring how far it is between the lower and upper percentiles. That produces a bounded 0–100 reading that rises when price is persistently positioned near the top of the envelope and falls when price is positioned near the bottom, and it avoids distortions by protecting against division by extremely small ranges.
To make the output easier to trade, the indicator converts the 0–100 oscillator into a centered pressure line by subtracting 50. This creates a clean zero-line framework where positive pressure means the market is behaving with an upper-distribution bias and negative pressure means the market is behaving with a lower-distribution bias. The zero line becomes the primary regime divider and is intentionally simple to interpret in real time. When pressure stays above zero, you are generally seeing conditions consistent with bullish control, and when it stays below zero, you are generally seeing conditions consistent with bearish control. Because it is centered, you can also quickly judge the intensity of pressure by how far the histogram extends away from zero, which helps separate shallow drift from meaningful push.
A signal line is included and is computed as an EMA of the centered pressure value. This line is meant to smooth out the raw fluctuations and give you a second reference for timing and confirmation. When pressure is above the signal line, momentum is improving relative to its recent baseline, and when pressure is below the signal line, momentum is weakening. Crosses of pressure through the signal can be used as earlier timing cues, while the zero-line framework can be used as the higher-level bias filter. In practice, many traders will treat sustained pressure above zero as the directional environment and then use the signal relationship to help choose entries on pullbacks or to recognize when momentum is fading.
The indicator also includes optional zone guides that frame where “higher pressure” and “lower pressure” tend to become more meaningful. These zones are centered values, so the default upper zone corresponds to the same concept as an oscillator reading above roughly 75 on a 0–100 scale, and the default lower zone corresponds to roughly 25 on a 0–100 scale. When pressure pushes into the upper zone, it suggests the market is not only bullish-biased but doing so with stronger persistence, and when pressure pushes into the lower zone, it suggests stronger bearish persistence. The zone fill is a visual context rather than a standalone signal, and it is best used to identify when momentum is extended, when a trend is accelerating, or when mean-reversion risk may start rising, depending on your style.
By default, the plot is a histogram so you can read pressure as a “push” above or below zero. The histogram coloring can be enabled to make positive bars appear green and negative bars appear red, which reinforces the centered framework and keeps your attention on regime and intensity. If you prefer a cleaner look, you can switch to a line display while keeping the same calculations underneath. There is also an optional setting to color the actual price bars to match the histogram direction, which makes the bias visible on the main chart at a glance. When enabled, candles will adopt the bullish color when pressure is at or above zero and the bearish color when pressure is below zero, giving you a consistent visual alignment between the oscillator’s pressure state and the price action you are trading.
This tool is best used as a trend context and momentum pressure filter rather than a single, one-off trigger. In uptrends, you will often see pressure hold above zero with brief dips that fail to sustain below, and those dips commonly align with pullbacks that resolve back into the trend. In downtrends, pressure commonly holds below zero with brief rallies that fail to sustain above. The most important information is usually not the first cross, but whether the indicator can stay on the correct side of zero and how confidently it can push toward or into the upper or lower zone. When combined with your existing structure work, it can help you decide when to press trades in the direction of momentum and when to reduce risk as pressure fades or flips regime.
The Systemtable viewed bullish/bearish indicator. uses 9 & 20 ema crossings along with macd & rsi to identify the bullish/bearish trend. ability to toggle vwaps + emas.
Goal to consolidate the various indicators for users that don't pay for premium ++
Perforance integralPerformance Integral
This indicator is a trend following indicator that allows you to adjust how much weight recent data has against older data, and vice-versa.
The calculations are ran, calculating the integral of performance over the length period, this is a complicated concept for me to explain in this platform so here is a DOC on how it is calculated and how to navigate it; docs.google.com
Have fun and get the work in!






















