kriptoeth SPKriptoETH SP Indicator - Smart Money Analysis Tool
Main Function
This indicator identifies potential market reversal points based on Smart Money concepts. It analyzes liquidity sweeps and significant support/resistance breaks to generate trading signals.
Key Features
1. Swing Analysis
Identifies high and low levels based on specified swing length (default 15 bars)
These levels are considered potential liquidity zones
2. Liquidity Sweep Detection
Detects short-term violations of support and resistance levels as "sweeps"
Sweep tolerance (%) parameter allows sensitivity adjustment
3. Volume Confirmation
Requires volume spike for signal formation
Volume multiplier sets minimum volume threshold
4. Trend Filter
Analyzes overall trend direction using 50-period MA
Filters signals against the trend to improve success rate
5. Retest Capability
Tracks price return to main signal levels (B/S lines) after initial signals
Shows small confirmation signals when retests occur
Signal Types
B Signal: Potential buy opportunity (green label)
S Signal: Potential sell opportunity (red label)
b✓ / s✓: Retest confirmation signals (small labels)
Filtering System
Filters out too-rapid breaks
Controls for insufficient bar distance
Next bar confirmation option
Eliminates signals inconsistent with trend direction
Statistics Table
Daily, monthly, yearly retest counts
Last signal timestamps
Total signal statistics
Usage Guidelines
Combine signals with other technical analysis tools
Determine your risk-reward ratio in advance
Limit position size to 1-2% of your capital
Consider overall market conditions
Use proper stop-loss levels
Wait for confluence with other indicators
Parameters Explanation
Swing Length: Period for identifying swing highs/lows
Sweep Tolerance: Sensitivity for liquidity sweep detection
Volume Multiplier: Minimum volume increase requirement
Trend Filter: Enable/disable trend-based signal filtering
Retest Filters: Additional confirmation requirements for retest signals
How It Works
Algorithm identifies swing highs and lows as potential liquidity levels
Monitors for price sweeps beyond these levels with volume confirmation
Generates main signals (B/S) when criteria are met
Tracks subsequent retests of these signal levels
Applies multiple filters to reduce false signals
Best Practices
Use higher timeframes for trend confirmation
Combine with support/resistance analysis
Consider market structure context
Apply proper risk management rules
Backtest on historical data before live trading
IMPORTANT DISCLAIMER: This indicator is for educational and analysis purposes only. It does not constitute financial advice. Trading involves substantial risk of loss. Always conduct your own research and consider consulting with a qualified financial advisor before making investment decisions. Past performance does not guarantee future results.
Version Updates
Enhanced filtering system
Improved retest detection
Statistics tracking table
Trend-based signal validation
Multiple confirmation methods
Candlestick analysis
SMC - OB/Breaker Block/Bos/ChoCh (DeadCat) Based on analyzing your Pine Script code, here are comprehensive descriptions that should comply with TradingView's house rules:
Script 1: "PO3 Liquidity w/ CISD (DeadCat)"
Description:
This indicator implements the Power of Three (PO3) liquidity concept combined with Change in State of Delivery (CISD) pattern recognition for Smart Money Concepts (SMC) trading. The script operates on multi-timeframe analysis using automated timeframe selection.
Core Methodology: The indicator identifies C2 liquidity sweeps by detecting when price breaks previous period highs/lows and then reverses back above/below those levels. It specifically looks for:
C2 Buy Setup: When current low breaks previous period low but closes back above it
C2 Sell Setup: When current high breaks previous period high but closes back below it
CISD Pattern Detection: The script implements sophisticated CISD (Change in State of Delivery) pattern recognition by:
Tracking the first break of previous HTF high/low levels
Identifying imbalance candles (gaps between consecutive candles)
Confirming CISD when price reclaims the imbalance level within 2 HTF periods
Validating setups only when both liquidity sweep AND CISD confirmation occur
Visual Components:
HTF Candles: Displays higher timeframe candle structure on current chart
Trading Zones: Shows zones between HTF open and equilibrium levels
CISD Lines: Marks confirmed change in state of delivery levels
C2/C4 Labels: Identifies liquidity sweep entry points and potential continuation setups
Market Structure: Optional HH/HL/LH/LL pivot markers
Unique Features:
Automatic timeframe calculation (15m→4H, 1H→1D, etc.)
Real-time HTF period countdown
Setup invalidation tracking when stops are hit
Progressive setup confirmation (C2→C4 evolution)
Bias filter for directional trading preferences
Usage: C2 setups provide initial entry opportunities after confirmed liquidity sweeps with CISD confirmation. C4 setups offer additional entries when HTF equilibrium conditions align favorably. The indicator helps traders identify institutional liquidity grabs followed by genuine directional moves.
Script 2: "SMC Toolkit (DeadCat)"
Description:
This comprehensive Smart Money Concepts toolkit provides institutional-level market structure analysis with automated Order Block (OB) and Breaker Block (BB) zone identification, plus Break of Structure (BOS) and Change of Character (ChoCh) detection.
Market Structure Algorithm: The indicator uses a sophisticated pivot-based algorithm to identify and track market structure progression:
Uptrend: HH→HL→HH sequence tracking
Downtrend: LL→LH→LL sequence tracking
Trend Changes: Automatic ChoCh detection when structure breaks occur
Order Block Logic:
Bullish OB Zones: Created at Higher Lows (HL) and Lower Lows (LL) during uptrends
Bearish OB Zones: Created at Lower Highs (LH) and Higher Highs (HH) during downtrends
Uses last bearish candle before bullish moves (and vice versa) to define precise zone boundaries
Breaker Block Logic:
Bullish BB Zones: Former resistance that becomes support after HH/LH breaks
Bearish BB Zones: Former support that becomes resistance after LL/HL breaks
Automatically transitions when structure points are breached
Zone Management: The script employs intelligent zone lifecycle management:
Creates new zones only at confirmed structure points
Makes previous zones transparent when new structure is confirmed
Maintains zone relevance through dynamic extension
Limits total zones to prevent chart clutter
BOS vs ChoCh Detection:
BOS (Break of Structure): Continuation patterns when trend highs/lows are exceeded
ChoCh (Change of Character): Reversal patterns when pullback levels are broken against trend
Requires 2-candle confirmation before finalizing structure changes
Visual Enhancements:
Color-coded zones with transparency controls
Directional arrows (▲/▼) in zone labels
Customizable line styles and text sizing
Clean market structure progression tracking
Originality: This toolkit combines traditional SMC concepts with enhanced zone boundary calculation using multi-candle analysis and intelligent zone lifecycle management, providing more precise entry/exit levels than standard implementations.
PO3 Liquidity w/ CISD (DeadCat)Detailed Description:
What it does:
This indicator combines Power of Three (PO3) liquidity concepts with Change in State of Delivery (CISD) pattern recognition to identify high-probability trading setups. It automatically detects liquidity sweeps and confirms them through CISD patterns on higher timeframes.
How it works:
The script operates using a dual-timeframe approach:
Auto-Timeframe Selection: Automatically selects an appropriate higher timeframe based on your chart timeframe (1m→15m, 5m→1H, 15m→4H, etc.)
C2 Liquidity Detection: Identifies C2 setups when price sweeps below previous HTF lows (bullish) or above previous HTF highs (bearish), then closes back inside the previous range
CISD Pattern Recognition: Confirms C2 setups by detecting Change in State of Delivery patterns:
For bullish setups: Looks for bearish candles followed by bullish reclaim above the CISD level
For bearish setups: Looks for bullish candles followed by bearish rejection below the CISD level
Multi-Period Validation: Tracks setups across multiple HTF periods (up to 2 periods) before invalidation
Dynamic Zone Mapping: Creates trading zones between HTF open and equilibrium levels, with automatic C4 setup generation when conditions align
Key Features:
HTF Candle Visualization: Displays higher timeframe candles on your current chart for context
Trading Zones: Shows the optimal entry zone between HTF open and HTF equilibrium
CISD Confirmation Lines: Draws lines showing confirmed Change in State of Delivery levels
Setup Invalidation: Automatically marks setups as invalid (XC2/XC4) when stop levels are breached
Bias Filter: Allows filtering for bullish, bearish, or neutral bias
Real-time Countdown: Shows time remaining in current HTF period
Originality:
This script uniquely combines the Power of Three methodology with CISD pattern recognition in an automated format. Unlike simple liquidity sweep indicators, it requires confirmation through specific price action patterns and validates setups across multiple timeframes. The integration of automatic timeframe selection, zone mapping, and multi-period tracking creates a comprehensive tool that goes beyond basic liquidity concepts.
How to use it:
Apply to any timeframe (works best on 1m-4H charts)
Set your bias filter (Neutral for all setups, Bullish/Bearish for directional bias)
Wait for C2 labels to appear after liquidity sweeps
Look for confirmed CISD lines to validate the setup
Use the trading zones (boxes) for entry planning
Monitor for C4 setups on the second HTF period
Setup is invalidated if price hits the original sweep level (marked as XC2)
Warning:
This indicator uses higher timeframe data and may repaint on the current bar. Setups are only confirmed after HTF candle close. Not all C2 setups will be confirmed - confirmation requires proper CISD pattern development.
Whole Number Levels & ZonesWhole Number Levels & Zones Indicator
This indicator is designed to automatically plot key psychological price levels on your chart. These are typically round numbers (e.g., 1.35000 on GBP/USD) where trading activity often clusters, creating potential support and resistance.
How It's Used:
Traders use these lines and zones to identify areas where the price might pause, reverse, or break out.
Support: If the price is falling, it may find support and bounce off one of these levels.
Resistance: If the price is rising, it may face resistance and stall at one of these levels.
Confirmation: It can be used alongside other indicators and analysis techniques to confirm trade entries or exits.
Key Features:
Automatic or Manual Levels: You can either let the indicator automatically adjust the lines based on the current price or anchor them to a specific starting price you choose.
Customizable Intervals: You can set the distance between each line (e.g., every 50 or 100 pips).
Shaded Zones: You can enable a shaded box around each line to better visualize the price zones. The height of this box is adjustable.
Full Styling Control: You have complete control over the color, style (dashed, solid, dotted), and thickness of the lines and zones to match your chart's theme.
Doji Detector - ZTFNon-Lagging Doji Detector
This indicator automatically identifies and plots four types of doji candlestick patterns in real-time.
Common Doji - Small body with balanced upper and lower shadows (blue diamond)
Long-Legged Doji - Small body with very long shadows on both sides (purple square)
Dragonfly Doji - Small body with long lower shadow, minimal upper shadow (green triangle)
Four-Price Doji - All prices (OHLC) nearly equal, forming a flat line (orange cross)
Key Features:
Detects patterns as they form (non-lagging) or waits for candle close confirmation
Adjustable body size threshold (default 10% of candle range)
Tiny, unobtrusive labels positioned below bars
Works on all timeframes and instruments
Simple pattern recognition without directional bias
How it works: The indicator analyzes each candle's body size relative to its total range and shadow proportions. It uses a hierarchy system to classify each doji into its most specific type, ensuring only one label per candle.
CISD with deviationsChange in State Delivery (CISD) is a well-recognized concept and serves as a key signal for identifying market direction through the behavior of CISD levels. In this approach, CISD is applied as the core measure of market structure, removing the variability that comes from user-defined interpretations.
How does it works :
Identifies CISD levels as the market delivers price.
Track whether price respects or violates these levels.
A confirmed shift (change in state) signals a potential transition in trend
Provides a clean structure map to guide execution
How to use it :
1)Align CISD shifts with your higher timeframe bias and the deviation levels marked by the indicator which often serve as the area for retracement or continuations.
2) Use CISD confirmation as a filter for trade entries.
3) Combine with liquidity pools, FVGs, or session timing for added confluence.
Features covered :
1) Automatic Bearish and Bullish CISD plotting.
2) Anchored Fibonacci levels are plotted based on the confirmed CISD. The Fibonacci levels are fixed and cannot be modified by the user because these levels serve a purpose.
3) Alerts can be set up by the users for whenever a bearish/bullish CISD is confirmed.
4) Automatic invalidations are set so that when price invalidates a CISD or hits the -4 level of a CISD as full target level, the CISD is automatically removed.
5) Currently , the maximum CISDs visible are limited to 3 each (bullish and bearish) to avoid cluttering on the chart.
[RealEdgeFX] - Manipulation CandleOverview
The Manipulation Candle indicator highlights potential liquidity grabs and false breakouts directly on the chart. It focuses on moments when price sweeps prior highs or lows but closes in the opposite direction, suggesting a possible manipulation before a market reversal.
Core Logic
The indicator compares the current candle against the previous one and colors the bar when specific conditions are met:
Sell Manipulation (dark red)
When the current candle breaks above the previous high but then closes below the prior low.
→ This often signals a stop hunt to the upside followed by bearish intent.
Buy Manipulation (light green)
When the current candle breaks below the previous low but then closes above the prior high.
→ This suggests a liquidity sweep to the downside before bullish continuation.
Neutral candles remain uncolored to avoid clutter and keep the focus on high-impact moments.
Design Approach
Clarity: Only the candles that meet strict criteria are marked, reducing noise.
Liquidity Focused : Built for traders who want to quickly spot manipulative price action.
Non-Repainting : Once a candle is identified as manipulation, the color stays fixed.
Usage
Add it as an overlay on your chart.
Watch for green or red manipulation candles as alerts of possible reversals or liquidity events.
Combine with your own market structure or bias tools to increase accuracy.
Volume Imbalance Analyzer - 70% & 80% Version1.01Here’s a clean “definition” you can drop into your docs. It explains **what** the indicator is, **what it helps with**, and **how** to use it—plain and practical.
# Definition
**Volume Imbalance Analyzer (70% & 80%)** flags bars where estimated buy vs. sell volume is heavily one-sided. It colors those bars, adds labels (B70/B80 or S70/S80), and can alert you in real time. The goal is to quickly spot spots of **aggressive participation** (buyers or sellers) that often act as magnets for a **retest** or as **exhaustion/continuation** areas.
# What it helps you do
* **Find high-energy bars** where one side dominates (potential turning or continuation points).
* **Plan retests:** Track when price comes back into the imbalance candle’s range (common entry/take-profit logic).
* **Filter trades:** Only act when the market shows unusual pressure (≥70% or ≥80%).
* **Add context to setups:** Combine with S/R, FVGs, or trend tools to time entries with less guesswork.
* **Alert-driven workflow:** Get notified the moment extreme pressure prints.
# How it helps (workflow)
1. **Scan for signals:**
* **B80/B70** = strong buying; **S80/S70** = strong selling.
* 80% is “extreme” and overrides 70%.
2. **Mark the zone:** The imbalance candle’s **high–low** defines a zone. Many traders wait for a **retest** into that range.
3. **Decide intent:**
* After **B80/B70**, look for pullbacks to buy (or fades if you see exhaustion).
* After **S80/S70**, look for rallies to sell (or fades if exhaustion).
4. **Confirm with context:** Check trend, key levels, liquidity, session timing, ATR/volatility.
5. **Manage risk:** Place stops beyond the zone; size trades so a failed retest doesn’t ruin the day.
# How it works (under the hood, briefly)
The script **estimates buy/sell volume** from each candle’s body, wicks, and total volume, then computes an **imbalance %**. If the % crosses **70%** or **80%** (scaled by a Sensitivity setting), it paints the bar, drops a label, and optionally fires an alert. It also stores the imbalance candle’s range so you can watch for a **retest**.
# Reading the signals (quick guide)
* **B80**: Extreme buyer pressure → watch for pullback buys or exhaustion shorts, depending on context.
* **B70**: Strong buyer pressure → mild continuation bias.
* **S80**: Extreme seller pressure → watch for rally sells or exhaustion longs.
* **S70**: Strong seller pressure → higher reversal probability noted in the table (informational).
# Configuration tips
* **Sensitivity**: Higher = more bars qualify (more signals).
* **Label distance**: Scales with ATR so labels don’t overlap candles.
* **Colors/opacity**: Separate for 70% vs 80% and buyer vs seller.
* **Alerts**: Enable to catch signals live without staring at the screen.
# Notes & limits
* Uses **estimation** (not true bid/ask) on most symbols; treat as a **context tool**, not a stand-alone system.
* The optional stats table’s “expected outcomes” are **informational**, not live probabilities.
* Works on any timeframe; results improve when combined with structure and risk controls.
VSA Auto Signals by ZeeshanThis indicator automatically marks VSA signals (ND, NS, UT, SO) on the chart, filters them with trend + ATR logic, and provides a clean dashboard with alerts for quick decision-making.
Candle AnalyzerThis tool classifies candles based on their body size and wick proportions, helping you quickly identify:
"Strong" Candles: When the body dominates, showing clear bullish or bearish momentum.
"Rejection" Candles: Long wicks indicate price was pushed back, suggesting potential reversals.
"Indecisive" Candles: When neither buyers nor sellers are clearly in control, or if wicks are balanced.
"Doji/Indecision": Very small or non-existent bodies, highlighting significant uncertainty.
Features
Manual Entry Time (Defaults to NY Open): The indicator analyzes the candle at this specific time.
Current Bar Analysis: This feature classifies the current, developing candle in real-time.
Analysis Table: A table displays details for the last four completed bars, including body size and wick percentages.
Customizable Thresholds: Adjust the "Min Body vs Wick %" and "Dominant Wick vs Body Ratio" to fine-tune how "strong" or "rejection" candles are identified.
Crypto Strong Strategy Hariss 369The best strategy for all types of trades. Entry, stop loss and target has been set based emi and atr. Both stop loss and target are changed with respect to change in price. Panel is added to view multi time frame trend including rsi , rsi ema and rvol value. A single indicator caters for all types of trades and traders.
Pure Price Action ICT Tools [Tudou]1.整合了LuxAlgo开发的SMC和ICT的两个指标,将SMC中部分功能加入到了ICT指标中
2.新增了MSS和BOS的警报功能
3.新增了日、周、月的高低点绘制,以及警报功能
=========================================
1. Integrate the two indicators of SMC and ICT developed by LuxAlgo, and add some functions in SMC to the ICT indicators
2. Added alarm functions for MSS and BOS
3. Added day, week, and month high and low point drawing, as well as alarm functions
ORB & Sessions [Capitalize Labs]ORB & Sessions Indicator
The ORB & Sessions Indicator provides a structured way to analyze intraday price action by combining two well-established concepts: global trading sessions and Opening Range Breakouts (ORB). It is designed to help traders identify where liquidity forms, when volatility expands, and how price behaves around key session and range levels.
Market Sessions Framework
Displays New York, London, and Asian sessions directly on the chart.
Each session can be shown as a highlighted background zone, or with extended highs and lows for liquidity tracking.
Session highs and lows remain projected forward after the session ends, allowing traders to monitor sweeps, retests, and reactions throughout the day.
Session times are fully customizable and can be aligned with the trader’s own timezone or broker feed.
This structure helps traders place price action into context, whether during quiet Asian trading, London-driven volatility, or New York reversals.
Opening Range Breakouts (ORB)
Supports three independent ORBs, each with configurable session times.
During the defined ORB window, the indicator captures the high and low of the range and plots a live updating box.
Once the ORB closes, the range locks and projects breakout targets (T1 and T2) based on user-defined risk-to-reward multiples.
Alerts are included for breakouts of highs, lows, or target levels.
Traders can use a single ORB or multiple—for example, tracking an Asian ORB into London, or London into New York.
Visualization and Clarity
Color-coded boxes and levels for sessions and ORBs.
Labels such as “Range High” and “Range Low” ensure clarity without clutter.
Flexible display settings allow highlighting full zones, just lines, or minimal markers depending on preference.
Practical Applications
This indicator is useful for:
Liquidity and volatility analysis: Observe where session highs and lows form and how they influence later trading.
Breakout and reversal strategies: Use ORB ranges to define risk and plan target projections.
Time-based research: Explore how different session overlaps or ORBs affect markets like indices, FX, and commodities.
Risk planning: Built-in R-multiple targets provide a consistent framework for evaluating setups.
Why It’s Different
Instead of showing sessions and ORBs separately, this indicator integrates them into one framework. Traders can:
See when and where sessions open and establish range levels.
Define precise ORBs with customizable timing.
Track breakout levels and targets in real time with alerts.
The result is a clear, time-structured view of the trading day, helping traders align setups with session dynamics and opening range behavior.
This indicator does not generate buy or sell signals. It is an analytical and visualization tool, providing structure for traders to better interpret intraday price action.
Ruptura + EMAs + VWAP + Vela Impulsiva Indicator: Breakout + EMAs + VWAP + Impulsive Candle + TP/SL
This indicator is designed to identify breakout trading opportunities by combining price action, moving averages, volume-weighted price, and impulsive candles, with clearly defined Take Profit (TP) and Stop Loss (SL) levels.
⏱️ Timeframe Logic:
The 15-minute chart is used to define the price range.
Entries are made on the 2-minute chart when breakout conditions align with momentum confirmation.
📌 Key Components:
Range Definition:
Calculates a price range based on a customizable number of candles (rangeBars), typically from the 15-minute timeframe.
Displays a shaded box highlighting this range.
Trend Filters:
Uses a fast EMA (9) and a slow EMA (21) to determine short-term and medium-term trends.
Includes VWAP as a dynamic support/resistance and directional filter.
Only allows trades when both EMAs and price confirm alignment above (for long) or below (for short) the VWAP.
Impulsive Candle Detection:
Confirms breakouts using large-bodied candles that engulf the previous candle's range.
The candle must exceed a certain multiple of the average range (minRangeMult) to qualify.
Breakout Entry Conditions:
Long Setup: Price breaks above the range high, with EMAs and VWAP confirming bullish alignment, and confirmed by an impulsive candle.
Short Setup: Price breaks below the range low, with EMAs and VWAP aligned bearishly, confirmed by an impulsive candle.
Trade Management:
Automatically plots Take Profit and Stop Loss levels based on the size of the entry candle and a customizable TP multiplier.
Visual dashed lines indicate TP (green) and SL (red) zones.
Session Filter:
Entry signals are limited to a specific time window (e.g., 9:00 to 10:00 AM New York time), typically during the NY session open.
Visual Aids:
Background color highlights potential entry zones (green for long, red for short).
Icons mark confirmed impulsive candles and entry signals.
Range box is updated periodically to reflect the active breakout zone.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Candle % Levels (10/30/50/70/90)Visualize candle strength like never before. This indicator automatically plots percentage levels (10%, 30%, 50%, 70%, 90%) within each candle to highlight key retracement and extension zones.
🔹 Instantly measure candle momentum and balance
🔹 Spot potential reversal or continuation points
🔹 Works on any timeframe or market (crypto, forex, stocks, futures)
Whether you scalp, day trade, or swing, these levels add clarity and precision to your entries, stop-losses, and take-profit targets.
Lanzadera)The Lanzadera Indicator is designed to identify market momentum and potential breakout opportunities. It works as a dynamic tool that helps traders detect price acceleration zones, providing clear signals for possible entries and exits. With customizable settings and a user-friendly design, this indicator is suitable for both beginners and experienced traders.
Use it to:
Spot momentum shifts before major price movements.
Enhance your breakout trading strategies.
Gain a clearer view of market dynamics with visual alerts.
This indicator is built for traders who want precision, discipline, and a professional edge in their decision-making process.
GrayZone Sniper [CHE] — Breakout Validation System GrayZone Sniper — Breakout Validation System
Trade only the clean breakouts. Detect the sideways “gray zone,” wait for a confirmed breach, and act only when momentum (TFRSI) and range expansion (Mean Deviation) align. Clear long/short triggers, one-shot exit signals, and persistent levels keep your manual trading disciplined and repeatable.
Why it boosts manual trading
* No guesswork: Grey box marks consolidation; you trade the validated break.
* Fewer fakeouts: Triggers require momentum + volatility—not just a wick through a level.
* Rules > bias: Optional close-only signals stop intrabar noise.
* Built-in exits: One-shot LS/SS (Long/Short Stop) when conditions degrade.
* Actionable visuals: Gray-zone boxes, persistent highs/lows, and a smooth T3 trendline.
What it does (short + precise)
1. Maps consolidation as a gray box (running high/low while state is neutral).
2. Validates breakouts only when:
* Mean Deviation filter says current range expands vs. its own baseline, and
* TFRSI momentum is above 50 + deadzone (long) or below 50 − deadzone (short), and
* Price closes beyond the last gray high/low (optional close-only).
→ You get L (long) or S (short).
3. Manages exits with a smooth T3 trendline plus MD trend: when MD weakens and T3 turns against the prior side, you get a single LS/SS stop signal.
4. Extends structure: Last gray-zone H/L can persist as right-extended levels for retests/targets.
5. Ready for alerts: Prebuilt alert conditions for L, S, LS, SS.
Signals at a glance
* L – Long Trigger (validated breakout up)
* S – Short Trigger (validated breakout down)
* LS – Long Stop (exit hint for open long)
* SS – Short Stop (exit hint for open short)
Why TFRSI + Mean Deviation is a killer combo
They measure different, complementary things—and that reduces correlated errors.
* Mean Deviation (MD) = range expansion filter. It checks whether current absolute deviation of Typical Price from its SMA (|TP − SMA(TP)|) is greater than its own historical mean deviation baseline. In plain English: *is the market actually moving beyond its usual wiggle?* If not, most breakouts are noise.
* TFRSI = directional momentum around a 50 baseline, normalized and smoothed to react fast while avoiding raw RSI twitchiness.
* Synergy:
* MD confirms there’s energy (volatility regime has expanded).
* TFRSI confirms where that energy points (bull or bear).
* Requiring both gives you high-quality, directional expansion—the exact condition that tends to produce follow-through, while filtering the classic “thin break, immediate snap-back.”
Result: Fewer trades, better quality. You skip most range breaks without momentum or momentum pops without real expansion.
Inputs & Functions (clean overview)
Core: TFRSI & MD
* TFRSI Length (`tfrsiLen`, default 6): Longer = smoother, slower.
* TFRSI Smoothing (`tfrsiSignalLen`, default 2): SMA on TFRSI for cleaner signals.
* Mean Deviation Period (`mdLen`, default 20): Baseline for expansion filter.
* Use classical MD (`useTaDev`, default off):
* Off: MD vs current SMA (warning-free internal baseline).
* On: Classical `ta.dev` implementation.
* TFRSI Deadzone ± around 50 (`tfrsiDeadzone`, default 1.0): Wider deadzone = stricter momentum confirmation (less chop).
Triggers & Logic
* Trigger only on bar close (`fireOnCloseOnly`, default on): Confirmed signals only; no intrabar flicker.
* Reset gray bounds after trigger (`resetGrayBoundsAfterTrigger`, default on): Clears last gray H/L once a trade triggers.
* Auto-deactivate on neutral (`autoDeactivateOnNeutral`, default off): Strict disarm when state flips back to neutral.
Gray-Zone Boxes
* Show boxes (`showGrayBoxes`, default on): Draws the neutral consolidation box.
* Max boxes (`maxGrayBoxes`, default 10): How many historic boxes to keep.
* Transparency (`boxFillTransp`/`boxBorderTransp`, defaults 85/30): Visual tuning.
Trendline (T3)
* T3 Length (`t3Length`, default 3): Smoothing depth (higher = smoother).
* T3 Volume Factor (`t3VolumeFactor`, default 0.7): Controls responsiveness of the T3 curve.
Persistent Levels
* Persist gray H/L (`saveGrayLevels`, default on): Extend last gray high/low to the right.
* Max saved level pairs (`maxSavedGrayLvls`, default 1): How many H/L pairs to keep.
* Reset levels on trigger (`resetLevelsOnTrig`, default off): Clean slate after new trigger.
Debug & Visuals
* Show debug markers (`showDebugMarkers`, default on): Display L/S/LS/SS in the pane.
* Show legend (`showLegend`, default on): Compact legend (top-right).
How to trade it (practical)
1. Keep close-only on. Let the market finish the candle.
2. Wait for a clean gray box. Let the range define itself.
3. Take only L/S triggers where MD filter passes and TFRSI confirms.
4. Use persistent levels for retests/partials/targets.
5. Respect LS/SS. When expansion fades and T3 turns, exit without debate.
Tuning tips:
* More chop? Increase `tfrsiDeadzone` or `mdLen`.
* Want faster entries? Slightly reduce `t3Length` or deadzone, but expect more noise.
* Works across assets/timeframes (crypto/FX/indices/equities).
Bottom line
GrayZone Sniper enforces a simple, robust rule: Don’t touch the market until it breaks a defined range with real expansion and aligned momentum. That’s why TFRSI + Mean Deviation is hard to beat—and why your manual breakout trades get cleaner, calmer, and more consistent.
Disclaimer:
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Enhance your trading precision and confidence with Triple Power Stop (CHE)! 🚀
Happy trading
Chervolino
Volatility Zones (VStop + Bands) — Fixed (v2)📝 What this indicator is
This script is called “Volatility Zones (VStop + Bands)”.
It is an ATR-based volatility indicator that combines dynamic volatility bands, a Volatility Stop line (VStop), and volatility spike detection into a single tool.
Unlike moving average–based indicators, this tool does not rely on averages of price direction. Instead, it measures the market’s true volatility and reacts to expansions or contractions in price ranges.
________________________________________
⚙️ How it is built
The indicator uses several volatility-based components:
1. Average True Range (ATR)
o ATR is calculated over a user-defined length.
o It measures how much price typically moves in a given number of bars, making it the foundation of this indicator.
2. Volatility Bands
o Upper band = close + ATR × factor
o Lower band = close - ATR × factor
o The area between them is shaded.
o This gives traders an immediate visual sense of market volatility width — wide bands = high volatility, narrow bands = quiet market.
3. Volatility Stop (VStop)
o A stateful trailing stop based on ATR.
o It tracks the highest (or lowest) price in the current trend and places a stop offset by ATR × multiplier.
o When price crosses this stop, the indicator flips trend direction.
o This creates a dynamic stop-and-reverse mechanism that adapts to volatility.
4. Trend Zones
o When the trend is bullish, the stop is green and the chart background is shaded softly green.
o When bearish, the stop is red and the background is shaded softly red.
o This makes the market’s directional bias visually clear at all times.
5. Flip Signals (Buy/Sell Arrows)
o Whenever the VStop flips, arrows appear:
Green BUY arrows below price when the trend turns bullish.
Red SELL arrows above price when the trend turns bearish.
o These are also tied to built-in alerts for automation.
6. Volatility Spike Detection
o The script compares current ATR to its recent average.
o If ATR suddenly expands above a threshold, a small yellow “VOL” marker appears at the top of the chart.
o This highlights potential breakout phases or unusual volatility events.
7. Stop Labels
o At every trend flip, a small label appears at the bar, showing the exact stop level.
o This makes it easy to use the stop as a reference for risk management.
________________________________________
📊 How it works in practice
• When price is above the VStop line, the market is considered in an uptrend.
• When price is below the VStop line, the market is in a downtrend.
• The bands expand/contract with volatility, helping traders gauge risk and position sizing.
• Flip arrows signal when trend direction changes.
• Volatility spikes warn traders that the market is entering a higher-risk phase, often before strong moves.
________________________________________
🎯 How it may help traders
• Trend following → Helps traders identify whether the market is trending up or down.
• Stop placement → Provides a dynamic stop level that adjusts to volatility.
• Volatility awareness → Shaded bands and spike markers show when the market is likely to become unstable.
• Trade timing → Flip arrows and labels help identify potential entry or exit points.
• Risk management → Wide bands indicate higher risk; narrow bands suggest safer, tighter ranges.
________________________________________
🌍 In what markets it is useful
Because the indicator is based purely on volatility, it works across all asset classes and timeframes:
• Stocks & ETFs → Helps identify breakouts and long-term trends.
• Forex → Very useful in spot FX where volatility shifts frequently.
• Crypto → ATR reacts strongly to high volatility, helping traders adapt stops dynamically.
• Futures & Commodities → Great for tracking trending commodities and managing risk.
Scalpers, swing traders, and position traders can all benefit by adjusting the ATR length and multipliers to suit their trading style.
________________________________________
💡 Originality of this script
This is not just a mashup of existing indicators. It integrates:
• ATR-based Volatility Bands for context,
• A stateful Volatility Stop (adapted and rewritten cleanly),
• Flip arrows and labels for actionable trading signals,
• Volatility spike detection to highlight regime shifts.
The result is a comprehensive volatility-aware trading tool that goes beyond just plotting ATR or trend stops.
________________________________________
🔔 Alerts
• Buy Flip → triggers when the trend changes bullish.
• Sell Flip → triggers when the trend changes bearish.
Traders can connect these alerts to automated strategies, bots, or notification systems.
GEXStrik BarS EUR USDGEX strike bars on the left side measure the prevailing amount of positive or negative gamma. On the right side, the volume of calls and puts traded in the region.
LK_RealBars_BO [Kiazer] v1.0Redraw every bar in order to fill every gap from previous period. Although you lose information about ranges in which trades really went on, this script is meant to help to understand the forces that really push and pull the price and make the next moves happen, in the flowing chain of causes and effects, proving that Causality is the ultimate truth, besides Price.
Market structure + TF Bucket Market Structure + TF Bucket
This Pine Script™ indicator, published under the Mozilla Public License 2.0, extends the "Market Structure" script by mickes (), with full credit to mickes. It integrates the enhanced MarketStructure library by Fenomentn (), also based on mickes’ library under MPL 2.0, to provide advanced market structure analysis with multi-timeframe pivot length customization.
Functionality
Market Structure Analysis: Detects internal (orderflow) and swing market structures, visualizing Break of Structure (BOS), Change of Character (CHoCH), Equal High/Low (EQH/EQL), and liquidity zones using the MarketStructure library.
Timeframe Bucket (TF Bucket): Dynamically adjusts pivot lengths for six user-defined timeframes (e.g., 3m, 5m, 10m, 15m, 4h, 12h), optimizing structure detection across different chart timeframes.
Trend Strength Visualization: Displays a trend strength metric (from the library) for internal and swing structures, indicating trend reliability based on pivot frequency and volatility.
Statistics Table: Shows yearly counts of BOS and CHoCH events for internal and swing structures, configurable by a user-defined period.
Screener Support: Outputs BOS and CHoCH signals for TradingView’s screener, with a configurable signal persistence period.
Customizable Alerts: Enables alerts for BOS and CHoCH events, separately configurable for internal and swing structures.
Methodology
Pivot Detection: Uses the library’s Pivot function, which applies a volatility filter (ATR-based) to confirm significant pivots, reducing false signals in low-volatility markets.
TF Bucket: Maps user-selected timeframes to Pine Script’s timeframe.period using f_getTimeframePeriod, applying custom pivot lengths when the chart’s timeframe matches a selected one (or base lengths in Static mode).
Trend Strength: Calculates a score as pivotCount / LeftLength * (currentATR / ATR), displayed via labels to help traders assess trend reliability.
BOS/CHoCH Detection: Identifies BOS when price breaks a pivot in the trend direction and CHoCH when price reverses against the trend, labeling events as “MSF” or “MSF+” based on pivot patterns.
EQH/EQL and Liquidity: Draws boxes for equal high/low zones within ATR-based thresholds and visualizes liquidity levels with confirmation bars.
Statistics and Screener: Tracks BOS/CHoCH events in a yearly table and outputs signals for screener use, with persistence controlled by a user-defined period.
Usage
Integration: Apply the indicator to any chart and import the library via import Fenomentn/MarketStructure/1.
Configuration: Set up to six timeframes with custom pivot lengths, enable/disable internal and swing structures, configure alerts, and adjust statistics years in the settings panel.
Alerts: Enable BOS and CHoCH alerts for real-time notifications, triggered on bar close to avoid repainting.
Screener: Use the plotted signals to monitor BOS/CHoCH events across multiple tickers in TradingView’s screener.
Best Practices: Optimal for forex and crypto charts on 1m to 12h timeframes. Adjust pivot lengths and the library’s volatility threshold for specific market conditions.
Originality
This indicator enhances mickes’ original script with:
Timeframe Bucket: Dynamic pivot length selection for multi-timeframe analysis, not present in the original.
Trend Strength Display: Visualizes the library’s TrendStrength metric for enhanced trend analysis.
Enhanced Library Integration: Leverages Fenomentn/MarketStructure/1, which adds a volatility-based pivot filter, dynamic label sizing, and customizable BOS/CHoCH visualization styles.No additional open-source code was reused beyond mickes’ script and library, fully credited under MPL 2.0.
MACROFLOW 200 — Bias & Triggersstephtradez model
MACROFLOW 200 — at a glance (the elevator pitch)
Trade direction = Macro Bias + 1H 200 EMA filter + DXY confirm.
Locations = 1H supply/demand zones.
Triggers (15m): (T1) Retest rejection, (T2) Liquidity sweep + BOS/CHOCH, (T3) Momentum break + shallow pullback.
Stops: structure‑based beyond zone with ATR buffer.
Targets: 2R base, scale at 1.5R, trail to next HTF zone.
Sessions: 7–10 pm ET and 9:30–10:30 am ET.
Risk: tight, prop‑friendly max 1% per session
♨️盛天®MACD背離Ⓜ️速效TopDog版🕯📊功能概述
該指標整合了傳統 MACD(移動平均線收斂-發散指標)的核心功能,並新增了背離檢測、Top Dog Trading 的 MOM 和 DAD 模式、多時間框架支持以及靈活的視覺化和警報設置。
以下是其主要功能👇 :
1️⃣ MACD 核心計算MACD 線:由快速移動平均線(Fast MA)減去慢速移動平均線(Slow MA)計算得出,反映價格的短期與長期趨勢差異。
信號線:對 MACD 線進行平滑處理(通常使用 EMA 或 SMA),用於識別趨勢轉換點。
直方圖:MACD 線與信號線的差值,顯示動量的強弱和方向。
靈活性:用戶可選擇使用 EMA(指數移動平均線)或 SMA(簡單移動平均線)進行計算,並可設置快速均線、慢速均線和信號線的週期。
📊Feature Overview
This indicator integrates the core functionality of the traditional MACD (Moving Average Convergence-Divergence) indicator and adds divergence detection, Top Dog Trading's MOM and DAD modes, support for multiple time frames, and flexible visualization and alert settings.
Here are its key features:
1. MACD Core Calculation: The MACD Line is calculated by subtracting the Slow Moving Average (Slow MA) from the Fast Moving Average (Fast MA) and reflects the divergence between short-term and long-term price trends.
Signal Line: The MACD Line is smoothed (typically using an EMA or SMA) to identify trend reversals.
Histogram: The difference between the MACD Line and the Signal Line indicates the strength and direction of momentum.
Flexibility: Users can choose to use either EMA (Exponential Moving Average) or SMA (Simple Moving Average) for calculations, and can set the periods for the fast and slow moving averages, as well as the signal line.
2️⃣多時間框架支持通過 request.security 函數,允許用戶選擇不同的時間框架(例如 1 小時、日線等)來計算 MACD,適用於分析更高或更低時間框架的趨勢,無需改變圖表的當前時間框架。
2️⃣Multi-timeframe support is available through the request.security function, allowing users to select different timeframes (such as 1 hour, daily, etc.) to calculate the MACD. This is suitable for analyzing trends in higher or lower timeframes without changing the current timeframe of the chart.
3️⃣Top Dog Mode:
The Top Dog Mode is an advanced feature of the indicator that enhances the MACD's sensitivity to short-term momentum and its ability to identify long-term trends through specific moving average periods (5, 20, 30) and MOM/DAD visualization. It is particularly suitable for short-term traders, swing traders, and market participants who need fast momentum signals. Through crossover dots, MOM histograms, DAD direction alerts, and divergence detection, the Top Dog Mode provides traders with flexible signal generation tools suitable for various market environments.
The signal line period (30) is longer than the standard MACD's 9, which helps filter out short-term fluctuations and confirm long-term trends.
The Top Dog pattern is suitable for the following trading scenarios:
(🔵➤ Short-term trading scenario: In highly volatile markets (such as forex or cryptocurrencies), use the rapid crossover signals of the MOM and DAD to capture short-term price fluctuations.
Recommendation: Use this pattern on lower timeframes (such as the 5-minute or 15-minute timeframe) and set a stop-loss to control risk.
(🔵➤ Trend confirmation scenario: Use the direction of the DAD to confirm the long-term trend and combine it with the MOM histogram to determine entry points.
Recommendation: Use this pattern on higher timeframes (such as the 1-hour or 4-hour timeframe) and combine it with trendlines or moving averages.
(🔵➤ Reversal trading scenario: Combine the Top Dog pattern's divergence signals (labeled "divergence" or "hidden") to identify potential trend reversals.
Recommendation: Confirm divergence signals near key support/resistance levels to reduce the risk of false positives.
(🔵➤ Trend Continuation Scenarios: Using Hidden Divergences (labeled "Hidden") to Identify Trend Continuation Opportunities 👇
4. Divergence Detection: Regular Divergences (labeled "Divergence"): Bullish Divergence: When the price makes lower lows, but the MACD histogram or MACD line makes higher lows, it indicates weakening bearish momentum and may signal a reversal.
Bearish Divergence: When the price makes higher highs, but the MACD histogram or MACD line makes lower highs, it indicates weakening bullish momentum and may signal a reversal. 👇
Hidden Divergences (labeled "Hidden"): Hidden Bullish Divergence: When the price makes higher lows, but the MACD histogram or MACD line makes lower lows, it may signal the possibility of trend continuation.
Hidden Bearish Divergence: When the price makes lower highs, but the MACD histogram or MACD line makes lower highs, it may signal a reversal. The line has made a higher high, indicating the possibility of trend continuation👇
3️⃣Top Dog 模式:
Top Dog 模式是該指標的一個進階功能,通過特定的均線週期(5、20、30)和 MOM/DAD 的視覺化方式,增強了 MACD 對短期動量的敏感性和長期趨勢的確認能力。它特別適合短線交易者、波段交易者和需要快速動量信號的市場參與者。通過交叉圓點、MOM 直方圖、DAD 方向警報和背離檢測,Top Dog 模式為交易者提供了靈活的信號生成工具,適用於多種市場環境。
信號線週期(30)比標準 MACD 的 9 更長,有助於過濾短期波動,確認長期趨勢。
Top Dog 模式適用於以下交易場景:
(🔵➤短線交易場景:在高波動市場(如外匯或加密貨幣)中,利用 MOM 和 DAD 的快速交叉信號捕捉短期價格波動。
建議:在低時間框架(如 5 分鐘或 15 分鐘)使用,並設置止損以控制風險。
(🔵➤ 趨勢確認場景:利用 DAD 的方向確認長期趨勢,結合 MOM 直方圖判斷進場時機。
建議:在較高時間框架(如 1 小時或 4 小時)使用,結合趨勢線或移動平均線。
(🔵➤反轉交易場景:結合 Top Dog 模式的背離信號(標籤“背”或“隱”),識別潛在的趨勢反轉。
建議:在關鍵支撐/阻力位附近確認背離信號,降低假信號風險。
(🔵➤ 趨勢延續場景:利用隱藏背離(標籤“隱”)捕捉趨勢延續機會👇
4. Divergence Detection: Regular Divergence (labeled "Divergence"): Bullish Divergence: When prices make lower lows, but the MACD histogram or MACD line makes higher lows, it indicates weakening downside momentum and may signal a reversal.
Bearish Divergence: When prices make higher highs, but the MACD histogram or MACD line makes lower highs, it indicates weakening upside momentum and may signal a reversal.
4️⃣背離檢測常規背離(標籤為“背”):看漲背離:當價格創出更低低點,但 MACD 直方圖或 MACD 線創出更高低點,表明下跌動量減弱,可能預示反轉。
看跌背離:當價格創出更高高點,但 MACD 直方圖或 MACD 線創出更低高點,表明上漲動量減弱,可能預示反轉👇。
隱藏背離(標籤為“隱”):隱藏看漲背離:當價格創出更高低點,但 MACD 直方圖或 MACD 線創出更低低點,表明趨勢延續的可能。
隱藏看跌背離:當價格創出更低高點,但 MACD 直方圖或 MACD 線創出更高高點,表明趨勢延續的可能👇
5️⃣ Trend Coloring MACD Line: Based on the position of the MACD line relative to the signal line (crossing above for an uptrend, crossing below for a downtrend), you can choose whether to display the trend color (default green for uptrend, red for downtrend)👇.
5️⃣ 趨勢著色MACD 線:根據 MACD 線相對於信號線的位置(上穿為上升趨勢,下穿為下降趨勢),可選擇是否顯示趨勢顏色(默認綠色為上升,紅色為下降)👇 。
6️⃣ Crossover Dots:
When the MACD line crosses the signal line, a dot appears: Upward crossover (MACD line crosses above the signal line): a green dot.
Downward crossover (MACD line crosses below the signal line): a red dot. You can set whether to display the dot and its width.
6️⃣ 交叉圓點:
當 MACD 線與信號線交叉時,顯示圓點:上穿(MACD 線上穿信號線):綠色圓點。
下穿(MACD 線下穿信號線):紅色圓點。可設置是否顯示以及寬度👇 。
7️⃣ Display Flexibility: Users can choose whether to display the MACD line, signal line, histogram, histogram outline, MOM histogram (Top Dog pattern), crossover dots, and divergence labels.
Line widths (MACD line, signal line, histogram, dots) and color settings are adjustable.
7️⃣顯示靈活性用戶可選擇是否顯示 MACD 線、信號線、直方圖、直方圖外框、MOM 直方圖(Top Dog 模式)、交叉圓點和背離標籤。
可調整線條寬度(MACD 線、信號線、直方圖、圓點)和顏色設置👇 。
8️⃣警報功能:
MACD交叉警報:
🚨MACD 線上穿信號線(看漲信號)。
🚨MACD 線下穿信號線(看跌信號)。
🚨MACD > 0 且上穿(強看漲信號)。
🚨MACD < 0 且下穿(強看跌信號)。
背離警報:
🚨MACD 直方圖/MOM 的常規和隱藏看漲/看跌背離。
🚨MACD 線/DAD 的常規和隱藏看漲/看跌背離。
DAD 方向警報:
🚨DAD(信號線)方向改變(交叉前一根 K 線的信號線值)。
🚨DAD 向上(信號線上升)。
🚨DAD 向下(信號線下降)。
所有警報默認啟用,可通過 TradingView 的警報設置面板配置通知方式。
8️⃣Alert Features:
MACD Crossover Alerts:
🚨MACD Line crosses above Signal Line (bullish signal).
🚨MACD Line crosses below Signal Line (bearish signal).
🚨MACD > 0 and crosses upward (strong bullish signal).
🚨MACD < 0 and crosses downward (strong bearish signal).
Divergence Alerts:
🚨Regular and hidden bullish/bearish divergences of the MACD Histogram/MOM.
🚨Regular and hidden bullish/bearish divergences of the MACD Line/DAD.
DAD Direction Alerts:
🚨DAD (Signal Line) direction changes (crosses over the previous candlestick's Signal Line value).
🚨DAD up (Signal Line rising).
🚨DAD down (Signal Line falling).
All alerts are enabled by default, and notification methods can be configured through the TradingView Alerts panel.