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.
Indicadores e estratégias
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).
FutureObitz Official Bank Levels// © 2025 FutureObitz - Custom version for private use
This Bank Levels indicator automatically calculates daily high, low, mid, and premium/discount zones using dynamic ranges.
Ideal for intraday traders using supply/demand, liquidity concepts, and institutional levels. Labels are cleanly aligned and update once per day for minimal chart clutter.
This version was customized for my personal trading style and refined for visual clarity.
Smart Range Zones [Dr. Hafiz]Smart Range Zones
Description:
This indicator highlights key market zones — High Range, Mid Range, and Low Range — to help traders visually understand dynamic support and resistance levels.
✅ High Range: Potential supply/resistance area
✅ Mid Range: Fair value or equilibrium zone
✅ Low Range: Potential demand/support area
The zones are calculated based on the highest and lowest price over a user-defined period (default: 130 bars) and dynamically projected forward.
🔸 EMA 15 Line is included as an optional trend filter — helping confirm direction or trend alignment.
🔧 Features:
Auto-calculated High/Mid/Low zones
Real-time dynamic projections
Right-aligned zone labels inside each box
Clean visual structure
Toggle for showing/hiding EMA 15
📌 Best suited for:
Intraday & swing traders
Range breakouts and rejections
Trend confirmation with EMA
Created and published by Dr. Hafiz, modified under the MPL 2.0 license.
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.
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.
IU Inside/Harami candlestick patternDESCRIPTION
The IU Inside/Harami Candlestick Pattern indicator is designed to detect bullish and bearish inside bar formations, also known as Harami patterns. This tool gives users flexibility by allowing pattern detection based on candle wicks, bodies, or a combination of both. It highlights detected patterns using colored boxes and optional text labels on the chart, helping traders quickly identify areas of consolidation and potential reversals.
USER INPUTS :
Pattern Recognition Based on =
Choose between "Wicks", "Body", or "Both" to determine how the inside candle pattern is identified.
Show Box =
Toggle the appearance of colored boxes that highlight the pattern zone.
Show Text =
Toggle on-screen labels for "Bullish Inside" or "Bearish Inside" when patterns are detected.
INDICATOR LOGIC :
Bullish Inside Bar (Harami) is detected when:
* The current candle's high is lower and low is higher than the previous candle (wick-based),
* or the current candle’s open and close are inside the previous candle’s body (body-based),
* and the current candle is bullish while the previous is bearish.
Bearish Inside Bar (Harami) is detected when:
* The current candle's high is lower and low is higher than the previous candle (wick-based),
* or the current candle’s open and close are inside the previous candle’s body (body-based),
* and the current candle is bearish while the previous is bullish.
The user can choose wick-based, body-based, or both logics for pattern confirmation.
Boxes are drawn between the highs and lows of the pattern, and alert messages are generated upon confirmation.
Optional labels show the pattern name for quick visual identification.
WHY IT IS UNIQUE :
Offers three different logic modes: wick-based, body-based, or combined.
Highlights patterns visually with customizable boxes and labels.
Includes built-in alerts for immediate notifications.
Uses clean and transparent plotting without repainting.
HOW USER CAN BENEFIT FROM IT :
Receive real-time alerts when Inside/Harami patterns are formed.
Use the boxes and text labels to spot price compression zones and breakout potential.
Combine it with other tools like trendlines or support/resistance for enhanced accuracy.
Suitable for scalpers, swing traders, and price action traders looking to trade inside bar breakouts or reversals.
DISCLAIMER :
This indicator is not financial advice, it's for educational purposes only highlighting the power of coding( pine script) in TradingView, I am not a SEBI-registered advisor. Trading and investing involve risk, and you should consult with a qualified financial advisor before making any trading decisions. I do not guarantee profits or take responsibility for any losses you may incur.
Staccked SMA - Regime Switching & Persistance StatisticsThis indicator is designed to identify the prevailing market regime by analyzing the behavior of a "stack" of Simple Moving Averages (SMAs). It helps you understand whether the market is currently trending, mean-reverting, or moving randomly.
Core Concept: SMA Correlation
At its heart, the indicator examines the relationship between a set of nine SMAs with different lengths (3, 5, 8, 13, 21, 34, 55, 89, 144) and the lengths themselves.
In a strong trending market (either up or down), the SMAs will be neatly "stacked" in order of their length. The shortest SMA will be furthest from the longest SMA, creating a strong, almost linear visual pattern. When we measure the statistical correlation between the SMA values and their corresponding lengths, we get a value close to +1 (perfect uptrend stack) or -1 (perfect downtrend stack). The absolute value of this correlation will be very high (close to 1).
In a mean-reverting or sideways market, the SMAs will be tangled and crisscrossing each other. There is no clear order, and the relationship between an SMA's length and its price value is weak. The correlation will be close to 0.
This indicator calculates this Pearson correlation on every bar, giving a continuous measure of how ordered or "trendy" the SMAs are. An absolute correlation above 0.8 is considered strongly trending, while a value between 0.4 and 0.8 suggests a mean-reverting character. Below 0.4, the market is likely random or choppy.
Regime Classification and Statistics
The indicator doesn't just look at the current correlation; it analyzes its behavior over a user-defined lookback window (default is 252 bars) to classify the overall market "regime."
It presents its findings in a clear table:
📊 |SMA Correlation| Regime Table: This main table provides a snapshot of the current market character.
Median: Shows the median absolute correlation over the lookback period, giving a central tendency of the market's behavior.
% > 0.80: The percentage of time the market was in a strong trend during the lookback period.
% < 0.80 & > 0.40: The percentage of time the market showed mean-reverting characteristics.
🧠 Regime: The final classification. It's labeled "📈 Trend-Dominant" if the median correlation is high and it has spent a significant portion of the time trending. It's labeled "🔄 Mean-Reverting" if the median is in the middle range and it has spent significant time in that state. Otherwise, it's considered "⚖️ Random/ Choppy".
📐 Regime Significance: This tells you how statistically confident you can be in the current regime classification, using a Z-score to compare its occurrence against random chance. ⭐⭐⭐ indicates high confidence (99%), while "❌ Not Significant" means the pattern could be random.
Regime Transition Probabilities
Optionally, a second table can be displayed that shows the historical probability of the market transitioning from one regime to another over different time horizons (t+5, t+10, t+15, and t+20 bars).
📈 → 🔄 → ⚖️ Transition Table: This table answers questions like, "If the market is trending now (From: 📈), what is the probability it will be mean-reverting (→ 🔄) in 10 bars?"
This provides powerful insights into the market's cyclical nature, helping you anticipate future behavior based on past patterns. For example, you might find that after a period of strong trending, a transition to a choppy state is more likely than a direct switch to a mean-reverting
Indicator Settings
Lookback Window for Regime Classification: This sets the number of recent bars (default is 252) the script analyzes to determine the current market regime (Trending, Mean-Reverting, or Random). A larger number provides a more stable, long-term view, while a smaller number makes the classification more sensitive to recent price action.
Show Regime Transition Table: A simple toggle (on/off) to show or hide the table that displays the probabilities of the market switching from one regime to another.
Lookback Offset for Starting Regime: This determines the "starting point" in the past for calculating regime transitions. The default is 20 bars ago. The script looks at the regime at this point and then checks what it became at later points.
Step 1, 2, 3, 4 Offset (bars): These define the future time intervals (5, 10, 15, and 20 bars by default) for the transition probability table. For example, the script checks the regime at the "Lookback Offset" and then sees what it transitioned to 5, 10, 15, and 20 bars later.
Significance Filter Settings
Use Regime Significance Filter: When enabled, this filter ensures that the regime transition statistics only count transitions that were "statistically significant." This helps to filter out noise and focus on more reliable patterns.
Min Stars Required (1=90%, 2=95%, 3=99%): This sets the minimum confidence level required for a regime to be included in the transition statistics when the significance filter is on.
1 ⭐: Requires at least 90% confidence.
2 ⭐⭐: Requires at least 95% confidence (default).
3 ⭐⭐⭐: Requires at least 99% confidence.
Price Ranged FVG📌 Price Ranged FVG
Is a clean and efficient tool designed to detect Fair Value Gaps (FVGs) with adjustable filters and structural context. It’s especially useful for traders looking to filter out insignificant gaps and focus on high-probability areas, particularly around swing breaks or structural shifts.
🧠 What is a Fair Value Gap (FVG)?
A Fair Value Gap appears when there’s a price imbalance between candles — typically after a strong move — where the market skips over certain price levels without trading there. These zones can act as potential areas for price to return to (mean reversion), or serve as support/resistance depending on market structure.
🔍 FVG Detection Types
You can choose between three different detection modes under the "FVG Detection" input:
Same Type: Only detects FVGs where the last 3 candles are in the same direction (all bullish or all bearish).
All: Detects any FVG, regardless of candle direction.
Twin Close: Detects FVGs only when the last two candles are in the same direction and close accordingly — offering a stricter confirmation.
🎯 FVG % Filters
To filter out noise or insignificant gaps, this indicator includes:
Minimum FVG % Filter: Ignores FVGs smaller than your specified percentage of the current close.
Maximum FVG % Filter: Ignores overly large gaps that may be unreliable or caused by anomalies.
These filters help focus on relevant FVGs that are more likely to act as reaction zones.
🏛 Structural Context (Swing Highs and Lows)
The indicator plots swing highs and swing lows with dots to provide structure-based context:
Set Swing Strength to 3 for detecting internal structure (shorter-term moves).
Use a higher setting like 5 to focus on external structure (more significant highs/lows).
These levels can help you determine whether an FVG is forming within a consolidation, breakout, or key structural transition.
✅ Use Case (My Personal Workflow)
I personally use this indicator to:
Filter out weak or irrelevant FVGs using the % filters.
Watch for price interaction at swing breaks — especially when an FVG aligns with a break in internal or external structure.
Refine entry and exit planning in confluence with other tools or strategies.
⚠️ Disclaimer
This indicator is not financial advice. It is a technical analysis tool intended to support your own decision-making process. Always do your own research and risk management.
AV BTC Pi Cycle OscillatorPi Cycle Oscillator
The oscillator version of the Pi Cycle Top Indicator. While I have found great differences in scales being used for the oscillator across various sources. The shape of the oscillator line is on the other hand the same across the board. With 2 specific versions. Either using the 111 Day SMA or the 2*350 SMA for division.
We allow for both versions. It is possible to select the formula for calculation on the input tab.
Either using (111 SMA - 2*350 SMA) / 111 SMA (default) or (111 SMA - 2*350 SMA) / 2*350 SMA .
We multiply the result by -100 so that overbought conditions fall at the top of the indicator chart and oversold at the bottom. Everyone has their own idea of the value range. This is no different.
For both formulas around 0 is overbought zone, while -200 and -70 are oversold areas. Thresholds are configurable in the input tab. I made an arbitrary choice for the thresholds.
If you want to see overbought and oversold areas on the price chart: Enable the Overbought and oversold Overlay area in the style tab. It is disabled by default.
Additionally: Pi Cycle Tops are marked with a red circle. ATH tops are marked with yellow diamonds. Grey lines marks halving days.
GalihRidha ZoneX — Adaptive MTF S&R + Smart Money AreasWelcome to ZoneX: The new frontier of Support & Resistance for modern traders!
ZoneX is more than just S&R — it’s a hybrid price map that fuses classic pivots with institutional logic, visualizing the zones that really matter.
What Makes ZoneX Different?
Multi-Timeframe S&R:
Instantly spot the true key levels from higher timeframes, not just what everyone else sees on the current chart.
Smart Money Order Blocks:
Automatically highlights supply and demand zones where institutions accumulate or distribute — find the real “trap” areas and avoid getting faked out.
VWAP Bands:
See where the liquidity is thickest — these bands act as magnets for price, great for both reversals and breakouts.
Midline Channel:
Identify the market’s equilibrium — know when you’re in value and when you’re at the edge.
Previous High/Low:
Mark institutional magnets and classic stop-hunt zones, updated in real-time.
Ultra Customizable:
One-click to enable/disable any feature. Clean for minimalists, packed for pros.
How to Use ZoneX
Breakout?
Wait for price to clear a ZoneX band or order block with momentum — enter on the retest.
Reversal?
Fade wicks and exhaustion right in the highlighted zone — confirm with price action or volume.
Range/Balance?
Trade the ping-pong between ZoneX midline and outer bands — great for scalping and mean reversion.
Who’s It For?
Active traders who want an edge beyond standard S&R.
Institutional-mindset scalpers and swing traders.
Anyone who loves a clean chart but craves real market context.
Level up your chart, see what the big players see —
and never trade blind again. This is ZoneX.
Gaussian Volatility Adjusted Key Features:Gaussian Smoothing: Applies a Gaussian filter to smooth price data (based on EMA or raw close prices), reducing noise while preserving trend information.
Volatility Adjustment: Uses ATR and standard deviation to create dynamic upper and lower bands around the smoothed price, adapting to market volatility.
Trend Detection: Identifies bullish (price above lower band) or bearish (price below upper band) trends, with additional confirmation using standard deviation thresholds.
Momentum Analysis: Measures momentum by calculating the price difference from key levels (upper band for bullish, Gaussian + standard deviation for bearish).
EMA Confluence: Optionally integrates an EMA of the momentum difference to confirm trend signals, enhancing accuracy.
Visual Output: Plots a zero line and an EMA line colored green (bullish) or red (bearish), with bar coloring to visually indicate trend direction.
Delta Spike Detector [GSK-VIZAG-AP-INDIA]📌 Delta Spike Detector – Volume Imbalance Ratio
By GSK-VIZAG-AP-INDIA
📘 Overview
This indicator highlights aggressive buying or selling activity by analyzing the imbalance between estimated Buy and Sell volume per candle. It flags moments when one side dominates the other significantly — defined by user-selectable volume ratio thresholds (10x, 15x, 20x, 25x).
📊 How It Works
Buy/Sell Volume Estimation
Approximates buyer and seller participation using candle structure:
Buy Volume = Proximity of close to low
Sell Volume = Proximity of close to high
Delta & Delta Ratio
Delta = Buy Volume − Sell Volume
Delta Ratio = Ratio of dominant volume side to the weaker side
When this ratio exceeds a threshold, it’s classified as a spike.
Spike Labels
Labels are plotted on the chart:
10x B, 15x B, 20x B, 25x B → Buy Spike Labels (below candles)
10x S, 15x S, 20x S, 25x S → Sell Spike Labels (above candles)
The color of each label reflects the spike strength.
⚙️ User Inputs
Enable/Disable Buy or Sell Spikes
Set custom delta ratio thresholds (default: 10x, 15x, 20x, 25x)
🎯 Use Cases
Spotting sudden aggressive activity (e.g. smart money moves, traps, breakouts)
Identifying short-term market exhaustion or momentum bursts
Complementing other trend or volume-based tools
⚠️ Important Notes
The script uses approximated Buy/Sell Volume based on price position, not actual order flow.
This is not a buy/sell signal generator. It should be used in context with other confirmation indicators or market structure.
✍️ Credits
Developed by GSK-VIZAG-AP-INDIA
For educational and research use only.
ONE: PEMA, EMA, SuperTrend, CPR, VIDYAThe ONE indicator is an all-in-one TradingView Pine Script that combines multiple popular trend, momentum, and volume tools into a single overlay. It is designed for senior traders and analysts who need a comprehensive yet lightweight solution to:
1. Identify dynamic price trends (PEMA & standard EMAs)
2. Capture volatility-driven reversals (SuperTrend)
3. Define key support/resistance (Central Pivot Range)
4. Measure adaptive momentum (VIDYA)
Key Advantages
Unified InterfaceNo more juggling separate scripts—activate/deactivate each component via simple inputs.
-PEMA (Price-Embedded MAs) with color-coded trend direction.
-Standard EMAs (5/13/26) for classic crossover strategies.
-SuperTrend for volatility-based stop-and-reverse signals.
-Central Pivot Range (daily & weekly) for intraday support/resistance.
-VIDYA (Variable Index Dynamic Average) for momentum that adapts to market conditions.
Adaptive Momentum Smoothing (VIDYA)Unlike fixed-length moving averages, VIDYA adjusts its sensitivity based on Chande Momentum Oscillator (CMO) or standard deviation.
- Fixed CMO option ensures consistent smoothing when you prefer a stable lookback.
- StDev option allows reactive smoothing in high-volatility environments.
- Customizable AlertsReal-time alertcondition on VIDYA color changes—ideal for automated trade entries/exits.
- Try pairing alerts with SuperTrend cross signals for high-probability setups.
Volume-Weighted Bar ColoringB ars are shaded based on volume spikes relative to an EMA of volume.
- Quickly spot institutional activity or accumulation/distribution phases.
Professional-Grade StylingClean, corporate color palette and line widths optimized for readability on both light and dark backgrounds.
Signal Interpretation
1. PEMA Green-to-Red Fill: Confirms multi-disciplinary trend reversals when the fast PEMA crosses the slow PEMA.
2. EMA Crossovers: Traditional 5/13/26 cross signals for momentum entry/exit.
3. SuperTrend Line: Trades above the line in uptrends; short when price closes below.
4. CPR Levels: Use daily CPR pivot (CP, BC, TC) for intraday range strategies; weekly pivot for broader support/resistance.
5. VIDYA Color Change: Blue to maroon or vice versa triggers alert for momentum shift.
6. Volume Coloring: Lime/red bars highlight high-volume moves; silver/gray for normal conditions.
Alert Setup
- Right-click on chart → Add Alert → Select ONE_VIDYA → Under Condition, choose VIDYA Color Alarm.
- Configure webhook/email/popup notifications for automated trading systems.
Rubab's Buy/Sell + Reversal SignalThis indicstor helps to identify the reversal and provides entry exit signal.
Buy Sell Magic Rework
A version of the legendary Forex indicator Buy Sell Magic for TradingView, with optional additional filtering in the settings.
A simple yet very effective trend-following tool — I personally used it for trading gold 14 years ago, and it still works great today!
✅ Subscribe to my profile to get new useful Pine Script tools soon!
💡 Want a custom version?
I can build private Pine Script indicators & strategies tailored exactly for you — scalping signals, trend or reversal strategies, custom filters for crypto, forex, stocks, or any pairs you trade.
I can also improve or fix your existing scripts.
If you want a unique, high-quality and profitable tool — contact me anytime!
📩 Telegram 👉 t.me
EdgeXplorer - Liquidity ScopeLiquidity Scope by EdgeXplorer
Liquidity Scope is a real-time liquidity detection system developed for traders who want to track where the market is hunting stops, absorbing orders, and setting up traps — often before the average eye catches on. Built to identify the telltale behavior of liquidity sweeps and false breakouts, this tool highlights areas on the chart where price interacts with key swing points, including wicks, breaks, and retests.
⸻
🔍 What Does Liquidity Scope Do?
Liquidity Scope scans price action for swing highs and lows, tracks how price behaves around them, and visually plots zones where liquidity is likely being targeted. It tells you:
• When price wicks into a previous swing without breaking it (a liquidity probe),
• When price breaks past that level and returns (a potential retest),
• And when a sweep is complete or mitigated.
The result? A visual map of where liquidity was grabbed, where it hasn’t been yet, and where price might revisit — all drawn directly on your chart, in real time.
⸻
⚙️ How It Works – Technical Breakdown
Here’s the logic behind the engine:
1. Swing Detection
The script uses ta.pivothigh() and ta.pivotlow() to mark structural swing points, using your selected “Swings” length to define sensitivity.
2. Sweep Conditions
For each swing high or low:
• If price wicks into the level but fails to close beyond it → potential liquidity test.
• If price closes beyond the swing → it’s marked as broken.
• If price later retests the broken level from the other side → it’s tagged as a retest zone.
3. Visual Memory
Each swing level stores its own “memory state” (whether it was wicked, broken, retested, or mitigated), allowing the tool to update visuals live and avoid clutter.
4. Dynamic Zones
• When a sweep is detected, the tool draws a colored zone (box) at the sweep location, along with a supporting line.
• These zones extend forward until price clearly invalidates or mitigates them.
⸻
📈 Visual Components – What You See on the Chart
Element Meaning
Green Zones / Lines Bullish sweep: liquidity hunted below a swing low
Red Zones / Lines Bearish sweep: liquidity hunted above a swing high
Dotted Lines Wicks — price tested the level without breaking
Dashed Lines Retests — price returned to retest a broken level
Solid Lines Confirmed sweep levels with clean structure
Shaded Boxes Sweep zones extended into the future for monitoring
Faded Transparency Indicates mitigation or that the zone is cooling off
Every visual is tied to a logic branch in the code — nothing is decorative. Each shape or line has meaning tied to price behavior.
⸻
📊 Inputs & Settings Explained
Setting Description
Swings (len) Sets the pivot lookback range. Higher = fewer, stronger swing levels.
Options (opt) Controls what sweep types you want to see:
• Only Wicks → Focus on traps and fakeouts
• Only Outbreaks & Retest → Focus on confirmed moves
• Wicks + Outbreaks & Retest → See it all |
| Bull/Bear Colors | Customize how bullish vs. bearish sweeps are drawn |
| Extend Zones (extend) | When on, boxes stretch forward in time until price touches or invalidates them |
| Max Bars (maxB) | Sets how long (in bars) sweep zones will stay active before expiring |
⸻
🧠 How to Read It in Live Markets
Liquidity Scope doesn’t tell you what to do — it tells you what the market just did in relation to liquidity and structure.
Here’s how to use it:
• Green Zones (Bullish Sweeps):
Price just grabbed liquidity under a low. Watch for:
• A bounce → potential reversal
• A retest → possible long entry confirmation
• Red Zones (Bearish Sweeps):
Price swept above a high. Watch for:
• Immediate rejection → potential short zone
• Pullback and retest → trend continuation trap or fake breakout
• Wick Sweeps Only:
Often seen in range-bound markets or when market makers are testing stops.
• Retest Sweeps:
Often seen in trending markets, validating breakouts or signaling exhaustion.
⸻
🧪 Optional Use Cases & Strategy Tips
Here’s how traders on the EdgeXplorer platform use Liquidity Scope:
• 🔄 Smart Money Concepts: Use sweep zones alongside order blocks, FVGs, and breakers to confirm institutional movement.
• ⚠️ Trap Zones: Spot liquidity fakeouts where retail might be chasing early breakouts.
• 🎯 Entry/Exit Filtering: Use zones to validate entries only when price reacts cleanly around them — or exits when mitigation completes.
• 🧠 Confluence Layer: Combine with trend indicators or volume to add strength to directional bias.
⸻
🔒 Final Note on Use & Compliance
Liquidity Scope is a market behavior visualizer, not a signal generator. It helps you understand where the market might be trapping liquidity, but you are the strategy. Always pair with proper confirmation, risk management, and your own discretion.
All logic, structure, and assets in this script are © protected under ETAPX Inc. and the EdgeXplorer platform. Unauthorized sharing or monetization of this code is prohibited under company and platform policy.
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
SMA Crossover Strategy with TP/SL📊 Strategy Description: SMA Crossover Strategy with TP/SL
This is a Simple Moving Average (SMA) Crossover Strategy designed to help traders identify trend reversals and manage trades with proper risk-reward logic.
🔹 Entry Logic:
Buy Signal: When the Fast SMA crosses above the Slow SMA → indicating a bullish trend.
Sell Signal: When the Fast SMA crosses below the Slow SMA → indicating a bearish trend.
🔹 Exit Logic:
Take Profit: The strategy exits the position when price reaches a user-defined profit target.
Stop Loss: The trade is closed if price moves against the position beyond the specified stop-loss limit.
⚙️ Parameters:
Fast SMA Length: Number of candles used for fast moving average (default: 10)
Slow SMA Length: Number of candles used for slow moving average (default: 30)
Take Profit (%): Profit target in percentage (default: 0.10%)
Stop Loss (%): Maximum allowed loss per trade (default: 0.10%)
✅ Additional Features:
Strategy backtesting supported
Visual arrows for Buy/Sell signals
Bar coloring based on trend
Alert conditions for Buy/Sell crossover signals
🧠 Suggested Use:
Works best on 1 min, 5 hour, or daily timeframes.
Can be applied to stocks, crypto, forex, or indices.
Ideal for trend-following traders who want automation with risk control.
Active PMI Support/Resistance Levels [EdgeTerminal]The PMI Support & Resistance indicator revolutionizes traditional technical analysis by using Pointwise Mutual Information (PMI) - a statistical measure from information theory - to objectively identify support and resistance levels. Unlike conventional methods that rely on visual pattern recognition, this indicator provides mathematically rigorous, quantifiable evidence of price levels where significant market activity occurs.
- The Mathematical Foundation: Pointwise Mutual Information
Pointwise Mutual Information measures how much more likely two events are to occur together compared to if they were statistically independent. In our context:
Event A: Volume spikes occurring (high trading activity)
Event B: Price being at specific levels
The PMI formula calculates: PMI = log(P(A,B) / (P(A) × P(B)))
Where:
P(A,B) = Probability of volume spikes occurring at specific price levels
P(A) = Probability of volume spikes occurring anywhere
P(B) = Probability of price being at specific levels
High PMI scores indicate that volume spikes and certain price levels co-occur much more frequently than random chance would predict, revealing genuine support and resistance zones.
- Why PMI Outperforms Traditional Methods
Subjective interpretation: What one trader sees as significant, another might ignore
Confirmation bias: Tendency to see patterns that confirm existing beliefs
Inconsistent criteria: No standardized definition of "significant" volume or price action
Static analysis: Doesn't adapt to changing market conditions
No strength measurement: Can't quantify how "strong" a level truly is
PMI Advantages:
✅ Objective & Quantifiable: Mathematical proof of significance, not visual guesswork
✅ Statistical Rigor: Levels backed by information theory and probability
✅ Strength Scoring: PMI scores rank levels by statistical significance
✅ Adaptive: Automatically adjusts to different market volatility regimes
✅ Eliminates Bias: Computer-calculated, removing human interpretation errors
✅ Market Structure Aware: Reveals the underlying order flow concentrations
- How It Works
Data Processing Pipeline:
Volume Analysis: Identifies volume spikes using configurable thresholds
Price Binning: Divides price range into discrete levels for analysis
Co-occurrence Calculation: Measures how often volume spikes happen at each price level
PMI Computation: Calculates statistical significance for each price level
Level Filtering: Shows only levels exceeding minimum PMI thresholds
Dynamic Updates: Refreshes levels periodically while maintaining historical traces
Visual System:
Current Levels: Bright, thick lines with PMI scores - your actionable levels
Historical Traces: Faded previous levels showing market structure evolution
Strength Tiers: Line styles indicate PMI strength (solid/dashed/dotted)
Color Coding: Green for support, red for resistance
Info Table: Real-time display of strongest levels with scores
- Indicator Settings:
Core Parameters
Lookback Period (Default: 200)
Lower (50-100): More responsive to recent price action, catches short-term levels
Higher (300-500): Focuses on major historical levels, more stable but less responsive
Best for: Day trading (100-150), Swing trading (200-300), Position trading (400-500)
Volume Spike Threshold (Default: 1.5)
Lower (1.2-1.4): More sensitive, catches smaller volume increases, more levels detected
Higher (2.0-3.0): Only major volume surges count, fewer but stronger signals
Market dependent: High-volume stocks may need higher thresholds (2.0+), low-volume stocks lower (1.2-1.3)
Price Bins (Default: 50)
Lower (20-30): Broader price zones, less precise but captures wider areas
Higher (70-100): More granular levels, precise but may be overly specific
Volatility dependent: High volatility assets benefit from more bins (70+)
Minimum PMI Score (Default: 0.5)
Lower (0.2-0.4): Shows more levels including weaker ones, comprehensive view
Higher (1.0-2.0): Only statistically strong levels, cleaner chart
Progressive filtering: Start with 0.5, increase if too cluttered
Max Levels to Show (Default: 8)
Fewer (3-5): Clean chart focusing on strongest levels only
More (10-15): Comprehensive view but may clutter chart
Strategy dependent: Scalpers prefer fewer (3-5), swing traders more (8-12)
Historical Tracking Settings
Update Frequency (Default: 20 bars)
Lower (5-10): More frequent updates, captures rapid market changes
Higher (50-100): Less frequent updates, focuses on major structural shifts
Timeframe scaling: 1-minute charts need lower frequency (5-10), daily charts higher (50+)
Show Historical Levels (Default: True)
Enables the "breadcrumb trail" effect showing evolution of support/resistance
Disable for cleaner charts focusing only on current levels
Max Historical Marks (Default: 50)
Lower (20-30): Less memory usage, shorter history
Higher (100-200): Longer historical context but more resource intensive
Fade Strength (Default: 0.8)
Lower (0.5-0.6): Historical levels more visible
Higher (0.9-0.95): Historical levels very subtle
Visual Settings
Support/Resistance Colors: Choose colors that contrast well with your chart theme Line Width: Thicker lines (3-4) for better visibility on busy charts Show PMI Scores: Toggle labels showing statistical strength Label Size: Adjust based on screen resolution and chart zoom level
- Most Effective Usage Strategies
For Day Trading:
Setup: Lookback 100-150, Volume Threshold 1.8-2.2, Update Frequency 10-15
Use PMI levels as bounce/rejection points for scalp entries
Higher PMI scores (>1.5) offer better probability setups
Watch for volume spike confirmations at levels
For Swing Trading:
Setup: Lookback 200-300, Volume Threshold 1.5-2.0, Update Frequency 20-30
Enter on pullbacks to high PMI support levels
Target next resistance level with PMI score >1.0
Hold through minor levels, exit at major PMI levels
For Position Trading:
Setup: Lookback 400-500, Volume Threshold 2.0+, Update Frequency 50+
Focus on PMI scores >2.0 for major structural levels
Use for portfolio entry/exit decisions
Combine with fundamental analysis for timing
- Trading Applications:
Entry Strategies:
PMI Bounce Trades
Price approaches high PMI support level (>1.0)
Wait for volume spike confirmation (orange triangles)
Enter long on bullish price action at the level
Stop loss just below the PMI level
Target: Next PMI resistance level
PMI Breakout Trades
Price consolidates near high PMI level
Volume increases (watch for orange triangles)
Enter on decisive break with volume
Previous resistance becomes new support
Target: Next major PMI level
PMI Rejection Trades
Price approaches PMI resistance with momentum
Watch for rejection signals and volume spikes
Enter short on failure to break through
Stop above the PMI level
Target: Next PMI support level
Risk Management:
Stop Loss Placement
Place stops 0.1-0.5% beyond PMI levels (adjust for volatility)
Higher PMI scores warrant tighter stops
Use ATR-based stops for volatile assets
Position Sizing
Larger positions at PMI levels >2.0 (highest conviction)
Smaller positions at PMI levels 0.5-1.0 (lower conviction)
Scale out at multiple PMI targets
- Key Warning Signs & What to Watch For
Red Flags:
🚨 Very Low PMI Scores (<0.3): Weak statistical significance, avoid trading
🚨 No Volume Confirmation: PMI level without recent volume spikes may be stale
🚨 Overcrowded Levels: Too many levels close together suggests poor parameter tuning
🚨 Outdated Levels: Historical traces are reference only, not tradeable
Optimization Tips:
✅ Regular Recalibration: Adjust parameters monthly based on market regime changes
✅ Volume Context: Always check for recent volume activity at PMI levels
✅ Multiple Timeframes: Confirm PMI levels across different timeframes
✅ Market Conditions: Higher thresholds during high volatility periods
Interpreting PMI Scores
PMI Score Ranges:
0.5-1.0: Moderate statistical significance, proceed with caution
1.0-1.5: Good significance, reliable for most trading strategies
1.5-2.0: Strong significance, high-confidence trade setups
2.0+: Very strong significance, institutional-grade levels
Historical Context: The historical trace system shows how support and resistance evolve over time. When current levels align with multiple historical traces, it indicates persistent market memory at those prices, significantly increasing the level's reliability.
High Volume Buyers/SellersThis indicator will help you indicate wether breakout happened with high volume or not
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
Zen Open - 18 Bar v2Zen Open – 18 Bar Box (RTH Study Tool)
📄 Description:
This script highlights the first 18 bars of each Regular Trading Hours (RTH) session with a visual box and optional range label. It is intended as a study aid for traders analyzing early session structure.
Features:
• Draws a box around the first 18 bars of the RTH session
• Displays the total range as a label (optional)
• Fully customizable box color and transparency
Intended Use:
This is an educational and visual analysis tool to help traders research how the RTH open influences the rest of the session.
Tight opening range may suggest range expansion
Wide opening range may indicate reduced movement or reversal risk
This script does not generate trading signals, does not offer financial advice, and does not promote any service. It is provided for discretionary study and chart analysis only.
Alpha - Combined BreakoutThis Pine Script indicator, "Alpha - Combined Breakout," is a combination between Smart Money Breakout Signals and UT Bot Alert, The UT Bot Alert indicator was initially developer by Yo_adriiiiaan
The idea of original code belongs HPotter.
This Indicator helps you identify potential trading opportunities by combining two distinct strategies: Smart Money Breakout and a modified UT Bot (likely a variation of the Ultimate Trend Bot). It provides visual signals, draws lines for potential take profit (TP) and stop loss (SL) levels, and includes a dashboard to track performance metrics.
Tutorial:
Understanding and Using the "Alpha - Combined Breakout" Indicator
This indicator is designed for traders looking for confirmation of market direction and potential entry/exit points by blending structural analysis with a trend-following oscillator.
How it Works (General Concept)
The indicator combines two main components:
Smart Money Breakout: This part identifies significant breaks in market structure, which "smart money" traders often use to gauge shifts in supply and demand. It looks for higher highs/lows or lower highs/lows and flags when these structural points are broken.
UT Bot: This is a trend-following component that generates buy and sell signals based on price action relative to an Average True Range (ATR) based trailing stop.
You can choose to use these signals independently or combined to generate trading alerts and visual cues on your chart. The dashboard provides a quick overview of how well the signals are performing based on your chosen settings and display mode.
Parameters and What They Do
Let's break down each input parameter:
1. Smart Money Inputs
These settings control how the indicator identifies market structure and breakouts.
swingSize (Market Structure Time-Horizon):
What it does: This integer value defines the number of candles used to identify significant "swing" (pivot) points—highs and lows.
Effect: A larger swingSize creates a smoother market structure, focusing on longer-term trends. This means signals might appear less frequently and with some delay but could be more reliable for higher timeframes or broader market movements. A smaller swingSize will pick up more minor market structure changes, leading to more frequent but potentially noisier signals, suitable for lower timeframes or scalping.
Analogy: Think of it like a zoom level on your market structure map. Higher values zoom out, showing only major mountain ranges. Lower values zoom in, showing every hill and bump.
bosConfType (BOS Confirmation Type):
What it does: This string input determines how a Break of Structure (BOS) is confirmed. You have two options:
'Candle Close': A breakout is confirmed only if a candle's closing price surpasses the previous swing high (for bullish) or swing low (for bearish).
'Wicks': A breakout is confirmed if any part of the candle (including its wick) surpasses the previous swing high or low.
Effect: 'Candle Close' provides stronger, more conservative confirmation, as it implies sustained price movement beyond the structure. 'Wicks' provides earlier, more aggressive signals, as it captures momentary breaches of the structure.
Analogy: Imagine a wall. 'Candle Close' means the whole person must get over the wall. 'Wicks' means even a finger touching over the top counts as a breach.
choch (Show CHoCH):
What it does: A boolean (true/false) input to enable or disable the display of "Change of Character" (CHoCH) labels. CHoCH indicates the first structural break against the current dominant trend.
Effect: When true, it helps identify early signs of a potential trend reversal, as it marks where the market's "character" (its tendency to make higher highs/lows or lower lows/highs) first changes.
BULL (Bullish Color) & BEAR (Bearish Color):
What they do: These color inputs allow you to customize the visual appearance of bullish and bearish signals and lines drawn by the Smart Money component.
Effect: Purely cosmetic, helps with visual identification on the chart.
sm_tp_sl_multiplier (SM TP/SL Multiplier (ATR)):
What it does: A float value that acts as a multiplier for the Average True Range (ATR) to calculate the Take Profit (TP) and Stop Loss (SL) levels specifically when you're in "Smart Money Only" mode. It uses the ATR calculated by the UT Bot's nLoss_ut as its base.
Effect: A higher multiplier creates wider TP/SL levels, potentially leading to fewer trades but larger wins/losses. A lower multiplier creates tighter TP/SL levels, potentially leading to more frequent but smaller wins/losses.
2. UT Bot Alerts Inputs
These parameters control the behavior and sensitivity of the UT Bot component.
a_ut (UT Key Value (Sensitivity)):
What it does: This integer value adjusts the sensitivity of the UT Bot.
Effect: A higher value makes the UT Bot less sensitive to price fluctuations, resulting in fewer and potentially more reliable signals. A lower value makes it more sensitive, generating more signals, which can include more false signals.
Analogy: Like a noise filter. Higher values filter out more noise, keeping only strong signals.
c_ut (UT ATR Period):
What it does: This integer sets the look-back period for the Average True Range (ATR) calculation used by the UT Bot. ATR measures market volatility.
Effect: This period directly influences the calculation of the nLoss_ut (which is a_ut * xATR_ut), thus defining the distance of the trailing stop loss and take profit levels. A longer period makes the ATR smoother and less reactive to sudden price spikes. A shorter period makes it more responsive.
h_ut (UT Signals from Heikin Ashi Candles):
What it does: A boolean (true/false) input to determine if the UT Bot calculations should use standard candlestick data or Heikin Ashi candlestick data.
Effect: Heikin Ashi candles smooth out price action, often making trends clearer and reducing noise. Using them for UT Bot signals can lead to smoother, potentially delayed signals that stay with a trend longer. Standard candles are more reactive to raw price changes.
3. Line Drawing Control Buttons
These crucial boolean inputs determine which type of signals will trigger the drawing of TP/SL/Entry lines and flags on your chart. They act as a priority system.
drawLinesUtOnly (Draw Lines: UT Only):
What it does: If checked (true), lines and flags will only be drawn when the UT Bot generates a buy/sell signal.
Effect: Isolates UT Bot signals for visual analysis.
drawLinesSmartMoneyOnly (Draw Lines: Smart Money Only):
What it does: If checked (true), lines and flags will only be drawn when the Smart Money Breakout logic generates a bullish/bearish breakout.
Effect: Overrides drawLinesUtOnly if both are checked. Isolates Smart Money signals.
drawLinesCombined (Draw Lines: UT & Smart Money (Combined)):
What it does: If checked (true), lines and flags will only be drawn when both a UT Bot signal AND a Smart Money Breakout signal occur on the same bar.
Effect: Overrides both drawLinesUtOnly and drawLinesSmartMoneyOnly if checked. Provides the strictest entry criteria for line drawing, looking for strong confluence.
Dashboard Metrics Explained
The dashboard provides performance statistics based on the lines drawing control button selected. For example, if "Draw Lines: UT Only" is active, the dashboard will show stats only for UT Bot signals.
Total Signals: The total number of buy or sell signals generated by the selected drawing mode.
TP1 Win Rate: The percentage of signals where the price reached Take Profit 1 (TP1) before hitting the Stop Loss.
TP2 Win Rate: The percentage of signals where the price reached Take Profit 2 (TP2) before hitting the Stop Loss.
TP3 Win Rate: The percentage of signals where the price reached Take Profit 3 (TP3) before hitting the Stop Loss. (Note: TP1, TP2, TP3 are in order of distance from entry, with TP3 being furthest.)
SL before any TP rate: This crucial metric shows the number of times the Stop Loss was hit / the percentage of total signals where the stop loss was triggered before any of the three Take Profit levels were reached. This gives you a clear picture of how often a trade resulted in a loss without ever moving into profit target territory.
Short Tutorial: How to Use the Indicator
Add to Chart: Open your TradingView chart, go to "Indicators," search for "Alpha - Combined Breakout," and add it to your chart.
Access Settings: Once added, click the gear icon next to the indicator name on your chart to open its settings.
Choose Your Signal Mode:
For UT Bot only: Uncheck "Draw Lines: Smart Money Only" and "Draw Lines: UT & Smart Money (Combined)". Ensure "Draw Lines: UT Only" is checked.
For Smart Money only: Uncheck "Draw Lines: UT Only" and "Draw Lines: UT & Smart Money (Combined)". Ensure "Draw Lines: Smart Money Only" is checked.
For Combined Signals: Check "Draw Lines: UT & Smart Money (Combined)". This will override the other two.
Adjust Parameters:
Start with default settings. Observe how the signals appear on your chosen asset and timeframe.
Refine Smart Money: If you see too many "noisy" market structure breaks, increase swingSize. If you want earlier breakouts, try "Wicks" for bosConfType.
Refine UT Bot: Adjust a_ut (Sensitivity) to get more or fewer UT Bot signals. Change c_ut (ATR Period) if you want larger or smaller TP/SL distances. Experiment with h_ut to see if Heikin Ashi smoothing suits your trading style.
Adjust TP/SL Multiplier: If using "Smart Money Only" mode, fine-tune sm_tp_sl_multiplier to set appropriate risk/reward levels.
Interpret Signals & Lines:
Buy/Sell Flags: These indicate the presence of a signal based on your selected drawing mode.
Entry Line (Blue Solid): This is where the signal was generated (usually the close price of the signal candle).
SL Line (Red/Green Solid): Your calculated stop loss level.
TP Lines (Dashed): Your three calculated take profit levels (TP1, TP2, TP3, where TP3 is the furthest target).
Smart Money Lines (BOS/CHoCH): These lines indicate horizontal levels where market structure breaks occurred. CHoCH labels might appear at the first structural break against the prior trend.
Monitor Dashboard: Pay attention to the dashboard in the top right corner. This dynamically updates to show the win rates for each TP and, crucially, the "SL before any TP rate." Use these statistics to evaluate the effectiveness of the indicator's signals under your current settings and chosen mode.
*
Set Alerts (Optional): You can set up alerts for any of the specific signals (UT Bot Long/Short, Smart Money Bullish/Bearish, or the "Line Draw" combined signals) to notify you when they occur, even if you're not actively watching the chart.
By following this tutorial, you'll be able to effectively use and customize the "Alpha - Combined Breakout" indicator to suit your trading strategy.