ColorFlow EMA📊 ColorFlow EMA — Trend Flow & Bias Indicator
🔹 What This Indicator Does
ColorFlow EMA is a clean, visual trend-flow indicator designed to show directional bias and momentum state at a glance.
It uses two exponential moving averages:
Fast EMA (default: 10)
Slow EMA (default: 20)
The area between the EMAs is color-shaded to clearly display whether price is in a bullish or bearish flow.
🎨 Visual Logic
🔵 Blue shading → Bullish flow
(Fast EMA above Slow EMA)
🔴 Red shading → Bearish flow
(Fast EMA below Slow EMA)
Optional crossover markers can be enabled for visual confirmation when EMA alignment changes.
🧠 How to Use ColorFlow EMA
This indicator is not a standalone strategy and is not intended for signal-chasing.
It is best used as a context and bias filter alongside:
Price action
Market structure (HH/HL, LH/LL)
Support & resistance or supply & demand zones
Pullbacks vs premium/discount
Typical use cases:
Favor longs when the flow is blue
Favor shorts when the flow is red
Avoid forcing trades when EMAs are tangled or flat
Wait for pullbacks into structure instead of chasing price
⚠️ Important Notes
EMA crossovers alone do not guarantee profitable trades
Market conditions, structure, and location always matter
Works best in trending or transitioning markets
Not designed for ranging/choppy environments without context
⚙️ Customization
EMA lengths can be adjusted
Crossover markers can be toggled on/off
Designed to stay visually clean and uncluttered
🎯 Who This Indicator Is For
Traders who prioritize price action over indicators
Intraday traders (forex, indices, ETFs, stocks)
Traders who want clarity, not noise
📝 Final Thought
ColorFlow EMA answers one simple question:
“Should I be looking for longs or shorts here?”
Use it for bias, not prediction.
Análisis de tendencia
Piv X# Piv X Pro - Multi-Layer Reversal Detection System
## Overview
Piv X Pro is an advanced technical analysis indicator that combines dynamic pivot detection, Williams %R momentum divergence analysis, and multiple VWAP anchoring methods to identify high-probability mean reversion opportunities. Unlike simple indicator combinations, this script implements a layered filtration system where each component validates and refines signals from the previous layer, resulting in significantly fewer but higher-quality reversal setups.
## Core Methodology
### 1. Dynamic ATR-Based Pivot Detection
The script uses an adaptive pivot detection algorithm that adjusts sensitivity based on market volatility. Instead of fixed lookback periods, pivot strength is calculated dynamically using Average True Range (ATR):
**Calculation:** `pivot_strength = max(min_strength, min(ATR / mintick * multiplier, max_strength))`
This ensures:
- More sensitive pivots in low volatility (smaller ATR)
- More significant pivots in high volatility (larger ATR)
- Automatic adaptation across different market conditions and timeframes
**Significance Filtering:** Pivots must exceed a minimum ATR distance from recent price action (default 0.3 ATR) to filter noise. This prevents minor price fluctuations from being marked as significant pivots.
**Volume Confirmation (Optional):** Pivots can optionally require volume spikes (default 1.5x average volume) to ensure institutional participation.
### 2. Williams %R Momentum Divergence Engine
The script detects classic and hidden divergences between price pivots and Williams %R oscillator readings:
**Bullish Divergence Detection:**
- Price makes a lower low (confirmed pivot low)
- Williams %R makes a higher low (momentum improving)
- Divergence occurs in oversold zone (Williams %R ≤ -80)
- Lookback range: 60 bars maximum
**Bearish Divergence Detection:**
- Price makes a higher high (confirmed pivot high)
- Williams %R makes a lower high (momentum weakening)
- Divergence occurs in overbought zone (Williams %R ≥ -20)
- Lookback range: 60 bars maximum
**Divergence-Anchored VWAPs:** When a divergence is detected, a new VWAP calculation begins from that point, tracking institutional positioning relative to the momentum shift. This provides a dynamic mean reversion target that resets at each confirmed divergence.
### 3. Confluence Scoring System
Each detected pivot receives a numerical score (0-150+ points) based on multiple independent confirmation factors:
**Scoring Components:**
- Base Pivot Detection: 10 points
- Volume Spike Confirmation: 15 points
- Higher Timeframe Trend Alignment (4H EMA): 20 points
- RSI Extreme Levels (oversold/overbought): 25 points
- Mean Reversion Distance (>2.5 ATR from HTF MA): 20 points
- Exhaustion Patterns (price move + volume spike): 10 points
- ATR Price Confirmation: 10 points
- RSI Divergence: 15 points
- Swing Failure Pattern (SFP): 15 points
- Liquidity Sweep: 10 points
- Candle Reversal Confirmation: 10 points
- Key Level Alignment (previous day/week highs/lows): 10 points
- Fair Value Gap (FVG) Fill: 10 points
- Session Weighting (London/NY sessions): 10 points
- Multi-Timeframe Pivot Confluence: 15 points
**Zone Classification:**
- Regular Zones: Score 60-89 (green/purple boxes)
- Golden Zones: Score 90+ (yellow boxes with thicker borders)
Higher scores indicate stronger confluence and higher probability setups, but no prediction is guaranteed.
### 4. Mean Reversion Distance Filter
The script calculates how far price has stretched from the higher timeframe moving average:
**Calculation:** `distance_from_htf_ma = (close - HTF_EMA) / ATR`
**Mean Reversion Condition:**
- For long setups: Price >2.5 ATR below HTF EMA when HTF trend is up
- For short setups: Price >2.5 ATR above HTF EMA when HTF trend is down
This ensures pivots are only highlighted when price is statistically stretched and likely to revert toward the mean.
### 5. Multi-Period VWAP Framework
The script provides multiple VWAP calculations for different analysis purposes:
**Extreme VWAPs:**
- Bottom VWAP: Anchored to the absolute lowest low in the lookback period (default 50 bars)
- Top VWAP: Anchored to the absolute highest high in the lookback period
**Periodic VWAPs:**
- 4D VWAP: Resets every 4 days
- 9D VWAP: Resets every 9 days
- 4H VWAP: Resets every 4 hours
- 8H VWAP: Resets every 8 hours
- Weekly VWAP: Resets at the start of each week
- Monthly VWAP: Resets at the start of each month
- Yearly VWAP: Resets at the start of each year
**Previous Period VWAPs:**
- Previous Weekly, Monthly, and Yearly VWAPs are displayed as reference levels for support/resistance
**Divergence VWAPs:**
- Bullish Divergence VWAP: Resets at each bullish Williams %R divergence
- Bearish Divergence VWAP: Resets at each bearish Williams %R divergence
### 6. IBSS Pro Mean Reversion System
An integrated scalping system that provides entry signals within high-probability pivot zones:
**Components:**
- Dual EMA System: Fast EMA (12) and Slow EMA (26) with color-coded trend visualization
- RSI Oversold/Overbought Detection: Configurable levels (default 30/70)
- Zone-Based Entry: Signals only trigger when price is within active pivot zones (0.3 ATR around confirmed pivots)
- ATR-Based Dynamic Stops: Stop losses trail with position using ATR multiplier
**Signal Generation:**
- Buy signals: RSI crosses above oversold + Fast EMA > Slow EMA + Price in pivot low zone
- Sell signals: RSI crosses below overbought + Fast EMA < Slow EMA + Price in pivot high zone
## Why This Combination is Unique
This is not a simple indicator mashup. The components work together in a specific hierarchy:
1. **Williams %R Divergence** identifies momentum shifts before price confirms the reversal
2. **Dynamic Pivots** mark actual price structure extremes with ATR-based significance filtering
3. **Confluence Scoring** quantifies setup quality using 10+ independent confirmation factors
4. **Mean Reversion Distance** confirms price is statistically stretched (>2.5 ATR from HTF MA)
5. **VWAP Framework** tracks institutional positioning and provides objective mean levels
6. **IBSS Signals** provide precise entries within high-probability zones
Each layer filters the previous one, resulting in significantly fewer but higher-quality signals than any single indicator alone. The divergence-anchored VWAPs are unique - they reset at momentum shifts rather than arbitrary time periods, providing more relevant mean reversion targets.
## How to Use This Indicator
### For Swing Trading (15m-1H Charts)
1. Wait for a major pivot to form (diamond marker appears below/above bars)
2. Check the confluence score displayed in the zone label
3. Look for Golden Zones (score 90+, yellow boxes with thicker borders)
4. Enter when price enters the pivot zone (0.3 ATR around the pivot)
5. Use the nearest VWAP level as first target
6. Set stop loss beyond the pivot zone (typically 0.5-1 ATR)
### For Scalping (5m-15m Charts)
1. Enable IBSS Pro Signals in settings
2. Wait for price to enter an active pivot zone (colored boxes appear)
3. Take IBSS diamond signals that form within zones
4. Use ATR-based stop losses (dashed lines appear automatically if enabled)
5. Exit at pivot VWAP or opposite zone edge
### Visual Elements Explained
- **White/Purple Crosses**: Williams Divergence VWAPs (momentum-based mean reversion targets)
- **Green/Red Crosses**: Bottom/Top VWAPs (absolute extreme levels)
- **Colored Boxes**: Pivot reversal zones (opacity indicates confluence score)
- **Yellow Boxes**: Golden zones (90+ score, highest probability setups)
- **Small Diamonds**: Regular pivot detections
- **Green/Red Tiny Diamonds**: IBSS scalp entry signals (if enabled)
- **White/Purple MAs**: IBSS trend filter (12/26 EMA with cloud)
- **Dotted Lines**: Structure lines connecting consecutive pivots of same type
- **Blue Dashed Lines**: Market Structure Shift (CHoCH) markers
### Recommended Settings
**Conservative (Lower Timeframes 1m-5m):**
- ATR Pivot Strength: 0.8-1.0
- Volume Threshold: 2.0
- Min Pivot Significance: 0.4-0.5
- Enable ATR Confirmation: Yes
- Real-Time Mode: Off
- Score Threshold: 80+
**Aggressive (Higher Timeframes 15m-1H):**
- ATR Pivot Strength: 0.6-0.8
- Volume Threshold: 1.5
- Min Pivot Significance: 0.3
- Enable ATR Confirmation: No
- Real-Time Mode: On
- Score Threshold: 60+
## Chart Requirements
This indicator should be used **alone on a clean chart** with:
- Standard candlestick or bar chart type (NO Heikin Ashi, Renko, Point & Figure, or Range charts)
- No other indicators overlaid (all functionality is self-contained)
- Symbol and timeframe clearly visible in chart
- Full indicator name "Piv X Pro" visible in chart legend
## Important Disclaimers
- Past performance does not guarantee future results
- All signals are probabilistic indicators, not trading guarantees
- Use proper risk management and position sizing
- Test thoroughly on demo accounts before live trading
- Higher confluence scores indicate better setups but no prediction is certain
- Mean reversion strategies work best in ranging/choppy markets; may underperform in strong trending markets
- The lookahead bias warning: HTF EMA uses `barmerge.lookahead_on` for trend filtering only (not for signal generation), which may cause historical bars to show different trend states than real-time
## Key Differentiators
Unlike basic pivot or VWAP indicators:
- **Dynamic ATR-based pivot detection** vs static lookback periods
- **Quantified confluence scoring** vs subjective interpretation
- **Mean reversion distance filtering** (>2.5 ATR from HTF MA) vs all pivots shown
- **Divergence-anchored VWAPs** vs static period VWAPs
- **Multi-layer confirmation system** (10+ independent factors) vs single signal generation
- **Integrated scalping system** that only triggers in high-probability zones
This script is open-source and available for educational purposes. Users are encouraged to understand the methodology before using it for live trading decisions.
Ale Tonkis Swing Failure + TP RRSwing Failure Pattern (SFP) indicator with multi-timeframe confirmation and dynamic Take Profit logic.
It detects bullish and bearish SFP setups, confirms them using 5m and 15m timeframes, and automatically plots Take Profit targets with a 1:2 or 1:3 risk–reward ratio, based on previous highs and lows (market structure pivots).
Designed for Forex and Crypto trading, fully visual and non-repainting.
Weekly EMA Squeeze (Bullish + Bearish)Purpose
The Weekly EMA Squeeze indicator identifies periods where price is compressing tightly around a cluster of weekly EMAs and then flags when that compression resolves with directional bias. It is designed to surface high-timeframe inflection points where trends are most likely to begin or meaningfully change.
This indicator operates entirely on weekly data, even when viewed on lower timeframes.
________________________________________
Core Components
1. Weekly EMA Cluster
• Uses three weekly EMAs (fast / mid / slow)
• Compression is defined by:
o Tight EMA spread
o Reduced weekly volatility (ATR contraction)
• Represents balance and indecision at a higher timeframe
2. Bullish Weekly EMA Squeeze
Triggered when:
• EMAs are tightly compressed
• Price is holding above or within the EMA cluster
• EMA slopes flatten or turn upward (optional filter)
• Optional requirement: weekly close above EMA cluster
Displayed as:
• Green upward triangles
• Green vertical shaded band marking the squeeze event window
3. Bearish Weekly EMA Squeeze
Triggered when:
• EMAs are tightly compressed
• Price is holding below or within the EMA cluster
• EMA slopes flatten or turn downward (optional filter)
• Optional requirement: weekly close below EMA cluster
Displayed as:
• Red downward triangles
• Red vertical shaded band marking the squeeze event window
4. Vertical Shaded Event Bands
• Each squeeze event (bull or bear) is visually marked with a vertical shaded region
• Shading appears on every qualifying event, including consecutive ones
• Purpose: clearly identify when the market entered a compressed, directional decision state
________________________________________
What the Indicator Is Signaling
• Compression + directional bias, not immediate breakouts
• Transition points between:
o Range → trend
o Trend → reversal
o Trend → re-acceleration after consolidation
This indicator does not attempt to predict magnitude — it identifies timing and regime change risk.
________________________________________
How to Use It
Best used for:
• High-timeframe bias setting
• Filtering lower-timeframe signals
• Identifying when to stop fading price
• Recognizing when volatility expansion is likely
Typical interpretations:
• Bullish squeeze → bias shifts upward; favor long exposure
• Bearish squeeze → bias shifts downward; favor defensive or short exposure
• Multiple squeezes in same direction → trend reinforcement
• Rapid bull ↔ bear flips → higher-timeframe indecision
________________________________________
What It Is Not
• Not an entry trigger by itself
• Not a momentum oscillator
• Not a replacement for breakout confirmation
This indicator answers:
“Is the weekly market coiling, and in which direction is pressure building?”
Enhanced ATR SupertrendEnhanced ATR Supertrend - Mathematically Sound Trend Following Indicator
OVERVIEW
This is a premium version of the classic Supertrend indicator, built with mathematical rigor and enhanced features for serious traders. Unlike basic implementations, this version offers proper band trailing logic, adaptive volatility modes, and multiple ATR calculation methods.
HOW IT WORKS
The Enhanced ATR Supertrend calculates dynamic support and resistance bands based on the Average True Range (ATR). The core principle is simple but powerful:
ATR Calculation: Measures market volatility using true range (the greatest of: high-low, high-previous close, or low-previous close)
Band Construction: Creates upper and lower bands by adding/subtracting ATR × Multiplier from the HL2 (high+low average)
Trailing Logic:
Upper band can ONLY move down or stay flat (never up) during downtrends
Lower band can ONLY move up or stay flat (never down) during uptrends
This prevents premature trend reversals and whipsaws
Trend Determination:
BULLISH when price closes above the upper band
BEARISH when price closes below the lower band
Line colour changes reflect current trend state
WHY IT'S BETTER
Proper Mathematics: Correct band trailing prevents the "flickering" seen in poorly coded versions
Adaptive Volatility: Optional mode adjusts multiplier based on current vs average volatility - tightens in chaos, widens in calm markets
Multiple ATR Methods: Choose between RMA (default), SMA, EMA, or WMA smoothing
Clean Visual Design: Professional presentation with optional dashboard showing real-time metrics
OSCILLATOR MODE - SPOTTING DOUBLE TOPS/BOTTOMS
When used as an oscillator in the lower pane (remove overlay), the Supertrend's trend changes can reveal powerful reversal patterns:
Double Bottoms: When the indicator flips bullish twice at similar price levels, it often signals strong support and potential reversal zones
Double Tops: When the indicator flips bearish twice at similar levels, it identifies resistance and potential breakdown zones
The step-like visualization makes these patterns easier to spot than traditional price action
Weekly Breakout Confirm + RS vs BTC + VolumePurpose
The Weekly Breakout Confirmation indicator validates whether price has structurally exited a prior weekly range and whether that breakout is supported by volume expansion and relative strength vs BTC.
It is a regime confirmation tool, designed to separate real breakouts from false ones.
________________________________________
Core Components
1. Weekly Donchian Channel
• Upper band (green): prior weekly range high
• Lower band (red): prior weekly range low
• Calculated on weekly data with no repainting
These levels define the structural range the market must escape to enter a new regime.
________________________________________
2. Weekly Breakout (W BO)
Triggered when:
• Weekly close breaks above the upper Donchian band
• Volume confirms expansion
• Optional filter: relative strength vs BTC is rising
Displayed as:
• Bullish breakout marker
• Green structure line remains on chart as reference
________________________________________
3. Weekly Breakdown (W BD)
Triggered when:
• Weekly close breaks below the lower Donchian band
• Volume confirms expansion
• Optional filter: relative strength vs BTC is weakening
Displayed as:
• Bearish breakdown marker
• Red structure line remains on chart as reference
________________________________________
4. Relative Strength vs BTC
• Measures asset performance relative to BTC on a weekly basis
• Helps identify:
o True altcoin leadership
o False breakouts driven only by BTC beta
• Optional requirement for breakout validation
________________________________________
5. Volume Confirmation
• Weekly volume must exceed a moving average threshold
• Filters out low-participation breakouts
• Ensures institutional-grade participation
________________________________________
What the Indicator Is Signaling
• Confirmed regime transitions
• Entry into:
o Sustained trends
o Distribution phases
o Structural breakdowns
Once a breakout is confirmed:
• The prior range is invalidated
• The green/red line becomes support/resistance reference, not a trigger
________________________________________
How to Use It
Best used for:
• Determining whether the market is trending or ranging
• Confirming whether weekly EMA squeezes are actionable
• Managing exposure duration and risk tolerance
Interpretation framework:
• W BO + rising RS + volume → trend acceptance
• W BO without RS → BTC-driven move (lower confidence)
• No recent W BO / W BD → consolidation regime
• W BD → risk-off, defensive posture
Over Night Hold Scanner Born InvestorOver Night Hold (ONH) Scanner - Daily Timeframe
Identifies high-probability overnight hold candidates based on Trader Stewie's methodology. Scans for explosive volume (2x+ average), strong closes in top 15% of range, and momentum context—regardless of your current chart timeframe.
Key Features:
Always reads from Daily chart data
Customizable data table (resizable, repositionable)
Volume ratio and close strength scoring
Price & liquidity filters ($3+ min, 1M+ volume)
Trend confirmation or reversal detection
EMA Buy/Sell & Smart Zones(5Min TF only)### **Indicator Title:**
**EMA Buy/Sell & Smart Zones**
---
### **Description:**
**EMA Buy/Sell & Smart Zones** is a specialized intraday trading tool designed to combine trend analysis with precise market structure zones. This script utilizes a custom tracking algorithm to identify the **specific candle** that formed the previous session's high or low, allowing it to plot accurate Supply and Demand zones for the current trading day.
This indicator has been rigorously tested on the **Nifty Index** and is optimized for use on the **5-minute timeframe**.
### **Key Features**
**1. Smart Session Wick Zones ("True Wick" Logic)**
The indicator automatically scans every candle of the previous session to locate the exact price action that formed the day's extremes.
* **Smart High Zone:** Identifies the specific candle that made yesterday's High and plots a zone from that High down to that candle's Open or Close (based on body direction).
* **Smart Low Zone:** Identifies the specific candle that made yesterday's Low and plots a zone from that Low up to that candle's Open or Close.
* **Close Range:** Highlights the High-Low range of the very last candle of the previous session to show the closing sentiment.
*All zones automatically stop extending at the end of the current session, ensuring the chart remains clean and historically accurate.*
**2. EMA Trend System**
The script plots three key Exponential Moving Averages to define market direction:
* **EMA 21:** Captures short-term momentum.
* **EMA 63:** Defines the medium-term trend.
* **EMA 1575:** Establishes the long-term baseline.
**3. Buy/Sell Signals**
Clear signals are generated on the chart based on specific criteria:
* **BUY Signal:** Generated when a green candle closes above the EMA 21 and EMA 63.
* **SELL Signal:** Generated when a red candle closes below the EMA 21 and EMA 63.
* *Note: The logic includes a filter to alternate signals (Buy -> Sell -> Buy), preventing clutter during choppy markets.*
### **How to Use**
* **Recommended Timeframe:** **5 Minutes**.
* **Recommended Markets:** Indices (Nifty, Bank Nifty) and high-volume stocks.
* **Workflow:**
* Use the **Smart Zones** (Red/Green boxes) to identify potential rejection areas or breakout targets.
* Use the **Buy/Sell Labels** as confirmation triggers when price is reacting near these zones or trending strongly above/below the EMAs.
### **Settings & Customization**
* **Visibility Control:** Toggle each box type (High, Low, Close) and text labels on or off individually.
* **Color Customization:** Fully adjustable colors for all EMAs, Zone Backgrounds, Borders, and Text Labels to suit your chart theme.
* **Label Size:** Adjust the text size of the zone labels directly from the settings menu.
---
**Disclaimer:** This tool is for educational purposes and should be used to assist your analysis. Always manage your risk appropriately.
Market Regime: Squeeze Box + Trend DashboardMarket Regime: Squeeze Box + Trend Dashboard
Market Regime is a overlay designed to provide instant market context (trend vs consolidation) and highlight volatility compression (squeeze) setups before potential breakouts. Built with stock charts in mind, it focuses on clean visuals and practical decision support.
What this indicator shows:
1) Market Regime (TREND / RANGE / NEUTRAL)
The regime is detected using DMI/ADX with built-in confirmation to reduce flicker:
TREND : ADX stays above a threshold for N bars
RANGE : ADX stays below a threshold for N bars
NEUTRAL : neither trend nor range is confirmed
Trend direction is derived from DI+ vs DI- (UP / DOWN / MIXED).
2) Squeeze (BB inside KC)
A squeeze is detected when Bollinger Bands contract inside Keltner Channels (volatility compression).
SQZ = squeeze start
REL = squeeze release (the first bar *after* squeeze — technically correct)
3) Squeeze Box
The core feature: a box drawn from SQZ → REL , dynamically tracking the highest high / lowest low during the squeeze. This creates a clean visual range for the compression zone and helps frame breakout context.
4) EMA Ribbon with ADX-based intensity
Two EMAs (fast/slow) form a ribbon. The fill becomes more pronounced as ADX strength increases, making trend momentum easier to read at a glance.
5) Trend Dashboard (corner panel)
A compact dashboard summarizing key metrics:
REGIME, DIR, ADX (with normalized strength %)
SQUEEZE ON/OFF
Relative Volume (relVol + tier)
ATR% (14), EMA Slope%, GAP% (Open vs previous Close)
Customization / Settings
Fully configurable for different styles and markets:
ADX/DMI lengths and thresholds
BB/KC parameters (lengths and multipliers)
Relative Volume thresholds
Background mode: Off / Squeeze only / All regimes
Visual toggles: ribbon, squeeze box, markers, dashboard
History controls and limits for boxes/labels (clean chart + performance)
How to use (practical workflow)
Trend context : read REGIME + DIR and ribbon intensity (ADX strength).
Squeeze setup : when squeeze is active, the box defines the compression range (high/low).
Release : REL marks the first bar after squeeze ends (potential breakout/expansion context).
Notes
No look-ahead logic is used; calculations rely on current and historical bars only.
On realtime (still-forming) candles, values can change intrabar, normal behavior for indicators computed on the current bar.
Trading Disclaimer:
This indicator is provided for research and informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use at your own risk. You are solely responsible for any trading decisions made using this script.
Macro FVG with Quarter Theory & CE AlertsStarting with Python, target, starting with script now, but I made this FvVG identifier. It will. Create the favorite group as it. Occurs. Just moving up it would be green, if it's moving down it would be red and if it's mitigated but turn dark black.
HAP Fear BreakerWVF Stochastic Signal + Ganga Dip
(Önder Edition – FIXED 2)
(22, 14, 3, 14, 60, 30)
WVF Stochastic Signal + Ganga Dip is a multi-layer confirmation indicator
designed to detect high-quality dip and reversal opportunities after
fear expansion and momentum compression.
This system does NOT rely on stochastic crossovers alone.
It evaluates signal quality through fear, momentum, trend structure,
and background trend visualization.
CORE COMPONENTS
• WVF (Williams VIX Fix) → detects fear expansion and panic zones
• Stochastic (14, 3) → identifies momentum shifts through QUALITY crossovers
• ADX (14) → measures trend strength
• +DI / –DI separation → confirms directional dominance
• Background trend coloring → visualizes active trend structure
SIGNAL LOGIC (STEP BY STEP)
1. WVF identifies elevated fear or post-fear compression zones
2. Stochastic produces a QUALITY crossover (not every crossover is valid)
3. ADX structure is analyzed:
• ADX stabilizes or strengthens
• +DI and –DI begin to separate (directional clarity)
4. Background color confirms trend direction
5. Only when all layers align, the signal is validated
QUALITY STOCHASTIC CROSSOVER (VERY IMPORTANT)
• Crossovers inside extreme zones (60 / 30) are prioritized
• Flat, low-energy crosses are ignored
• Stochastic direction must agree with DI dominance
ADX & DI CONFIRMATION
• Rising or stable ADX = structure forming
• +DI > –DI = bullish dominance
• –DI > +DI = bearish dominance
• DI compression = no signal (intentionally filtered)
BACKGROUND TREND COLORING
• Bullish background → +DI dominance with supportive ADX
• Bearish background → –DI dominance with supportive ADX
• Neutral / no color → trend not confirmed (signals filtered)
GANGA DIP LOGIC
Ganga Dip highlights probability zones where:
• Fear was present (WVF)
• Momentum starts to shift (Stochastic)
• Trend structure separates (ADX + DI)
• Trend direction is visually confirmed by background color
WHAT IT FILTERS OUT
• Random stochastic crosses
• Fake dips during strong trends
• Momentum without structure
• Structure without momentum
• Signals against background trend
BEST USE CASES
• Dip-buying after fear spikes
• Early recovery after market stress
• Momentum continuation after compression
IMPORTANT NOTICE
WVF Stochastic Signal + Ganga Dip is NOT a standalone buy/sell system.
It is a confirmation-based structure indicator.
• Stochastic crossover without ADX & DI separation → ignored
• Trend not confirmed by background → ignored
• Fear without structure → ignored
Only full alignment produces signals.
Adaptive Momentum Contextdaptive Momentum Context (AMC)
Adaptive Momentum Context (AMC) is a single-panel, overlay indicator designed to help traders read market context, momentum behavior, and volatility-driven rhythm in a structured and non-misleading way.
This indicator does not aim to predict future price movements. Instead, it focuses on describing current market conditions using adaptive smoothing and higher-timeframe bias.
Concept Overview
AMC is built around three core ideas:
Higher Timeframe Context (Bias)
Adaptive Market Rhythm
Momentum Behavior within Context
These components are combined to provide a clearer view of when momentum aligns with the broader market structure.
Higher Timeframe Bias
The indicator retrieves price data from a user-selected higher timeframe and compares it to a moving average on that timeframe.
When higher timeframe price is above its average, the background is shaded green.
When it is below, the background is shaded red.
This background does not generate signals.
Its purpose is to define directional context and reduce decision-making against dominant market conditions.
Adaptive Market Rhythm
Instead of using a fixed-length moving average, AMC calculates an adaptive smoothing length based on relative volatility.
When volatility expands, the smoothing period increases.
When volatility contracts, the smoothing period shortens.
Because Pine Script does not allow dynamic lengths in built-in moving averages, the adaptive line is calculated manually using a recursive EMA formula.
This ensures:
No repainting
No future data access
Full Pine Script v6 compliance
The adaptive line represents the current market rhythm, not a trend guarantee.
Momentum Behavior
Momentum is derived from changes in the adaptive rhythm rather than raw price.
Small visual markers appear when:
Momentum accelerates in the direction of the higher timeframe bias
Momentum decelerates against that bias
These markers are contextual cues, not standalone trade signals.
How to Use
AMC is best used as a context and filtering tool, not as a mechanical entry system.
Possible use cases:
Filtering lower-timeframe entries
Avoiding trades against higher-timeframe structure
Visualizing momentum shifts during pullbacks or continuations
Users are encouraged to combine this indicator with their own risk management and execution rules.
Important Notes
This indicator does not provide performance guarantees.
Past behavior does not imply future results.
No lookahead, no repainting, or non-standard chart types are used.
Default settings are intended for general use and may require adjustment depending on market and timeframe.
Strategy EMA trend & MACD 5m-15mStrategy using multiple EMAs as a trend & MACD as a signal, using 5m and 15m timeframe, 5m is a main timeframe.
Gap Tracker Indicator v5Gap Tracker Indicator - Description
Purpose: The Gap Tracker identifies price gaps on charts and visualizes unfilled gap zones that may act as future support/resistance levels.
What it shows:
Gap zones as colored rectangles:
Red boxes = bearish gaps (price gapped down, leaving unfilled space above)
Green boxes = bullish gaps (price gapped up, leaving unfilled space below)
How gaps form:
A gap occurs when the opening price of one candle is significantly different from the closing price of the previous candle
Common after weekends, holidays, or major news events when markets are closed
Gaps create "empty" price zones with no trading activity
Trading significance:
Many traders believe gaps tend to "fill" eventually (price returns to the gap zone)
Unfilled gaps can act as magnetic levels - price often revisits them
Gap zones may provide support (bullish gaps) or resistance (bearish gaps)
On your chart:
Multiple red boxes show unfilled bearish gaps where price gapped down
Green boxes show unfilled bullish gaps where price gapped up
The indicator tracks these zones until price fills them completely
Right side shows "GAP TRACKER" panel with active gaps: Aktywne (2), Zamknięte (9), Zakres 7d (168)
Key insight: The concentration of unfilled gaps suggests potential magnetic zones where price may return for "gap fill" trades. Traders often use these levels for entries, exits, or stop placement.
Ale tonkis Swing failure + 5MIndicator Description: Ale Tonkis Swing Failure (SFP)
This script is an advanced Swing Failure Pattern (SFP) and Change in State of Delivery (CISD) indicator. It is designed to identify liquidity sweeps and market structure shifts across multiple timeframes simultaneously.
Key Features
Pivot Detection: Automatically identifies high and low pivot points based on a user-defined lookback period.
Liquidity Sweep Analysis: Detects when the price "sweeps" (goes beyond) a previous pivot high or low without closing significantly past it, signaling a potential reversal.
CISD (Change in State of Delivery): Tracks internal market structure shifts to confirm the SFP signal.
Multi-Timeframe (MTF) Dashboard: A real-time table in the top-right corner monitors the trend state across four different timeframes: M1, M3, M5, and M15.
Visual Alerts: The script uses dynamic bar coloring and labels (▲/▼) to signal entry points directly on the chart.
Technical Updates (M5 Integration)
The code has been specifically modified to include the 5-minute (M5) timeframe within the Multi-Timeframe logic:
Data Fetching: A new request.security call was added to retrieve the sfp_trend_state from the 5-minute interval.
Table Expansion: The display table was resized from 4 rows to 5 rows to accommodate the new data without overlapping.
UI Alignment: The M5 state is now positioned between M3 and M15, providing a smoother transition for traders analyzing mid-range scalping opportunities.
How to Read the Dashboard
LONG (Green): Indicates a bullish SFP has occurred and the trend remains positive on that timeframe.
SHORT (Red): Indicates a bearish SFP has occurred and the trend remains negative.
Empty/Black: No active SFP trend is currently detected on that specific timeframe.
RSI Momentum SuperTrend█ OVERVIEW
RSI Momentum SuperTrend is a momentum-based trend oscillator that combines classic RSI with a SuperTrend mechanism calculated directly on RSI values. Instead of using price-based ATR, the indicator measures volatility of RSI itself, allowing dynamic adaptation to different markets and timeframes.
It is fast and responsive, designed for early detection of momentum shifts. It works especially well for divergence analysis, pullbacks within higher timeframe trends, and as a confirmation tool in contrarian strategies.
█ CONCEPT
The indicator was created to combine:
- the sensitivity of an oscillator (RSI)
- the stability of the SuperTrend mechanism
The key element is calculating “ATR” directly on RSI changes and then normalizing it. This allows:
- automatic adaptation to the instrument’s behavior
- consistent performance across different markets and timeframes
Dynamic upper and lower bands (RSI ± adaptive range) act as momentum control levels.
A trend change occurs only after these levels are broken, helping to reduce market noise.
█ FEATURES
Data source:
- RSI (default: close)
- RSI length
- EMA smoothing
Additional:
- Optional raw RSI display
(can be used to build custom strategies and to compare with the SuperTrend line)
Calculations:
- EMA-smoothed RSI
- Adaptive ATR calculated on RSI changes
- Volatility normalization
- Dynamic bands: RSI ± (ATR × multiplier)
- Trailing mechanism:
- Levels are dynamically updated according to trend direction
- Direction changes only after they are broken
- Trend change logic:
- Down → Up: RSI > upper band
- Up → Down: RSI < lower band
Visualization:
- RSI line with dynamic trend coloring
- SuperTrend line on RSI
- Gradient fill between RSI and ST
- Candle coloring according to trend
- Overbought / Oversold zones with fill
- Fog on Price (optional). Trend direction visualization directly on the price chart
Alerts:
- Trend change to UP
- Trend change to DOWN
█ HOW TO USE
Adding:
Paste the code into Pine Editor or search for “RSI Momentum SuperTrend”
Main settings:
- RSI Length → default 14
- RSI Smoothing → signal smoothing
- ATR Length (on RSI) → adaptation control
- ATR Multiplier → main sensitivity parameter
- Show Raw RSI → raw RSI preview
- Color Candles → candle coloring according to trend
- Fog on Price → trend visualization on price
Interpretation:
- Green color = uptrend
- Red color = downtrend
- Higher multiplier = fewer signals, higher quality
- Lower multiplier = faster reaction, more signals
█ APPLICATIONS
It is recommended to use the indicator together with other technical tools.
If you want to use it not as a trend indicator but as an entry tool, consider combining it with a slower trend indicator (e.g. classic SuperTrend). In this setup:
- the main trend is defined by the slower indicator
- entries are taken only in its direction
- RSI Momentum ST helps to identify local pullbacks within the trend
Ideal for:
- Divergences
e.g. price makes higher highs while RSI Momentum ST makes lower highs → possible trend weakness
similarly: price goes down while the indicator goes up
- Pullbacks in higher timeframe trends
e.g. H4 uptrend, while on M15 RSI Momentum ST enters oversold zone → potential end of pullback
- Contrarian strategies
e.g. strong downtrend, while RSI Momentum ST starts turning up → possible market reaction
Early detection of momentum shifts
Best combined with:
- Support and resistance levels
- Market structure (HH, HL, LH, LL)
- Volume
- Price action
- Higher timeframe analysis
█ NOTES
- Works on all markets and timeframes
- Faster than classic price-based trend indicators
- Best results are achieved when used with market context
- Not a standalone trading system
[HFT] Leaky Bucket: FPGA-Based Order Flow SimulationDescription:
This indicator is a functional simulation of a hardware-based "Leaky Bucket" algorithm, typically used in FPGA (Field-Programmable Gate Array) chips for High-Frequency Trading (HFT) and network traffic shaping.
Unlike standard volume indicators (like OBV or CMF) that rely on floating-point Moving Averages (EMA/SMA), this script uses Bitwise Integer Math to simulate hardware registers. This approach removes the lag associated with smoothing and provides a raw, "tick-by-tick" representation of Order Flow exhaustion.
█ Underlying Concepts (How it works)
Integer Math & Bitwise Logic: The script eschews standard float calculations for int registers. Instead of division, it uses Bitwise Right Shift (>>) to simulate the "leak" rate. This mimics how hardware processes data streams with near-zero latency.
The Leaky Bucket Model:
Flow (Input): Volume * Price Delta flows into a "Bucket" (Accumulator Register).
Leak (Output): The bucket leaks at a constant rate determined by the Decay Shift.
Saturation: If the Flow > Leak, the bucket fills. We simulate a 32-bit integer saturation limit (sat_limit). When the bucket hits this limit, it represents "Panic Buying/Selling" — the market capability to absorb orders is saturated.
█ Uniqueness & Originality This is custom-built code, not a mashup of existing indicators. It translates hardware logic (Verilog/VHDL concepts) into Pine Script:
It introduces a "Saturation Warning" mechanism that detects when volume pressure exceeds mathematical limits.
It implements a "Gray Line" Strategy, focusing on volatility decay rather than momentum initiation.
█ How to Use: The "Gray Line" Strategy
This tool is designed for Mean Reversion and Exhaustion Trading, specifically on M1 to M5 timeframes.
Do NOT trade the breakout: When you see massive Green (Long) or Purple (Short) bars, this indicates "Extreme Momentum". Do not enter yet. Wait.
Wait for the "Gray Line": The signal is generated when the Extreme Momentum stops and the bar turns Gray (Neutral).
Signal L (Long): Generated when a sequence of Extreme Short bars (Purple) ends, and the histogram returns to Gray/Maroon. This confirms sellers are exhausted.
Signal S (Short): Generated when a sequence of Extreme Long bars (Green) ends, and the histogram returns to Gray/Teal. This confirms buyers are exhausted.
█ Disclaimer This script is intended for educational purposes regarding HFT algorithms and Order Flow analysis. It does not provide financial advice.
Apex Wallet - Ultimate Trend Meter: 9-in-1 Multi-Layer Momentum Overview The Apex Wallet Trend Meter is an advanced decision-making dashboard designed to provide a comprehensive view of market conditions without cluttering your main price chart. It synthesizes complex data from 9 different technical sources into a clean, horizontal visual grid, allowing traders to spot confluence at a single glance.
The Power of Confluence Instead of switching between multiple oscillators, this tool monitors:
Triple EMA Structure: Tracks Short, Medium, and Long-term trend directions.
Momentum Suite: Real-time status of RSI, Stochastic, and StochRSI.
Advanced Analyzers: Includes MACD (Line/Signal), TDI (Traders Dynamic Index), and the Andean Oscillator for trend exhaustion and volatility states.
Smart Delta Net: A sophisticated Volume Delta engine that filters market noise through customizable modes (Buy/Sell, Neutral, or Automatic).
Key Features:
Adaptive Trading Presets: One-click selection for Scalping, Day-Trading, or Swing-Trading. The script automatically recalibrates all 9 indicator periods to fit your timeframe.
Market Bias Filtering: Indicators are color-coded based on their alignment with the global market trend. Signals only turn Bullish or Bearish when they align with the master trend EMA.
Dynamic Delta Grid: Displays scaled net volume values directly inside the grid for precise institutional flow tracking.
Fully Customizable UI: Toggle any layer on/off and adjust the layout density to match your workspace.
How to use: Look for "Vertical Confluence." When multiple layers turn the same color simultaneously, it indicates a high-probability momentum shift.
Bar-Close Confirmed SupertrendOverview
This indicator is a Supertrend-style trend follower that confirms direction changes only after a bar closes. Trend flips are determined using the previous bar’s close relative to the bands, which helps avoid intrabar changes during live candles.
How it works
Computes ATR (Average True Range)
Builds upper/lower bands using ATR and a multiplier
Updates trend direction only when a prior candle confirms a break of the band
Confirmation logic (bar-close based)
Trend direction is updated using conditions based on the previous candle, such as:
close > upper → confirm uptrend
close < lower → confirm downtrend
Because signals are confirmed on the prior bar, trend changes and markers are displayed only when confirmation exists.
Signals
Uptrend confirmation: prior candle closes above the upper band → bullish marker
Downtrend confirmation: prior candle closes below the lower band → bearish marker
Inputs
ATR Length (default 10)
ATR Multiplier (default 3.0)
Notes
This script is intended for bar-close workflows. Behavior and responsiveness may differ across markets and timeframes depending on volatility and chosen settings.
10/30 EMA Ribbon (5-Min) with 50 EMAThe 10/30 EMA Ribbon is a 5-minute overlay indicator that highlights short-term trend direction and momentum using a shaded ribbon between the 10 EMA and 30 EMA. A separate 50 EMA line is included as a higher-timeframe trend filter, helping traders align entries with the dominant market direction.
Reversal Detection with Dynamic Stops - Multi-EMA ZigzagReversal Detection with Dynamic Stops - Multi-EMA Zigzag System
Description
Overview
The Reversal Detection with Dynamic Stops indicator is a comprehensive technical analysis tool that combines multiple exponential moving averages (EMAs) with an adaptive zigzag algorithm to identify significant price reversals and trend changes. This indicator is designed for active traders who need precise entry and exit signals with clear visual feedback.
Key Features
Multi-EMA Trend Detection
Triple EMA system (9, 14, 21 periods) provides robust trend identification
Dynamic bar coloring (Green = Bullish, Red = Bearish, Purple = Neutral)
Automated signal generation based on EMA alignment and price position
Adaptive Zigzag Algorithm
Configurable reversal detection using percentage, absolute value, or ATR-based thresholds
Choice between high/low or EMA-smoothed price input
Eliminates market noise while capturing significant price swings
Visual Reversal Markers
Bright, easy-to-read labels showing exact reversal prices with comma formatting
Horizontal reference lines extending from pivot points
Customizable line extension length (default 6 bars)
Labels positioned precisely at pivot highs and lows
Supply and Demand Zones (Optional)
Automatic identification of key support and resistance levels
Visual zone highlighting with translucent boxes
Configurable number of zones to display
How It Works
The indicator employs a two-stage analysis system:
Trend Identification: Three EMAs work together to determine the current market trend. When the 9 EMA is above the 14 EMA, which is above the 21 EMA, and price is above the 9 EMA, a bullish signal is generated. The inverse creates a bearish signal.
Reversal Detection: The zigzag algorithm tracks price extremes and confirms a reversal when price moves against the trend by a threshold amount (configurable as percentage, absolute value, or ATR multiple). Once confirmed, the indicator marks the pivot point with a label and horizontal line.
Recommended Settings by Timeframe
Scalping (1-5 minute charts)
Percentage Reversal: 0.5% - 1.0%
ATR Reversal: 1.5 - 2.0
Line Extension: 4-6 bars
Day Trading (15-60 minute charts)
Percentage Reversal: 1.0% - 1.5%
ATR Reversal: 2.0 - 3.0
Line Extension: 6-10 bars
Swing Trading (4H-Daily charts)
Percentage Reversal: 1.5% - 3.0%
ATR Reversal: 2.5 - 4.0
Line Extension: 10-20 bars
Input Parameters
Zigzag Settings
Method: Choose between "high_low" (actual candle extremes) or "average" (EMA-smoothed)
Percentage Reversal: Minimum percentage move to confirm reversal (default 0.01 = 1%)
Absolute Reversal: Minimum point move to confirm reversal (default 0.05)
ATR Reversal: ATR multiplier for dynamic threshold (default 2.0)
ATR Length: Period for ATR calculation (default 5)
Average Length: EMA smoothing period when using "average" method (default 5)
Visual Settings
Line Extension Bars: Number of bars to extend horizontal lines forward (default 6)
Show Supply/Demand: Toggle and style for supply/demand zones
Show Supply Demand Cloud: Enable translucent zone highlighting
EMA Settings (Fixed)
Fast EMA: 9 periods
Medium EMA: 14 periods
Slow EMA: 21 periods
Trading Applications
Entry Signals
Green reversal labels at bottoms indicate potential long entry points
Red reversal labels at tops indicate potential short entry points
Confirm with bar color alignment and overall trend direction
Exit Signals
Opposite color reversal labels suggest profit-taking opportunities
Bar color changes from green to purple or red signal weakening bullish momentum
Bar color changes from red to purple or green signal weakening bearish momentum
Stop Loss Placement
Horizontal lines serve as dynamic stop loss levels
Place stops just beyond the reversal pivot points
Adjust stops as new reversals are confirmed
Risk Management
Use multiple timeframe analysis for confirmation
Wait for bar color confirmation before entry
Avoid trading during conflicting signals (purple bars)
Best Practices
Multi-Timeframe Confirmation: Check higher timeframe trend before taking signals
Volume Verification: Combine with volume analysis for stronger confirmation
Market Context: Consider overall market conditions and key support/resistance levels
False Signals: During choppy, low-volume periods, increase reversal thresholds
Trending Markets: The indicator performs best in markets with clear trends and reversals
Alerts Available
Reversal Up: Triggers when bullish reversal is confirmed
Reversal Down: Triggers when bearish reversal is confirmed
Momentum Up: Triggers when bearish momentum weakens
Momentum Down: Triggers when bullish momentum weakens
Important Notes
This indicator repaints by design as it confirms reversals after price movement
Labels and lines are placed at historical pivot points when confirmed
The indicator works on all timeframes and markets (stocks, forex, crypto, futures)
Bar coloring provides continuous trend feedback independent of reversals
Adjust sensitivity based on volatility and timeframe
Disclaimer
This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions. Always conduct your own analysis, use proper risk management, and never risk more than you can afford to lose. Past performance does not guarantee future results. The indicator repaints by nature of its reversal detection algorithm - reversals are only confirmed after price has moved the threshold amount.






















