MirPapa:ICT:HTF: FVG Threeple# MirPapa:ICT:FVG Double HTF
**Version:** Pine Script® v6
**Author:** © goodia
**License:** MPL-2.0 (Mozilla Public License 2.0)
---
## Overview
“MirPapa:ICT:FVG Double HTF” is a TradingView indicator that identifies and visualizes Fair Value Gaps (FVG) on two higher time frames (HighTF and MidTF) simultaneously. It can also draw FVG boxes on the current chart’s time frame. When “Overlap Mode” is enabled, the indicator displays only the intersection of HighTF and MidTF FVG areas.
---
## Key Features
- **HighTF FVG**
- Detects bullish and bearish FVGs on a user-selected upper time frame (e.g., 4H).
- Draws colored boxes around gap ranges, optionally with a midpoint line.
- Automatically extends boxes on every bar and finalizes (recolors) them after a specified number of closes beyond the gap.
- **MidTF FVG**
- Same as HighTF FVG but for a second, intermediate time frame (e.g., 1H).
- Runs in parallel to HighTF logic, with separate color and transparency settings.
- **CurrentTF FVG (Optional)**
- If enabled, draws FVG boxes using the chart’s own time frame.
- Behaves identically: extends until broken by price, then finalizes.
- **Overlap Mode**
- When enabled, hides all individual HighTF and MidTF boxes.
- Instead, computes and displays only their overlapping rectangle(s)—separate for bullish and bearish gaps.
---
## Inputs & Configuration
- **Common Inputs**
- **Enable High/Mid Overlap Mode** (`boolean`): Show only overlapping HighTF + MidTF FVG areas.
- **Box Close Color** (`color`): Color applied to any FVG box when it is finalized.
- **HighTF FVG Settings**
- **HighTF Label** (`dropdown`): Choose a Korean label (e.g., “4시간”) that maps to a Pine timeframe (e.g., “240”).
- **Enable HighTF FVG Boxes** (`boolean`): Toggle drawing of HighTF FVG boxes.
- **Enable HighTF FVG Midlines** (`boolean`): Toggle midpoint line inside each HighTF box.
- **HighTF FVG Close Count** (`integer` 1–10): Number of closes beyond the gap before finalizing the box.
- **HighTF FVG Bull Color** (`color`): Fill & border color for bullish HighTF gaps.
- **HighTF FVG Bear Color** (`color`): Fill & border color for bearish HighTF gaps.
- **HighTF Box Transparency** (`integer` 1–100): Opacity level for HighTF box fills.
- **MidTF FVG Settings**
- **MidTF Label** (`dropdown`): Choose a Korean label (e.g., “1시간”) mapped to a Pine timeframe.
- **Enable MidTF FVG Boxes** (`boolean`): Toggle drawing of MidTF FVG boxes.
- **Enable MidTF FVG Midlines** (`boolean`): Toggle midpoint line inside each MidTF box.
- **MidTF FVG Close Count** (`integer` 1–10): Number of closes beyond the gap before finalizing the box.
- **MidTF FVG Bull Color** (`color`): Fill & border color for bullish MidTF gaps.
- **MidTF FVG Bear Color** (`color`): Fill & border color for bearish MidTF gaps.
- **MidTF Box Transparency** (`integer` 1–100): Opacity level for MidTF box fills.
- **CurrentTF FVG Settings**
- **Enable CurrentTF FVG Boxes** (`boolean`): Draw FVG boxes on the chart’s own timeframe.
- **Enable CurrentTF FVG Midlines** (`boolean`): Toggle midpoint line inside each CurrentTF box.
- **CurrentTF FVG Close Count** (`integer` 1–10): Number of closes beyond the gap before finalizing the box.
- **CurrentTF FVG Bull Color** (`color`): Fill & border color for bullish CurrentTF gaps.
- **CurrentTF FVG Bear Color** (`color`): Fill & border color for bearish CurrentTF gaps.
- **CurrentTF Box Transparency** (`integer` 1–100): Opacity level for CurrentTF box fills.
---
## How It Works
1. **Time Frame Conversion**
Korean labels (e.g., “4시간”, “1시간”) are converted internally to Pine timeframe strings via `GetHtfFromLabel()`.
2. **Data Retrieval**
For each chosen TF (HighTF, MidTF, and optionally CurrentTF), the script fetches OHLC and historical values using `GetHTFrevised()`.
- Tracks `bar_index` from that TF to align box drawing on the chart’s base timeframe.
3. **Box Lifecycle**
- **Creation**: On each new TF bar, if a bullish gap (`low > high `) or bearish gap (`low > high `) is detected, `CreateBoxData()` registers a new `BoxData` struct and draws an initial box.
- **Extension**: On every chart bar, `ProcessBoxDatas()` extends each active box’s right edge and updates internal “touch stage” and volume.
- **Finalization**: After the specified number of closes beyond the gap, `setBoxFinalize()` disables the box and changes its border & fill to the “Box Close Color”.
4. **Overlap Mode**
- When enabled, HighTF and MidTF boxes are not drawn individually.
- Instead, at each bar, the script iterates over all active HighTF boxes and all active MidTF boxes, computes their intersection rectangle (if any), and draws only that overlapping area (distinct handling for bullish vs. bearish gaps).
---
## Installation & Usage
1. **Copy & Paste**
Copy the entire Pine Script code into TradingView’s Pine Editor.
Click “Add to Chart.”
2. **Configure Inputs**
- Choose your HighTF and MidTF via the dropdown menus.
- Enable or disable FVG boxes/midlines for each TF.
- Adjust colors, transparency, and “Close Count” settings to taste.
- Toggle “Overlap Mode” if you only want to see common areas between HighTF and MidTF gaps.
3. **Interpretation**
- **Active Boxes** extend to the right as new bars form. When price closes beyond a gap (per “Close Count”), the box is finalized and recolored to the close color.
- In **Overlap Mode**, you’ll see only the overlapping region between HighTF and MidTF gaps, updated on every bar.
Enjoy precise FVG visualization across multiple time frames!
Análise de Tendência
Shooting Star Detector[cryptovarthagam]🌠 Shooting Star Detector
The Shooting Star Detector is a powerful price action tool that automatically identifies potential bearish reversal signals using the well-known Shooting Star candlestick pattern.
Ideal for traders who rely on candlestick psychology to spot high-probability short setups, this script works across all markets and timeframes.
🔍 What is a Shooting Star?
A Shooting Star is a single-candle pattern that typically forms at the top of an uptrend or resistance zone. It’s characterized by:
A small body near the candle's low,
A long upper wick, and
Little or no lower wick.
This pattern suggests that buyers pushed price higher but lost control by the close, hinting at potential bearish momentum ahead.
✅ Indicator Features:
🔴 Accurately detects Shooting Star candles in real-time
🔺 Plots a red triangle above every valid signal candle
🖼️ Optional background highlight for visual clarity
🕵️♂️ Strict ratio-based detection using:
Wick-to-body comparisons
Upper wick dominance
Optional bearish candle confirmation
⚙️ Detection Logic (Rules Used):
Upper wick > 60% of total candle range
Body < 20% of total candle
Lower wick < 15% of candle range
Bearish candle (optional but included for accuracy)
These rules ensure high-quality signals that filter out false positives.
📌 Best Use Cases:
Spotting trend reversals at swing highs
Confirming entries near resistance zones
Enhancing price action or supply/demand strategies
Works on: Crypto, Forex, Stocks, Commodities
🧠 Trading Tip:
Pair this detector with volume confirmation, resistance zones, or bearish divergence for higher-probability entries.
📉 Clean, minimal, and non-repainting — designed for traders who value accuracy over noise.
Created with ❤️ by Cryptovarthagam
Follow for more real-time price action tools!
The Strat The Strat Bar Type Identifier – Pure Price Action Logic
This open-source indicator implements the foundational bar classification of "The Strat" method developed by Rob Smith. It identifies each candle on the chart as one of the three core types used in The Strat:
* Inside Bar (1): The candle’s range is fully within the previous candle’s range. This indicates consolidation or balance and often precedes breakouts or reversals.
* Two-Up Bar (2U): The current candle breaks the previous high but does not break its low. This is considered bullish directional movement.
* Two-Down Bar (2D): The current candle breaks the previous low but not the high. This signals bearish directional movement.
* Outside Bar (3): The candle breaks both the high and the low of the previous candle, signaling a broadening formation and high volatility.
The script plots a character below each candle based on its type:
* "1" for Inside Bar
* "2" for Two-Up or Two-Down (color-coded)
* "3" for Outside Bar
This tool helps traders quickly identify actionable setups according to The Strat method and serves as a foundation for more advanced strategies like the 3-1-2 reversal or 1-2-2 continuation.
All calculations are based purely on price action—no indicators, no smoothing, no lagging elements. It is ideal for traders looking to understand price structure and bar sequencing from a Strat perspective.
To use:
1. Add the indicator to any chart and timeframe.
2. Look for the numbers below the candles.
3. Analyze the sequence of bar types to spot Strat setups.
This script is educational and can be extended with multi-timeframe context, FTFC logic, actionable signals, or broadening formation detection.
Clean, minimal, and faithful to the core principles of The Strat.
MarketMastery Suite by DGTAll-in-One Trading Framework for Price Action, Smart Money, and Market Structure
Unlock a complete, institutional-grade toolkit built for modern traders. The MarketMastery Suite blends advanced price action logic, multi-timeframe structure detection, capital flow analytics, and liquidation-based risk tools — empowering you to decode market behavior with confidence.
Whether you're identifying smart money zones, anticipating structural shifts, or managing position risk, MarketMastery Suite delivers actionable and adaptive insights.
KEY FEATURES
---------------------------------------------------------------------------------------------------------------
⯌ Dynamic Support & Resistance Zones
Automatically detects major Support and Resistance zones based on adaptive logic derived from ICT-style OBs and BBs. Rather than using fixed lookbacks, the script applies swing-based detection to reveal significant levels across Local, Regional, Global, and Macro structures — pinpointing areas of likely institutional interest.
⯌ Trend Stop & Range Detection
Tracks market bias with a smart 3-tier trailing stop that filters noise and identifies potential breakouts, traps, or directional flips — even in ranging conditions.
⯌ Fractal Market Structure & Shift Detection
Detects real-time Break of Structure (BoS) and Change of Character (CHoCH) events across fractal structure levels — Local to Macro — helping confirm or anticipate market shifts.
⯌ Volume & Capital Flow Analysis
Highlights volume spikes and overlays Cumulative Volume Delta (CVD) and Open Interest (OI) to uncover buyer/seller intent and momentum pressure shifts.
⯌ Trend Snapshot Dashboard
A clean, mobile-friendly dashboard that shows live trend strength, directional flow (Price, OI, CVD), and key capital activity, anchored to the latest swing evaluation window.
⯌ Liquidation Risk Zones
Visualizes liquidation and margin thresholds based on leverage, entry price, and maintenance margin — essential for futures risk planning.
ALERT MESSAGES
---------------------------------------------------------------------------------------------------------------
Support & Resistance Events
"Rejection {count} at Support · Support ≈ {value}"
"Support Retest {count} After Break · Support ≈ {value}"
"Rejection {count} at Resistance · Resistance ≈ {value}"
"Resistance Retest {count} After Break · Resistance ≈ {value}"
Support & Resistance Transitions
"Support Broken · {value} → Becomes Resistance"
"Resistance Broken · {value} → Becomes Support"
Market Structure Alerts
"{fractal depth} {Bullish|Bearish} Break of Structure detected."
"{fractal depth} {Bullish|Bearish} Change of Character detected."
Bias Transitions
"{Bullish|Bearish} Bias — Trailing stop flipped {upward|downward} {volume activity}"
"Potential {Bullish|Bearish} Flip — Early signs of {upward|downward} pressure {volume activity}"
"Ranging or Transitioning — Market lacks a clear trend {volume activity}"
Volume Spike
"Extreme volume spike detected!"
DISCLAIMER
---------------------------------------------------------------------------------------------------------------
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Candle Reversal Matrix TFFCandle Reversal Matrix TFF
This "Engulfing + Shooting Star + Evening Star + Hanging Man + Dark Cloud Cover" indicator is a comprehensive candlestick pattern scanner designed to identify key bearish and bullish reversal signals on your TradingView charts.
Key Features:
Bullish Engulfing: Detects strong bullish reversals where a green candle fully engulfs the previous red candle, signaling potential upward momentum.
Bearish Engulfing: Flags bearish reversals where a red candle engulfs the prior green candle, indicating possible downtrend beginnings.
Shooting Star: Identifies candles with a small body near the low and a long upper wick, commonly marking a bearish reversal after an uptrend.
Evening Star: Detects a three-candle bearish reversal pattern characterized by a large green candle, followed by a small indecisive candle, and a strong red candle closing well into the first candle’s body.
Hanging Man: Spots small-bodied candles with long lower shadows after an uptrend, warning of potential bearish reversals.
Dark Cloud Cover: Recognizes a two-candle bearish reversal where a red candle gaps above and closes below the midpoint of the previous green candle.
Visual Cues:
Each pattern is marked on the chart with distinct colored shapes and labels for easy identification:
Green arrows and labels for bullish signals
Red, orange, purple, yellow, and maroon shapes for bearish patterns, each with unique symbols (↓, ☆, EV, HM, DC)
RTI Shifting Band Oscillator | QuantMAC📊 RTI Shifting Band Oscillator | QuantMAC - Revolutionary Adaptive Trading Indicator
🎯 Overview
The RTI Shifting Band Oscillator represents a breakthrough in adaptive technical analysis, combining the innovative Range Transition Index (RTI) with dynamic volatility bands to create an oscillator that automatically adjusts to changing market conditions. This cutting-edge indicator goes beyond traditional static approaches by using RTI to dynamically shift band width based on market volatility transitions, providing superior signal accuracy across different market regimes.
🔧 Key Features
Revolutionary RTI Technology : Proprietary Range Transition Index that measures volatility transitions in real-time
Dynamic Adaptive Bands : Self-adjusting volatility bands that expand and contract based on RTI readings
Dual Trading Modes : Flexible Long/Short or Long/Cash strategies for different trading preferences
Advanced Performance Analytics : Comprehensive metrics including Sharpe, Sortino, and Omega ratios
Smart Visual System : Dynamic color coding with 9 professional color schemes
Precision Backtesting : Date range filtering with detailed historical performance analysis
Real-time Signal Generation : Clear entry/exit signals with customizable threshold sensitivity
Position Sizing Intelligence : Half Kelly criterion for optimal risk management
📈 How The RTI Technology Works
The Range Transition Index (RTI) is the heart of this indicator's innovation. Unlike traditional volatility measures, RTI analyzes the transitions between different volatility states, providing early warning signals for market regime changes.
RTI Calculation Process:
Calculate True Range for each period using high, low, and previous close
Compute Average True Range over the RTI Length period
Sum absolute differences between consecutive True Range values
Normalize by dividing by ATR to create the raw RTI
Apply smoothing to reduce noise and create the final RTI value
Use RTI to dynamically adjust standard deviation multipliers
The genius of RTI lies in its ability to detect when markets are transitioning between calm and volatile periods before traditional indicators catch up. This provides traders with a significant edge in timing entries and exits.
⚙️ Comprehensive Parameter Control
RTI Settings:
RTI Length : Controls the lookback period for volatility analysis (default: 25)
RTI Smoothing : Reduces noise in RTI calculations (default: 12)
Base MA Length : Foundation moving average for band calculations (default: 40)
Source : Price input selection (close, open, high, low, etc.)
Oscillator Settings:
Standard Deviation Length : Period for volatility measurement (default: 27)
SD Multiplier : Base band width adjustment (default: 1.5)
Oscillator Multiplier : Scaling factor for oscillator values (default: 100)
Signal Thresholds:
Long Threshold : Bullish signal trigger level (default: 82)
Short Threshold : Bearish signal trigger level (default: 55)
🎨 Advanced Visual System
Main Chart Elements:
Dynamic Shifting Bands : Upper and lower bands that automatically adjust width based on RTI
Adaptive Fill Zone : Color-coded area between bands showing current market state
Basis Line : Moving average foundation displayed as subtle reference points
Smart Bar Coloring : Candles change color based on oscillator state for instant visual feedback
Oscillator Pane:
Normalized RTI Oscillator : Main signal line centered around zero with dynamic coloring
Threshold Lines : Horizontal reference lines for entry/exit levels
Zero Line : Central reference for oscillator neutrality
Color State Indication : Line colors change based on bullish/bearish conditions
📊 Professional Performance Metrics
The built-in analytics suite provides institutional-grade performance measurement:
Net Profit % : Total strategy return percentage
Maximum Drawdown % : Worst peak-to-trough decline
Win Rate % : Percentage of profitable trades
Profit Factor : Ratio of gross profits to gross losses
Sharpe Ratio : Risk-adjusted return measurement
Sortino Ratio : Downside-focused risk adjustment
Omega Ratio : Probability-weighted performance ratio
Half Kelly % : Optimal position sizing recommendation
Total Trades : Complete transaction count
🎯 Strategic Trading Applications
Long/Short Mode: ⚡
Maximizes profit potential by capturing both upward and downward price movements. The RTI technology helps identify when trends are strengthening or weakening, allowing for optimal position switches between long and short.
Long/Cash Mode: 🛡️
Conservative approach ideal for retirement accounts or risk-averse traders. The indicator's adaptive nature helps identify the best times to be invested versus sitting in cash, protecting capital during adverse market conditions.
🚀 Unique Advantages
Traditional Indicators vs RTI Shifting Bands:
Static vs Dynamic : While most indicators use fixed parameters, RTI bands adapt in real-time
Lagging vs Leading : RTI detects volatility transitions before they fully manifest
One-Size vs Adaptive : The same settings work across different market conditions
Simple vs Intelligent : Advanced volatility analysis provides superior market insight
💡 Professional Setup Guide
For Day Trading (Short-term):
RTI Length: 15-20
RTI Smoothing: 8-10
Base MA Length: 20-30
Thresholds: Long 80, Short 60
For Swing Trading (Medium-term):
RTI Length: 25-35 (default range)
RTI Smoothing: 12-15
Base MA Length: 40-50
Thresholds: Long 83, Short 55 (defaults)
For Position Trading (Long-term):
RTI Length: 40-50
RTI Smoothing: 15-20
Base MA Length: 60-80
Thresholds: Long 85, Short 50
🧠 Advanced Trading Techniques
RTI Divergence Analysis:
Watch for divergences between price action and RTI readings. When price makes new highs/lows but RTI doesn't confirm, it often signals upcoming reversals.
Band Width Interpretation:
Expanding Bands : Increasing volatility, expect larger price moves
Contracting Bands : Decreasing volatility, prepare for potential breakouts
Band Touches : Price touching outer bands often signals reversal opportunities
Multi-Timeframe Analysis:
Use RTI on higher timeframes for trend direction and lower timeframes for precise entry timing.
⚠️ Important Risk Disclaimers
Past performance is not indicative of future results. This indicator represents advanced technical analysis but should never be used as the sole basis for trading decisions.
Critical Risk Factors:
Market Conditions : No indicator performs equally well in all market environments
Backtesting Limitations : Historical performance may not reflect future market behavior
Volatility Risk : Adaptive indicators can be sensitive to extreme market conditions
Parameter Sensitivity : Different settings may produce significantly different results
Capital Risk : Always use appropriate position sizing and stop-loss protection
📚 Educational Benefits
This indicator provides exceptional learning opportunities for understanding:
Advanced volatility analysis and measurement techniques
Adaptive indicator design and implementation
The relationship between volatility transitions and price movements
Professional risk management using Kelly Criterion principles
Modern oscillator interpretation and signal generation
🔍 Market Applications
The RTI Shifting Band Oscillator works across various markets:
Forex : Excellent for currency pair volatility analysis
Stocks : Individual equity and index trading
Commodities : Adaptive to commodity market volatility cycles
Cryptocurrencies : Handles extreme volatility variations effectively
Futures : Professional derivatives trading applications
🔧 Technical Innovation
The RTI Shifting Band Oscillator represents years of research into adaptive technical analysis. The proprietary RTI calculation method has been optimized for:
Computational Efficiency : Fast calculation even on high-frequency data
Noise Reduction : Advanced smoothing without excessive lag
Market Adaptability : Automatic adjustment to changing conditions
Signal Clarity : Clear, actionable trading signals
🔔 Updates and Evolution
The RTI Shifting Band Oscillator | QuantMAC continues to evolve with regular updates incorporating the latest research in adaptive technical analysis. The code is thoroughly documented for transparency and educational purposes.
Trading Notice: Financial markets involve substantial risk of loss. The RTI Shifting Band Oscillator is a sophisticated technical analysis tool designed to assist in trading decisions but cannot guarantee profitable outcomes. Always conduct thorough testing, implement proper risk management, and consider seeking advice from qualified financial professionals. Only trade with capital you can afford to lose.
---
Master The Markets With Adaptive Intelligence! 🎯📈
PCA Regime & Conviction IndexThis indicator diagnoses the underlying character and conviction of the market's current behavior, going far beyond simple price direction.
Instead of just asking "Is the market going up or down?", this tool answers the more critical question: "How is the market moving right now?"
To do this, it provides two key pieces of information:
1. It Identifies the Current Market Phase.
The indicator classifies the market's behavior into one of four distinct phases, which are displayed as a clear background color and an explicit text label:
Quiet Bull: A steady, healthy, low-volatility uptrend.
Volatile Bull: An explosive, energetic, or potentially exhaustive uptrend.
Quiet Bear: A slow, grinding, low-volatility downtrend or "bleed."
Volatile Bear: A sharp, high-energy, or panic-driven downtrend.
This tells you the fundamental personality of the market at a glance.
2. It Measures the Conviction of That Phase.
Alongside identifying the phase, the indicator plots a "Conviction Index"—a clear gold line oscillating between 0 and 100. This index measures the strength and clarity of the current market phase.
A high conviction level (e.g., above 75) means the current phase is strong, stable, and decisive.
A low conviction level (e.g., below 25) means the phase is weak, uncertain, and lacks energy.
The Ultimate Benefit:
By understanding both what the market is doing (the phase) and how strongly it's doing it (the conviction), a trader can make more intelligent decisions. It helps you adapt your strategy in real-time by providing a clear framework to:
Confidently pursue trends when the market is in a high-conviction "Quiet Bull" or "Quiet Bear" phase.
Exercise caution and manage risk during high-conviction "Volatile" phases.
Avoid whipsaws and frustration by recognizing when the market has low conviction and is likely to be choppy and unpredictable, regardless of the phase.
Swing High Low Detector by RV5📄 Description
The Swing High Low Detector is a visual indicator that automatically detects and displays swing highs and swing lows on the chart. Swings are determined based on configurable strength parameters (number of bars before and after a high/low), allowing users to fine-tune the sensitivity of the swing points.
🔹 Current swing levels are shown as solid (or user-defined) lines that dynamically extend until broken.
🔹 Past swing levels are preserved as dashed/dotted lines once broken, allowing traders to see previous support/resistance zones.
🔹 Customizable line colors, styles, and thickness for both current and past levels.
This indicator is useful for:
Identifying key market structure turning points
Building breakout strategies
Spotting trend reversals and swing zones
⚙️ How to Use
1. Add the indicator to any chart on any timeframe.
2. Adjust the Swing Strength inputs to change how sensitive the detector is:
A higher value will filter out smaller moves.
A lower value will capture more frequent swing points.
3. Customize the line styles for visual preference.
Choose different colors, line styles (solid/dashed/dotted), and thickness for:
Current Swing Highs (SH)
Past Swing Highs
Current Swing Lows (SL)
Past Swing Lows
4. Observe:
As new swing highs/lows are detected, the indicator draws a new current level.
Once price breaks that level, the line is archived as a past level and a new current swing is drawn.
✅ Features
Fully customizable styling for all lines
Real-time updates and automatic level tracking
Supports all chart types and instruments
👨💻 Credits
Script logic and implementation by RV5. This script was developed as a tool to improve price action visualization and trading structure clarity. Not affiliated with any financial institution. Use responsibly.
Trend Scanner ProTrend Scanner Pro, Robust Trend Direction and Strength Estimator
Trend Scanner Pro is designed to evaluate the current market trend with maximum robustness, providing both direction and strength based on statistically reliable data.
This indicator builds upon the core logic of a previous script I developed, called Best SMA Finder. While the original script focused on identifying the most profitable SMA length based on backtested trade performance, Trend Scanner Pro takes that foundation further to serve a different purpose: analyzing and quantifying the actual trend state in real time.
It begins by testing hundreds of SMA lengths, from 10 to 1000 periods. Each one is scored using a custom robustness formula that combines profit factor, number of trades, and win rate. Only SMAs with a sufficient number of trades are retained, ensuring statistical validity and avoiding curve fitting.
The SMA with the highest robustness score is selected as the dynamic reference point. The script then calculates how far the price deviates from it using rolling standard deviation, assigning a trend strength score from -5 (strong bearish) to +5 (strong bullish), with 0 as neutral.
Two detection modes are available:
Slope mode, based on SMA slope reversals
Bias mode, based on directional shifts relative to deviation zones
Optional features:
Deviation bands for visual structure
Candle coloring to reflect trend strength
Compact table showing real-time trend status
This tool is intended for traders who want an adaptive, objective, and statistically grounded assessment of market trend conditions.
(ICT)Liquidity Grab + FVG + MSS/BOSThis script is a comprehensive educational indicator that combines and enhances several well-known trading concepts:
Liquidity Grabs (Swing Failure Patterns)
Fair Value Gaps (FVG)
Market Structure Shifts / Break of Structure (MSS/BOS)
Alerts
It identifies potential bullish and bearish liquidity grabs, confirms them optionally using volume validation on a lower timeframe, and tracks subsequent price structure changes. The indicator visually marks key swing highs/lows, FVG zones, and BOS/MSS levels—allowing traders to observe how price reacts to liquidity and imbalance zones.
🔍 Features:
Swing Failure Patterns (SFP):
Highlights possible liquidity grabs based on recent highs/lows and candle structure.
Volume Validation (Optional):
Filter signals using relative volume outside the swing on a lower timeframe. Adjustable threshold.
Fair Value Gaps (FVG):
Detects imbalance gaps and extends them for easy visualization.
Market Structure (MSS/BOS):
Displays Break of Structure (BOS) and Market Structure Shift (MSS) based on pivot highs/lows and closing conditions.
Dashboard:
A compact info panel displaying lower timeframe settings and validation status.
Custom Styling:
Adjustable colors, line styles, and label visibility for clean charting.
🧠 Ideal For:
Traders studying ICT concepts, smart money theories, and price-action-based strategies who want a visual tool for analysis and backtesting.
How to Use:
Wait for a Liquidity Grab (SFP) to form
The first condition for a potential entry is the formation of a Stop Hunt / Swing Failure Pattern (SFP).
This indicates that liquidity has been taken above or below a key level (e.g., previous high/low), and the market may be ready to reverse.
Confirmation with Fair Value Gap (FVG) and Market Structure Shift (MSS)
After the SFP, do not enter immediately. Wait for confirmation:
FVG : A Fair Value Gap (an imbalance in price action) must appear, signaling potential institutional activity.
MSS : A Market Structure Shift (break in the current trend) confirms a possible trend reversal or strong corrective move.
Enter the trade
Once both the FVG and MSS are confirmed after the SFP, you can safely enter a trade in the direction of the shift.
Alert Feature
The indicator includes an alert system to notify you when all conditions are met (SFP + FVG + MSS), so you can react quickly without constantly watching the chart.
BAFD (Price Action For D.....s)🧠 Overview
This indicator combines multiple Moving Averages (MA) with visual price action elements such as Fair Value Gaps (FVGs) and Swing Points. It provides traders with real-time insight into trend direction, structural breaks, and potential entry zones based on institutional price behavior.
⚙️ Features
1. Multi MA Visualization (SMA & EMA)
- Plots short-, mid-, and long-term moving averages
- Fully customizable: MA type (SMA/EMA) and length per MA
- Dynamic color coding: green for bullish, red for bearish (based on close >/< MA)
2. Fair Value Gaps (FVG) Detection
Detects bullish and bearish imbalances using multiple logic types:
- Same Type: Last 3 candles move in the same direction
- Twin Close: Last 2 candles close in the same direction
- All: Shows all valid FVGs regardless of pattern
Gaps are marked with semi-transparent yellow boxes
Useful for identifying potential liquidity voids and retest zones
3. Swing Highs and Lows
- Automatically identifies major swing points
- Customizable sensitivity (strength setting)
Marked with subtle colored dots for structure identification or support/resistance mapping
📈 Use Cases
- Trend Identification: Visualize momentum on multiple timeframes
- Liquidity Mapping: Spot potential retracement zones using FVGs
- Confluence Building: Combine MA slope, FVG zones, and swing points for refined setups
🛠️ Customizable Settings
- Moving average type and length for each MA
- FVG logic selection and color
- Swing point strength
🔔 Note
This script does not generate buy/sell signals or alerts. It is designed as a visual decision-support tool for discretionary traders who rely on market structure, trend, and price action.
PinBar Finder | @CRYPTOKAZANCEVPinBar Finder | @CRYPTOKAZANCEV
This script helps traders identify high-probability reversal points based on price action, specifically Pin Bars — a well-known candlestick pattern used in technical analysis.
What does the indicator do?
It detects bullish and bearish Pin Bars using a custom method for wick-to-body ratio and filters based on historical volatility (pseudo-ATR). A label appears on the chart with detailed info on wick and body size when a valid signal is found.
How does it work?
- The indicator calculates a pseudo-ATR based on the percentage range of the last 1000 candles.
- It then multiplies this value by a user-defined factor (default: 1.1) to set a dynamic threshold for wick size.
- Bullish Pin Bars are detected when the lower wick is at least 1.1 times the body and greater than the dynamic ATR.
- Bearish Pin Bars are detected when the upper wick meets similar conditions.
- Signals are shown using chart labels with exact wick/body percentages.
- Alerts are included for automation or integration with trading bots.
How to use it?
- Add the indicator to any timeframe and asset.
- Use the alerts to notify you when a Pin Bar appears.
- Ideal for traders who use candlestick reversal strategies or combine price action with other confluence tools.
- You can adjust the wick length multiplier to fit the volatility of the instrument.
What makes it original?
Unlike many public scripts that use fixed ratios, this script adapts wick length detection based on recent volatility (pseudo-ATR logic). This makes it more dynamic and suitable for different markets and timeframes.
Developed by: @ZeeZeeMon
Original author name on chart: @CRYPTOKAZANCEV
This script is open-source and educational. Use at your own discretion.
PinBar Finder | @CRYPTOKAZANCEV
Этот скрипт помогает трейдерам находить точки потенциального разворота на основе прайс-экшена, а именно — свечного паттерна «Пин-бар». Индикатор автоматически определяет бычьи и медвежьи пин-бары с учетом адаптивных параметров волатильности.
Что делает индикатор?
Скрипт ищет свечи, у которых тень в несколько раз превышает тело (пин-бары), и отображает на графике точную информацию о длине тела и тени. Это полезно для трейдеров, использующих свечные сигналы на разворот.
Как работает?
- Рассчитывается псевдо-ATR по 1000 последним свечам на основе процентного диапазона high-low.
- Этот ATR умножается на заданный множитель (по умолчанию: 1.1), чтобы динамически задать минимальную длину тени.
- Бычий пин-бар определяется, когда нижняя тень больше тела в 1.1 раза и превышает ATR.
- Медвежий пин-бар — аналогично, но для верхней тени.
- Индикатор отображает лейблы с точными значениями тела и тени.
- Реализованы условия для оповещений (alerts).
Как использовать?
- Добавьте индикатор на нужный график и таймфрейм.
- Настройте alerts, чтобы не пропустить сигналы.
- Особенно полезен для трейдеров, работающих со свечным анализом, стратегиями разворота, а также в сочетании с другими индикаторами.
В чем оригинальность?
В отличие от многих скриптов, использующих фиксированные параметры, здесь используется динамический расчет длины тени на основе волатильности. Это делает скрипт адаптивным к рынку и таймфрейму.
Разработчик: @ZeeZeeMon
Оригинальное имя автора на графике: @CRYPTOKAZANCEV
Скрипт является открытым и предназначен для образовательных целей. Используйте на своё усмотрение.
Laplace Momentum Percentile ║ BullVision 🔬 Overview
Laplace Momentum Percentile ║ BullVision is a custom-built trend analysis tool that applies Laplace-inspired smoothing to price action and maps the result to a historical percentile scale. This provides a contextual view of trend intensity, with optional signal refinement using a Kalman filter.
This indicator is designed for traders and analysts seeking a normalized, scale-independent perspective on market behavior. It does not attempt to predict price but instead helps interpret the relative strength or weakness of recent movements.
⚙️ Key Concepts
📉 Laplace-Based Smoothing
The core signal is built using a Laplace-style weighted average, applying an exponential decay to price values over a specified length. This emphasizes recent movements while still accounting for historical context.
🎯 Percentile Mapping
Rather than displaying the raw output, the filtered signal is converted into a percentile rank based on its position within a historical lookback window. This helps normalize interpretation across different assets and timeframes.
🧠 Optional Kalman Filter
For users seeking additional smoothing, a Kalman filter is included. This statistical method updates signal estimates dynamically, helping reduce short-term fluctuations without introducing significant lag.
🔧 User Settings
🔁 Transform Parameters
Transform Parameter (s): Controls the decay rate for Laplace weighting.
Calculation Length: Sets how many candles are used for smoothing.
📊 Percentile Settings
Lookback Period: Defines how far back to calculate the historical percentile ranking.
🧠 Kalman Filter Controls
Enable Kalman Filter: Optional toggle.
Process Noise / Measurement Noise: Adjust the filter’s responsiveness and tolerance to volatility.
🎨 Visual Settings
Show Raw Signal: Optionally display the pre-smoothed percentile value.
Thresholds: Customize upper and lower trend zone boundaries.
📈 Visual Output
Main Line: Smoothed percentile rank, color-coded based on strength.
Raw Line (Optional): The unsmoothed percentile value for comparison.
Trend Zones: Background shading highlights strong upward or downward regimes.
Live Label: Displays current percentile value and trend classification.
🧩 Trend Classification Logic
The indicator segments percentile values into five zones:
Above 80: Strong upward trend
50–80: Mild upward trend
20–50: Neutral zone
0–20: Mild downward trend
Below 0: Strong downward trend
🔍 Use Cases
This tool is intended as a visual and contextual aid for identifying trend regimes, assessing historical momentum strength, or supporting broader confluence-based analysis. It can be used in combination with other tools or frameworks at the discretion of the trader.
⚠️ Important Notes
This script does not provide buy or sell signals.
It is intended for educational and analytical purposes only.
It should be used as part of a broader decision-making process.
Past signal behavior should not be interpreted as indicative of future results.
Not-So-Average True Range (nsATR)Not-So-Average True Range (nsATR)
*By Sherlock_MacGyver*
---
Long Story Short
The nsATR is a complete overhaul of traditional ATR analysis. It was designed to solve the fundamental issues with standard ATR, such as lag, lack of contextual awareness, and equal treatment of all volatility events.
Key innovations include:
* A smarter ATR that reacts dynamically when price movement exceeds normal expectations.
* Envelope zones that distinguish between moderate and extreme volatility conditions.
* A long-term ATR baseline that adds historical context to current readings.
* A compression detection system that flags when the market is coiled and ready to break out.
This indicator is designed for traders who want to see volatility the way it actually behaves — contextually, asymmetrically, and with predictive power.
---
What Is This Thing?
Standard ATR (Average True Range) has limitations:
* It smooths too slowly (using Wilder's RMA), which delays detection of meaningful moves.
* It lacks context — no way to know if current volatility is high or low relative to history.
* It treats all volatility equally, regardless of scale or significance.
nsATR** was built from scratch to overcome these weaknesses by applying:
* Amplification of large True Range spikes.
* Visual envelope zones for detecting volatility regimes.
* A long-term context line to anchor current readings.
* Multi-factor compression analysis to anticipate breakouts.
---
Core Features
1. Breach Detection with Amplification
When True Range exceeds a user-defined threshold (e.g., ATR × 1.2), it is amplified using a power function to reflect nonlinear volatility. This amplified value is then smoothed and cascades into future ATR values, affecting the indicator beyond a single bar.
2. Direction Tagging
Volatility spikes are tagged as upward or downward based on basic price momentum (close vs previous close). This provides visual context for how volatility is behaving in real-time.
3. Envelope Zones
Two adaptive envelopes highlight the current volatility regime:
* Stage 1: Moderate volatility (default: ATR × 1.5)
* Stage 2: Extreme volatility (default: ATR × 2.0)
Breaching these zones signals meaningful expansion in volatility.
4. Long-Term Context Baseline
A 200-period simple moving average of the classic ATR establishes whether current readings are above or below long-term volatility expectations.
5. Multi-Signal Compression Detection
Flags potential breakout conditions when:
* ATR is below its long-term baseline
* Price Bollinger Bands are compressed
* RSI Bollinger Bands are also compressed
All three signals must align to plot a "Volatility Confluence Dot" — an early warning of potential expansion.
---
Chart Outputs
In the Indicator Pane:
* Breach Amplified ATR (Orange line)
* Classic ATR baseline (White line)
* Long-Term context baseline (Cyan line)
* Stage 1 and Stage 2 Envelopes (Purple and Yellow lines)
On the Price Chart:
* Triangles for breach direction (green/red)
* Diamonds for compression zones
* Optional background coloring for visual clarity
---
Alerts
Built-in alert conditions:
1. ATR breach detected
2. Stage 1 envelope breached
3. Stage 2 envelope breached
4. Compression zone detected
---
Customization
All components are modular. Traders can adjust:
* Display toggles for each visual layer
* Colors and line widths
* Breach threshold and amplification power
* Envelope sensitivity
* Compression sensitivity and lookback windows
Some options are disabled by default to reduce clutter but can be turned on for more aggressive signal detection.
---
Real-Time Behavior (Non-Repainting Clarification)
The indicator updates in real time on the current bar as new data comes in. This is expected behavior for live trading tools. Once a bar closes, values do not change. In other words, the indicator *does not repaint history* — but the current bar can update dynamically until it closes.
---
Use Cases
* Day traders: Use compression zones to anticipate volatility surges.
* Swing traders: Use envelope breaches for regime awareness.
* System developers: Replace standard ATR in your logic for better responsiveness.
* Risk managers: Use directional volatility signals to better model exposure.
---
About the Developer
Sherlock_MacGyver develops original trading systems that question default assumptions and solve real trader problems.
Grid TLong V1The “Grid TLong V1” strategy is based on the classic Grid strategy, but in the mode of buying and selling in favor of the trend and only on Long. This allows to take advantage of large uptrend movements to maximize profits in bull markets. For this reason, excessively sideways or bearish markets may not be very conducive to this strategy.
Like our Grid strategies in favor of the trend, you can enter and exit with the balance with controlled risk, as the distance between each grid functions as a natural and adaptable stop loss and take profit. What differentiates it from bidirectional strategies is that Short uses a minimum amount of follow-through, so that the percentage distance between the grids is maintained.
In this version of the script the entries and exits can be chosen at market or limit , and are based on the profit or loss of the current position, not on the percentage change in price.
The user may also notice that the strategy setup is risk-controlled, because it risks 5% on each trade, has a fairly standard commission and modest initial capital, all in order to protect the strategy user from unrealistic results.
As with all strategies, it is strongly recommended to optimize the parameters for the strategy to be effective for each asset and for each time frame.
Previous Highs & Lows (Customizable)Previous Highs & Lows (Customizable)
This Pine Script indicator displays horizontal lines and labels for high, low, and midpoint levels across multiple timeframes. The indicator plots levels from the following periods:
Today's session high, low, and midpoint
Yesterday's high, low, and midpoint
Current week's high, low, and midpoint
Last week's high, low, and midpoint
Last month's high, low, and midpoint
Last quarter's high, low, and midpoint
Last year's high, low, and midpoint
Features
Individual Controls: Each timeframe has separate toggles for showing/hiding high/low levels and midpoint levels.
Custom Colors: Independent color selection for lines and labels for each timeframe group.
Display Options:
Adjustable line width (1-5 pixels)
Variable label text size (tiny, small, normal, large, huge)
Configurable label offset positioning
Organization: Settings are grouped by timeframe in a logical sequence from most recent (today) to least recent (last year).
Display Logic: Lines span the current trading day only. Labels are positioned to the right of the price action. The indicator automatically removes previous drawings to prevent chart clutter.
EMA CCI SSL BUY SELL Signal [THANHCONG]EMA CCI SSL BUY SELL Signal
Introduction:
The EMA CCI SSL BUY SELL Signal indicator is a comprehensive technical analysis tool designed to help traders identify trends and optimal entry and exit points with clarity and reliability. By combining reputable indicators such as EMA, CCI, SSL Channel, and RSI, this indicator generates buy and sell signals based on multiple validated factors, helping to filter noise and increase accuracy.
Key Features:
Utilizes multi-timeframe SSL channel with both automatic and manual mode options, suitable for various trading strategies.
Includes an RSI filter to minimize false signals in overbought or oversold regions.
Detects volume spikes to confirm the strength of the current trend.
Integrates CCI divergence and reversal candle patterns (Hammer, Shooting Star) to enhance signal precision in spotting potential reversals.
Displays clear buy/sell signals directly on the chart and provides a live performance table showing percentage changes.
Supports linear regression channel drawing to help users easily recognize trend direction and price volatility.
Recommended Usage:
Optimal Timeframes: Best used on 5-minute, 15-minute, 1-hour, 4-hour, 12-hour, and daily (D) timeframes. Avoid using on other timeframes to maintain signal reliability.
Signal Confirmation: Combine indicator signals with SSL channel direction and regression channel slope to improve confidence.
Combined Indicators: For enhanced effectiveness and noise reduction, it is recommended to use this indicator alongside the MCDX+RSI+SMA indicator. This combined approach provides a more comprehensive market view and supports better trading decisions.
Alerts: Users can set buy/sell alerts on TradingView to receive timely notifications when signals occur.
Important Notes:
This indicator is provided as a technical analysis aid and is not financial advice or a guarantee of profit.
Indicator performance may vary depending on market conditions and the traded asset.
Users should combine multiple tools and practice proper risk management when making trading decisions.
Thank You:
Thank you for using this indicator! If you find it useful, please consider leaving positive feedback and sharing it to help build a professional, transparent, and sustainable trading community.
Disclaimer:
The author and TradingView are not responsible for any losses resulting from the use of this indicator. Please trade responsibly and carefully consider your decisions.
Wishing you successful and safe trading!
#EMA #CCI #SSLChannel #RSI #TradingView #BuySellSignals #TechnicalAnalysis #TrendFollowing #VolumeSpike #CandlePatterns #TradingTools #Forex #Stocks #Crypto #Thanhcong
HTF Candle Breakout Fibonacci LevelsThis indicator automatically plots Fibonacci retracement levels on a lower timeframe (LTF) after detecting a breakout candle on a selected higher timeframe (HTF).
🔍 How It Works
When a candle on your selected HTF closes beyond the high or low of the previous candle, the indicator automatically draws Fibonacci levels on the LTF.
These levels remain visible until the next HTF candle is formed — allowing you to trade retracements with contextual precision.
⸻
⚙️ Customization Options
From the indicator settings, you can modify:
• The HTF candle timeframe (default is 1D)
• Fibonacci levels and colors
• Enable or disable “Show Only the Latest Levels” — ideal for live trading to keep the chart clean and focused.
⸻
🟪 HTF Candles Preview
After applying the indicator, you’ll see 3 vertical bars on the right edge of your LTF chart. These represent a live preview of the last three HTF candles and update in real-time.
If you prefer a cleaner chart, disable this feature via the “Show HTF Candles” toggle in the settings.
⸻
Feel free to reach out if you have any questions.
Volatility Bias ModelVolatility Bias Model
Overview
Volatility Bias Model is a purely mathematical, non-indicator-based trading system that detects directional probability shifts during high volatility market phases. Rather than relying on classic tools like RSI or moving averages, this strategy uses raw price behavior and clustering logic to determine potential breakout direction based on recent market bias.
How It Works
Over a defined lookback window (default 10 bars), the strategy counts how many candles closed in the same direction (i.e., bullish or bearish).
Simultaneously, it calculates the price range during that window.
If volatility is above a minimum threshold and a clear directional bias is detected (e.g., >60% of closes are bullish), a trade is opened in the direction of that bias.
This approach assumes that when high volatility is coupled with directional closing consistency, the market is probabilistically more likely to continue in that direction.
ATR-based stop-loss and take-profit levels are applied, and trades auto-exit after 20 bars if targets are not hit.
Key Features
- 100% non-indicator-based logic
- Statistically-driven directional bias detection
- Works across all timeframes (1H, 4H, 1D)
- ATR-based risk management
- No pyramiding, slippage and commissions included
- Compatible with real-world backtesting conditions
Realism & Assumptions
To make this strategy more aligned with actual trading environments, it includes 0.05% commission per trade and a 1-point slippage on every entry and exit.
Additionally, position sizing is set at 10% of a $10,000 starting capital, and no pyramiding is allowed.
These assumptions help avoid unrealistic backtest results and make the performance metrics more representative of live conditions.
Parameter Explanation
Bias Window (10 bars): Number of past candles used to evaluate directional closings
Bias Threshold (0.60): Required ratio of same-direction candles to consider a bias valid
Minimum Range (1.5%): Ensures the market is volatile enough to avoid noise
ATR Length (14): Used to dynamically define stop-loss and target zones
Risk-Reward Ratio (2.0): Take-profit is set at twice the stop-loss distance
Max Holding Bars (20): Trades are closed automatically after 20 bars to prevent stagnation
Originality Note
Unlike common strategies based on oscillators or moving averages, this script is built on pure statistical inference. It models the market as a probabilistic process and identifies directional intent based on historical closing behavior, filtered by volatility. This makes it a non-linear, adaptive model grounded in real-world price structure — not traditional technical indicators.
Disclaimer
This strategy is for educational and experimental purposes only. It does not constitute financial advice. Always perform your own analysis and test thoroughly before applying with real capital.
Breakout of inclined trendline [Drobode]█ DESCRIPTION
The script is designed to automatically detect a possible trendline breakout under the conditions of the popular "Slanted Trendline Breakout" strategy. The algorithm assumes that during the movement the price approaches the slanted (trend) line several times. With each subsequent approach (touch) to the trend line, the price consolidates more and more near this line, the distances between the extremes (touches) decrease, which indicates a high probability of a breakout of this line. The script checks the number of touches (approaches) of the extremes and the distances between the extremes. If all conditions are met, the script draws a slanted (trend) line in the corresponding area and an arrow with a possible price breakout direction. The length of the arrow is half the height of the slanted (trend) line and may indicate the level (price) at which it is advisable to fix the profit. In the script, you can enable or disable additional analysis periods (history length, number of bars), the more periods are enabled, the slower the script may load. For example, when placing the script on M-15, we can additionally enable the period 300 or 500, which will allow us to take into account a larger number of historical bars, and this can be considered as the extremes of the older timeframe. The script calculates each period separately, so one large period will not be able to take into account and analyze smaller periods. You can set the percentage deviation of the distance of the extremes from the trend line that touch the inclined line, depending on your needs and style of technical analysis. The smaller the percentage, the more accurate and closer to the inclined line the price extreme should be and vice versa. The main goal of the script is to facilitate the trader's routine work of identifying a possible trend line breakout. However, it should be understood that the script is not a full-fledged self-sufficient strategy, in case of receiving a signal, it is recommended to additionally conduct a comprehensive thorough analysis before taking trading actions. The script can be useful for traders of all levels, both beginners and experienced analysts. Like any other strategy or script, this script can work better on some instruments than on others. When analyzing trading setups, it is desirable to have a clear trend, it is recommended to take into account the signal of this script with a small period when the arrow shows the direction of the trend. However, at the same time, it is necessary to deeply analyze many other factors at this stage, in particular, such as volumes, consolidation, volatility, candlestick patterns, etc.
█ SCRIPT SETTINGS
By default, the script was developed and tested on medium timeframes with cryptocurrency futures instruments USDT.P
Alert
The Alert function in the script is enabled by default, you just need to activate Alert in the TradingView window and select the signal source - Breakout of inclined trendline .
The notification provides the following information (example):
Possible breakout to the upside
Ticker- DOGEUSDT.P
Price- 0.15844
Timeframe- 30
Period length- 377
Periods length
The script allows you to set the length of the period (number of bars) for which the calculation will be performed. Different periods allow you to cover more timeframes (in particular, larger timeframes). You can change up to 4 periods at a time. However, if you choose too large periods, the script may slow down and the loading time will increase. To increase the loading speed of the script, disable additional periods 3, 4, i.e. uncheck the corresponding checkboxes and use only fields 1 and 2 for periods, where you can also set the period length you need.
Percentage deviation of extremes from the trend line
The next settings are the percentage deviation of the extremes from the sloping line. The smaller the deviation, the more accurate and closer to the line the extreme bars should be, however, in this case the number of identification signals will be smaller. By default, the rejection zone is - 0.15%. On larger timeframes, the deviation can be set to be larger.
Not All FVGs Are The Same
Overview:
"Not All FVGs Are The Same" is a powerful TradingView indicator designed to pinpoint high-quality Fair Value Gaps (FVGs) on your chart. Unlike generic FVG tools, this indicator uses advanced filtering to highlight only the most significant gaps, helping traders identify high-probability setups with precision and clarity. With customizable visuals and real-time alerts, it’s built for traders who want to focus on meaningful market opportunities.
Why It’s Different:
This indicator stands out by detecting FVGs that meet strict criteria for quality, ensuring you’re not distracted by minor or unreliable gaps. It analyzes price action patterns and market volatility to confirm that each FVG represents a significant imbalance, perfect for spotting potential reversal or continuation zones.
Key Features:
High-Quality Detection: Identifies FVGs formed by strong, consistent price movements, filtering out weak or noisy gaps for reliable trading signals.
Volatility-Based Filtering: Uses market volatility to ensure only substantial FVGs are displayed, adapting to different market conditions.
Customizable Visuals: Marks FVGs with clear, semi-transparent boxes that show the gap’s range and duration, with an option to toggle labels for a clean chart.
Real-Time Alerts: Get instant notifications when new bullish or bearish FVGs are detected, keeping you ahead of the market.
Focused Display: Limits the number of FVGs shown to keep your chart uncluttered, emphasizing the most recent and relevant gaps.
User-Friendly Settings: Easily adjust sensitivity, gap size, and visual styles to match your trading strategy and preferences.
How It Helps Traders:
By focusing on high-quality FVGs, this indicator helps you identify key price levels where the market is likely to react. Whether you trade breakouts, reversals, or trend continuations, the clear visuals and precise detection make it easier to spot opportunities with confidence.
Settings:
ATR Length: Adjusts the volatility filter for FVG detection (default: 10).
Minimum FVG Size: Sets the smallest gap size to consider (default: 2 bars).
Show Last X FVGs: Controls how many recent FVGs are displayed (default: 20).
Enable Sensitivity Check: Turn on/off volatility-based filtering (default: on).
Allow Gaps Between Bars: Choose whether to include gaps with price discontinuities (default: off).
Show Labels: Toggle FVG detection labels on or off (default: on).
Style Options: Customize bullish/bearish FVG colors, text color, and label size for clear visuals.
How to Use:
Apply the indicator to your chart and tweak the settings to suit your market and timeframe. Enable alerts to stay updated on new FVGs in real-time. Use the boxes to identify key support/resistance zones and combine with your strategy for optimal trading decisions.
Note: Designed for efficiency, this indicator works smoothly across timeframes and instruments. Experiment with settings to find the best fit for your trading style, and use the toggleable labels to keep your chart clean when needed.
Algoway V4.2📌 Algoway V4.2 — Multi-layered Strategy Powered by ADX, MACD & PSO
Overview
Algoway V4.2 is a layered algorithmic strategy designed for volatility-rich assets like cryptocurrencies. While some core components (such as PSO, MACD, and ADX oscillators) are adapted from known indicator models, the original logic, state tracking, and Candle Strength Oscillator (CSO) are fully custom-developed.
This strategy is not a simple combination of tools — it implements a conditional entry-exit logic system based on ADX zone transitions, momentum structure, and MACD/PSO signal synchronization, enhanced by custom-built CSO filtering.
🧠 Key Modules and How They Work Together
PSO (Premium Stochastic Oscillator)
Used to confirm local oversold/overbought pressure. Acts as a directional filter.
MACD (Normalized)
Volatility-normalized MACD values allow consistent signal detection even on volatile pairs. It triggers entries when momentum begins shifting.
ADX Zonal Logic
Divides the market into Range / MidRange / Trend Peak zones. Entries are allowed only under specific transitions — e.g., long entries only in yellow (low volatility) zones or in trend climax zones under certain pullbacks.
CSO (Candle Strength Oscillator) — Custom Module
Designed to measure real candle momentum and price structure consistency. It avoids false breakouts and filters trend fatigue.
🔁 How Logic Works
Strategy maintains state variables to track entry type and zone.
Exit conditions depend on the entry origin: entries from "Range" exit in "Peak", while "Peak" entries exit during pullbacks or mid-strength trend reversals.
Additional logic prevents entries when signals are not aligned across modules, minimizing noise.
Optional CSO module acts as a final microstructure confirmation before executing MACD-based midpoint entries.
📊 Example Parameters (for 5M crypto scalping)
Each module is tuned to respond to 5-minute crypto volatility:
Stochastic: fast response, tight thresholds
MACD: shortened EMAs, normalized
ADX: traditional smoothing, custom thresholds for zone switching
CSO: candle-based dynamic filter with visual zone mapping
🧪 Conclusion
Algoway V4.2 is not a script merger — it is a custom logic engine using familiar technical components but governed by a proprietary decision model, with additional filters and dynamic variable tracking.
It’s suitable for scalping or swing setups, and the internal logic is optimized for real trading conditions, not just visual backtests.
Commodity Trend Reactor [BigBeluga]
🔵 OVERVIEW
A dynamic trend-following oscillator built around the classic CCI, enhanced with intelligent price tracking and reversal signals.
Commodity Trend Reactor extends the traditional Commodity Channel Index (CCI) by integrating trend-trailing logic and reactive reversal markers. It visualizes trend direction using a trailing stop system and highlights potential exhaustion zones when CCI exceeds extreme thresholds. This dual-level system makes it ideal for both trend confirmation and mean-reversion alerts.
🔵 CONCEPTS
Based on the CCI (Commodity Channel Index) oscillator, which measures deviation from the average price.
Trend bias is determined by whether CCI is above or below user-defined thresholds.
Trailing price bands are used to lock in trend direction visually on the main chart.
Extreme values beyond ±200 are treated as potential reversal zones.
🔵 FEATURES\
CCI-Based Trend Shifts:
Triggers a bullish bias when CCI crosses above the upper threshold, and bearish when it crosses below the lower threshold.
Adaptive Trailing Stops:
In bullish mode, a trailing stop tracks the lowest price; in bearish mode, it tracks the highest.
Top & Bottom Markers:
When CCI surpasses +200 or drops below -200, it plots colored squares both on the oscillator and on price, marking potential reversal zones.
Background Highlights:
Each time a trend shift occurs, the background is softly colored (lime for bullish, orange for bearish) to highlight the change.
🔵 HOW TO USE
Use the oscillator to monitor when CCI crosses above or below threshold values to detect trend activation.
Enter trades in the direction of the trailing band once the trend bias is confirmed.
Watch for +200 and -200 square markers as warnings of potential mean reversals.
Use trailing stop areas as dynamic support/resistance to manage stop loss and exit strategies.
The background color changes offer clean confirmation of trend transitions on chart.
🔵 CONCLUSION
Commodity Trend Reactor transforms the simple CCI into a complete trend-reactive framework. With real-time trailing logic and clear reversal alerts, it serves both momentum traders and contrarian scalpers alike. Whether you’re trading breakouts or anticipating mean reversions, this indicator provides clarity and structure to your decision-making.
DD IFVG [Pro+] (Dodgy)Introduction
DD IFVG° is an automated charting tool built to track inversion logic after displacement events—specifically when Fair Value Gaps (FVGs) are closed through and act as an inversion gap. The tool adheres to logic taught by DodgyDD and inspired by Inner Circle Trader (ICT) methodology, offering a clean visual interface to support traders studying price behaviour after liquidity sweeps, FVG closures, and delivery to targets.
This indicator does not draw zones or suggest direction. It operates entirely on confirmed price events and produces logic-bound visuals designed for traders who already understand IFVG-based reasoning and seek visual consistency across sessions and Timeframes.
Key Terms and Definitions
Swing High / Swing Low: A swing high is a local price peak with lower highs on either side. A swing low is a local trough with higher lows on either side. These are used to detect where liquidity may rest and are required for confirming the initial raid condition in the IFVG model.
Liquidity Raid: This occurs when price breaks a prior swing high or low, effectively “sweeping” a level where orders may be clustered. A raid is a required precursor to inversion logic in this model. The tool will not evaluate a potential Fair Value Gap or DD Inversion unless a swing high or low has been taken first.
Fair Value Gap (FVG): A Fair Value Gap is a price imbalance that occurs when a strong move leaves a gap between candles—specifically, when the high of one candle and the low of a later candle do not overlap. FVGs often emerge during displacement and are commonly studied as inefficiencies within a price leg.
DD Inversion: A DD inversion happens when price fully closes through an existing Fair Value Gap after raiding liquidity, suggesting the original imbalance rebalanced, and looks to reverse its original role. For example, when a bearish FVG is closed above after raiding a swing low, it may behave with a change of orderflow (bullish inversion). The tool recognizes IFVGs as “inverted” after a full-body candle closes through the gap post raid.
Displacement: A strong, directional price move—typically with momentum—that leaves a Fair Value Gap behind. Displacement is important in inversion logic, as it creates the context and confidence in comparing and contrasting FVGs and DD Inversions for obvious flips in market behaviour.
DD Line: Once inversion occurs, the tool draws a single horizontal array on the candle's close. It marks the model’s activation level—not a prediction level or a support/resistance zone. It serves as a reference for when model logic is sequentially active.
Opposing Swing: The swing high or low opposite the one that was swept during the initial raid. This becomes the model’s first target for mechanical delivery and is automatically drawn once the DD line is triggered. When price reaches this swing, the model has reached its objective and could offer opportunities for further continuation to additional liquidity pools.
Invalidation: A DD Inversion is considered invalid in one of two scenarios, which the user can toggle individually: a body print back above/below the inversion in bearish/bullish conditions, or trading above/below the most recent swing high/low after the liquidity raid in bearish/bullish conditions. The DD line will continue extending when traded to until the setup is invalidated, or when the Opposing Swing is reached.
Consequent Encroachment (CE): The midpoint (50%) of the FVG or IFVG. This line can be optionally displayed for users who use midpoint reference logic. It is not required by the model’s internal logic but may assist with discretionary interpretation.
Description
At its core, DD IFVG° follows a structured three-step logic sequence: a FVG is created, liquidity is taken, and the Fair Value Gap (FVG) inside of the leg of the raid is closed through, signally a potential orderflow shift. Once inversion is confirmed, a DD line is plotted at the close of the candle that caused the inversion, making it the structural anchor for the model.
The tool does not account for partial fills or candle wicks for FVGs or IFVGs. Only full-body closures through a qualifying FVG are recognized. When this occurs, a bullish or bearish inversion is validated and the model becomes active. From there, the opposing swing (the unswept high or low from the displacement leg) is automatically drawn as the target for the IFVG model.
The model remains active until either the opposing swing is tagged (completion) or Invalidation Condition is triggered (close through DD IFVG, or price violating the liquidity raid swing). Upon invalidation, the DD line turns gray, signalling that the structure is no longer valid for ongoing tracking.
Key Features
The Bias allows traders to define whether to track bullish inversions (closing above bearish FVGs), bearish inversions (closing below bullish FVGs), or neutral for both. This allows isolate directional focus or display all structures on the same chart mechanically.
The Liquidity Timeframe defines the Timeframe for swing highs and lows that are identified for the required liquidity raid. The Chart mode allows analysts to use the active chart Timeframe. Auto enables a custom Timeframe Alignment, explained inside of the setting tooltip. Custom allows for specific frame alignment, which is helpful when syncing with specific higher-Timeframe structure. Session allows the user to use session highs and lows for the liquidity raid. Observe the difference in the DD IFVG's frequency based on different Liquidity Timeframe configurations:
Chart:
Automatic:
Custom (1H):
Session:
The FVG Filter Timeframe requires the DD setup to trade into a FVG before qualifying the raid filter. For instance, setting this to 4H ensures that only setups that form within a 4-hour FVG. This gives analysts an additional filter to qualify the start of the mechanical model.
Session Filter enables traders to define up to four specific Time blocks when the model is permitted to trigger. The Macros Only toggle filters setups further by limiting activation to the first and last 10 minutes of each hour—a filter inspired for intraday traders and scalpers.
The Invalidation Condition determines when a DD inversion is considered not longer valid. Close will maintain the inversion as active until price prints a body past the DD IFVG. Swing will maintain the inversion as active until the most recent swing from the liquidity raid is traded through; in this case a warning will appear once price prints a candle body past the DD IFVG.
Model Style includes customizable controls for the DD line, the opposing swing marker, and invalidated states. Label appearance, line styles, and extension behaviour are fully user-controlled. Traders can also enable the Consequent Encroachment (CE) line, which marks the 50% midpoint of the FVG and IFVG.
An Info Table is available to display current model state, including user bias, active Timeframes, asset, and Time filter. Its position is fully customizable and can be moved to match chart preferences.
How Traders Can Use the Indicator Effectively
DD IFVG° is not meant to identify trade signals, entries, or exits. It is best used as a visual tracker and confluence for structure-based delivery, particularly for those following DodgyDD-style IFVG logic. The tool excels as a companion for:
Journaling and reviewing IFVG-based setups across Timeframes and sessions
Studying structural completion or invalidation behaviour
Tracking delayed deliveries and retracement-based logic
Traders using the tool should be familiar with FVG formation, inversion criteria, and the importance of opposing swing resolution.
Usage Guidance
Add DD IFVG° to a TradingView chart. This is a fractal script and can be applied across any Timeframe or asset pairing depending on your session model and preferences.
Use the DD line to track inversion structure, monitor when inversions are created and negated, and reference the opposing swing to determine whether structural delivery has completed.
Use the DD IFVG° in combination with your own discretion and narrative to assess when the model has flipped, held, or broken.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of any Toodegrees product. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.