TSI Indicator with Trailing StopTSI Indicator with Advanced Risk Management & Tick-Based Position Tracking
This comprehensive TSI (True Strength Index) indicator combines momentum analysis with professional risk management features, designed for active traders who need precise entry/exit signals with built-in position management.
Key Features:
🔹 Enhanced TSI Calculation - Classic TSI with customizable periods and signal line for crossover detection
🔹 Smart Signal Filtering - Threshold-based entries with momentum confirmation to reduce false signals
🔹 Tick-Based Risk Management - Stop loss and take profit levels calculated in ticks for precise position sizing
🔹 Advanced Trailing Stop - Dynamic trailing stop that activates after minimum profit threshold
🔹 Position Tracking - Real-time P&L calculation and position status monitoring
🔹 Visual Dashboard - Clean information panels showing current signals, position status, and key metrics
🔹 Background Coloring - Instant visual feedback for active positions
🔹 Comprehensive Alerts - Entry signals, trailing stop activation, and position exit notifications
Customizable Settings:
TSI periods (Long/Short/Signal lengths)
Risk parameters (Stop Loss/Take Profit in ticks)
Trailing stop configuration
Signal thresholds for entry filtering
Display options for clean chart presentation
Perfect for: Day traders, scalpers, and swing traders who need precise entries with disciplined risk management. Works on any timeframe and instrument that supports tick-based calculations.
The indicator plots all levels directly on the chart with color-coded risk zones, making it easy to visualize your trade setup at a glance. Educational tool for understanding TSI momentum patterns combined with systematic risk management principles.
Note: This is an educational indicator for analysis purposes. Past performance does not guarantee future results.
Penunjuk dan strategi
Internal Candle Strength [LuxAlgo]The Internal Candle Strength tool allows traders to divide each chart bar into multiple rows of custom size and inspect the strength of the lower timeframes trends located within each row.
This tool effectively helps traders in identifying the power dynamic between bulls and bears within multiple areas within each bar, providing the ability to conduct LTF analysis.
🔶 USAGE
The strength displayed within each row ranges from 0% to 100%, with 0% being the most bearish and 100% being the most bullish.
Traders should be aware of the extreme probabilities located at the higher/lower end of the bars, as this can signal a change in strength and price direction.
Traders can select the lower timeframe to pull the data from or the row size in the scale of the chart. Selecting a lower timeframe will provide more data to evaluate an area's strength.
Do note that only a timeframe lower than the chart timeframe should be selected.
🔹 Row Size
Selecting a smaller row size will increase the number of rows per bar, allowing for a more detailed analysis. A lower value will also generally mean that less data will be considered when calculating the strength of a specific area.
As we can see on the chart above (all BTCUSD 30m), by selecting a different row size, traders can control how many rows are displayed per bar.
🔶 SETTINGS
Timeframe: Lower timeframe used to calculate the candle strength.
Row Size: Size of each row on the chart scale, expressed as a fraction of the candle range.
MTF Candles [Fadi x MMT]MTF Candles
Overview
The MTF Candles indicator is a powerful tool designed for traders who want to visualize higher timeframe (HTF) candles directly on their current chart. Built with flexibility and precision in mind, this Pine Script indicator displays up to six higher timeframe candles, complete with customizable styling, sweeps, midpoints, fair value gaps (FVGs), volume imbalances, and trace lines. It’s perfect for multi-timeframe analysis, helping traders identify key levels, market structure, and potential trading opportunities with ease.
Key Features
- Multi-Timeframe Candles : Display up to six higher timeframe candles (e.g., 5m, 15m, 30m, 4H, 1D, 1W) on your chart, with configurable timeframes and visibility.
- Sweeps Detection : Identify liquidity sweeps (highs/lows) with customizable line styles, widths, and colors, plus optional alerts for confirmed bullish or bearish sweeps.
- Midpoint Lines : Plot the midpoint (average of high and low) of the previous HTF candle, with customizable color, width, and style for enhanced market analysis.
- Fair Value Gaps (FVGs) : Highlight gaps between non-adjacent candles, indicating potential areas of interest for price action.
- Volume Imbalances : Detect and display volume imbalances between adjacent candles, aiding in spotting significant price levels.
- Trace Lines : Connect HTF candle open, close, high, and low prices to their respective chart bars, with customizable styles and optional price labels.
- Custom Daily Open Times : Support for custom daily candle open times (Midnight, 8:30, or 9:30) to align with specific market sessions.
- Dynamic Labels : Show timeframe names, remaining time until the next HTF candle, and interval labels (e.g., day of the week for daily candles) with adjustable positions and sizes.
- Highly Customizable : Fine-tune candle appearance, spacing, padding, and visual elements to suit your trading style.
How It Works
The indicator renders HTF candles as boxes (bodies) and lines (wicks) on the right side of the chart, with each timeframe offset for clarity. It dynamically updates candles in real-time, tracks their highs and lows, and displays sweeps and midpoints when conditions are met. FVGs and volume imbalances are calculated based on candle relationships, and trace lines link HTF candle levels to their originating bars on the chart.
Sweep Logic
- A bearish sweep occurs when the current candle’s high exceeds the previous candle’s high, but the close is below it.
- A bullish sweep occurs when the current candle’s low falls below the previous candle’s low, but the close is above it.
- Sweeps are visualized as horizontal lines and can trigger alerts when confirmed on the next candle.
Midpoint Logic
- A midpoint line is drawn at the average of the previous HTF candle’s high and low, extending until the next HTF candle forms.
- Useful for identifying potential support/resistance or mean reversion levels.
Imbalance Detection
- FVGs : Identified when a candle’s low is above the next-but-one candle’s high (or vice versa), indicating a price gap.
- Volume Imbalances : Detected between adjacent candles where the body of one candle doesn’t overlap with the next, signaling potential liquidity zones.
Settings
Timeframe Settings
- HTF 1–6 : Enable/disable up to six higher timeframes (default: 5m, 15m, 30m, 4H, 1D, 1W) and set the maximum number of candles to display per timeframe (default: 4).
- Limit to Next HTFs : Restrict the number of active timeframes (1–6).
Styling
- Body, Border, Wick Colors : Customize bull and bear candle colors (default: light gray for bulls, dark gray for bears).
- Candle Width : Adjust the width of HTF candles (1–4).
- Padding and Spacing : Set the offset from the current price action and spacing between candles and timeframes.
Label Settings
- HTF Label : Show/hide timeframe labels (e.g., "15m", "4H") at the top/bottom of candle sets.
- Remaining Time : Display the countdown to the next HTF candle.
Interval Value: Show day of the week for daily candles or time for intraday candles.
- Label Position/Alignment : Choose to display labels at the top, bottom, or both, and align them with the highest/lowest candles or follow individual candle sets.
Imbalance Settings
- Fair Value Gap : Enable/disable FVGs with customizable color (default: semi-transparent gray).
- Volume Imbalance : Enable/disable volume imbalances with customizable color (default: semi-transparent red).
Trace Settings
- Trace Lines : Enable/disable lines connecting HTF candle levels to their chart bars, with customizable colors, styles (solid, dashed, dotted), and sizes.
- Price Labels : Show price levels for open, close, high, and low trace lines.
- Anchor : Choose whether trace lines anchor to the first or last enabled timeframe.
Sweep Settings
- Show Sweeps : Enable/disable sweep detection and visualization.
- Sweep Line : Customize color, width, and style (solid, dashed, dotted).
- Sweep Alert : Enable alerts for confirmed sweeps.
Midpoint Settings
- Show Midpoint : Enable/disable midpoint lines.
- Midpoint Line : Customize color (default: orange), width, and style (solid, dashed, dotted).
Custom Daily Open
Custom Daily Candle Open : Choose between Midnight, 8:30, or 9:30 (America/New_York) for daily candle opens.
Usage
- Add the indicator to your TradingView chart.
- Configure the desired higher timeframes (HTF 1–6) and enable/disable features via the settings panel.
- Adjust styling, labels, and spacing to match your chart preferences.
Use sweeps, midpoints, FVGs, and volume imbalances to identify key levels for trading decisions.
- Enable sweep alerts to receive notifications for confirmed liquidity sweeps.
Notes
Performance: The indicator is optimized for up to 500 boxes, lines, and labels, with a maximum of 5000 bars back. Can be slow at a time
Time Zone: Custom daily opens use the America/New_York time zone for consistency with major financial markets.
Compatibility: Ensure selected HTFs are valid (higher than the chart’s timeframe and divisible by it for intraday periods).
VoVix DEVMA🌌 VoVix DEVMA: A Deep Dive into Second-Order Volatility Dynamics
Welcome to VoVix+, a sophisticated trading framework that transcends traditional price analysis. This is not merely another indicator; it is a complete system designed to dissect and interpret the very fabric of market volatility. VoVix+ operates on the principle that the most powerful signals are not found in price alone, but in the behavior of volatility itself. It analyzes the rate of change, the momentum, and the structure of market volatility to identify periods of expansion and contraction, providing a unique edge in anticipating major market moves.
This document will serve as your comprehensive guide, breaking down every mathematical component, every user input, and every visual element to empower you with a profound understanding of how to harness its capabilities.
🔬 THEORETICAL FOUNDATION: THE MATHEMATICS OF MARKET DYNAMICS
VoVix+ is built upon a multi-layered mathematical engine designed to measure what we call "second-order volatility." While standard indicators analyze price, and first-order volatility indicators (like ATR) analyze the range of price, VoVix+ analyzes the dynamics of the volatility itself. This provides insight into the market's underlying state of stability or chaos.
1. The VoVix Score: Measuring Volatility Thrust
The core of the system begins with the VoVix Score. This is a normalized measure of volatility acceleration or deceleration.
Mathematical Formula:
VoVix Score = (ATR(fast) - ATR(slow)) / (StDev(ATR(fast)) + ε)
Where:
ATR(fast) is the Average True Range over a short period, representing current, immediate volatility.
ATR(slow) is the Average True Range over a longer period, representing the baseline or established volatility.
StDev(ATR(fast)) is the Standard Deviation of the fast ATR, which measures the "noisiness" or consistency of recent volatility.
ε (epsilon) is a very small number to prevent division by zero.
Market Implementation:
Positive Score (Expansion): When the fast ATR is significantly higher than the slow ATR, it indicates a rapid increase in volatility. The market is "stretching" or expanding.
Negative Score (Contraction): When the fast ATR falls below the slow ATR, it indicates a decrease in volatility. The market is "coiling" or contracting.
Normalization: By dividing by the standard deviation, we normalize the score. This turns it into a standardized measure, allowing us to compare volatility thrust across different market conditions and timeframes. A score of 2.0 in a quiet market means the same, relatively, as a score of 2.0 in a volatile market.
2. Deviation Analysis (DEV): Gauging Volatility's Own Volatility
The script then takes the analysis a step further. It calculates the standard deviation of the VoVix Score itself.
Mathematical Formula:
DEV = StDev(VoVix Score, lookback_period)
Market Implementation:
This DEV value represents the magnitude of chaos or stability in the market's volatility dynamics. A high DEV value means the volatility thrust is erratic and unpredictable. A low DEV value suggests the change in volatility is smooth and directional.
3. The DEVMA Crossover: Identifying Regime Shifts
This is the primary signal generator. We take two moving averages of the DEV value.
Mathematical Formula:
fastDEVMA = SMA(DEV, fast_period)
slowDEVMA = SMA(DEV, slow_period)
The Core Signal:
The strategy triggers on the crossover and crossunder of these two DEVMA lines. This is a profound concept: we are not looking at a moving average of price or even of volatility, but a moving average of the standard deviation of the normalized rate of change of volatility.
Bullish Crossover (fastDEVMA > slowDEVMA): This signals that the short-term measure of volatility's chaos is increasing relative to the long-term measure. This often precedes a significant market expansion and is interpreted as a bullish volatility regime.
Bearish Crossunder (fastDEVMA < slowDEVMA): This signals that the short-term measure of volatility's chaos is decreasing. The market is settling down or contracting, often leading to trending moves or range consolidation.
⚙️ INPUTS MENU: CONFIGURING YOUR ANALYSIS ENGINE
Every input has been meticulously designed to give you full control over the strategy's behavior. Understanding these settings is key to adapting VoVix+ to your specific instrument, timeframe, and trading style.
🌀 VoVix DEVMA Configuration
🧬 Deviation Lookback: This sets the lookback period for calculating the DEV value. It defines the window for measuring the stability of the VoVix Score. A shorter value makes the system highly reactive to recent changes in volatility's character, ideal for scalping. A longer value provides a smoother, more stable reading, better for identifying major, long-term regime shifts.
⚡ Fast VoVix Length: This is the lookback period for the fastDEVMA. It represents the short-term trend of volatility's chaos. A smaller number will result in a faster, more sensitive signal line that reacts quickly to market shifts.
🐌 Slow VoVix Length: This is the lookback period for the slowDEVMA. It represents the long-term, baseline trend of volatility's chaos. A larger number creates a more stable, slower-moving anchor against which the fast line is compared.
How to Optimize: The relationship between the Fast and Slow lengths is crucial. A wider gap (e.g., 20 and 60) will result in fewer, but potentially more significant, signals. A narrower gap (e.g., 25 and 40) will generate more frequent signals, suitable for more active trading styles.
🧠 Adaptive Intelligence
🧠 Enable Adaptive Features: When enabled, this activates the strategy's performance tracking module. The script will analyze the outcome of its last 50 trades to calculate a dynamic win rate.
⏰ Adaptive Time-Based Exit: If Enable Adaptive Features is on, this allows the strategy to adjust its Maximum Bars in Trade setting based on performance. It learns from the average duration of winning trades. If winning trades tend to be short, it may shorten the time exit to lock in profits. If winners tend to run, it will extend the time exit, allowing trades more room to develop. This helps prevent the strategy from cutting winning trades short or holding losing trades for too long.
⚡ Intelligent Execution
📊 Trade Quantity: A straightforward input that defines the number of contracts or shares for each trade. This is a fixed value for consistent position sizing.
🛡️ Smart Stop Loss: Enables the dynamic stop-loss mechanism.
🎯 Stop Loss ATR Multiplier: Determines the distance of the stop loss from the entry price, calculated as a multiple of the current 14-period ATR. A higher multiplier gives the trade more room to breathe but increases risk per trade. A lower multiplier creates a tighter stop, reducing risk but increasing the chance of being stopped out by normal market noise.
💰 Take Profit ATR Multiplier: Sets the take profit target, also as a multiple of the ATR. A common practice is to set this higher than the Stop Loss multiplier (e.g., a 2:1 or 3:1 reward-to-risk ratio).
🏃 Use Trailing Stop: This is a powerful feature for trend-following. When enabled, instead of a fixed stop loss, the stop will trail behind the price as the trade moves into profit, helping to lock in gains while letting winners run.
🎯 Trail Points & 📏 Trail Offset ATR Multipliers: These control the trailing stop's behavior. Trail Points defines how much profit is needed before the trail activates. Trail Offset defines how far the stop will trail behind the current price. Both are based on ATR, making them fully adaptive to market volatility.
⏰ Maximum Bars in Trade: This is a time-based stop. It forces an exit if a trade has been open for a specified number of bars, preventing positions from being held indefinitely in stagnant markets.
⏰ Session Management
These inputs allow you to confine the strategy's trading activity to specific market hours, which is crucial for day trading instruments that have defined high-volume sessions (e.g., stock market open).
🎨 Visual Effects & Dashboard
These toggles give you complete control over the on-chart visuals and the dashboard. You can disable any element to declutter your chart or focus only on the information that matters most to you.
📊 THE DASHBOARD: YOUR AT-A-GLANCE COMMAND CENTER
The dashboard centralizes all critical information into one compact, easy-to-read panel. It provides a real-time summary of the market state and strategy performance.
🎯 VOVIX ANALYSIS
Fast & Slow: Displays the current numerical values of the fastDEVMA and slowDEVMA. The color indicates their direction: green for rising, red for falling. This lets you see the underlying momentum of each line.
Regime: This is your most important environmental cue. It tells you the market's current state based on the DEVMA relationship. 🚀 EXPANSION (Green) signifies a bullish volatility regime where explosive moves are more likely. ⚛️ CONTRACTION (Purple) signifies a bearish volatility regime, where the market may be consolidating or entering a smoother trend.
Quality: Measures the strength of the last signal based on the magnitude of the DEVMA difference. An ELITE or STRONG signal indicates a high-conviction setup where the crossover had significant force.
PERFORMANCE
Win Rate & Trades: Displays the historical win rate of the strategy from the backtest, along with the total number of closed trades. This provides immediate feedback on the strategy's historical effectiveness on the current chart.
EXECUTION
Trade Qty: Shows your configured position size per trade.
Session: Indicates whether trading is currently OPEN (allowed) or CLOSED based on your session management settings.
POSITION
Position & PnL: Displays your current position (LONG, SHORT, or FLAT) and the real-time Profit or Loss of the open trade.
🧠 ADAPTIVE STATUS
Stop/Profit Mult: In this simplified version, these are placeholders. The primary adaptive feature currently modifies the time-based exit, which is reflected in how long trades are held on the chart.
🎨 THE VISUAL UNIVERSE: DECIPHERING MARKET GEOMETRY
The visuals are not mere decorations; they are geometric representations of the underlying mathematical concepts, designed to give you an intuitive feel for the market's state.
The Core Lines:
FastDEVMA (Green/Maroon Line): The primary signal line. Green when rising, indicating an increase in short-term volatility chaos. Maroon when falling.
SlowDEVMA (Aqua/Orange Line): The baseline. Aqua when rising, indicating a long-term increase in volatility chaos. Orange when falling.
🌊 Morphism Flow (Flowing Lines with Circles):
What it represents: This visualizes the momentum and strength of the fastDEVMA. The width and intensity of the "beam" are proportional to the signal strength.
Interpretation: A thick, steep, and vibrant flow indicates powerful, committed momentum in the current volatility regime. The floating '●' particles represent kinetic energy; more particles suggest stronger underlying force.
📐 Homotopy Paths (Layered Transparent Boxes):
What it represents: These layered boxes are centered between the two DEVMA lines. Their height is determined by the DEV value.
Interpretation: This visualizes the overall "volatility of volatility." Wider boxes indicate a chaotic, unpredictable market. Narrower boxes suggest a more stable, predictable environment.
🧠 Consciousness Field (The Grid):
What it represents: This grid provides a historical lookback at the DEV range.
Interpretation: It maps the recent "consciousness" or character of the market's volatility. A consistently wide grid suggests a prolonged period of chaos, while a narrowing grid can signal a transition to a more stable state.
📏 Functorial Levels (Projected Horizontal Lines):
What it represents: These lines extend from the current fastDEVMA and slowDEVMA values into the future.
Interpretation: Think of these as dynamic support and resistance levels for the volatility structure itself. A crossover becomes more significant if it breaks cleanly through a prior established level.
🌊 Flow Boxes (Spaced Out Boxes):
What it represents: These are compact visual footprints of the current regime, colored green for Expansion and red for Contraction.
Interpretation: They provide a quick, at-a-glance confirmation of the dominant volatility flow, reinforcing the background color.
Background Color:
This provides an immediate, unmistakable indication of the current volatility regime. Light Green for Expansion and Light Aqua/Blue for Contraction, allowing you to assess the market environment in a split second.
📊 BACKTESTING PERFORMANCE REVIEW & ANALYSIS
The following is a factual, transparent review of a backtest conducted using the strategy's default settings on a specific instrument and timeframe. This information is presented for educational purposes to demonstrate how the strategy's mechanics performed over a historical period. It is crucial to understand that these results are historical, apply only to the specific conditions of this test, and are not a guarantee or promise of future performance. Market conditions are dynamic and constantly change.
Test Parameters & Conditions
To ensure the backtest reflects a degree of real-world conditions, the following parameters were used. The goal is to provide a transparent baseline, not an over-optimized or unrealistic scenario.
Instrument: CME E-mini Nasdaq 100 Futures (NQ1!)
Timeframe: 5-Minute Chart
Backtesting Range: March 24, 2024, to July 09, 2024
Initial Capital: $100,000
Commission: $0.62 per contract (A realistic cost for futures trading).
Slippage: 3 ticks per trade (A conservative setting to account for potential price discrepancies between order placement and execution).
Trade Size: 1 contract per trade.
Performance Overview (Historical Data)
The test period generated 465 total trades , providing a statistically significant sample size for analysis, which is well above the recommended minimum of 100 trades for a strategy evaluation.
Profit Factor: The historical Profit Factor was 2.663 . This metric represents the gross profit divided by the gross loss. In this test, it indicates that for every dollar lost, $2.663 was gained.
Percent Profitable: Across all 465 trades, the strategy had a historical win rate of 84.09% . While a high figure, this is a historical artifact of this specific data set and settings, and should not be the sole basis for future expectations.
Risk & Trade Characteristics
Beyond the headline numbers, the following metrics provide deeper insight into the strategy's historical behavior.
Sortino Ratio (Downside Risk): The Sortino Ratio was 6.828 . Unlike the Sharpe Ratio, this metric only measures the volatility of negative returns. A higher value, such as this one, suggests that during this test period, the strategy was highly efficient at managing downside volatility and large losing trades relative to the profits it generated.
Average Trade Duration: A critical characteristic to understand is the strategy's holding period. With an average of only 2 bars per trade , this configuration operates as a very short-term, or scalping-style, system. Winning trades averaged 2 bars, while losing trades averaged 4 bars. This indicates the strategy's logic is designed to capture quick, high-probability moves and exit rapidly, either at a profit target or a stop loss.
Conclusion and Final Disclaimer
This backtest demonstrates one specific application of the VoVix+ framework. It highlights the strategy's behavior as a short-term system that, in this historical test on NQ1!, exhibited a high win rate and effective management of downside risk. Users are strongly encouraged to conduct their own backtests on different instruments, timeframes, and date ranges to understand how the strategy adapts to varying market structures. Past performance is not indicative of future results, and all trading involves significant risk.
🔧 THE DEVELOPMENT PHILOSOPHY: FROM VOLATILITY TO CLARITY
The journey to create VoVix+ began with a simple question: "What drives major market moves?" The answer is often not a change in price direction, but a fundamental shift in market volatility. Standard indicators are reactive to price. We wanted to create a system that was predictive of market state. VoVix+ was designed to go one level deeper—to analyze the behavior, character, and momentum of volatility itself.
The challenge was twofold. First, to create a robust mathematical model to quantify these abstract concepts. This led to the multi-layered analysis of ATR differentials and standard deviations. Second, to make this complex data intuitive and actionable. This drove the creation of the "Visual Universe," where abstract mathematical values are translated into geometric shapes, flows, and fields. The adaptive system was intentionally kept simple and transparent, focusing on a single, impactful parameter (time-based exits) to provide performance feedback without becoming an inscrutable "black box." The result is a tool that is both profoundly deep in its analysis and remarkably clear in its presentation.
⚠️ RISK DISCLAIMER AND BEST PRACTICES
VoVix+ is an advanced analytical tool, not a guarantee of future profits. All financial markets carry inherent risk. The backtesting results shown by the strategy are historical and do not guarantee future performance. This strategy incorporates realistic commission and slippage settings by default, but market conditions can vary. Always practice sound risk management, use position sizes appropriate for your account equity, and never risk more than you can afford to lose. It is recommended to use this strategy as part of a comprehensive trading plan. This was developed specifically for Futures
"The prevailing wisdom is that markets are always right. I take the opposite view. I assume that markets are always wrong. Even if my assumption is occasionally wrong, I use it as a working hypothesis."
— George Soros
— Dskyz, Trade with insight. Trade with anticipation.
PUNPORTFX MARKET STRUCTURE CHECK LiteIt is used for viewing trends with MACD and trend, showing it in a simple graphic.
Scalping Candle [Crak x MMT]The Scalping Candle is a TradingView indicator designed for scalping strategies, identifying potential bullish and bearish engulfing patterns on price charts. It overlays directly on the chart and marks specific candle patterns with visual signals, helping traders spot short-term trading opportunities. The indicator includes a customizable bias filter to focus on bullish, bearish, or neutral market conditions.
Features
Overlay Indicator : Displays bullish and bearish signals directly on the price chart.
Bias Filter : Allows users to select a market bias ('Bullish', 'Bearish', or 'Neutral') to filter signals based on their trading preference.
Visual Signals : Plots green upward triangles below bullish candles and red downward triangles above bearish candles.
Alerts : Generates alerts for bullish and bearish engulfing patterns, enabling timely notifications for trade setups.
How It Works
The indicator analyzes the relationship between the current and previous candles to detect engulfing patterns:
Bullish Engulfing : Triggered when the current candle's low is at or below the previous candle's low, and its close is at or above the previous candle's midpoint. This signal is displayed only if the bias filter is set to 'Neutral' or 'Bullish'.
Bearish Engulfing : Triggered when the current candle's high is at or above the previous candle's high, and its close is at or below the previous candle's midpoint. This signal is displayed only if the bias filter is set to 'Neutral' or 'Bearish'.
The previous candle's midpoint is calculated as the average of its high and low prices.
Usage
- Add to Chart : Apply the indicator to any TradingView chart.
- Configure Bias Filter :
Neutral : Displays both bullish and bearish signals.
Bullish : Displays only bullish signals.
Bearish : Displays only bearish signals.
- Interpret Signals :
Green upward triangle below a candle indicates a potential bullish reversal.
Red downward triangle above a candle indicates a potential bearish reversal.
- Set Alerts : Use the built-in alert conditions to receive notifications when bullish or bearish engulfing patterns are detected.
Settings
Bias Filter : Choose between 'Neutral', 'Bullish', or 'Bearish' to control which signals are displayed.
Shape Size : Signals are plotted as small triangles for minimal chart clutter.
Alert Conditions : Enable alerts for 'Bullish Engulfing Detected' or 'Bearish Engulfing Detected' to stay informed of new signals.
Ideal Use Case
This indicator is tailored for scalpers and short-term traders looking to capitalize on quick price movements driven by engulfing candle patterns. It works best on 15-minute chart and can be combined with other technical tools for confirmation.
Buy High, Cry Later™ [v.1]🟢 Buy Signal Logic:
RSI > 200? Buy.
MACD crossing in the opposite direction? Buy harder.
A green candle appeared? That’s bullish af.
Elon tweeted something? YOLO all-in.
Signal confirmed by 2 pigeons landing on your window.
🔴 Sell Signal Logic:
Price down 0.1%? Panic sell.
Your neighbor just bought in? Dump it.
Wife walks in? Liquidate everything and pretend you're doing taxes.
Trade hit breakeven? Close immediately, you're not greedy.
💬 Alerts Include:
“Moon incoming 🚀🚀 (probably...)”
“Dump detected – but it might reverse. Or not. Who knows.”
“Just close the chart and go outside, man.”
🛠️ Features:
Ultra-premium “Repaint Mode” – only shows correct signals after they worked.
Martingale-enhanced entries: “Double down or cry trying.”
AI-enhanced backtest: 100% win rate on cherry-picked data from 2003.
⚠️ Disclaimer:
This tool may cause excessive optimism, overtrading, or spontaneous weeping. Not responsible for margin calls or emotional damage.
EdgeXplorer - Smart Candle Patterns + SwingsEdgeXplorer – Smart Candle Patterns & Swings
Smart Candle Patterns & Swings by EdgeXplorer is a dual-function visual analysis tool that intelligently detects major swing points and overlays them with recognized candle reversal patterns. This tool brings together classical candlestick analysis and market structure theory, helping traders identify high-probability zones where price action may shift.
The script not only marks swing highs/lows as HH, LH, HL, or LL, but also labels key candlestick patterns—from Hammers to Engulfings to Three Black Crows—providing real-time context for possible trend continuation or reversal setups.
⸻
🔍 What Does This Tool Do?
This indicator performs two primary functions:
1. Swing Structure Labeling – Marks each new pivot as a higher high (HH), lower high (LH), higher low (HL), or lower low (LL)
2. Smart Candle Pattern Detection – Identifies 14 of the most widely studied candlestick reversal patterns and displays them alongside the swing label
It’s a lightweight, unobtrusive way to bring structure and pattern recognition to your chart—no repainting, no noise, and no signal promises.
⸻
⚙️ How It Works – Technical Breakdown
1. Swing Highs and Lows
• The script uses a pivot detection window (Pivot Length) to find local swing highs and lows
• When a new pivot forms:
• It is classified as one of:
• HH – Higher High
• LH – Lower High
• HL – Higher Low
• LL – Lower Low
• These swing points act as visual guides for traders tracking structure
2. Candlestick Pattern Logic
At each confirmed pivot, the script evaluates the candle and its neighbors for a match from a built-in library of 14 classical reversal patterns:
Pattern Description
Hammer Small body, long lower wick – bullish signal after a downtrend
Inverted Hammer Long upper wick, signals failed bearish push
Bullish Engulfing Green candle fully engulfs red one
Bearish Engulfing Red candle fully engulfs green one
Hanging Man Long lower wick after uptrend, often bearish
Shooting Star Long upper wick after uptrend, bearish signal
Doji Small or zero body, signals indecision
Morning Star Three-candle bullish reversal pattern
Evening Star Three-candle bearish reversal pattern
Spinning Top Small body with upper/lower wicks, signals indecision
Bullish Marubozu Large green candle with no wicks
Bearish Marubozu Large red candle with no wicks
Three White Soldiers Three large bullish candles in a row
Three Black Crows Three large bearish candles in a row
Each pattern is detected using precise criteria based on body size, wick ratios, and relative position to previous candles.
⸻
📈 What You See on the Chart
Visual Meaning
Swing Label (e.g., HH, LL) Identifies structural pivot and its type
Pattern Name (e.g., Doji, Bullish Engulfing) Displayed alongside swing label if pattern is detected
Label Tooltip Shows a short description of the pattern’s meaning
Color
• Swing High = red (customizable)
• Swing Low = green (customizable)
⸻
📊 Inputs & Customization
Input Description
Pivot Length Number of bars to the left/right used to confirm swing highs/lows
Swing High Label Color Customize color of HH/LH labels
Swing Low Label Color Customize color of HL/LL labels
All labels are plotted using small visual markers to avoid cluttering the chart.
⸻
🧠 How to Interpret It in Live Markets
This indicator provides context, not confirmation. Use it to:
• Validate your manual swing structure tracking with automatic HH/LL labels
• Identify when a key candle pattern forms at a major swing (e.g., Shooting Star at a HH)
• Spot potential reversal zones or breakout failures
• Add confluence to Smart Money Concepts, price action setups, or other technical strategies
Example:
• A new LL forms with a Hammer → Potential reversal from bearish exhaustion
• A HH forms with a Shooting Star → Possible trap or overextension
⸻
🧪 Use Case Ideas
• 🔄 Reversal Confirmation – Combine swing structure with pattern match for early reversal entries
• 🧭 Structure Validation – Let the HH/LL labels validate your trend bias
• 📉 Exhaustion Signals – Watch for Doji/Spinning Top patterns at mature moves
• ⚠️ Avoid Choppy Conditions – Use absence of patterns to avoid entering low-conviction zones
This tool works across all asset classes: crypto, forex, stocks, indices, and even futures.
God Tier Log (daily)Modified Version of the best log chart around .
You can set this version on Daily timeframe and it has a extra Band , need to use BLX Bitcoin chart for it to work.
original version
BOR + 08:28BOR + TIME: Precision 1-Minute Opening Range Analysis
METHODOLOGY OVERVIEW
This indicator implements a proprietary time-based trading methodology that combines opening range analysis with precision timing algorithms designed exclusively for 1-minute charts during the New York trading session.
CORE ALGORITHM COMPONENTS
1. Bond Opening Range (BOR) Identification
- Captures the complete price range during 08:00-09:00 NY time
- Establishes the foundational trading range for the session
- Uses high-precision minute-level data to define exact boundaries
2. Critical Time Level Analysis (08:28 Candle)
- Identifies the 08:28-08:29 minute candle as a key reference point
- This specific timing represents a critical juncture before market open
- Captures the exact high/low range of this precise minute
3. Directional Bias Determination (09:00 Analysis)
- At exactly 09:00, compares current price position relative to 08:28 boundaries
- Above 08:28 High: Activates support-seeking mode (bullish bias)
- Below 08:28 Low: Activates resistance-seeking mode (bearish bias)
- Inside 08:28 Range: No directional bias established
4. Dynamic Standard Deviation Projections
- Uses the 08:28 candle range as the mathematical basis for standard deviation calculations
- Support Mode: Projects levels below 08:28 low using range multipliers (-1σ, -2σ, -3σ, -4σ)
- Resistance Mode: Projects levels above 08:28 high using range multipliers (+1σ, +2σ, +3σ, +4σ)
- Levels are active only during 09:00-10:30 trading window
UNIQUE FEATURES
Conditional Logic Engine
- Real-time directional switching based on 09:00 price position
- No static levels - everything adapts to intraday price action
- Eliminates noise by focusing on specific time windows
Precision Timing Requirements
- Requires exact 1-minute timeframe for accurate calculations
- Time-sensitive algorithm that relies on minute-by-minute analysis
- Optimized for high-frequency intraday trading decisions
Mathematical Framework
- Standard deviations calculated using actual candle range data
- Dynamic level spacing based on market volatility (08:28 range)
- Four-tier projection system for multiple target/stop levels
TRADING APPLICATION
Best Used For:
- ES, NQ, YM and other liquid index futures
- Active day trading during NY session (07:00-12:00)
- Scalping and short-term reversal strategies
- Intraday support/resistance identification
Signal Interpretation:
- Red lines represent potential reversal zones
- Direction determined by 09:00 vs 08:28 relationship
- Multiple standard deviation levels provide layered entry/exit points
- Time-restricted plotting ensures relevance during active trading hours
IMPORTANT REQUIREMENTS
- ONLY works on 1-minute charts - precision timing is essential
- Designed for New York trading session (futures markets)
- Most effective during high-volume trading periods
CUSTOMIZATION OPTIONS
- Toggle BOR box visibility and transparency
- Enable/disable 08:28 candle highlighting
- Adjust visual elements (colors, transparency)
- Show/hide range information labels
MTF Trend + SMC Structure (EMA/SMA Mix - HH/HL)Objective
To provide a quick, visual, and reliable reading of market trends and structure.
Combines dynamic moving averages and SMC (market structure) logic.
Effectively integrates into the chart via a clear table displayed in the top right corner.
📊 What the indicator displays (by timeframe: M5, M15, M30, H1, H4, D1, W1)
🟢 1. MA Trend
Based on two moving averages (short and long).
Average Type:
EMA for M5 to M30 (reactive)
SMA for H1 to Weekly (smoother)
Display:
🟢 Up if short MA > long MA
🔴 Down if short MA < long MA
Customizable lengths per timeframe
🧱 2. Structure (SMC logic)
Detects Higher High / Higher Low and Lower High / Lower Low
Based on significant pivots (pivothigh, pivotlow)
Logic inspired by SMC swing trading
Display:
🟢 Up = bullish structure (HH + HL)
🔴 Down = bearish structure (LH + LL)
⚪ Neutral = no clear structure
✅ Advantages
🔍 Instant view of the overall multi-timeframe context
📉 Combines trend by MA and SMC structure
🎯 Helps filter out bad entries Countertrend
⚡️ Very useful for intraday, swing, or SMC traders
OA - RS HistogramOA - RS Histogram Indicator
This indicator displays a histogram representation of Relative Strength (RS) analysis, helping traders visualize the momentum relationship between a security and a reference index.
Key Features:
RS Histogram: Shows the difference between the current RS ratio and its EMA smoothed line
Customizable Reference Index: Default set to XU100, but can be changed to any index
EMA Smoothing: Adjustable EMA period (default 21) for trend analysis
Visual Clarity: Histogram bars are colored aqua for positive values and purple for negative values
Zero Line Reference: Dotted gray line for easy identification of positive/negative zones
How It Works:
The indicator calculates the relative strength by comparing the normalized percentage changes of the current security against the selected reference index. A 5-period EMA is applied to the RS ratio, and then the difference between this smoothed RS line and a longer EMA (default 21 periods) is displayed as a histogram.
Technical Calculation:
Fetches reference index data with proper gap handling
Calculates normalized percentage changes for both security and index
Computes relative strength ratio
Applies EMA smoothing to reduce noise
Displays the difference as a histogram for clear momentum visualization
Customization Options:
Reference index selection (default: XU100)
EMA length adjustment (default: 21 periods)
Color customization for positive and negative histogram bars
Alert Conditions:
Histogram crossing above zero (potential bullish momentum shift)
Histogram crossing below zero (potential bearish momentum shift)
Usage:
This tool helps traders understand relative strength concepts through visual histogram representation. The zero-line crossovers can indicate momentum shifts in the security relative to the chosen benchmark index.
Hidden Markov ModelOverview
This model uses a Hidden Markov Model to identify and predict market regimes in real-time. It is designed to probabilistically identify market regime changes and predict potential reversal point using a forward algorithm to calculate the probability of a state.
Unlike traditional technical indicators that rely on price patterns or moving averages, this HMM analyses the underlying statistical structure of market movements to detect when the market transitions between different behavioural states such as trending, ranging, or volatile periods
How it works
The HMM assumes that market behavior follows hidden states that aren't directly observable, but can be inferred from observable market data (emissions). The model uses a (somewhat simplified) Bayesian inference to estimate these probabilities.
State 0: (Normal Trading): Market continuation patterns, balanced buying/selling
State 1: (Top Formation): Exhaustion patterns at price highs
State 2: (Bottom Formation): Capitulation patterns at price lows
How to use
1) Identify the trend (you can also use it counter-trend)
2) For longing, look for a green arrow. The probability values should be red. For shorting, look for a red arrow. The probability values should be green
3) For added confluence, look for high probability values of above 25%.
Advantages and what makes it unique
Unlike moving averages or oscillators that react to price changes, the HMM proactively identifies the underlying market structure. This forward-looking approach can signal regime changes before they become apparent in price action, providing traders with an informational edge.
Triangular Fib🔍 Features
- Dynamic Lookback & Projection: Automatically adjusts the range and projection horizon based on timeframe changes.
- Triangular Fibonacci Arms: Projects fib levels upward and downward from high/low extremes to highlight potential price inflections.
- Volatility-Shaded Equilibrium: Visual zone highlights areas of consolidation or energy buildup before breakouts.
- Breakout Alerts: Detects and signals bullish/bearish breakouts from triangular fib thresholds.
- Auto-Traced Triangle Wedge: Dotted wedge lines visually represent narrowing price action from range extremes to midpoint.
Ideal for traders who seek visual clarity, price symmetry, and alert-driven decision-making across multiple timeframes. Whether you're swing trading or intraday scouting, this script provides a richly layered roadmap of market potential.
Not financial advice.
Highs and Lows By ScalprHighs & Lows (HL) – Multi-Time-Frame Levels
What It Does
Highs & Lows plots the most important reference levels for up to four different time-frames at once. It displays divider lines that mark the start of each new period, opening lines showing the first price of the period, highs lines tracking the highest price reached, and lows lines tracking the lowest price reached in each period. Use it to read market structure at a glance, trade opening-range returns, gap fills, sweeps and other level-based setups.
Key Features
Multi-Time-Frame Engine
Choose from 4 Hour, 1 Hour, 30 minutes, 15 minutes, 10 minutes, 5 minutes, Daily, Weekly or Monthly for each of the four slots. Turn individual slots on/off from one global panel for easy management.
Per-Time-Frame Display Controls
For every active slot you can independently toggle divider lines, opening lines, highs lines, lows lines, and hide current opening to keep only completed periods visible.
Smart "Show Last X" Filters
Keep charts clean by limiting history. Control how many recent periods to show for lines and how many recent text labels to display. For example, show only the last 2 hours on a 1-hour chart.
Hide Swept Highs/Lows
Automatically hide any highs or lows that price has traded through, keeping your chart clean and focused only on unswept levels that remain relevant.
Text Labels
Add optional custom text for highs and lows like "H1" and "L1". Labels automatically position above highs and below lows with horizontal alignment options of left, center, or right. Adjust color, size and font weight to match your preferences.
Styling Freedom
Independent color, line style including solid, dashed, or dotted options, and width settings for each level type. Transparency is applied automatically when hiding current period information.
How to Use
Start by enabling the time-frame slots you need in Global Settings. In Multi-Time-Frame Settings, pick the interval for each slot and toggle which lines you want displayed. Fine-tune visibility using "Show Last X" in Time-Frame Lines to limit historical lines, and "Show Last X" in Text to limit labels. Adjust colors and widths in the Time-Frame Lines sections to match your chart theme.
Notes
The script is lightweight and deletes old objects in real time to maintain TradingView's limits. It works on any symbol and chart resolution with levels updating live. Text labels are purely textual with no background boxes to maximize clarity and reduce chart clutter.
Happy trading and stay level-headed!
Higher High Lower Low Multi-TF📊 Higher High Lower Low Multi-Timeframe Indicator
Detects market structure shifts (HH, HL, LH, LL)
Identifies trend direction (bullish / bearish / neutral)
Works across multiple timeframes (M5 to Weekly)
Displays a compact trend summary table on the chart
Customizable pivot sensitivity (Left/Right Bars)
Visual labels on chart for structure points
Ideal for structure-based trading and SMC traders
DP_ORB Entry & Exit IndicatorDisclaimer:
This indicator is for educational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Also, I cannot take full credit for 'ORB' as its a well known strategy amongst many traders, but I do need to give a special shout out to @TheBigDaddyMax for putting me on to this.
DP_ORB Entry & Exit Indicator
Description:
The DP_ORB Entry & Exit Indicator is a powerful tool designed for traders who utilize the Opening Range Breakout (ORB) strategy on the NYSE session. This indicator visually identifies the initial volatility window of the trading day, by marking the 15m High, and 15m Low into a ORB Box, & then tracks breakout opportunities, and provides clear, dynamic trade management levels—all directly on your chart.
Key Features:
Automatic Opening Range (ORB) Box:
Identifies and plots the high and low of the user-defined opening range (default 9:30–9:45 NYSE) for visual reference and strategy foundation.
Breakout Entry Signals:
Automatically detects and marks long or short breakout entries when price closes above or below the ORB range, with additional momentum confirmation.
Dynamic Stop Loss:
Stop loss is intelligently set to the previous bar’s low for long trades (or high for shorts), adapting to market structure at entry.
Take Profit Targets:
Up to three fully adjustable take-profit levels are plotted, calculated as percentages from entry, supporting progressive trade management.
Visual Trade Management:
Entry, stop loss, and take profit levels are displayed as extending dashed lines from entry point to the current bar, with labels always shown just to the right of price for clarity on all timeframes.
Automatic Reset and Cleanup:
Visuals and logic reset daily and upon exit, ensuring a clean, uncluttered chart experience.
How to Use:
Set your preferred opening range time and take profit levels in the settings.
Wait for a breakout and confirmation during the NYSE session.
Use the on-chart lines and labels to manage your trade according to your risk and strategy plan.
Best For:
Day traders and scalpers seeking a disciplined, visual, and fully-automated approach to opening range breakout trading.
EdgeXplorer - Phantom FlowPhantom Flow by EdgeXplorer
Phantom Flow is a high-precision, visual market structure toolkit inspired by core ICT (Inner Circle Trader) concepts — including Order Blocks (OBs), Fair Value Gaps (FVGs), Market Structure Shifts (MSS), Liquidity Zones, Killzones, and Balance Price Ranges (BPRs). Designed for real-time clarity and SMC-aligned trading, this tool enhances raw ICT theory with practical execution features: extended zone logic, session filters, and pivot-sensitive rendering.
Whether you’re swing trading on HTF or scalping intraday moves in New York or London, Phantom Flow gives you a clean, structured lens through which to interpret price behavior — without clutter or noise.
⸻
🔍 What Does Phantom Flow Do?
This indicator maps out multiple price action phenomena in one system. It detects and plots:
• Order Blocks (OBs) — potential institutional footprints
• Fair Value Gaps (FVGs) — inefficiencies or imbalance zones
• Market Structure Shifts (MSS) — directional break points
• Liquidity Zones — buy-side and sell-side wick traps
• Balance Price Ranges (BPRs) — overlap zones from opposing FVGs
• Killzones (Sessions) — session-specific high-probability windows
Each element is toggleable, color-coded, and drawn directly on the chart, creating an intuitive visual environment to identify potential setups or confirm directional bias.
⸻
⚙️ How It Works – Technical Breakdown
1. Pivot Engine
Phantom Flow uses ta.pivothigh() and ta.pivotlow() with a configurable lookback period to establish reactive swing points for structure and liquidity logic.
2. Market Structure Shifts (MSS)
MSS logic checks for breaks above prior highs or below prior lows:
• If price closes above a previous pivot high, it flags a bullish MSS.
• If price closes below a previous pivot low, it flags a bearish MSS.
Each MSS is marked with a line and label at the structure break.
3. Order Blocks (OBs)
When a swing high or low is confirmed:
• A bearish OB is plotted between the open and high of the pivot bar.
• A bullish OB is plotted between the low and open of the pivot bar.
OB zones are drawn as transparent boxes that project forward several candles.
4. Fair Value Gaps (FVGs)
Imbalance zones are defined when:
• A bullish FVG occurs if the current low is above the high from two candles ago, and price closed bullish.
• A bearish FVG occurs if the current high is below the low from two candles ago, and price closed bearish.
These are visualized as boxes with “FVG” labels.
5. Balance Price Ranges (BPRs)
If both a bullish and bearish FVG overlap in the same bar:
• A gray BPR box is plotted to represent the zone where those inefficiencies cancel or compress into a range.
Useful for tracking potential accumulation or consolidation.
6. Liquidity Zones (Wick Detection)
Using ATR-based wick thresholds:
• Buy-side Liquidity is identified where long lower wicks form beneath pivot lows.
• Sell-side Liquidity is identified where long upper wicks form above pivot highs.
These zones indicate where stop hunts or liquidity grabs may occur.
7. Killzones (Sessions)
Two sessions are visualized using background colors:
• New York Killzone (default: 7:00–9:00 EST) — yellow background
• London Killzone (default: 2:00–5:00 GMT) — blue background
Sessions are dynamically aligned with your chart’s timeframe and location.
⸻
📈 What Each Visual Element Represents
Element Meaning
Green OB Box Bullish order block (potential demand zone)
Red OB Box Bearish order block (potential supply zone)
Teal FVG Box Bullish fair value gap (imbalance to the upside)
Maroon FVG Box Bearish fair value gap (imbalance to the downside)
Gray BPR Box Balance price range — compression of opposing gaps
Blue Liquidity Zone Buy-side liquidity below a swing low
Orange Liquidity Zone Sell-side liquidity above a swing high
Lime Line + Label Bullish Market Structure Shift (MSS ↑)
Fuchsia Line + Label Bearish Market Structure Shift (MSS ↓)
Yellow / Blue Background Killzone time blocks for NY or London
All shapes are bounded in time and logic — there are no arbitrary plots.
⸻
📊 Inputs & Settings Explained
Input Description
Execution Mode (Live / Backtest) Determines whether to run real-time or backtest-friendly calculations
Pivot Sensitivity (lookback) Controls how far back to look for pivots — higher values = stronger swing filters
Show MSS Toggle to display Market Structure Shift lines and labels
Show OB Toggle to display Order Block zones from swing points
Show FVG Toggle to visualize Fair Value Gaps as they appear
Show Liquidity Zones Displays wick-based buy/sell-side liquidity traps
Show BPR Zones Highlights overlapping bullish and bearish FVGs as compression zones
Show Killzones Enables session-based background highlighting for NY/London
Color Settings
Customize each visual element with transparency-controlled colors for OBs, FVGs, MSS lines, liquidity zones, and killzones.
⸻
🧠 How Traders Can Use Phantom Flow
Phantom Flow is not a signal generator. It’s a market narrative visualizer. Here’s how to integrate it into your approach:
• OB + FVG = Confluence: Look for fair value gaps forming around order blocks. These often suggest institutional entry zones.
• MSS + Liquidity = Trap Setup: Market structure shifts occurring after price taps liquidity often signal reversals or fakeouts.
• BPRs = Choke Points: If opposing FVGs compress, expect consolidation or expansion shortly after.
• Killzones = Context Windows: Use sessions to filter signal quality. For example, only trade FVGs during the London/NY overlap.
This tool works best when layered with:
• BOS/CHOCH detection
• Premium/Discount logic
• Risk-based execution models
⸻
🧪 Optional Use Case Ideas
• Intraday scalping based on NY/London killzone + MSS
• Swing trading off HTF OB + LQ zones
• Fade or trend-continuation setups using FVGs + BPR
• Combine with displacement candles or volume to validate zones
Supply/Demand Zones with Midline (No Overlap Logic)Supply and demand formations based on inside bar breakouts. Automatically plots zones to buy and sell from. MTF analysis available.
Smart Impulse Exhaustion Finder (ATR + ADX Filter)
Smart Impulse Exhaustion Finder (ATR + ADX Filter)
This advanced script helps you spot potential trend exhaustion points exactly where impulsive moves may lose strength.
It automatically combines multiple conditions:
✅ Identifies fresh swing highs and lows using a smart lookback range.
✅ Confirms strong price extension with a minimum ATR distance from the previous swing.
✅ Uses RSI extremes, volume spikes, and candle wick rejection to detect signals only when at least two out of three exhaustion factors align.
✅ Filters out false signals during sideways chop using an ADX trend strength filter.
✅ Ignores noise candles like dojis by requiring a clear minimum body size.
This makes the tool flexible for catching late-stage trend impulses that might be due for a pullback or reversal — ideal for trailing stop strategies, partial profit taking, or hunting reversal setups on crypto, forex or stocks.
How to use
📌 Tip: This is a sniper-type tool that can catch the very start of a reversal.
Therefore, when trading its signals, it’s strongly recommended to use a Risk:Reward ratio of at least 1:3 — especially for crypto markets.
The idea is simple:
Look for exhaustion signals at fresh swing highs for potential short pullbacks.
Or at fresh swing lows for potential long reversals.
Combine with your own trend and context tools.
Always test thoroughly before live trading.
Inputs
🔹 Extremum Lookback: Defines how far back to check for fresh highs/lows.
🔹 ATR Threshold: Controls the minimum impulse distance.
🔹 ADX Filter: Ensures signals only appear in meaningful trending conditions.
🔹 Body and Wick Filters: Reduce noise by rejecting tiny candles and highlighting clear rejection tails.
Disclaimer
⚠️ This script is for educational purposes only and does not constitute financial advice.
Trade responsibly — always use proper risk management and test before deploying in live conditions.