MA150 RespectRatio NoamzThis indicator measures how reliably price respects the 150-day moving average as support.
It computes an empirical probability (Respect Ratio) based on historical interactions with MA150:
– Dynamic touch tolerance based on ATR
– Optional shallow breaks allowed (user-defined)
– Trend filter (MA150 rising + price above)
– Minimum event count for statistical reliability
The output is a probability score (0–1) indicating how often MA150 held as support when tested.
This tool is intended for research and decision support, not as a standalone trading signal.
Wskaźniki i strategie
The Cantillon Institutional overlay (pro)🏛 Stop Trading the "Rearview Mirror." Start Tracking the Flow.
Most retail indicators (RSI, MACD, Moving Averages) suffer from a fatal flaw: they are derivatives of past price. They tell you what has already happened.
The Cantillon Institutional Overlay is different. It is designed to track the "First Receivers" of liquidity—the institutions, banks, and market makers who move the market—rather than the retail crowd chasing it.
Based on the economic principles of Richard Cantillon (18th Century), this tool visualizes the "Unfair Advantage" of the insider. It answers two critical questions:
Where is the true trend? (The Institutional Average)
Where is the trap? (The Statistical Extremes)
🛠 What is Inside?
This script combines three institutional data points into a single, clean overlay:
1. The Institutional Anchor (Cyan AVWAP) This is not a standard Moving Average. It is an Anchored Volume Weighted Average Price, typically anchored to the session or week open.
Logic: This represents the average entry price of the "First Receivers."
Signal: If Price > AVWAP, institutions are net long (Markup Phase). If Price < AVWAP, institutions are net short (Markdown Phase).
2. The Sigma Bands (Statistical Traps) Standard Deviation channels that adapt to volatility.
The Red Band (+2σ): The "Statistical Ceiling." When price hits this, it is mathematically over-extended. This is where institutions often offload positions into retail FOMO (The Trap).
The Green Band (-2σ): The "Statistical Floor." This is the buy zone for mean reversion.
3. Institutional Order Blocks Automatically highlights hidden zones of liquidity where resting orders are likely waiting. These act as "magnets" for price action.
🎯 How to Trade This
Strategy A: The Trend Follower
Rule: Only take Longs when price is above the Cyan AVWAP line.
Trigger: Wait for price to pull back to the Gray "Fair Value" zone and reject.
Strategy B: The Reversion Trader (The Fade)
Rule: Fade the extremes.
Trigger: If price hits the Red Sigma Band (+2σ) and volume dries up, the move is exhausted. We look for shorts back to the mean.
⚠️ Why "First Receivers"?
In the Cantillon Effect, money flows to the insiders first. By the time it trickles down to retail indicators, the move is often over. This overlay allows you to align your bias with the "House" rather than the "Gambler."
Recommended Setup: For the complete institutional view, pair this Overlay with The Cantillon CVD to confirm volume intent behind every move.
Disclaimer: This tool provides statistical analysis and does not guarantee profits. Past performance is not indicative of future results.
Universal Moving Average🙏🏻 UMA (Universal Moving Average) represents the most natural and prolly ‘the’ final general universal entity for calculating rolling typical value for any type of time-series. Simply via different weighting schemes applied together, it encodes:
Location of each datapoint in corresponding fields (price, time, volume)
Informational relevance of each datapoint via using windowing functions that are fundamental in nature and go beyond DSP inventions & approximations
Innovation in state space (in our case = volatility)
The real beauty of this development: being simply a weighting scheme that can be applied to anything: be it weighted median , weighted quantile regression, or weighted KDE , or a simple weighted mean (like in this script). As long as a method accepts weights, you can harness the power of this entity. It means that final algorithmic complexity will match your initial tool.
As a moving ‘average’ it beats ALMA, KAMA, MAMA, VIDYA and all others because it is a simple and general entity, and all it does is encoding ‘all’ available information. I think that post might anger a lot of people, because lotta things will be realized as legacy and many paywalls gonna be ignored, specially for the followers of DSP cult, the ones who yet don’t understand that aggregated tick data is not a signal omg, it’s a completely different type of time series where your methods simply don’t fit even closely. I am also sorry to inform y’all, that spectral analysis is much closer to state-space methods in spirit than to DSP. But in fact DSP is cool and I love it, well for actual signals xD
...
Weights explained & how to use them: as I already said, the whole thing is based on combining different set of weights, and you can turn them on/off in script settings. Btw I've set em up defaults so you can use the thing on price data out of the box right away.
Price, Time, Volume weights: encode location of every datapoint in Price & TIme & Volume field
Howtouse: u have to disable one weight that corresponds to the field you apply UMA to. E.g if you apply UMA to prices, you turn off price weighting And turn on time and volume weighting. Or if you apply UMA to volume delta, you turn off volume weighting And turn on price and time weighting.
Higher prices are more important, this asymmetry is confirmed and even proved by the fact that prices can’t be negative (don’t even mention that incorrect rollover on CL contract in 2k20...).
Signal weights: encode actuality/importance/relevance of datapoints.
Howtouse: in DSP terms, it provides smoothing, but also compensates for the lag it introduces. This smoothness is useful if you use slope reversals for signal generation aka watching peaks and valleys in a moving average shape. It's also better to perturb smoothed outputs with this , this way you inject high freq content back, But in controlled way!
Signal = information.
The fundamental universal entity behind so-called “smoothing” in DSP has nothing to do with signals and goes eons beyond DSP. This is simply about measuring the relevance of data in time.
First, new datapoints need some time to be “embedded” into the timeline, you can think of it as time proof, kinda stuff needs time to be proved, accepted; while earliest datapoints lose relevance in time.
Second, along with the first notion, at the same time there’s the counter notion that simply weights new data more, acting as a counterweight from the down-weighting of the latest datapoints introduced by the first notion.
The first part can be represented as PDF of beta(2, 2) window (a set of weights in our case). It’s actually well known as the Welch window, that lives in between so called statistical and DSP worlds, emerges in multiple contexts. Mainstream DSP users tho mostly don’t use this one, they use primitive legacy windowing function, you can find all kinds on this wiki page.
Now the second part, where DSP adepts usually stop, is to introduce the second compensating windowing function. Instead they try to reduce window size, or introduce other kinds of volatility weights, do some tricks, but it ain’t provides obviously. The natural step here is to simply use the integral of the initial window; if the initial window is beta(2, 2) then what we simply need is CDF of beta(2, 2), in fact the vertically inverted shape of it aka survival function . That’s it bros. Simply as that.
When both of these are applied you have smth magical, your output becomes smooth and yet not lagging. No arbitrary windowing functions, tricks with data modification etc
Why beta(2, 2)? It naturally arises in many contexts, it’s based on one of the most fundamental functions in the universe: x^2. It has finite support. I can talk more bout it on request, but I am absolutely sure this is it.
^^ impulse response of the resulting weighs together (green) compared with uniform weights aka boxcar (red). Made with this script .
Weighing by state: encodes state-space innovation of each datapoint, basically magnitude of changes, strength of these changes, aka volatility.
Howtouse: this makes your moving average volatility aware in proper math ways. The influence of datapoints will be stronger when changes are stronger. This is weighting by innovations, or weighting by volatility by using squared returns.
Why squared returns? They encode state‑space innovations properly because the innovation of any continuous‑time semimartingale is about its quadratic variation, and quadratic variation is built from squared increments, not absolute increments.
Adaptive length is not the right way to introduce adaptivity by volatility xD. When you weight datapoints by squared returns you’re already dynamically varying ‘effective’ data size, you don’t need anything else.
...
It’s all good, progress happens, that’s how the Universe works, that's how Universal Moving Average works. Time to evolve. I might update other scripts with this complete weighting scheme, either by my own desire or your request.
...
∞
Order Blocks & ImbalanceThis indicator automatically identifies and plots Order Blocks (also known as Fair Value Gaps or Imbalances) based on Smart Money Concepts (SMC) and ICT methodology. It detects significant price inefficiencies (gaps between candles) that often act as institutional supply or demand zones.
How It Works (Technical Methodology)
1. Fair Value Gap (FVG) Detection
The indicator identifies classic 3-candle imbalances:
- Bullish Order Block (Demand): When the low of the current candle is significantly below the high of the candle two bars ago (low - high ).
- Bearish Order Block (Supply): When the high of the current candle is significantly above the low of the candle two bars ago (low - high ).
A minimum size threshold is enforced using ATR(14) × user-defined multiplier (default 0.5) to filter out minor gaps and focus on meaningful inefficiencies.
2. Zone Creation
- Bullish zones are created at the candle two bars ago (the "origin" candle where inefficiency occurred).
- Bearish zones use the same origin candle.
- Zone boundaries:
Top = high of origin candle
Bottom = low of origin candle
This captures the full range where price moved aggressively, leaving an imbalance that institutions may later revisit.
3. Mitigation Detection
Zones can be mitigated in two ways (user-selectable):
- "Close": Zone is considered touched only if the close price enters the zone.
- "Wick": Zone is touched if any wick (high/low) enters the zone (more sensitive).
When mitigated:
- Background becomes more transparent
- Border turns dotted
- Label changes to "Mitigated"
Broken zones (price fully closes beyond the opposite side) are automatically deleted.
4. Zone Lifecycle Management
- Active Zone: Strong color fill (green for demand, red for supply) with solid border.
- Mitigated Zone: Faded color, dotted border – indicates partial fill or reduced strength.
- Broken Zone: Automatically removed from chart to reduce clutter.
Old zones are also pruned when exceeding 450 total to maintain performance.
5. Smart Visibility Engine (Optional)
When enabled:
- All zones are initially hidden.
- Only the closest relevant zones are shown:
- Up to user-defined limit (default 10) highest bullish zones (closest below price)
- Up to user-defined limit (default 10) lowest bearish zones (closest above price)
- Visible zones are automatically extended to the right and styled appropriately.
This keeps the chart clean while highlighting the most actionable zones near current price.
6. Visual Elements
- Demand Zones: Green fill, labeled "OB Demand"
- Supply Zones: Red fill, labeled "OB Supply"
- Tiny text size to minimize chart clutter
- Zones drawn as boxes using bar_index positioning
How to Use
Order Blocks represent areas of price inefficiency where smart money likely entered/exited positions aggressively.
- Demand Zones (Green): Potential long entry areas when price returns. Expect buying pressure to defend these levels. Best setups when price retests an active (non-mitigated) zone.
- Supply Zones (Red): Potential short entry areas when price returns. Expect selling pressure to emerge.
- Mitigated Zones: Lower probability – may act as weaker support/resistance.
- Smart Visibility: Highly recommended for cleaner charts. Focuses attention on zones most likely to be tested soon.
- Combine with:
- Break of Structure (BOS)/Change of Character (CHOCH)
- Liquidity grabs
- Higher timeframe confluence
- Volume or momentum confirmation
Use higher FVG threshold (e.g., 0.8–1.0) for fewer, higher-quality zones. Lower threshold for more aggressive detection.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
VWAP Extreme Zones (Elite Style)Short Description
VWAP Extreme Zones (Elite Style) highlights statistically stretched price areas above and below VWAP, helping traders identify potential overextension, mean-reversion zones, and high-risk breakout areas during intraday sessions.
Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice or trade signals.
All trading involves risk. Always confirm with price action, market context, and proper risk management before taking any trade.
Exhaustion [Lite]EXHAUSTION — Lite is a simplified sequential exhaustion instrument based on a Hull Moving Average with a 9-count structure. It is designed to expose when continuation begins to weaken, not to call tops or bottoms. The Lite version shows local exhaustion pressure only (LTF/MTF).
What the Lite Version Shows
HMA-based trend state (Green / Red)
Sequential counting up to 9
Local exhaustion points in the current timeframe
What it does not include:
No higher-timeframe structure
No dashboard or multi-timeframe context
Those layers are intentionally removed.
How to Use (Lite Workflow) :
Core Idea :
Continuation weakens as the count progresses.
The higher the count, the less reliable continuation becomes.
Basic Reading
Counts 1–3 → early continuation
Counts 4–6 → trend aging
Counts 7–9 → exhaustion risk
A 9 marks pressure — not a guaranteed reversal.
Practical Usage :
Trend Context (Single Timeframe)
Stay aligned with the HMA color
Treat late counts (7–9) as risk, not signals
Avoid entering fresh positions late in the sequence
Timing Awareness
Exhaustion matters most near:
prior highs/lows
liquidity zones
session extremes
The Lite version is about awareness, not execution precision.
Important Note :
Exhaustion — Lite does not show higher-timeframe exhaustion or alignment.
Without HTF context, exhaustion should be treated as local pressure only. If you want: HTF interaction and a multi-time frame dashboard, that belongs to the Full indicator.
*This script doesn't constitute investment advice and isn't created solely for qualified investors.
Elephant Edge Session Levels Predictor**Elephant Edge** is a robust trading tool designed to streamline decision-making for swing and intraday traders alike. It combines accuracy and simplicity to help you spot promising buy and sell signals with ease. The Session Levels Predictor+ feature draws upper and lower percentile lines derived from session data, enabling traders to pinpoint key support and resistance areas accurately. It computes these percentile projections from daily sessions automatically and displays them as sleek, adjustable lines—perfect for intraday and short-term strategies focused on statistical price boundaries.
For **swing traders**, Elephant Edge highlights pivotal market reversals and trend shifts, allowing you to seize bigger trends and maintain momentum. For **intraday traders**, it offers precise buy and sell thresholds, providing reliable entry and exit cues during active market hours.
No matter if you're chasing quick trades or sustaining positions over several sessions, Elephant Edge promotes a methodical and disciplined strategy. Its smart signals cut through market clutter, delivering a solid advantage while eliminating emotional biases.
With **Elephant Edge**, you shift from merely responding to the market to trading with **precision, assurance, and reliability**.
TradingSystems_AlphaLib_v1_FinalLibrary "TradingSystems_AlphaLib_v1_Final"
Master Library for Institutional Analysis v1
@author jmcanovelles
calc_ema(len)
Calculates standardized EMA
Parameters:
len (simple int)
calc_adx(len)
Calculates precise ADX and DI
Parameters:
len (simple int)
RSS3 - Reversal Score System v3 [Rulph]RSS3 - Reversal Score System v3
RSS3 is a quantitative reversal detection system that combines volatility pressure analysis with directional momentum exhaustion to produce a unified reversal strength score from -1 (extreme bullish) to +1 (extreme bearish).
Unlike traditional single-indicator divergence systems (RSI, MACD), RSS3 cross-validates signals between two independent analytical engines (VPI and TDFI) and applies multi-timeframe contextual filtering to reduce false signals.
RSS3 is not a visual overlay of separate indicators. It implements a unified calculation pipeline where VPI and TDFI components feed into a single normalized Score through weighted aggregation. The divergence bonus system creates feedback loops where price-indicator relationships dynamically adjust the final Score, producing signals that cannot be replicated by simply viewing RSI, Bollinger Bands, and moving averages side-by-side.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY COMBINE VOLATILITY + TREND FORCE?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Most reversal systems rely on a single dimension:
• RSI divergence tracks momentum exhaustion
• Bollinger extremes track volatility expansion
• MACD divergence tracks trend deceleration
RSS3 recognizes that major reversals typically require both :
1. Volatility pressure buildup (market stretched beyond normal range)
2. Directional force exhaustion (trend losing momentum despite stretched price)
When VPI (volatility) and TDFI (trend force) diverge simultaneously from price, it signals a high-probability reversal zone. When only one diverges, the signal is weighted accordingly.
This dual-validation approach filters out:
• Momentum exhaustion in low-volatility consolidations (no VPI confirmation)
• Volatility spikes within strong trends (no TDFI exhaustion)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPONENT 1: VOLATILITY PRESSURE INDEX (VPI)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
VPI quantifies how far the market has deviated from its equilibrium state using four factors:
1. RSI deviation from 50
Measures directional bias accumulation. When RSI stays at 70+ or 30- for extended periods, it signals persistent one-sided pressure.
2. Annualized volatility (VIX-style)
Calculates rolling standard deviation of returns scaled to annual terms. Rising volatility indicates increasing uncertainty and potential for mean reversion.
3. Normalized candle range
Compares current bar's range to recent average range. Expanding ranges signal climactic moves.
4. Bollinger Band position
Measures price distance from statistical mean (middle band). Touches or penetrations of outer bands indicate statistical overextension.
How they combine:
Each component is normalized to 0-1 scale, then weighted based on current market regime (trending vs ranging). The weighted average produces VPI reading where:
• VPI > 0.5 = overbought pressure zone
• VPI < -0.5 = oversold pressure zone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPONENT 2: TREND DIRECTION FORCE INDEX (TDFI)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TDFI measures the strength and sustainability of directional movement using moving average dynamics:
1. MA spread (fast MMA vs slow SMMA)
When fast MA pulls far from slow MA, it indicates strong directional momentum. When the spread contracts, momentum is fading.
2. Average impulse between MAs
Calculates the velocity of the spread change. Rapid expansion = acceleration phase; slowing expansion or contraction = deceleration/exhaustion.
3. Normalized trend strength
The spread and impulse are normalized relative to recent volatility to make TDFI comparable across different instruments and market conditions.
Output:
• TDFI > 0.7 = unsustainably strong bullish momentum
• TDFI < -0.7 = unsustainably strong bearish momentum
• TDFI near 0 = directionless or balanced market
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SCORE CALCULATION & DIVERGENCE INTEGRATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Base Score:
Score = (VPI_weight × VPI) + (TDFI_weight × TDFI)
This creates a continuous measure where:
• Score > +0.5 = bearish reversal zone (high VPI + weak bullish TDFI)
• Score < -0.5 = bullish reversal zone (low VPI + weak bearish TDFI)
Divergence Bonus System:
When classic divergences are detected (price makes new high/low but VPI or TDFI doesn't), a bonus/penalty is applied to Score:
• Decay mechanism: Divergence influence fades linearly over 15 bars (default). Fresh divergences have maximum impact; older ones gradually lose weight.
• Amplitude weighting: Larger divergences (bigger spread between price and indicator pivots) receive stronger bonuses.
• Dual-source amplification: When VPI and TDFI diverge on the same pivot (double divergence), their bonuses stack, creating extreme Score readings near ±1.0.
This means:
• Score = 0.9 with v3t2 label = third VPI + second TDFI bearish divergence, very high confidence
• Score = -0.85 with v1 label = first VPI bullish divergence, strong but early signal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CALCULATION MECHANICS (DETAILED)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
VPI Component Weighting:
Weights are dynamically adjusted based on market regime detected by TDFI:
• Trending regime (|TDFI| > 0.5): RSI deviation 40%, BB position 30%, volatility 15%, range 15%
• Ranging regime (|TDFI| < 0.3): Volatility 35%, range 35%, RSI deviation 15%, BB position 15%
• Transition zones: linear interpolation between the two weight sets
Normalization Approach:
Each VPI/TDFI component is rescaled using rolling percentile rank over 100-bar window:
• Value at 100th percentile (highest) → 1.0
• Value at 0th percentile (lowest) → 0.0
• Current value → percentile position between 0-1
This makes the indicator adaptive to changing volatility and comparable across instruments.
Divergence Amplitude Measurement:
When a divergence is detected, its strength is quantified as:
Amplitude = (price_pivot_delta / ATR) × (indicator_pivot_delta / indicator_stddev)
Where:
• price_pivot_delta = distance between current and previous pivot
• indicator_pivot_delta = distance between indicator values at those pivots
• ATR and stddev provide normalization
Larger amplitude → larger bonus/penalty to Score (up to ±0.3 maximum).
Decay Function:
Divergence bonus decays linearly: Bonus(t) = Initial_Bonus × (1 - t/15), where t is bars since divergence. After 15 bars, bonus reaches zero. This ensures recent divergences dominate the Score.
Why This Design:
This architecture creates a system where:
• Components adapt to market regime automatically
• Signals are normalized across timeframes and instruments
• Multiple divergences create amplification (bonuses stack)
• Stale signals fade out naturally
This is fundamentally different from displaying RSI + Bollinger + MA separately, as the unified Score cannot be replicated by visual inspection alone.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SEQUENTIAL DIVERGENCE LABELS (v/t SYSTEM)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Each divergence is tracked separately for VPI and TDFI:
v-series: VPI divergences (v1, v2, v3...)
t-series: TDFI divergences (t1, t2, t3...)
The counter increments each time a new divergence appears in the same direction (e.g., consecutive bearish divergences). When direction flips (bearish → bullish), counters reset to 1.
Why this matters:
• v1 or t1 = early warning, potentially premature
• v3 or v4 = late-stage exhaustion, higher probability of reversal
• v2t3 = double divergence with second VPI + third TDFI = strong confluence
Traders can filter signals by label:
• Aggressive: trade v1/t1
• Conservative: wait for v2+/t2+ or double divergences
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MULTI-TIMEFRAME FILTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The MTF filter analyzes a higher timeframe to determine if the current market structure supports the divergence signal.
Modes:
• Off: All divergences shown
• Reduce: Counter-trend divergences have their bonus reduced by 70% (visual indication: dimmed/gray markers)
• Block: Counter-trend divergences completely hidden
Logic:
If 1H shows bearish divergence but 4H is in strong uptrend (Score < -0.3), the 1H signal is likely premature. MTF filter prevents entering shorts against higher timeframe momentum.
This protects against:
• Catching falling knives in strong downtrends
• Shorting pullbacks in strong uptrends
• Low-probability mean-reversion attempts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE RSS3
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Entry Setup:
1. Wait for divergence marker (green = bullish, red = bearish)
2. Check Score magnitude:
• |Score| > 0.5 = higher confidence
• |Score| > 0.8 = extreme zone
3. Check v/t label:
• v1/t1 = early (more risk, more reward potential)
• v2+/t2+ or double = late but more reliable
4. Optional: wait +2 bars for pivot confirmation
Exit Options:
• Conservative: opposite divergence appears
• Aggressive: Score crosses through 0 or opposite ±0.5 threshold
• Always use volatility-based stop (2-3× ATR)
Timeframe Recommendations:
• 5-15m: intraday (use MTF 1H-4H)
• 1-4H: swing trading (use MTF Daily-Weekly)
• Daily: position trading (use MTF Weekly-Monthly)
Complementary Tools:
RSS3 is a reversal timing engine, not a complete strategy. Combine with:
• Support/resistance for target zones
• Volume analysis for confirmation
• Trend filters for directional bias
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT MAKES RSS3 ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
vs Traditional RSI Divergence:
• RSI divergence = binary yes/no
• RSS3 = quantified strength score with dual-source validation
vs MACD Divergence:
• MACD = single dimension (momentum)
• RSS3 = volatility pressure + trend force + MTF context
vs Bollinger + RSI mashup:
• Standard mashup = two separate signals
• RSS3 = unified scoring system where components interact through weighted bonuses
Unique features:
• Decay-weighted divergence bonuses (recent divergences matter more)
• Amplitude-sensitive scoring (stronger divergences = higher score impact)
• Sequential tracking (v/t labels show signal maturity)
• MTF-aware filtering (context-dependent signal validation)
• Closed-loop system (divergences → Score → priority weighting → signal)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EXAMPLE INTERPRETATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Scenario: BTC 2H chart shows:
• Red triangle appears above price
• Label: v1 + t2
• Recent Score Value: 1
What this means:
• Second consecutive TDFI bearish divergence detected (t2)
• First VPI bearish divergence on same pivot (v1)
• Double divergence stacking → Score near maximum
• Market is in extreme overbought/overextended zone
• High probability of short-term reversal
Trading decision:
• Aggressive trader: short immediately with tight stop
• Conservative trader: wait for Score to drop below 0.5 or opposite divergence for exit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CHART LEGEND
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The published chart shows:
• Green triangles below price = bullish divergences (v/t labels indicate sequence)
• Red triangles above price = bearish divergences
• Score line in lower panel = reversal strength from -1 to +1
• Colored clouds = pressure accumulation zones (optional display)
• Text annotations = example entry/exit points for educational purposes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Disclaimer: All trading involves risk. This indicator does not guarantee profits. Always backtest and apply proper risk management.
4 EMAs with Narrow Range HighlightThis script is apply 4 EMAs in single indicator 20, 50, 100, 200 EMAs, this also highlights narrow ranges with blue colour
Quant VWAP System 3.8 This is the lower-indicator companion to the "Quant VWAP System." While the main chart tells you where the price is, this oscillator tells you how statistically significant the move is.
It uses a Z-Score algorithm to normalize price action. This means it ignores dollar amounts and instead measures how many Standard Deviations (SD) the price is away from its mean (VWAP). This allows you to instantly spot "Overbought" or "Oversold" conditions on any asset (Bitcoin, Forex, or Stocks) without needing to guess.
Key Features:
1. Normalized Extremes (The "Kill Zones")
±2.0 SD: These dotted lines represent statistical extremes. When the signal line crosses above +2.0, the asset is mathematically expensive (Overbought). When it crosses below -2.0, it is mathematically cheap (Oversold).
The Logic: Price rarely sustains movement beyond 2 Standard Deviations without a reversion or a pause.
2. The Squeeze Radar (Yellow Dots)
Volatility Detection: A row of Yellow Dots appearing on the center line indicates a "Squeeze."
What it means: The Standard Deviation bands are compressing. Energy is building.
Warning: DO NOT trade Mean Reversion when you see Yellow Dots. A squeeze often leads to a violent breakout. Wait for the dots to disappear to confirm the direction of the explosion.
3. Momentum Coloring
Green Line: Z-Score is rising (Bullish Momentum).
Red Line: Z-Score is falling (Bearish Momentum).
This helps you spot divergences (e.g., Price makes a Higher High, but the Oscillator makes a Lower High = Exhaustion).
How to Trade with It
Strategy A: The "Zero Bounce" (Trend Continuation)
Scenario: You are in a Bull Trend.
Signal: The Oscillator line pulls back to the Zero Line (White), turns Green, and curls upward.
Meaning: Price has tested the average (VWAP) and buyers have stepped in. This is a high-probability entry for trend continuation.
Strategy B: The "Extreme Fade" (Reversion)
Scenario: The Oscillator pushes deep into the Red Zone (+2.0 SD).
Signal: The line turns Red and crosses back down below the +2.0 dotted line. A small Red Triangle will appear.
Meaning: The statistical extension has failed, and price is likely snapping back to the mean.
Strategy C: Squeeze Breakout
Scenario: Yellow Dots appear on the center line.
Action: Stop trading. Wait.
Signal: The dots disappear, and the line shoots aggressively through +1.0 SD (Long) or -1.0 SD (Short). Ride the momentum.
Linear Regression ChannelsThis indicator dynamically identifies and plots the best-fit linear regression channels based on recent pivot points, optimizing for statistical strength across user-defined depths.
How It Works (Technical Methodology)
1. Pivot Point Detection
The indicator uses Pine Script's ta.pivothigh() and ta.pivotlow() functions with a configurable sensitivity length to detect swing highs and lows. All recent pivot indices are stored in an array (limited to avoid performance issues), providing potential starting points for regression calculations.
2. Multi-Depth Evaluation
Users input comma-separated "Pivot History Depths" (e.g., "5,20,50"). For each depth:
- The script evaluates regression fits starting from the most recent pivots, up to the specified depth count.
- It calculates linear regression statistics for each possible channel originating from those pivot bars backward to the current bar.
3. Linear Regression Calculation
For each candidate channel:
- Slope (m) and intercept (b) are computed using least-squares method.
- R-squared (R²) measures goodness of fit (how well price follows the trend line).
- Standard error of the estimate is calculated to quantify volatility around the regression line.
- A composite score = R² × log(length) prioritizes stronger fits on longer periods.
4. Best-Fit Selection and Validation
- Only channels with R² ≥ user-defined minimum (default 0.5) are considered valid.
- The channel with the highest score for each depth is selected and drawn.
- This ensures the most statistically significant and relevant channels are displayed, avoiding weak or short-term noise.
5. Channel Construction
- Mean Line: The regression trend line extended slightly into the future.
- Inner Channels: ± user-configurable standard deviation multiplier (default 2.0σ) around the mean.
- Outer Bands: ±1.5× the inner deviation for additional visual context.
- Filled areas between mean and inner channels for better visibility.
- Color: Green shades for upward slopes (bullish trend), red shades for downward slopes (bearish trend).
6. Dashboard and Statistics
- Optional table in the top-right corner displays for each depth:
- Depth value
- R² (colored green if >0.7, orange otherwise)
- Slope (Beta) – positive blue for uptrend, red for downtrend
- Current Z-Score: How many standard deviations the latest close is from the expected regression value (yellow if |Z| > 2)
How to Use
Regression channels help identify trending markets, potential mean reversion, and overextension.
- Upward Channels (Green): Price above the mean may indicate strength; pullbacks to the mean or lower band offer long opportunities. Overextension above upper band could signal exhaustion.
- Downward Channels (Red): Price below the mean may indicate weakness; rallies to the mean or upper band offer short opportunities. Overextension below lower band could signal capitulation.
- High R² (>0.7): Strong trending channel – trade in direction of slope.
- Low R²: Choppy/range-bound market – avoid trend-following trades.
- Z-Score: |Z| > 2 suggests price is statistically overextended from the trend (potential reversion setup).
- Multi-Depth: Smaller depths catch short-term trends; larger depths capture major trends. Use multiple for confluence across timeframes.
Combine with volume, support/resistance, or other indicators for confirmation.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
RVOL Text This script will give you the Relative volume at the time in a numbered text on your charts.
Prop ES EMA Cross during Single/Dual Trading SessionEMA crossover strategy for ES futures optimized for prop firm rules.
Choose long-only, short-only, or both directions.
Customizable short and long EMA lengths.
Enter trades during one or two configurable sessions specified in New York time.
Fixed TP/SL in ticks with forced close by 4:59 PM NY time.
Hybrid CCI Scalper ProHybrid CCI Scalper Pro is a sophisticated trading system designed to solve the biggest problem in scalping: False Signals in Choppy Markets.
Unlike standard CCI indicators that fire on every crossover, the HCS Pro uses a Hybrid Logic Engine that distinguishes between high-probability Trend Continuations and powerful Reversal Setups. It processes every potential entry through a 6-factor "Quality Filter" before generating a signal.
Core Features:
1. The Hybrid Signal Engine The script identifies two distinct market conditions:
TREND Mode: Triggers when price is aligned with the Daily/Local trend AND the CCI angle is steep.
REVERSAL Mode (REV): Triggers only on Extreme Momentum (steep angle) combined with a Zero-Line cross, allowing you to catch tops and bottoms without waiting for lagging trend indicators.
2. The Quality Scoring System (Q-Score) Every signal is rated from 0 to 6 stars based on confluence. The signal label shows Q: 4/6, Q: 5/6, etc.
Score 4+: High probability (Recommended).
Score 6: "The Perfect Storm" – All filters (Trend, Volume, RSI, ADX) align.
3. The "Ironclad" Filters To eliminate fake-outs, the script enforces strict rules:
Candle Color Guard: Never Buys on a Red candle or Sells on a Green one.
Angle validation: Flat CCI movement is ignored.
MTF Trend: Checks the Daily timeframe (D1 EMA) to ensure you aren't scalping against the major flow.
Noise Filter: Uses ATR and Volume to ignore low-volatility "dead" markets.
4. The Information Panel A clean dashboard on the top-right displays real-time metrics:
Current Daily Trend (Bull/Bear)
Momentum Strength (Weak/Strong/Extreme)
ADX Power (Trending vs Ranging)
Live Signal Score
How to Trade:
BUY Signal: Look for a Green Triangle. Ideally, the Label should say TREND or REV with a Quality Score of 4/6 or higher.
SELL Signal: Look for a Red Triangle with a high Quality Score.
No Signal? If the panel says "WAIT" or the score is low, the market is likely choppy. Stay out.
Recommended Settings:
Gold (XAUUSD): Works best on 15m.
Forex (EURUSD): Works well on 5m - 15m.
Default settings are optimized for a balance between frequency and accuracy.
cd_VW_Cx IMPROVED - Quant VWAP System: Regime, Magnets & Z-ScoQuant VWAP System: Regime, Magnets & Z-Score Matrix
This indicator is a comprehensive Quantitative Trading System designed to move beyond simple support and resistance. Instead of static lines, it uses Statistical Probability (Z-Score) and Standard Deviation to define the current market regime, identify institutional value zones, and project high-probability liquidity targets.
It is engineered for Day Traders and Scalpers (Crypto & Futures) who need to know if the market is Trending, Ranging, or preparing for a Breakout.
1. The "Regime" System (Standard Deviation Bands)
The core engine anchors a VWAP (Volume Weighted Average Price) to your chosen timeframe (Daily, Weekly, or Monthly) and projects volatility bands based on market variance.
The Trend Zone (Inner Band / 1.0 SD): This is the "Fair Value" zone. In a healthy trend, price will pull back into this zone and hold. A hold here signals a high-probability continuation (Trend Following).
The Reversion Zone (Outer Band / 2.0 SD): This represents a statistical extreme. Price rarely sustains movement beyond 2 Standard Deviations without a reversion. A touch of this band signals "Overbought" or "Oversold" conditions.
2. Liquidity Magnets (Virgin VWAPs)
The script automatically tracks "Unvisited VWAPs" from previous sessions. These are price levels where significant volume occurred but have not yet been re-tested.
The Logic: Algorithms often target these "open loops." The script visualizes them as Blue Dashed Lines with price tags.
Smart Scaling (Anti-Scrunch): Includes a custom "Ghost Engine" that automatically hides or "ghosts" magnets that are too far away. This prevents your chart from being squashed (scrunched) on lower timeframes, keeping your candles perfectly readable while still tracking targets in the background.
3. The Quant Matrix (Dashboard)
A real-time Heads-Up Display (HUD) that interprets the data for you:
Regime: Detects Volatility Squeezes. If the bands compress, it signals "⚠ SQUEEZE", warning you to stop mean-reversion trading and prepare for an explosive breakout.
Bias: Color-coded Trend Direction (Bullish/Bearish) based on VWAP slope.
Signal: actionable text prompts such as "BUY DIP" (Trend Following), "FADE EXT" (Mean Reversion), or "PREP BREAK" (Squeeze).
4. Visual Intelligence
Bold Day Separators: Clear, vertical dotted dividers with Date Stamps to instantly separate trading sessions.
Dynamic Labels: Floating labels on the right axis identify exactly which deviation level is which, preventing chart confusion.
How to Use
Strategy A: The Trend Pullback (continuation)
Check Matrix: Ensure Bias is BULLISH (Green).
Wait: Allow price to pull back into the Inner Band (Dark Green Zone).
Trigger: If price holds the Center VWAP or the -1.0 SD line, enter Long.
Target: The next Liquidity Magnet above or the +2.0 SD band.
Strategy B: The Reversion Fade (Counter-Trend)
Check Matrix: Ensure price is labeled "EXTREME" or Signal says "FADE EXT".
Trigger: Price touches or pierces the Outer Band (2.0 SD).
Action: Enter counter-trend (Short) with a target back to the Center VWAP (Mean Reversion).
Strategy C: The Magnet Target
Identify a "MAGNET" line (Blue Dashed) near current price.
These act as high-probability Take Profit levels. Price will often rush to these levels to "close the loop" before reversing.
Settings
Anchor: Daily (default), Weekly, or Monthly.
Magnet Focus Range: Adjusts how aggressively the script hides distant magnets to fix chart scaling (Default: 2%).
Visuals: Fully customizable colors, label sizes, and dashboard position.
Witch-Fire ALMA signals: Dynamic Liquidity & Trend GlowThe Witch-Fire ALMA is a high-precision trend bias and liquidity mapping tool designed for price action traders and Smart Money practitioners. Unlike traditional indicators that clutter your chart with lagging signals, this script provides a "clean-yet-powerful" visual anchor to help you stay on the right side of the market while identifying key Points of Interest (POIs).
At its core, the script utilizes an optimized Arnaud Legoux Moving Average (ALMA). Known for its superior ability to balance smoothness and responsiveness, the ALMA effectively filters out market noise and "whipsaws" that often plague standard EMAs.
Key Features:
The Witch-Fire Glow: A neon-styled ALMA line that shifts between Bullish Green and Bearish Red. The white core provides surgical precision for price intersection, while the outer glow visualizes the strength and dominance of the current trend.
Scaled Liquidity Levels: Automatically maps Buy Side Liquidity (BSL) and Sell Side Liquidity (SSL). These levels are dynamic—they scale proportionally with your ALMA settings. This ensures that the liquidity zones you see are always relevant to the trend cycle you are analyzing.
Strategic Bias Background: A subtle background tint provides an instant psychological filter. Only look for Longs in the green zone and Shorts in the red zone to maintain a high-probability strike rate.
How to Trade with Witch-Fire:
Identify the Bias: Look at the Fire ALMA. If the "fire" is red and the price is below the line, your bias is strictly bearish.
Watch the Sweeps: Wait for the price to "sweep" (pierce with a wick) the horizontal SSL (Green) or BSL (Red) lines.
Execution: Look for a strong rejection candle (long wick, small body) at these levels that closes back towards the ALMA line.
Best Used On: 15m, 1H, and 4H timeframes. Works exceptionally well for Crypto, Forex, and Indices.
Seasonality Monthly v2.0-SanjayMonthly seasonality refers to recurring patterns or fluctuations in data that repeat every month due to predictable factors like weather, holidays, or business cycles. For example, retail sales often peak in December due to holiday shopping, while utility usage may rise in summer because of air conditioning. Identifying monthly seasonality helps businesses forecast demand, allocate resources, and plan operations more accurately.
Seasonality significantly impacts forecasting because it introduces predictable, recurring patterns into data that must be accounted for to improve accuracy. If seasonal effects—such as higher sales during holidays or increased energy demand in summer—are ignored, forecasts can be misleading, leading to overproduction or stockouts. Incorporating seasonality into models (e.g., using seasonal decomposition or SARIMA) helps capture these cyclical variations, ensuring that predictions reflect real-world trends rather than just overall averages.
EMA 1 & SALMA Intersection StrategyTrading Strategy: EMA 1 & SALMA Crossover System
This strategy is a Trend-Following system that focuses on the direct interaction between the price (represented by EMA 1) and a smoothed trendline (SALMA). Instead of relying on the color changes of the indicator, it uses mechanical crossover signals to enter and exit trades.
1. Indicators Used
EMA 1 (Exponential Moving Average): Since the period is 1, it effectively represents the Current Price. It reacts instantly to every market move.
SALMA v3.0 (Smoothed Adaptive Lattice Moving Average): A double-smoothed moving average that acts as the "Base Line" or "Trend Support/Resistance."
RSI (Relative Strength Index): Used as a Momentum Filter to ensure we don't trade against the market's strength.
2. Buy (Long) Entry Rules
You enter a Long position when the following conditions are met:
The Crossover: The EMA 1 (Price) crosses ABOVE the SALMA line. This indicates that the short-term momentum is shifting higher than the average trend.
The Filter (RSI): The RSI must be above 50. This confirms that the buyers are in control and the upward move has enough strength.
3. Sell (Short) Entry Rules
You enter a Short position when the following conditions are met:
The Crossunder: The EMA 1 (Price) crosses BELOW the SALMA line. This indicates a breakdown in price action.
The Filter (RSI): The RSI must be below 50. This confirms that the sellers are dominating and the downward momentum is real.
4. Key Advantages of This System
Objectivity: You don't guess based on the color of the line; you wait for a clear physical break (cross) of the line.
Precision: By using EMA 1, you get the earliest possible entry signal compared to slower moving averages.
False Signal Protection: The RSI 50 filter prevents you from entering "weak" trades where the price crosses the line but lacks the volume or momentum to continue.
Price Action High 2 + Risk/Reward VisualizerIntroduction: Price Action High 2 (Bull Flag) Setup
This script identifies the High 2 (H2) setup, a staple price action pattern popularized by Al Brooks. The High 2 is a high-probability continuation pattern designed to catch the resumption of a bull trend after a two-legged pullback (a "complex" bull flag).
In a strong uptrend, the first attempt to end a pullback often fails (High 1). The High 2 represents the second, and usually more reliable, attempt by bulls to take control, often forming a "double bottom" structure within the flag.
How the Logic Works
The indicator follows a strict state-machine logic to ensure the pattern is valid:
Trend Confirmation: The script filters for an established uptrend where price is above a rising EMA (adjustable in settings).
Pullback Identification: It looks for a sequence of bars making lower highs.
High 1 (H1): The first bar in the correction that breaks above the high of the prior bar.
The Second Leg: The script then waits for the price to again fail to break a high, confirming a second leg of the pullback.
High 2 (H2): The signal is triggered when a bar breaks the high of the previous bar for the second time.
Key Features
Signal Bar Quality Filter: Not all High 2s are equal. This script includes a filter ensuring the signal bar closes in the upper portion of its range (bullish conviction) to avoid "weak" breakouts.
Automated Risk/Reward Visualizer: Upon a signal, the script automatically projects a Stop Loss (at the signal bar low) and a Take Profit level based on a customizable R:R ratio.
Clean Visuals: Labeled "H2" markers and dashed trend lines keep the chart uncluttered.
How to Trade It
Entry: Place a buy-stop order 1 tick above the High 2 signal bar.
Stop Loss: Traditionally placed below the low of the signal bar or the most recent swing low.
Target: Common targets include a 1:2 Risk/Reward ratio or the previous major swing high.
Settings Guide
EMA Length: Adjust this to match your timeframe (e.g., 20 for intraday, 50 for daily).
Min Close %: Set this to 50% or higher to ensure you only take trades where the bulls finished the bar strong.
Risk:Reward Ratio: Customize your profit targets to align with your personal trading plan.
WatermarkAdds watermark text to the chart with configurable text, size, color, transparency % and vertical spread %
Pressure Windows [Lite]PRESSURE WINDOWS — Lite is a stripped-down time-cycle instrument based on Jim Hurst’s Time-Cycles method. It lets you define a primary cycle using two major lows and project basic harmonic subdivisions forward in time. The Lite version is designed to expose coarse timing pressure, not full cycle resolution. This is a structural timing tool — not a prediction engine.
What the Lite Version Shows :
A primary time cycle defined by two anchor points
Single-level harmonic subdivision only:
-1/2 (halves)
-1/3 (thirds)
Forward projection of the cycle into the future
Internal verification lines inside the base cycle to check fit
What it does not do (by design):
No chained subdivisions (no 1/2→1/2 or 1/3→1/2)
No higher-resolution nesting
No regime logic or shaded “windows”
Those belong to the full instrument.
How to Use (Lite Workflow) :
1. Define the Cycle :
Add the indicator to your chart
Select Time 1 at a major low
Select Time 2 at the next major low
(You can fine-tune both in the settings)
2. Choose a Subdivision :
In settings:
None → only the primary cycle
1/2 → midpoint timing pressure
1/3 → third-based rhythm
3. Verify Before Trusting :
Look at the subdivisions inside the base cycle:
Do intermediate lows align with halves or thirds?
If they don’t, don’t force it
The Lite version is intentionally coarse — its job is to answer:
“Is the market vibrating in 2s or 3s?”
Not to overfit timing.
Best Practices :
Works best on higher timeframes (Daily / Weekly)
Use Log scale for long-term structure (time remains linear)
Treat projections as zones of pressure, not turning points
Important Note :
Pressure Windows — Lite limits subdivision depth on purpose, if you need nested timing resolution and finer pressure mapping, that’s what the full version is built for.
*This script doesn't constitute investment advice and isn't created solely for qualified investors.
9:30 AM EST 5-Min Candle High/Low LinesThis will draw a horizontal line on the highs and lows of the first 5 min candle of the day. both lines will extend until 1 PM EST that same day.






















