Cup & Handle (Zeiierman)█ Overview
Cup & Handle (Zeiierman) is a classic continuation-pattern scanner that detects both bullish Cup+Handle and bearish Inverted Cup+Handle structures using a compact pivot stream. It’s designed to highlight rounded reversals back to a “rim” level, followed by a smaller pullback (“handle”) before a potential continuation move.
⚪ What It Detects
A Cup & Handle (Bull) forms when price makes a rounded decline from a left rim, bottoms, then climbs back to a similar right rim. After returning to the rim, price forms a handle (a smaller pullback) that stays within an allowed retracement range. This pattern often precedes a bullish continuation attempt.
An Inverted Cup & Handle (Bear) is the mirrored version. Price makes a rounded rise to a left rim, tops, then declines back to a similar right rim. After returning to that rim, price forms a handle (a smaller bounce) that stays within the allowed retracement range. This pattern often precedes a bearish continuation attempt.
█ How It Works
⚪ 1) Pivot Extraction (Swing Compression)
The script first converts raw candles into a small set of meaningful swing pivots using ta.pivothigh() and ta.pivotlow() with Pivot span. A pivot is accepted only after it is confirmed by the lookback window, which helps reduce noise.
Key effect:
Higher Pivot span = fewer, stronger pivots (cleaner patterns)
Lower Pivot span = more pivots (more patterns, more noise)
⚪ 2) Pattern Framing (4-Point Structure)
When at least four pivots exist, the script maps them into a fixed sequence:
For a bull Cup+Handle sequence: High → Low → High → Low
These are treated as:
L = left rim pivot
B = cup bottom pivot
R = right rim pivot
H = handle pivot
For a bear inverted Cup+Handle sequence: Low → High → Low → High
Mapped similarly, but inverted.
This “4-pivot” structure is the minimum shape needed to define a cup and a handle without overfitting.
⚪ 3) Rim Similarity Filter (Cup Quality Control)
The script checks if the left rim and right rim are close enough to be considered a proper cup rim:
Rim similarity tolerance (%) controls this.
Lower tolerance = only very clean symmetric rims
Higher tolerance = allows uneven rims (more detections)
⚪ 4) Handle Depth Filter (Reject Weak or Messy Handles)
The handle is validated by measuring how deep it retraces relative to the cup depth:
Handle Retraction = |rim − handle| / |rim − bottom|
The handle must fall between:
Handle retrace min
Handle retrace max
This prevents:
tiny “non-handle” wiggles (too shallow)
deep pullbacks that break the structure (too deep)
█ How to Use
⚪ Interpreting a Bull Cup & Handle
Treat it like a continuation setup built around a key breakout level:
Cup forms
Handle forms
Breakout happens above this level
Once price returns to this breakout zone and the handle stays controlled, the structure may attempt to continue upward.
Common behaviors after a clean signal:
Push above the breakout level
Brief retest/acceptance near the breakout zone
Continuation toward the projected target if momentum holds
⚪ Interpreting a Bear Inverted Cup & Handle
Treat it like a bearish continuation/rollover setup built around the same breakout concept:
Cup forms (inverted)
Handle forms
Breakout happens below this level
Once price returns to this breakout zone and the handle stays controlled, the structure may attempt to continue downward.
Common behaviors after a clean signal:
Drop below the breakout level
Retest from underneath
Continuation toward the projected target if selling pressure persists
█ Settings
Pivot span – pivot sensitivity. Higher = smoother pivots, fewer signals. Lower = more pivots, more signals/noise.
Rim similarity tolerance (%) – rim quality filter. Lower = stricter symmetry, higher = more permissive detection.
Handle retrace min – minimum handle depth (filters weak handles).
Handle retrace max – maximum handle depth (filters messy/deep handles).
Invalidation (handle max retrace %) – “maximum tolerated damage” for handle move before the structure is considered broken.
Require breakout confirmation – only trigger when price closes beyond the rim in the expected direction.
Target multiplier (× cup depth) – scales how far the projection target is. Lower = closer targets; 1.0 = classic depth target.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indikator dan strategi
Supply Demand Zones ProSupply Demand Zones PRO
Version: 1.0
Built with: Pine Script v6
________________________________________
🧭 HOW TO USE Start Here
🧠 What it does default behavior
• ✅ Automatically identifies Supply & Demand zones on your chart
• ✅ Automatically ranks each zone from 0 to 10 higher = stronger
• ✅ Works across most TradingView symbols and timeframes with default settings
⚙️ Default settings recommended for most instruments
Use the default settings for:
• 💱 Forex
• 🪙 Crypto
• 📊 Indices
• 🛢️ Commodities
• 🏛️ Stocks
Defaults are tuned to provide a balanced mix of quality zones + clean charts.
🎯 How to trade with it high-level workflow
1. 🥇 Prioritize strong zones
o Focus on higher scores commonly 7–10 for best reversal potential.
2. 🔄 Wait for a reversal setup at the zone
o Example triggers: rejection wick, engulfing candle, strong reaction candle, structure shift.
3. ✅ Confirm with other indicators before entering
o Use confirmation tools (your choice), such as:
📈 Trend filter (MA / market structure)
🧪 Momentum (RSI / Stoch / MACD)
📉 Volume / volatility tools
o Then take BUY from demand or SELL from supply *only when confirmation aligns
🧩🖤 Executive Summary: PRO Features Overview
The Supply Demand Zones PRO indicator is a professional-grade tool built on the latest Pine Script v6, designed to automatically identify and score high-probability supply and demand zones.
It moves beyond simple zone plotting by incorporating a suite of advanced features that provide a deeper, more actionable market context. This helps traders filter out noise, focus on significant levels, and make more informed decisions.
The indicator is universally compatible and works seamlessly across all major asset classes and timeframes:
• Forex: EURUSD, GBPUSD, USDJPY
• Commodities: Gold/XAUUSD, Silver, Oil
• Indices: NQ, ES, DAX, FTSE
• Cryptocurrencies: Bitcoin, Ethereum, Altcoins
• Stocks: Individual equities
Most symbols available on TradingView are fully supported.
Notice on repainting 🕯️⬛
Active zones won’t repaint unless they are invalidated. Gray/Historic zones may repaint, and that’s fine—this script only displays the most recent and stronger historic zones (if historic zones are enabled).
________________________________________
⬛🛠️Key PRO Features Overview
⚙️ Feature 📌 Description
Zone Strength Ranking ||| Each zone is dynamically scored from 1–10 based on its age and number of retests. Fresher, less-tested zones are stronger, helping prioritize high-impact levels.
Real-Time Distance ||| Each active zone’s info label shows the exact distance (in pips) from current price to the zone edge for quick risk/opportunity assessment.
Trading Session Tracking ||| Zones are tagged by formation session (Asian / London / New York) for added context—high-volume session zones often matter more.
Automated Retest Markers ||| The script tracks retests and places an “R” marker for each retest, giving a clear visual history of price interaction.
Advanced ATR Filtering ||| Volatility-based filters control zone quality: set min/max zone height and optionally enforce a consistent zone height using ATR.
Minimum Zone Distance ||| Reduces clutter by requiring a minimum number of bars between new zones, ensuring zones are distinct and well-separated.
Dual Label Controls Independently toggle info labels for Active vs Historic zones to keep charts clean while preserving key detail.
Built on Pine Script v6 ||| Uses the newest Pine Script version for better efficiency, reliability, and smoother handling of complex logic/drawings.
________________________________________
Detailed Feature Breakdown ⬛
Zone Strength Ranking ⬛
The strength score is a proprietary calculation that helps traders instantly gauge the potential of a supply or demand zone. It is calculated in real time using:
1. Age of the Zone: As zones age, they may lose relevance. Strength decreases as the number of bars since creation increases.
2. Number of Retests: The first test is often the highest-probability reaction. Each retest reduces strength as liquidity is absorbed.
✅ A high score (7/10+) indicates a fresh, less-tested zone that may produce a strong reaction.
⚠️ A low score suggests a zone is old and/or heavily tested—use extra caution.
________________________________________
🧱⬛Invalidation & Historic Zones
A zone becomes invalidated broken when price closes beyond its outer boundary or wicks beyond it, depending on settings. Once broken, it becomes a Historic Zone and turns gray.
This matters for structure: a broken supply zone can become future demand a flip zone, and vice versa.
________________________________________
🧪⬛Advanced Filtering Explained
Three ATR-based filters control zone quality:
• Max Zone Height (ATR Multiplier): Blocks zones that are too large to trade effectively. Example: 1.0 ignores zones taller than 1× ATR.
• Min Zone Height (ATR Multiplier): Filters out zones that are too thin and likely noise. Example: 1.0 rejects zones smaller than 1× ATR.
• Force Zone Height (ATR Multiplier): Normalizes zone heights by expanding smaller valid zones up to the minimum ATR target. Example: 1.0 expands zones to at least 1× ATR.
________________________________________
🧾⬛Configuration Guide
⚙️⬛Zone Detection
⚙️ Setting 🔧 Default 📝 Description
Swing Length (Sensitivity) 12 Lookback bars for pivot high/low detection. Higher = fewer, stronger zones.
Max Zones to Display 10 Max number of active Supply + Demand zones shown.
Max Zone Height (ATR) 1.0 Rejects zones taller than this ATR multiplier.
Min Zone Height (ATR) 1.0 Rejects zones smaller than this ATR multiplier.
Force Zone Height (ATR) 1.0 Expands valid zones to be at least this ATR multiplier.
Min Distance Between Zones 44 Minimum bars required between consecutive zones of the same type.
________________________________________
🧱⬛Zone Settings
⚙️ Setting 🔧 Default 📝 Description
Zone Invalidation Close “Close” = candle must close past zone; “Wick” = wick past zone breaks it.
Show Historic Zones On Toggles visibility of broken (historic) zones.
Active Zones Lookback 1000 Hides active zones older than this many bars.
Historic Zones Lookback 1000 Hides historic zones older than this many bars.
________________________________________
🖥️⬛Display
⚙️ Setting 🔧 Default 📝 Description
Show Active Zone Info On Toggles text labels for active (unbroken) zones.
Show Historic Zone Info Off Toggles text labels for historic (broken) zones.
Label Size Small Adjusts the font size of zone info labels.
Smart Pivot Trend█ OVERVIEW
Smart Pivot Trend is a market structure–based trend indicator that combines swing pivots, volatility adaptation (ATR), and dynamic range levels to determine which side of the market is in control — buyers or sellers. Instead of moving averages, trend direction is defined through structural breaks inside pivot ranges.
The indicator visualizes the active trend, evolving market structure, and historical support/resistance levels created at moments of control shifts. It helps identify trend transitions, structure breaks, and areas where price has an increased probability of reaction.
█ CONCEPT
Built around adaptive swing structure. The core idea is that trend emerges from market structure, not from price relative to an average.
- Swing highs and swing lows form the current structural range.
- Two internal percentage-based levels inside this range act as decision zones.
- Break above the upper level → bullish control.
- Break below the lower level → bearish control.
To prevent structure from becoming outdated during strong moves, pivots are dynamically adjusted when price deviates beyond ATR × multiplier. This mechanism makes the structure volatility-aware rather than static.
As a result, the indicator combines:
- a dynamic, living market structure (active pivot trend)
- static “market memory” levels marking previous control shifts
█ FEATURES
Calculations
- Swing pivots as the foundation of market structure
- Internal range levels as structural decision zones
- ATR-based adaptive pivot correction (volatility-aware structure)
- Smooth Factor — controls the degree of structural correction relative to price; defines how fast pivots adapt during strong moves
- Trend change detection through structural range breaks
Visualization
- Active trend line based on current structure
- Historical support/resistance levels plotted at trend flips
- Triangles marking breaks of those levels
- Gradient fill between price and the active trend line
- Trend-based coloring (green = bullish, red = bearish)
- Optional candle coloring based on current structural trend (bullish / bearish control)
Signals
- BUY / SELL — on structural trend changes
- Bullish Break / Bearish Break — when historical levels are broken
- Impulse breaks (when candles break levels with strong momentum)
Alerts
- Trend change to bullish
- Trend change to bearish
- Resistance break
- Support break
█ HOW TO USE
Main settings:
- Swing Length — sensitivity of swing detection
- Lower / Upper Level — internal structural decision levels
- ATR Length / Multiplier — influence of volatility on pivot adaptation
- Smooth Factor — speed of structural adjustment to price
- Visual options — colors, hiding lines, deleting broken levels, color candles by trend
Trend logic:
- Price above active pivot low → bullish structure
- Price below active pivot high → bearish structure
█ APPLICATION
Trend-following
- The indicator can act as a directional filter for signals from other tools.
- Entries are taken only when signals from external indicators (e.g., RSI, MACD, momentum tools, price action setups, breakout systems) align with the current Smart Pivot Trend direction.
- Highest probability occurs when entries happen during pullbacks to the active trend line in the direction of the prevailing structure.
Market structure shifts
- A trend flip represents a transfer of control between buyers and sellers.
- These moments often precede larger moves because the swing structure changes.
Breakout trading
- Historical levels mark areas where control previously changed.
- Their break often leads to volatility expansion and impulsive movement.
Pullback trading
- The active trend line acts as dynamic support/resistance.
- Pullbacks to this line in strong trends often provide favorable risk-to-reward setups.
█ ADAPTATION TO TRADING STYLE
The Swing Length and Smooth Factor parameters allow the indicator to be tailored to different trading styles:
Shorter Swing Length + higher Smooth Factor
- structure reacts faster
- more frequent trend shifts
- suitable for scalping and intraday trading
Longer Swing Length + lower Smooth Factor
- slower structural changes
- filters minor fluctuations
- better suited for swing trading and longer-term positions
This allows the indicator to function both as a fast micro-structure engine and as a stable higher-level trend filter.
█ NOTES
- This is a structural analysis tool, not a standalone trading system
- Best results come when combined with key S/R levels, higher timeframe context, and price action
- In ranging markets, trend flips may occur more frequently — a natural behavior of structure-based systems
RSI Momentum SignalRSI Momentum Signal is a technical analysis indicator designed to highlight potential momentum-based reversal points using the Relative Strength Index (RSI).
This script combines short-term RSI momentum behavior with basic candle structure to visualize possible bullish and bearish reaction zones directly on the chart.
How It Works
A fast RSI-based momentum calculation is used to color price bars when short-term momentum reaches extreme levels.
Buy and Sell signals are generated when momentum conditions align with RSI overbought or oversold levels and basic candle direction.
All signals are plotted visually on the chart to support discretionary analysis.
Intended Use
This indicator is not a standalone trading system.
It is designed to be used as a supportive analytical tool together with other technical analysis methods such as trend structure, price action, and support/resistance levels.
Disclaimer
This script does not provide financial advice and does not guarantee any trading results.
All trading decisions remain the sole responsibility of the user.
Use this indicator for educational and analytical purposes only.
ICT Rejection Block [KTY]ICT Rejection Block Indicator
This indicator automatically detects and displays Rejection Blocks based on ICT (Inner Circle Trader) methodology.
Rejection Blocks are price zones formed by candles with long wicks, indicating strong buying or selling rejection at that level.
Automatic Detection
- Identifies candles with significant wick-to-body ratio
- Rejection High (Red): Long upper wick showing buying pressure rejected
- Rejection Low (Green): Long lower wick showing selling pressure rejected
Multi-Timeframe Support
- Display rejection blocks from two different timeframes simultaneously (LTF & HTF)
- HTF rejection blocks carry more significance
1. Identify rejection blocks on your chart
2. Watch for price reaction when re-entering the rejection zone
3. Combine with Order Block, FVG, or Market Structure for confluence
4. Use rejection block levels as reference for stop-loss placement
Pro Tips:
- HTF rejection blocks (1H+) are more reliable
- Rejection block aligned with OB or FVG increases significance
- Multiple rejection blocks at similar levels indicate strong S/R zone
LTF: Enable and select lower timeframe
HTF: Enable and select higher timeframe
Rejection Block Count: Number of rejection blocks to display per type
Colors: Customize colors for rejection high and low
Show Mitigated Rejection Blocks: Display broken zones in gray
Rejection High Detected
Rejection Low Detected
Rejection High Mitigated
Rejection Low Mitigated
This indicator is designed for educational purposes.
Rejection blocks do not guarantee price reversal.
Always combine with proper risk management.
If you find this indicator helpful, please leave a like and follow for more ICT-based tools!
Institutional Volume RSI [Adaptive]The Institutional Volume RSI is a next-generation momentum oscillator designed to solve the two biggest problems with standard RSI: Price Deception and Static Thresholds.
Standard RSI uses fixed 70/30 levels to define "Overbought" and "Oversold." This is flawed because in a strong institutional trend, the market can stay "Overbought" for weeks. Selling just because RSI hit 70 is a guaranteed way to lose money.
This tool fixes that.
It replaces static lines with Adaptive Volatility Bands . These bands breathe with the market—expanding during trends and contracting during squeezes—giving you a dynamic, statistically significant view of true momentum.
How It Works
The engine runs on three institutional concepts:
1. Volume-Weighted Source (VWMA) 📊
We calculate RSI based on Volume Weighted Moving Average , not just Close price.
Low Volume Move: RSI ignores it (Fakeout).
High Volume Move: RSI reacts aggressively (True Momentum).
2. Adaptive Volatility Bands 🌊
Instead of fixed lines, we use dynamic bands (similar to Bollinger Bands) applied directly to the RSI.
The Trend Ride: As long as the RSI line stays inside or above the Upper Band, the trend is strong. Do not sell.
The Squeeze: When the bands contract (get tight), it signals that volatility is dead and a massive explosive move is imminent.
3. Dynamic Sentiment Coloring 🎨
Green Line: RSI is above the baseline (Bullish Control).
Red Line: RSI is below the baseline (Bearish Control).
White Dots: These appear when RSI breaks outside the bands, signaling an extreme statistical anomaly (often a climax top or bottom).
The "Elastic Snap" Strategy
Recommended Companion: Hooke's Law: Market Elasticity
This indicator is the perfect "Trigger" for a Mean Reversion system. We recommend pairing it with a Reversal indicator (like Hooke's Law) to create a complete Setup + Trigger system.
The Strategy Rules:
1. The Setup (The Stretch) 📏
Wait for your Reversal Indicator (e.g., Hooke's Law) to identify an overextended market condition (Overbought/Oversold).
Context: The rubber band is stretched tight.
2. The Trigger (The Snap) 🔫
Do not enter blindly! Look at the IV-RSI :
For Shorts: Wait for the RSI line to turn RED . This confirms that momentum has actually rolled over.
For Longs: Wait for the RSI line to turn GREEN . This confirms that buyers have stepped in.
3. The Filter (The Safety) 🛡️
If price hits your Stop Loss level before the IV-RSI changes color, cancel the trade . This prevents you from shorting a strong trend that is simply "melting up" without volume exhaustion.
Settings & Configuration
RSI Length: Default is 14.
Source Type: VWMA (Volume Weighted) is recommended for institutional analysis.
Bands Multiplier: Default is 2.0 (Standard Deviation). Increasing this to 2.5 will make the "White Dot" extremes rarer and more significant.
Disclaimer
Trading involves a high level of risk and is not suitable for all investors. The content provided here is for educational purposes only and does not constitute financial advice. Past performance is not indicative of future results. The author (abgthecoder) is not responsible for any financial losses incurred from the use of this indicator. Always use proper risk management and never trade with money you cannot afford to lose. This tool is provided "as is" with open source code for the benefit of the trading community.
Simple moving averageThis indicator is based on simple moving average
if you are struggling where to get in to the market it can help you to fine the entries by increasing moving average number you can remove the wrong buy sell signals.
ICT Order Block [KTY]ICT Order Block Indicator
Overview
This indicator automatically detects and displays Order Blocks (OB) based on ICT (Inner Circle Trader) methodology.
Order Blocks are price zones where Smart Money (institutions, banks) executed large buy/sell orders. These zones often act as strong support and resistance levels, making them valuable for identifying high-probability entry points.
Key Features
Multi-Timeframe Support
Display OBs from two different timeframes simultaneously (LTF & HTF)
HTF Order Blocks provide stronger, more reliable levels
Bullish & Bearish Order Blocks
Bullish OB: Last bearish candle before a significant up move → Acts as support
Bearish OB: Last bullish candle before a significant down move → Acts as resistance
Breaker Block Detection
When an OB is broken, it converts to a Breaker Block (BB)
Role reverses: Former support becomes resistance, and vice versa
Volume Analysis
Displays volume at OB formation
Shows upper/lower volume balance ratio (%)
Lower percentage = stronger one-sided order flow = more significant zone
OB Body Lines
Dotted lines showing the candle body (open/close) within the OB
Useful for precise entry points
How to Use
Identify the trend on higher timeframes
Wait for price to re-enter an Order Block zone
Look for confirmation (candlestick patterns, lower timeframe structure break)
Enter within the OB, set stop loss below/above the OB
Pro Tips:
OBs that overlap with FVG (Fair Value Gap) or OTE (Optimal Trade Entry) have higher probability
HTF Order Blocks are more reliable than LTF
Fresh (untested) OBs tend to have stronger reactions
Settings
SettingDescriptionLTF / HTFEnable and select timeframes for Order Block detectionBullish OB CountNumber of Bullish Order Blocks to display (1-10)Bearish OB CountNumber of Bearish Order Blocks to display (1-10)Show Breaker BlocksToggle Breaker Block displayShow OB Body LinesToggle candle body lines within OBLabel ColorCustomize text color inside OB boxes
Alerts
🟢 Bullish OB Detected
🔴 Bearish OB Detected
🟢 Bullish OB Touched
🔴 Bearish OB Touched
🟢 Bullish BB Touched
🔴 Bearish BB Touched
💥 Bullish OB → BB Conversion
💥 Bearish OB → BB Conversion
Notes
This indicator is designed for educational purposes
Always combine with proper risk management
Past performance does not guarantee future results
If you find this indicator helpful, please leave a like and follow for more ICT-based tools!
DEMA Volatility SuperTrend | RakoQuantDEMA Volatility SuperTrend is a clean trend-regime indicator built for volatile markets such as crypto.
It combines a Double Exponential Moving Average (DEMA) baseline with a standard deviation volatility envelope, then applies classic SuperTrend trailing logic to produce persistent bullish and bearish regimes.
This tool is designed for traders who want a smooth but responsive trend structure without relying on ATR alone.
Core Concept
This indicator answers one simple question:
Are we currently in a bullish trend regime or a bearish trend regime?
It does this by building a dynamic volatility corridor around a DEMA baseline and flipping only when price breaks beyond the active band.
How It Works
1. DEMA Baseline (fast + low lag)
A DEMA is used instead of a normal EMA to reduce lag while maintaining smooth trend behavior.
2. Volatility Engine (Standard Deviation)
Volatility bands are created using:
Raw Source Volatility
Classic standard deviation behavior
Residual vs Baseline Volatility
Measures deviations from the DEMA baseline for cleaner regime detection
Band formula:
Upper Band = baseline + multiplier × stdev
Lower Band = baseline − multiplier × stdev
3. SuperTrend Trailing Regime Logic
Instead of flipping every touch, the bands trail using SuperTrend persistence rules:
Bull regime → active lower band acts as support
Bear regime → active upper band acts as resistance
Flips occur only when price breaks beyond the trailing band.
Visual System
Bull regime: Ice-Blue active band
Bear regime: Violet active band
Optional faint inactive bands provide structure
Optional fill highlights the active regime corridor
Optional candle painting matches the regime state instantly
Alerts Included
Bull Flip Alert → regime turns bullish
Bear Flip Alert → regime turns bearish
Perfect for automation or regime-based filtering.
How to Use
✅ Trend filter for swing trading
✅ Regime confirmation layer for systems
✅ Works best on higher timeframes (4H / 1D)
✅ Combine with momentum or breakout triggers for entries
Inputs Summary
DEMA Length → baseline responsiveness
Volatility Length + Multiplier → band width + sensitivity
Volatility Mode → raw vs residual volatility
Flip Source → Close or HL2 for regime switching
Visual toggles → fill, candles, inactive rails
Screenshot Placement
📸 Example chart / screenshot:
Tip: show one bullish flip + one bearish flip with candle painting enabled.
[TehThomas] - Order Blocks█ OVERVIEW
This Order Blocks indicator identifies institutional-level support and resistance zones using fractal pattern recognition combined with Fair Value Gap (FVG) filtering. Order blocks represent areas where large institutional orders have been placed, creating significant price reactions when retested. This indicator uses a 5-bar fractal pattern to detect market structure breaks and highlights the last bearish or bullish candle before a strong impulse move.
█ KEY FEATURES
- Fractal-Based Detection: Uses 5-candle fractal patterns to identify key market structure highs and lows
- FVG Filtering: Optional Fair Value Gap confirmation ensures order blocks are followed by true market imbalances
- Automatic Mitigation: Order blocks are automatically removed when price breaks through them
- Overlap Prevention: Prevents cluttered charts by avoiding overlapping order block zones
- Customizable Display: Full control over colors, labels, line heights (body/wick), and maximum blocks shown
- Dual Polarity: Detects both bullish (OB+) and bearish (OB-) order blocks independently
█ HOW IT WORKS
The indicator scans price action for fractal patterns where the middle candle forms a local extreme (highest high or lowest low among 5 bars). When price breaks above a fractal high or below a fractal low, the script identifies the last opposing candle in the impulse move as the order block.
For bearish order blocks, it finds the highest bullish candle before a fractal low is broken, marking institutional selling pressure. For bullish order blocks, it locates the lowest bearish candle before a fractal high is breached, indicating institutional buying.
When FVG filtering is enabled, the indicator confirms that a Fair Value Gap (a 3-candle imbalance where price leaves an unfilled gap) occurred within the specified distance from the order block. This combination increases the probability that institutional traders are present in these zones.
█ SETTINGS
Bullish Order Block Settings
- Show/hide bullish order blocks
- Customize fill color and border color
- Toggle OB+ label display
Bearish Order Block Settings
- Show/hide bearish order blocks
- Customize fill color and border color
- Toggle OB- label display
Label Settings
- Label size: Tiny, Small, Normal, or Large
- Label text color customization
General Settings
- Bars Back to Check (10-200): Lookback period for order block detection
- Filter by FVG: Requires Fair Value Gap confirmation
- Max Bars Between OB and FVG (1-6): Distance tolerance for FVG filtering
- Line Height: Choose between Body or Wick for order block boundaries
- Prevent Overlapping OBs: Avoids drawing overlapping zones
- Max Order Blocks to Display (1-50): Limits active blocks on chart
- Length of Boxes (10-100): Horizontal projection length
█ HOW TO USE
1. Add the indicator to your TradingView chart
2. Configure settings based on your trading timeframe and style
3. Watch for OB+ labels (bullish order blocks) as potential support zones where price may bounce
4. Watch for OB- labels (bearish order blocks) as potential resistance zones where price may reverse
5. Wait for price retracement to the order block zone before taking entries
6. Use confirmation signals like volume spikes or reversal patterns at the order block
7. Place stop loss just outside the order block boundary to manage risk
8. Monitor mitigation: Order blocks disappear when price breaks through them completely
█ TRADING STRATEGY EXAMPLES
Bullish Order Block Strategy
Wait for a market structure shift from bearish to bullish. When price creates a bullish impulse breaking a fractal high, identify the OB+ zone. Enter long positions when price retraces to test the bullish order block, placing stop loss 10-20 pips below the zone's low. Target previous highs or resistance levels.
Bearish Order Block Strategy
Monitor for market structure shift from bullish to bearish. After price creates a bearish impulse breaking a fractal low, locate the OB- zone. Enter short positions when price retraces to test the bearish order block, placing stop loss 10-20 pips above the zone's high. Target previous lows or support levels.
FVG-Confirmed Entries
Enable FVG filtering to only display order blocks validated by Fair Value Gaps. These aligned setups increase probability as they combine institutional order placement with market inefficiencies. Trade retracements to these high-confluence zones for better risk-reward ratios.
█ IDEAL FOR
- ICT Traders: Follows Inner Circle Trader methodology for institutional order flow
- Smart Money Concepts: Tracks where large players place orders
- Swing Traders: Identifies key support/resistance for multi-day holds
- Price Action Traders: Pure chart-based approach without lagging indicators
- Breakout Traders: Confirms structure breaks with fractal patterns
- Forex, Crypto, and Stock Markets: Works on all liquid markets and timeframes
█ TECHNICAL SPECIFICATIONS
- Max Boxes: 500
- Max Labels: 500
- Detection Method: 5-bar fractal pattern recognition
- Mitigation Logic: Automatic removal when price breaks order block boundaries
- Time Projection: Uses time offset calculations for box extension
- Array Management: Dynamic array cleanup to prevent memory issues
█ NOTES & DISCLAIMERS
- Order blocks work best when combined with overall market context and trend analysis
- Not all order blocks result in price reversals; use proper risk management
- FVG filtering may reduce the number of signals but increases quality
- Fractal patterns require 5 bars to form, causing a 2-bar delay in detection
- Works optimally on higher timeframes (4H, Daily) for institutional footprints
- This indicator does not guarantee profitable trades; always use stop losses
- Past performance of order blocks does not predict future results
- Compatible with other ICT concepts like liquidity sweeps and market structure
Momentum Adaptive EMA | RakoQuantMomentum Adaptive EMA is a trend-following moving average system designed to dynamically adjust its responsiveness based on market momentum.
Instead of using a fixed smoothing speed like a normal EMA, this indicator becomes fast in strong moves and slow in choppy conditions, producing a cleaner adaptive trend structure.
This version also introduces a secondary POT Moving Average for smooth regime confirmation.
Core Idea
This indicator answers one key question:
Is momentum accelerating enough to justify a faster trend response?
By adapting the EMA’s smoothing factor in real time, the indicator avoids the two classic problems of moving averages:
Lag in strong trends
Whipsaws in sideways markets
How It Works
1. Momentum-Based Adaptivity Engine
The indicator measures momentum using a Rate-of-Change style move:
ROC = current price − price N bars ago
That momentum is normalized by volatility:
Momentum Strength = |ROC| ÷ stdev(ROC)
This produces a clean, scale-independent momentum score.
2. Adaptive EMA (Dynamic Alpha)
Instead of a constant EMA alpha, smoothing is adjusted between:
Alpha Min → slow mode (stable markets)
Alpha Max → fast mode (strong trend markets)
Adaptivity is controlled by:
k (Strength Parameter)
High momentum → EMA reacts faster
Low momentum → EMA smooths more
3. POT Moving Average (Weighted Trend Anchor)
A second moving average is calculated using a Power-Weighted POT MA, where the most recent values receive heavier weight:
Stronger emphasis on recent trend shifts
Smooth confirmation without volatility bands
This creates a clean dual-average regime filter:
Adaptive EMA = fast regime line
POT MA = slower structure anchor
Regime Signals
Trend regime is defined by crossovers:
Bullish regime: Adaptive EMA crosses above POT MA
Bearish regime: Adaptive EMA crosses below POT MA
Optional persistence keeps regimes stable instead of flipping constantly.
Visual System
Bull regime → Ice Blue trend state
Bear regime → Navy trend state
Candle painting optionally matches the active regime
The result is a clean institutional trend overlay with adaptive behavior.
Alerts Included
Bull Break Alert → Adaptive EMA crosses ABOVE POT MA
Bear Break Alert → Adaptive EMA crosses BELOW POT MA
Useful for automation or confirmation systems.
How to Use
✅ Trend filter for directional trading
✅ Adaptive MA replacement for classic EMA systems
✅ Works well on higher timeframes (4H / 1D)
✅ Combine with breakouts, momentum triggers, or volume tools for entries
Inputs Summary
Momentum Length → speed of momentum detection
Normalization Length → volatility scaling window
Alpha Min / Alpha Max → slow vs fast response bounds
Adaptivity Strength (k) → aggressiveness of adaptation
POT Length + Power → smoothing of the confirmation MA
Persistent Regime Toggle → stability vs live switching
Candle Paint Toggle → visual regime clarity
Screenshot Placement
📸 Example chart / screenshot: (insert image here)
Tip: show a strong bull trend + one bearish flip so users understand the adaptive behavior.
Trapped Traders EBPThe Trapped Traders Indicator is used to predict overall Market bias, with green being longs, and red being shorts.
The autofibs are 0%,25%,50%,and 100%. After an autofib and directional bias is generated, you'll want to look for an entry on a lower time frame somewhere between the 25% and 50% ideally.
A simple trading plan:
Use the indicator on the 4 Hour chart. Wait until you get an autofib. Zoom down to the 5 minute chart and wait for price to reach the 25% retracement. Look for an entry using an entry model of your choice. For example: an engulfing 5 minute bar in the direction of your bias, an order block, fair value gap, or choch in your favor.
This method of trading was introduced to me by Omar Agag. Cheers to prosperity, brother!
Good luck! And happy trading!
Double Top & Double Bottom DetectorHere is a non repainting: confirmation only after neckline break which double top and bottom pattern indicator which avoids false patterns with volume validation. It also come with clean structure logic (market swings, not noise) and is alert-ready for automation or mobile notification
MACD/PPO ALMA EditionMACD – a trend-following indicator that "always too late" indicates what's happening on the chart.
To make this indicator traditionally considered "good but too late" based on the ALMA moving average:
The Arnaud Legoux Moving Average (ALMA) is a technical indicator designed to reduce lag and noise in price data by applying a Gaussian filter, offering a smoother and more responsive alternative to traditional SMAs and EMAs.
Key Aspects of ALMA:
Key Parameters: ALMA uses three main settings: Window Size (length), Offset (offsets focus on recent prices, typically 0.85), and Sigma (controls the smoothness of the curve, typically 6).
Reduced Latency: By shifting the Gaussian distribution toward the most recent data (offset to 1), ALMA responds faster to price changes, helping to avoid false signals in uncertain, low-volatility conditions.
Using ALMA instead of EMA/SMA in the code significantly improves the smoothness and speed of signal appearance, which facilitates decision-making.
The code features three significant changes compared to traditional methods:
1. The price is determined based on (open+close)/2 - why is this? - theoretically, the volume-weighted asset value is always between the opening and closing prices, so I considered averaging it to be a good value.
2. Additional coloring of the trend change after the curves intersect to indicate an increase or decrease in trend strength.
3. Using PPO normalization allows for comparison of the dynamics of different stocks, as its values are normalized percentages and not absolute MACD values.
I most often use Heikin Ashi – the chart is very smooth and does not significantly affect the quick identification of trend changes.
Batoot Algo PureBatoot Algo (Pure Analysis Mode)
Indicator Overview
Batoot Algo is an advanced technical analysis indicator based on:
Price Action and geometric chart patterns
Higher Timeframe (HTF) trend filtering
Volume confirmation
Breakout & Retest logic
Head & Shoulders pattern detection
Analysis-only indicator. No Buy/Sell labels on the chart. Alerts and Dashboard only.
The goal is clean charts and smarter trading decisions.
---
Entry Modes
Aggressive (Breakout)
Immediate entry on breakout
Requires:
Confirmed breakout
High volume
Optional trend alignment
Conservative (Retest)
Breakout → Wait for retest → Confirmation candle
Reduces false signals
Suitable for patient trading
---
HTF Trend Filter
Uses EMA crossover on higher timeframe:
EMA 50
EMA 200
EMA50 > EMA200 → Bullish EMA50 < EMA200 → Bearish
Filter can be enabled or disabled in settings.
---
Price Patterns Detected
Automatically detects and draws:
Bullish / Bearish Flags
Channels
Triangles / Pennants
Rising Wedge (Bearish)
Falling Wedge (Bullish)
The area between support and resistance lines is dynamically filled based on the pattern.
---
Yellow Candle (High Volume)
Yellow candles indicate High Volume.
Triggered when:
Current candle volume >= Average volume of last 20 candles × volume multiplier
Default multiplier: 1.5
Confirms strong breakouts. Not a standalone entry signal.
---
Head & Shoulders Detection
Supports:
Head & Shoulders (Bearish)
Inverse Head & Shoulders (Bullish)
Neckline drawn automatically. Breakout validated with volume. Pattern status shown in Dashboard.
---
Dashboard
Displays:
Entry Mode (Aggressive / Conservative)
HTF Trend
Current Pattern
Head & Shoulders Status
Market Status: ENTRY BUY, ENTRY SELL, WAIT RETEST, SCANNING
---
Alerts
Alerts trigger only when:
Pattern confirmed
Breakout / Retest logic satisfied
High volume confirmed
Trend filter (if enabled) passes
No trade labels plotted on chart.
---
License & Attribution
Licensed under Creative Commons Attribution 4.0 (CC BY 4.0)
Free to use and modify. Attribution required. Removing or changing the author name is not allowed.
---
This indicator is for technical analysis purposes only and is not financial advice. Always use proper risk management.
---
Clean chart, smart analysis, better trading decisions.
ICT Premium & Discount [KTY]ICT Premium & Discount Indicator
This indicator automatically displays Premium and Discount Zones based on ICT (Inner Circle Trader) methodology.
Premium & Discount zones divide the current price range into upper and lower areas based on swing highs and lows. This helps traders understand where price sits within the broader range.
Three-Zone Structure
- Premium Zone (Red): Upper portion of the range
- Equilibrium (Gray Dashed): Middle 50% line, fair value reference point
- Discount Zone (Green): Lower portion of the range
Multi-Timeframe Support
- Display zones from two different timeframes simultaneously (LTF & HTF)
- HTF zones carry more significance than LTF zones
Dynamic Range Calculation
- Automatically identifies swing high and low for the selected timeframe
- Zones update as new highs/lows form
1. Identify the current zone - Is price in Premium, Equilibrium, or Discount?
2. Combine with Market Structure - Use CHoCH/BOS to confirm directional bias
3. Look for confluence - OB, FVG, or Liquidity zones within Premium/Discount add significance
4. Use Equilibrium as reference - Price often reacts around the 50% level
Pro Tips:
- HTF zones (4H, 1D) are more significant than LTF zones
- Most effective when combined with other ICT concepts
- Ranging markets may see price oscillate between zones without clear direction
Show Premium & Discount Zones: Toggle zone display on/off
LTF: Enable and select lower timeframe for zone calculation
HTF: Enable and select higher timeframe for zone calculation
Price Entered Premium Zone
Price Entered Discount Zone
This indicator is designed for educational purposes.
Always combine with proper risk management.
If you find this indicator helpful, please leave a like and follow for more ICT-based tools!
CPR OI Toolkit - All in one indicatorThis is experimental indicator which is an extend my pre triple EMA indicator. I have been using this indicator to identify potential entry and exit for commodity market. I had used it for couple of week and it helps.
I would like to share with you. It is meant identify and analyze then plan your trade. I have developed this indicator using Google Antigravity , which is an awesome tool for developing trading indicator and strategies.
My CPR OI tool kit includes following.
Triple EMA
Stochastic - for trend catching
Previous Low/high base trial and visual indication
Price action concepts
Reversion logic.
Visual indication - buy / sell / setup initialization / exit
Visual dashboard.
---
## 🎨 Visual Signal Guide
| Marker | Meaning | Action |
|--------|---------|--------|
| 🔵 Tiny Blue Circle | Stochastic bullish setup START | Wait for EMA + breakout |
| 🟢 Green Triangle UP | **LONG ENTRY** - All conditions met | **ENTER LONG** |
| 🔴 Red Triangle DOWN | **SHORT ENTRY** | **ENTER SHORT** |
| 🟠 Orange Circle | **EXIT** - EMA1/2 cross | **CLOSE POSITION** |
| 💧 Aqua "R" | Mean reversion long | Scalp opportunity |
| 💜 Fuchsia "R" | Mean reversion short | Scalp opportunity |
---
## 💰 Open Interest Interpretation
| Status | Price vs Prev | OI Change | Meaning |
|--------|---------------|-----------|---------|
| **Long Accumulation**🟢 | ↑ | ↑ | Bulls building positions |
| **Short Accumulation**🔴 | ↓ | ↑ | Bears building positions |
| **Short Covering**🟡 | ↑ | ↓ | Bears exiting (bullish) |
| **Long Unwinding**🟠 | ↓ | ↓ | Bulls exiting (bearish) |
---
## 🔔 Alerts (All Enabled by Default)
1. "LONG Signal | Stochastic confirmed | EMA Bullish"
2. "SHORT Signal | Stochastic confirmed | EMA Bearish"
3. "EMA Alignment: BULLISH/BEARISH"
4. "Position CLOSED - Trailing Stop Hit"
---
ICT Supply & Demand [KTY]ICT Supply & Demand Indicator
This indicator automatically detects and displays Supply and Demand zones based on swing highs and lows.
Supply and Demand zones are horizontal support/resistance areas where price previously showed strong buying or selling pressure.
Automatic Detection
- Supply Zone (Red): Formed at swing highs where selling pressure was strong
- Demand Zone (Green): Formed at swing lows where buying pressure was strong
- Zones are automatically removed when price breaks through
Dynamic Extension
- Zones extend automatically as new bars form
- Clear visual labels showing SUPPLY and DEMAND
1. Identify Supply and Demand zones on your chart
2. Watch for price reaction when re-entering the zone
3. Combine with Order Block, FVG, or Market Structure for confluence
4. Use zones as reference for take-profit or stop-loss targets
Pro Tips:
- Zones that align with OB or FVG have higher significance
- Multiple touches on a zone increase chance of breakout
- Fresh (untested) zones tend to have stronger reactions
Show Supply & Demand Zones: Toggle zone display on/off
Supply Zone Color: Customize supply zone color
Demand Zone Color: Customize demand zone color
Label Color: Customize text color
Supply Zone Detected
Demand Zone Detected
Supply Zone Broken
Demand Zone Broken
This indicator is designed for educational purposes.
Supply and Demand zones do not guarantee price reversal.
Always combine with proper risk management.
If you find this indicator helpful, please leave a like and follow for more ICT-based tools!
SMC/ICT: High Prob Signal FINALSMC/ICT: High-Probability Trend Signal This professional-grade indicator combines ICT/SMC concepts with Moving Average momentum. It identifies the Daily Bias using Candle Range Theory and tracks the Midnight Open to define Premium and Discount zones. To minimize noise, it only triggers EMA 9/21 crossover signals when they align with the higher-timeframe trend and institutional pricing levels. It also features a dynamic New Week Opening Gap (NWOG) anchor for structural reference.
ICT Market Structure [KTY]ICT Market Structure Indicator
Overview
This indicator automatically detects and displays Market Structure based on ICT (Inner Circle Trader) methodology.
Market structure analysis identifies trend direction and potential reversal points by tracking swing highs and lows. Understanding structure is fundamental to ICT trading concepts.
Key Features
Internal & External Structure
Internal Structure: Short-term swings for quick trend detection (displayed with dashed lines)
External Structure: Long-term swings for major trend identification (displayed with solid lines)
Choose to display Internal, External, Both, or None
CHoCH & BOS Detection
CHoCH (Change of Character): First sign of potential trend reversal
BOS (Break of Structure): Confirmation of trend continuation
Internal labels: lowercase (choch/bos)
External labels: uppercase (CHOCH/BOS)
Equal Highs & Equal Lows
EQH: Multiple highs at similar price levels — liquidity pool above
EQL: Multiple lows at similar price levels — liquidity pool below
Smart money often sweeps these levels before reversing
Swing Point Labels
HH (Higher High): Uptrend continuation
HL (Higher Low): Uptrend confirmation
LH (Lower High): Downtrend continuation
LL (Lower Low): Downtrend confirmation
How to Use
Identify the trend using HH/HL (bullish) or LH/LL (bearish) patterns
Wait for CHoCH as the first signal of potential reversal
Confirm with BOS in the new direction
Watch EQH/EQL levels for potential liquidity sweeps
Combine with OB, FVG, Liquidity zones for higher probability setups
Pro Tips:
External structure is more reliable than internal structure
CHoCH after liquidity sweep = high probability reversal
Multiple timeframe analysis increases accuracy
Internal CHoCH can provide early entries, but with higher risk
Settings
SettingDescriptionStructure TypeSelect INTERNAL, EXTERNAL, ALL, or NONEInternal Structure ColorsCustomize bullish/bearish colors for internal structureExternal Structure ColorsCustomize bullish/bearish colors for external structureEQL & EQHToggle equal highs/lows display with custom colorsSwing PointsToggle HH/HL/LH/LL labels with custom color
Alerts
Structure Alerts:
🟢 Bullish CHoCH (Internal)
🔴 Bearish CHoCH (Internal)
🟢 Bullish CHOCH (External)
🔴 Bearish CHOCH (External)
🟢 Bullish BOS (Internal)
🔴 Bearish BOS (Internal)
🟢 Bullish BOS (External)
🔴 Bearish BOS (External)
Equal Levels Alerts:
🔴 Equal Highs (EQH)
🟢 Equal Lows (EQL)
Swing Point Alerts:
📈 Higher High (HH)
📈 Higher Low (HL)
📉 Lower High (LH)
📉 Lower Low (LL)
Notes
This indicator is designed for educational purposes
Internal structure provides faster signals but more noise
External structure is slower but more reliable
Always combine with proper risk management
If you find this indicator helpful, please leave a like and follow for more ICT-based tools!
SwiftEdge ApexThis open-source indicator is designed to help traders visually identify aggressive volume activity ("big trades"), place it in the context of dynamic price deviation from an exponentially weighted VWAP, track a developing Point of Control (POC) during a user-defined session, and highlight potential absorption or exhaustion patterns.
Core Components and Original Integration:
Adaptive VWAP with EWMA Deviation Bands
Instead of a standard cumulative VWAP, the script calculates an exponentially weighted moving average (EWMA) of variance on price-volume data (using a user-adjustable lambda sensitivity). This produces smoother, faster-adapting standard deviation bands (1σ to 3σ) that highlight statistically significant price extensions more responsively than simple moving averages.
Tiered Big Trade Detection (Footprint-Style Bubbles)
Volume is compared against a simple moving average over a user-defined lookback period. Trades exceeding customizable multipliers (1.2× to 8×) and a minimum volume threshold are flagged.
For Premium users, the bubble is plotted at the volume-weighted average price within the bar's 1-second sub-bars (true footprint precision). Non-Premium users fall back to the bar's close price (no errors occur). Bubble size scales with multiplier strength, with white outlines on the largest ones for clarity, and bubbles are colored green/red based on candle direction.
Live Session-Based POC
Volume is accumulated at price levels (rounded to 10 ticks) starting from a configurable session time (default 09:00). The array resets on new sessions or daily changes, producing a developing POC line that acts as a potential value-area magnet or support/resistance reference.
Absorption & Exhaustion Filters
Absorption: High-volume bars with unusually small range (below average range × user multiplier) are marked with lime/red triangles — suggesting hidden buying/selling pressure.
Exhaustion: Extremely high-volume bars with tiny bodies (small close-open relative to range) receive a background tint and "EXH" label — indicating potential climactic activity or fatigue.
How the Elements Work Together:
The VWAP bands provide overall market context (is price extended?). Big-trade bubbles show where aggressive participants are active. The session POC adds a developing fair-value reference. Absorption and exhaustion signals help interpret whether big volume is being met with resistance (absorption → possible continuation) or capitulation (exhaustion → possible reversal). Together they create a layered "smart money footprint" overlay rather than isolated plots.
How to Use the Indicator:
Apply to liquid instruments with reliable volume data (futures, major stocks, large-cap crypto).
In the "Big Trade Bobler" settings:
Adjust lookback period and minimum volume to reduce noise.
Tune multipliers (lower = more signals, higher = stronger but rarer events).
Turn "Use Premium Bubbles" off if you do not have TradingView Premium (script gracefully uses bar close instead of 1-second data).
Set session start hour/minute for POC calculation (e.g., NYSE open at 9:30).
Enable/disable absorption triangles and exhaustion highlights/labels based on preference.
Interpretation tips:
Watch for clusters of large bubbles near VWAP ±2σ/3σ or close to the POC line.
Absorption on trend bars may indicate continuation.
Exhaustion often appears at swing highs/lows and can precede reversals.
Important Limitations:
1-second footprint precision requires TradingView Premium; non-Premium accounts use standard bar close (still functional but less granular).
Volume data quality depends on the symbol and data feed (tick volume is used as proxy on forex/crypto).
This is a discretionary visualization tool — not a mechanical strategy, no entry/exit signals, and no performance backtest is included.
Volume spikes and patterns do not predict future price movement with certainty; always use in combination with your own analysis and proper risk management.
ES/NQ Confluence All-In-One [FINAL v1]By Ehowtradz this indicator automates confirmation confluences for ICT concepts
Venu Dynamic Supply and Demand Zones [AlgoAlpha]Dynamic Supply and Demand Zones by AlgoAlpha
Modified to show percentages to right side of Supply and Demand zones






















