Pivot ATR Zones [v6]🟩 Pivot ATR Zones
Overview:
The Pivot ATR Zones indicator plots dynamic support and resistance zones based on pivot highs and lows, combined with ATR (Average True Range) volatility levels. It helps traders visually identify potential long and short trade areas, along with realistic target and stop loss zones based on market conditions.
Features:
Automatically detects pivot highs and lows
Draws ATR-based entry zones on the chart
Plots dynamic take-profit and stop-loss levels using ATR multipliers
Color-coded long (green) and short (red) zones
Entry arrow markers for clearer trade visualization
Real-time alerts when new zones form
Best For:
Scalpers, intraday traders, and swing traders who want a visual, volatility-aware way to mark potential trade areas based on key pivot structures.
How to Use:
Look for newly formed green zones for long opportunities and red zones for short setups.
Use the dashed lines as dynamic take-profit and stop levels, tuned to the current ATR value.
Combine with other confirmation tools or indicators for optimal results.
Corak carta
Engulfing Candles with Liquidity SweepOverview
The Engulfing Candles with Liquidity Sweep indicator is designed to highlight high- and low-probability engulfing candle patterns, incorporating liquidity sweep logic for enhanced price action analysis. This script visually marks bullish and bearish engulfing events, differentiating between high-probability and low-probability setups, and plots key Fibonacci levels for each event.
🔶 USAGE
This indicator is ideal for traders seeking to identify potential reversal or continuation points based on engulfing candle patterns and liquidity sweeps. High-probability signals are based on strict engulfing and sweep criteria, while low-probability signals offer additional context for nuanced price action.
• High Probability Engulfing:
Highlights strong bullish or bearish engulfing candles that also sweep the previous candle’s high or low, suggesting a significant shift in market sentiment.
• Low Probability Engulfing:
Marks less strict engulfing patterns where the close remains within the previous candle’s range, providing early signals for potential reversals.
• Fibonacci Levels:
For each detected pattern, the script draws a 50% Fibonacci retracement line, helping traders identify potential retracement or reaction zones.
🔹 SETTINGS
• High Probability Engulfing Settings:
• Customizable colors, line styles, and widths for bullish and bearish fib lines
• Option to show/hide fib lines and pattern markers
• Low Probability Engulfing Settings:
• Separate color and style controls for low-probability signals
• Option to show/hide fib lines and pattern markers
• Alerts:
• Built-in alert conditions for all pattern types, enabling automated notifications
🔶 DETAILS
High Probability Bullish Engulfing:
• Previous candle bearish
• Current candle bullish
• Current low sweeps previous low
• Current close above previous high
High Probability Bearish Engulfing:
• Previous candle bullish
• Current candle bearish
• Current high sweeps previous high
• Current close below previous low
Low Probability Bullish Engulfing:
• Previous candle bearish
• Current candle bullish
• Current low sweeps previous low
• Current close between previous open and high
Low Probability Bearish Engulfing:
• Previous candle bullish
• Current candle bearish
• Current high sweeps previous high
• Current close between previous open and low
🔶 NOTES
• The indicator is fully customizable and can be adapted to various trading styles.
• All signals and levels are plotted directly on the chart for easy reference.
• Alerts can be set for any pattern, supporting both discretionary and automated trading approaches.
Disclaimer:This script is for informational and educational purposes only. It does not constitute financial advice. Use at your own risk.
Candle Rating (1–5)This “Candle Rating (1–5)” indicator measures where each bar’s close sits within its own high-low range and assigns a simple strength score:
Range Calculation
It computes the candle’s total range (high − low) and finds the close’s position as a percentage of that range (0 = close at low, 1 = close at high).
Five-Point Rating
1 (Strong Buy): Close in the top 20% of the range
2 (Moderate Buy): 60–80%
3 (Neutral): 40–60%
4 (Moderate Sell): 20–40%
5 (Strong Sell): Bottom 20%
Visual Feedback
It plots the numeric rating above each bar (colored green → red), giving you an at-a-glance read of candle momentum and potential reversal strength across any timeframe.
Trading Sessions
Trading Sessions
Highlights the Asia, London, and New York trading sessions with dynamic High-Low boxes.
General
Timezone : select your reference zone (e.g. Exchange, UTC, Europe/Rome, America/New_York).
Extend Session High/Low : extend the High/Low lines to the last candle.
Extend Lines (bars) : number of bars to extend lines beyond the last candle (0–100, default 15).
Show High/Low Labels : display labels for the High/Low levels.
Show Mitigated Levels : also show mitigated (broken) levels.
Show Only Recent Levels : filter levels from the last N days.
Number of Recent Days : sets how many days are considered “recent” (1–30).
Show Debug Info : enable a panel with current time, session status, and active filters.
Sessions
Asia , London , New York : enable or disable each session.
Session Time : set the start/end times with the time picker.
Box Color : choose a semi-transparent highlight color for each session.
Line Style & Width : customize style (Solid, Dotted, Dashed) and width of current and past High/Low lines.
Text Size : select the label text size (Tiny, Small, Normal, Large).
Show Only Recent Levels – filters High/Low lines to show only those from the last Number of Recent Days .
Number of Recent Days – sets how many days are considered “recent” for the filter.
Show Mitigated Levels – enables display of broken levels; otherwise only active levels remain visible.
Show High/Low Labels – toggles text labels at the ends of lines on or off.
Show Debug Info – displays a floating panel showing:
Current time in the selected timezone
On/Off status of Asia, London, NY sessions
Active filters (recent days, mitigated levels)
Line style settings for each session
Key Benefits
Visualize session-specific volatility and potential breakouts.
No historical limit: scroll back through any past sessions.
Filter and extend High/Low levels for precise price context.
Fully customize to fit any chart layout.
Ideal For
Intraday traders who need clear session boundaries and price level context.
Ultimate CoinTadpoleTrader Indicator Altcoins (UCTA)2.0Overview
UCTA (Ultimate CoinTadpoleTrader Indicator for Altcoins) is designed to help traders identify key turning points in volatile altcoin markets. It applies RSI momentum analysis, along with references to Stochastic RSI’s overbought/oversold zones and MACD expansion behavior to filter out low-probability signals. The script looks for repeated RSI dips below certain thresholds and subsequent recoveries, among other internal checks, to provide clear Buy/Sell icons on the chart.
1. Core Concepts
Multi-Stage RSI & Oscillator References
UCTA primarily relies on standard RSI thresholds (e.g., ≤30 or ≥70) but also references Stochastic RSI for deeper confirmation in potential overextended markets.
When the script detects repeated dives into oversold territory or significant momentum shifts, it generates stronger signals.
MACD Expansion Consideration
Internally, the script checks for moments when MACD lines diverge or “expand” notably, indicating an accelerating move.
If RSI conditions and MACD expansions align, the likelihood of a valid reversal or continuation signal increases.
Multi-Trigger Approach
The indicator may require multiple oversold or overbought triggers within a certain bar count to issue a final Buy or Sell signal.
For instance, RSI might dip into oversold, recover, and dip again. Such repeated patterns are used internally to reduce false positives.
Adaptive Filtering for Altcoins
Altcoins can have sharper, more frequent spikes than BTC.
UCTA’s logic attempts to handle these abrupt moves by fine-tuning the thresholds and waiting periods based on repeated triggers, rather than single crosses.
2. Usage Recommendations
Markets & Timeframes
While originally optimized for altcoins on 1H–4H charts, traders can experiment with different timeframes depending on each coin’s volatility.
If the market is extremely choppy, consider referencing higher timeframes to reduce whipsaws.
Signal Interpretation
Buy Signal → The script detects a probable bottoming pattern when RSI and other oscillator conditions reenter oversold territory multiple times within a short window.
Sell Signal → Identifies points where markets may be hitting a peak, considering repeated or extreme overbought metrics.
Complementary Analysis
Use additional technical or fundamental analysis tools to confirm signals.
UCTA is not intended as a standalone guarantee; rapid price swings can invalidate any single indicator.
3. Disclaimers
Closed-Source Code
The logic behind UCTA is proprietary and not publicly visible.
It comprises advanced filtering methods that rely on recognized indicators (RSI, Stoch RSI, MACD) in a unique combination.
No Performance Guarantees
Cryptocurrency trading is highly speculative. Historical signals do not ensure future results.
Users should apply prudent risk management and never trade solely based on one tool.
Non-Repainting Logic
Signals are determined once a bar closes, so they do not repaint retroactively.
Intrabar fluctuations can cause potential signals to appear or disappear until confirmed at candle close.
Overnight Bias: Net Long/Short with PercentOvernight bias can assist with NY session gap fades or gap and go trading once the NY session is open.
Some general gap rules are:
1. Gap Direction Aligned with Overnight Bias
Rule: If the NY session gaps up and the overnight bias is Net Long (e.g., >60% of bars above the overnight open), favor longs.
Confirmation: Look for price to hold above overnight open or VWAP.
Invalidation: If price re-enters the overnight range, reassess.
2. Gap Opposing Overnight Bias (Contrarian Setup)
Rule: If the NY opens opposite the overnight bias, expect potential gap fill or reversal.
Trade Bias: Look for retracement back toward the overnight open or VWAP.
Example: Overnight was Net Long, but NY gaps down → wait for reclaim of VWAP to go long, else fade strength.
3. Gap Into Prior Day Value Area (VAH to VAL)
Rule: If the NY session gaps into the prior day value area:
It implies mean reversion behavior.
Expect price to rotate toward the POC (point of control).
Trade Bias: Fade toward POC if overnight bias is balanced or opposite the gap direction.
4. Gap Outside Prior Day Value Area
Rule: A gap above VAH or below VAL suggests potential breakout or new trend day.
Trade Bias: If overnight bias aligns (e.g., gap above VAH + Net Long overnight), consider trend continuation.
Invalidation: If price breaks back inside the prior day value area, watch for failed breakout → fade trade possible.
5. Gap Above Prior Day High / Below Prior Day Low
Rule: This is a true breakout gap.
Above Prior High + Net Long Bias: Look for continuation.
Below Prior Low + Net Short Bias: Look for sell pressure continuation.
Trade Bias: Use pullbacks to the prior high/low or overnight open for continuation setups.
6. Gap Within Prior Day Range
Rule: If the NY open is within the prior day’s high and low, expect chop or balanced conditions.
Trade Bias: Use overnight VWAP and prior POC as decision zones. Be cautious unless a breakout occurs.
7. Failed Gap and Re-entry into Prior Day Range
Rule: If price gaps above prior high but re-enters the prior range, it's a failed breakout.
Trade Bias: Look for a fade back to VAH or POC.
Confirmation: Watch for breakdown below overnight VWAP or failure to hold overnight open.
8. Gap + Overnight VWAP Divergence
Rule: If price gaps opposite the direction of VWAP (e.g., VWAP rising, gap down), wait for confirmation.
Trade Bias: Be cautious with early trades. Bias may flip if VWAP is reclaimed.
9. Gap + Overnight Open Test
Rule: If price opens with a gap and then retests the overnight open, that level becomes a decision zone.
Trade Bias:
Hold above = trend continuation.
Rejection = gap fill or reversal.
10. Unfilled Gap = Trend Bias
Rule: If the gap remains unfilled for the first 30–60 minutes, it increases the odds of a trend day.
Trade Bias: Trade pullbacks in the direction of the gap and overnight bias.
Should anyone have suggestion to add please do so.
Breakout Statistic - Break MasterBreakMaster by Merlin
Description:
BreakMaster 📈🔥 empowers you to track market momentum by analyzing breakout patterns! 🚀 This indicator detects when the price breaks above the previous candle’s high or below its low and calculates how often these breakouts result in bullish or bearish closes. 📊 Results are displayed in a sleek, easy-to-read table, helping you make informed trading decisions! 💡
How It Works (Super Simple! 😎):
1.Breakout Detection 🔎: Checks if the price breaks the high or low of the previous candle.
2.Close Analysis 🟢🔴: Determines if the breakout candle closes bullish (close > open) or bearish (close < open).
3.Statistics Calculation 📉: Counts the breakouts and calculates the percentage of bullish/bearish closes.
4.Visual Display 🖼️: Presents all data in a stylish table at the top-right of your chart, with customizable dark or light mode! 🌙☀️
Why BreakMaster? 🌟
Simple & Clear ✅: No complex formulas—just breakouts and closing stats.
Customizable 🎨: Choose dark or light mode to match your style.
Decision-Friendly 💸: See the reliability of breakouts with percentages to boost your strategy!
How to Use:
Add BreakMaster to your TradingView chart.
Select your preferred theme (Dark/Light).
Watch the table for real-time breakout stats! 📈
Happy trading with BreakMaster! 🚀💪
LANZ Strategy 3.0🔷 LANZ Strategy 3.0 — Asian Range Fibonacci Strategy with Execution Window Logic
LANZ Strategy 3.0 is a rule-based trading system that utilizes the Asian session range to project Fibonacci levels and manage entries during a defined execution window. Designed for Forex and index traders, this strategy focuses on structured price behavior around key levels before the New York session.
🧠 Core Components:
Asian Session Range Mapping: Automatically detects the high, low, and midpoint during the Asian session.
Fibonacci Level Projection: Projects configurable Fibonacci retracement and extension levels based on the Asian range.
Execution Window Logic: Uses the 01:15 NY candle as a reference to validate potential reversals or continuation setups.
Conditional Entry System: Includes logic for limit order entries (buy or sell) at specific Fib levels, with reversal logic if price breaks structure before execution.
Risk Management: Entry orders are paired with dynamic SL and TP based on Fibonacci-based distances, maintaining a risk-reward ratio consistent with intraday strategies.
📊 Visual Features:
Asian session high/low/mid lines.
Fibonacci levels: Original (based on raw range) and Optimized (user-adjustable).
Session background coloring for Asia, Execution Window, and NY session.
Labels and lines for entry, SL, and TP targets.
Dynamic deletion of untriggered orders after execution window expires.
⚙️ How It Works:
The script calculates the Asian session range.
Projects Fibonacci levels from the range.
Waits for the 01:15 NY candle to close to validate a signal.
If valid, a limit entry order (BUY or SELL) is plotted at the selected level.
If price structure changes (e.g., breaks the high/low), reversal logic may activate.
If no trade is triggered, orders are cleared before the NY session.
🔔 Alerts:
Alerts trigger when a valid setup appears after 01:15 NY candle.
Optional alerts for order activation, SL/TP hit, or trade cancellation.
📝 Notes:
Intended for semi-automated or discretionary trading.
Best used on highly liquid markets like Forex majors or indices.
Script parameters include session times, Fib ratios, SL/TP settings, and reversal logic toggle.
Credits:
Developed by LANZ, this script merges traditional session-based analysis with Fibonacci tools and structured execution timing, offering a unique framework for morning volatility plays.
Equal High/Low (EQH/EQL) [AlgoAlpha]OVERVIEW
This script detects and visualizes Equal High (EQH) and Equal Low (EQL) zones—key liquidity areas where price has previously stalled or reversed. These levels often attract institutional interest due to the liquidity buildup around them. The indicator is built to highlight such zones using dynamic thresholding, overbought/oversold RSI filtering, and adaptive mitigation logic to manage zone relevance over time.
CONCEPTS
Equal Highs/Lows are price points where the market has repeatedly failed to break past a certain high or low, hinting at areas where stop orders and pending interest may be concentrated. These areas are often prime targets for liquidity grabs or reversals. By combining this with RSI filtering, the script avoids false signals during neutral conditions and instead focuses on zones where market pressure is more directional.
FEATURES
Detection Logic: The script identifies EQH and EQL zones by comparing the similarity between recent highs or lows with a dynamic volatility threshold. The `tolerance` input allows users to control how strict this comparison is.
RSI Filtering: If enabled, it only creates zones when RSI is significantly overbought or oversold (based on the `state_thresh` input). This helps ensure zones form only in meaningful market conditions.
Zone Display: Bullish (EQL) zones are shown in grey, while bearish (EQH) zones are in blue. Two horizontal lines mark the zone using wick and body extremes, and a filled area visualizes the zone between them.
Zone Management: Zones automatically extend with price until they’re invalidated. You can choose whether a zone is removed based on wick or body sweeps and whether it requires one or two candle confirmations. Zones also expire after a customizable number of bars.
Alerts: Four alert conditions are built in—when a new EQH/EQL is formed and when one is mitigated—making it easy to integrate into alert-based workflows.
USAGE
Equal highs/lows can be used as liquidity markers, either as entry points or as take-profit targets.
This tool is ideal for liquidity-based strategies and helps traders map out possible reversal or sweep zones that often precede aggressive moves.
Nifty Sectoral Performance ComparisonThis Pine Script indicator tracks and compares the percentage performance of Indian sectoral and thematic indices (e.g., Nifty 50, Nifty Bank, Nifty IT) relative to their starting price in a user-defined timeframe. Performance is plotted as colored lines on the chart, with transparent labels showing percentage changes. A user-configurable label offset ensures clarity. Ideal for analyzing sectoral trends in the Indian market.
Features
Multi-Index Tracking:
Monitors up to 21 indices in five groups:
Core/Large Cap: Nifty 50, Nifty Bank, Nifty Auto, Nifty IT, Nifty FMCG, Nifty Fin Services
Thematic/Sectoral: SENSEX, Nifty Healthcare, Nifty Metal, Nifty Pharma
Bank Sub-Indices & Realty: Nifty Pvt Bank, Nifty PSU Bank, Nifty Realty
Consumption & Energy: Nifty ConsDurables, Nifty Oil & Gas
MidSmall Cap Thematic: Nifty MidSmFinSrv, S&P BSE Healthcare, Nifty MidSmIT&Tel
Calculates performance as the percentage change from the first valid close in the timeframe.
Customizable Display:
Toggle each index on/off via boolean inputs.
Define ticker symbols and colors for each index (e.g., Blue for Nifty 50, Green for Nifty Fin Services).
Colors are preset but editable for clear differentiation.
Labeling:
Displays index name and performance (e.g., "Nifty 50: 12.34%") with transparent labels (no background).
Labels match the plot color and are positioned using a user-defined offset (in bars) to avoid overlap.
Precision and Timeframe:
Shows performance with two decimal places.
Supports custom timeframes (e.g., daily, weekly) for flexible analysis.
Overlay Mode:
Plots performance lines on the price chart for direct comparison with price movements.
Inputs
Label Offset (Bars): Set label position left of the current bar (default: 5, min: 0).
Show : Enable/disable each index’s plot and label.
Ticker : Specify ticker symbols (e.g., NSE:NIFTY).
Color : Choose plot and label colors.
How It Works
Performance Calculation:
Fetches closing prices via request.security for the specified ticker and timeframe.
Captures the first valid close as the starting price.
Computes performance: ((current_price / start_price) - 1) * 100.
Handles invalid data (e.g., na or zero start price) by returning na.
Plotting:
Plots enabled indices with valid performance as lines (linewidth: 1) in user-defined colors.
Labeling:
Creates labels for enabled indices with valid performance at bar_index - label_offset and the performance value.
Labels show the index name and percentage (e.g., "Auto: 5.67%") in the plot’s color, with no background.
Usage
Setup: Apply to a TradingView chart and set the desired timeframe.
Customize:
Enable relevant indices, adjust tickers, and modify colors.
Set Label Offset to position labels clearly.
Analyze:
Compare lines to spot outperforming/underperforming sectors.
Use labels for precise performance values.
Pair with price action or other indicators for trading insights.
Uptrend Filter: Price > 50 & 200 MA + Upward SlopeThis indicator is designed to help traders instantly identify strong uptrend conditions based on two simple yet powerful criteria:
Price is above both the 50-day and 200-day moving averages
Both moving averages are sloping upward (positive momentum)
When both conditions are met, the indicator plots a green “UP” label below the candle, signaling a valid uptrend setup. This filter is ideal for asset selection in strategy-building, portfolio rotation, or trend-following systems.
🧠 Why it works:
The 50-day MA reflects medium-term momentum.
The 200-day MA represents the long-term trend.
When both are aligned and sloping upward, it confirms strong market structure and trend health.
🧰 Best used for:
Token screening (e.g., filtering altcoins)
Momentum-based entries
Trend confirmation
Risk filtering in strategy backtesting
Intraday Trading IndicatorIndicator Overview
Moving Averages: Uses a fast EMA (9-period) and a slow EMA (21-period) to determine the trend direction.
Market Profile Approximation: Utilizes VWAP (Volume Weighted Average Price) as a simplified proxy for value area, acting as a dynamic support/resistance level.
SMC: Incorporates the concept of trend confirmation and price interaction with key levels, focusing on pullbacks to the fast EMA within a trending market.
Signals: Generates buy and sell signals when price crosses the fast EMA, filtered by the trend (fast EMA vs. slow EMA) and VWAP position, aiming for high-probability setups.
This design ensures responsiveness on short timeframes while filtering out noise, aligning with the goal of accurate signals for intraday trading.
Session + FVG + Order Blocks + EMAs1. Overall Purpose
This indicator combines four key functions into one pane to help you:
Highlight major market sessions (Asia, London, New York)
Plot Fair Value Gaps (FVG) and Order Blocks
Display up to four fully customizable Exponential Moving Averages (EMAs)
Shift all times via a configurable UTC offset
Together, these features let you see session activity zones, price imbalances, and underlying trend direction all at a glance.
2. Time Zone
Input: “Time Zone”
Set your chart’s UTC offset (e.g. “UTC+2”) so that each session box aligns with your local clock.
3. Market Sessions
Each session is drawn as a shaded rectangle labeled by name:
Session Default UTC Hours Color Toggle Visibility
Asia 00:00 – 08:15 Light blue fill ☑️ Show Asia session
London 09:00 – 12:00 Light green fill ☑️ Show London session
New York 14:30 – 18:00 Soft red fill ☑️ Show NY session
Enable or disable each session via its checkbox.
Adjust start/end times and the fill color for any session.
Border style and thickness are set in “Box Line Style” and “Box Line Thickness.”
4. Fair Value Gaps & Order Blocks
Controls for identifying imbalances and institutional zones:
Setting Description
Max Blocks Maximum number of gaps/order-blocks to display
Filter Gaps by % Only show gaps larger than this percentage
Lookback Bars How many bars back to scan for gaps and blocks
Bullish OB/FVG Color Fill color for bullish blocks & gaps
Bearish OB/FVG Color Fill color for bearish blocks & gaps
Show Fair Value Gaps Toggle visibility of FVG rectangles
Show Order Blocks Toggle visibility of Order Block rectangles
Fair Value Gaps mark small untraded price areas.
Order Blocks highlight previous zones of major buying or selling.
5. EMAs (Exponential Moving Averages)
Up to four EMAs can be displayed independently:
EMA Enable? Length (periods) Color
EMA 1 ☑️ Show EMA 1 20 Orange
EMA 2 ☑️ Show EMA 2 50 Blue
EMA 3 ☑️ Show EMA 3 100 Green
EMA 4 ☑️ Show EMA 4 200 Red
Tick the box to plot an EMA on your chart.
Change its length to match your strategy’s lookback.
Pick a color that stands out against your background.
6. Recommended Workflow
Set your Time Zone so session boxes align with your local trading hours.
Enable only the sessions you trade (e.g. deselect Asia if you focus on London & NY).
Tweak FVG/Order Block parameters:
Adjust Lookback Bars and Filter Gaps by % to fine-tune the number of zones.
Customize your EMAs (periods and colors) to suit your trend-following or mean-reversion approach.
Combine the layers: watch how price behaves within session boxes, around FVG/Order Blocks, and relative to your EMAs to plan entries and exits.
Liquidity Sweep Detector – PDH/PDL LevelsPrevious Day High/Low Liquidity Sweep Detector (Intraday Accurate)
This indicator tracks the previous day's high and low using intraday data, rather than the daily candle, ensuring precise sweep detection across lower timeframes (15m to 4H).
It monitors for liquidity sweeps—moments when price briefly moves above the previous high or below the previous low—and visually marks these events on the chart.
Key Features
Intraday-accurate PDH/PDL tracking
Real-time sweep detection
On-chart labels marking sweep events
Toggleable table showing sweep status
Alert conditions for PDH/PDL sweep triggers
Best For
Traders who use Smart Money Concepts (SMC), liquidity-based strategies, or look for stop hunts and reversal zones tied to key prior-day levels.
Works well across FX, crypto, and indices on 15m, 1H, and 4H charts.
Smart Range DetectorSmart Range Detector
What It Does
This indicator automatically detects and validates significant trading ranges using pivot point analysis combined with logarithmic fibonacci relationships. It operates by identifying specific pivot patterns (High-Low-High and Low-High-Low) that meet fibonacci validation criteria to filter out noise and highlight only the most reliable trading ranges. Each range is continuously monitored for potential mitigation (breakout) events.
Key Features
Identifies both High-Low-High and Low-High-Low range patterns
Validates each range using logarithmic fibonacci relationships (more accurate than linear fibs)
Detects range mitigations (breakouts) and visually differentiates them
Shows fibonacci levels within ranges (25%, 50%, 75%) for potential reversal points
Visualizes extension levels beyond ranges for breakout targets
Analyzes volume profile with customizable price divisions (default: 60)
Displays Point of Control (POC) and Value Area for traded volume analysis
Implements performance optimization with configurable range limits
Includes user-adjustable safety checks to prevent Pine Script limitations
Offers fully customizable colors, line widths, and transparency settings
How To Use It
Identify Valid Ranges : The indicator automatically detects and highlights trading ranges that meet fibonacci validation criteria
Monitor Fibonacci Levels : Watch for price reactions at internal fib levels (25%, 50%, 75%) for potential reversal opportunities
Track Extension Targets : Use the extension lines as potential targets when price breaks out of a range
Analyze Volume Structure : Enable the volume profile mode to see where most volume was traded within mitigated ranges
Trade Range Boundaries : Look for reactions at range highs/lows combined with volume POC for higher probability entries
Manage Performance : Adjust the maximum displayed ranges and history bars settings for optimal chart performance
Settings Guide
Left/Right Bars Look Back : Controls how far back the indicator looks to identify pivot points (higher values find more ranges but may reduce sensitivity)
Max History Bars : Limits how far back in history the indicator will analyze (stays within Pine Script's 10,000 bar limitation)
Max Ranges to Display : Restricts the total number of ranges kept in memory for improved performance (1-50)
Volume Profile : When enabled, shows volume distribution analysis for mitigated ranges
Volume Profile Divisions : Controls the granularity of the volume analysis (higher values show more detail)
Display Options : Toggle visibility of range lines, fibonacci levels, extension lines, and volume analysis elements
Transparency & Color Settings : Fully customize the visual appearance of all indicator elements
Line Width Settings : Adjust the thickness of lines for better visibility on different timeframes
Technical Details
The indicator uses logarithmic fibonacci calculations for more accurate price relationships
Volume profile analysis creates 60 price divisions by default (adjustable) for detailed volume distribution
All timestamps are properly converted to work with Pine Script's bar limitations
Safety checks prevent "array index out of bounds" errors that plague many complex indicators
Time-based coordinates are used instead of bar indices to prevent "bar index too far" errors
This indicator works well on all timeframes and instruments, but performs best on 5-minute to daily charts. Perfect for swing traders, range traders, and breakout strategists.
What Makes It Different
Most range indicators simply draw boxes based on recent highs and lows. Smart Range Detector validates each potential range using proven fibonacci relationships to filter out noise. It then adds sophisticated volume analysis to help traders identify the most significant price levels within each range. The performance optimization features ensure smooth operation even on lower timeframes and extended history analysis.
Guppy Multiple Moving Average (GMMA)The GMMA Momentum Indicator plots 12 EMAs on your chart, divided into two groups:
Short-term EMAs (6 lines, default periods: 3, 5, 8, 10, 12, 15): Represent short-term trader sentiment and momentum.
Long-term EMAs (6 lines, default periods: 30, 35, 40, 45, 50, 60): Reflect long-term investor behavior and broader market trends.
By analyzing the interaction between these two groups, the indicator identifies:
Bullish and bearish trends based on the relative positions of the short- and long-term EMAs.
Momentum strength through the spread or convergence of the EMAs.
Potential reversals or breakouts via compression signals.
This PineScript version enhances the traditional GMMA by adding visual cues like background colors, bearish signals, and compression detection, making it ideal for swing traders seeking clear, actionable insights.
The GMMA Momentum Indicator provides several key features:
1. Trend Identification
Bullish Trend: When the short-term EMAs (green lines) are above the long-term EMAs (blue lines) and spreading apart, it signals strong upward momentum. The chart background turns light green to highlight this condition.
Bearish Trend: When the short-term EMAs cross below the long-term EMAs and converge, it indicates downward momentum. The background turns light red, and an orange downward triangle appears above the bar to mark a new bearish signal.
2. Momentum Analysis
The spread between the short-term EMAs reflects the strength of short-term momentum. A wide spread suggests strong momentum, while a tight grouping indicates weakening momentum or consolidation. Similarly, the long-term EMAs act as dynamic support or resistance, guiding traders on the broader trend.
3. Compression Detection
Compression occurs when both the short-term and long-term EMAs converge, signaling low volatility and a potential breakout or reversal. A yellow upward triangle appears below the bar when compression is detected, alerting traders to watch for price action.
4. Visual Cues
Green short-term EMAs: Show short-term trader activity.
Blue long-term EMAs: Represent long-term investor sentiment.
Background colors: Light green for bullish trends, light red for bearish trends, and transparent for neutral conditions.
Orange downward triangles: Mark new bearish trends.
Yellow upward triangles: Indicate compression, hinting at potential breakouts.
How to Use the GMMA Momentum Indicator for Swing Trading
Swing trading involves capturing price moves over days to weeks, and the GMMA Momentum Indicator is an excellent tool for this strategy. Here’s how to use it effectively:
1. Identifying Trade Entries
Buy Opportunities:
Look for a bullish trend (green background) where the short-term EMAs are above the long-term EMAs and spreading apart, indicating strong momentum.
A compression signal (yellow triangle) followed by a breakout above resistance or a bullish candlestick pattern can confirm an entry.
Example: On a daily chart, if the short-term EMAs cross above the long-term EMAs and the background turns green, consider entering a long position, especially if volume supports the move.
Sell Opportunities:
Watch for a bearish signal (orange downward triangle) or a bearish trend (red background) where the short-term EMAs cross below the long-term EMAs.
Example: If the short-term EMAs collapse below the long-term EMAs and an orange triangle appears, it may signal a shorting opportunity or a time to exit longs.
2. Managing Trades
Use the long-term EMAs as dynamic support (in uptrends) or resistance (in downtrends) to set stop-loss levels or trail stops.
Monitor the spread of the short-term EMAs. A widening spread suggests the trend is strong, while convergence may indicate it’s time to take profits or tighten stops.
3. Anticipating Reversals
Compression signals (yellow triangles) highlight periods of low volatility, often preceding significant price moves. Combine these with price action (e.g., breakouts or reversals) or other indicators (e.g., RSI or volume) for confirmation.
Example: If a compression signal appears near a key support level and the price breaks upward, it could signal the start of a new bullish swing.
4. Best Practices
Timeframes: The indicator works well on daily or 4-hour charts for swing trading, but you can adjust the EMA periods for shorter (e.g., 1-hour) or longer (e.g., weekly) timeframes.
Confirmation: Combine the GMMA with other tools like support/resistance levels, candlestick patterns, or oscillators (e.g., MACD) to reduce false signals.
Risk Management: Always use proper position sizing and stop-losses, as EMAs are lagging indicators and may produce delayed signals in choppy markets.
EMA Cross w/ RSI & Volume Spike (Full Setup)📈 EMA Cross w/ RSI & Volume Spike (Full Setup)
This custom indicator is designed for traders seeking precise buy/sell signals based on a powerful combination of Exponential Moving Averages (EMAs), RSI, and Volume Spikes. It is optimized for both spot and futures trading, especially effective on lower timeframes (like 5m–15m) and swing trading charts.
🔧 Key Features
✅ EMA Stack – Includes 6 EMAs:
Short-Term: EMA 9, 21
Mid-Term: EMA 26, 50
Long-Term: EMA 100, 200
✅ Cross Alerts –
BUY signals: When faster EMAs cross above slower EMAs
SELL signals: When faster EMAs cross below slower EMAs
Covers short-, mid-, and long-term crossovers
✅ Confluence Signals –
BUY+ / SELL+ signals trigger only when an EMA cross is confirmed by:
• RSI (Relative Strength Index) confirmation
• Volume spike above 1.5× 20-period volume average
✅ Visual Markers on Chart –
📗 BUY – Basic EMA cross up
📘 BUY+ – EMA cross + RSI > 50 + volume spike
📕 SELL – Basic EMA cross down
🟧 SELL+ – EMA cross + RSI < 50 + volume spike
✅ Built-in Alerts –
All signal types (BUY, SELL, BUY+, SELL+) can be used with TradingView alerts.
🧠 Best Use Case
This indicator is perfect for:
Scalping (5m / 15m charts)
Spot trading pullbacks
Futures momentum breakouts
Identifying early trend shifts or confirmations
Time-Based Fair Value Gaps (FVG) with Inversions (iFVG)Overview
The Time-Based Fair Value Gaps (FVG) with Inversions (iFVG) (ICT/SMT) indicator is a specialized tool designed for traders using Inner Circle Trader (ICT) methodologies. Inspired by LuxAlgo's Fair Value Gap indicator, this script introduces significant enhancements by integrating ICT principles, focusing on precise time-based FVG detection, inversion tracking, and retest signals tailored for institutional trading strategies. Unlike LuxAlgo’s general FVG approach, this indicator filters FVGs within customizable 10-minute windows aligned with ICT’s macro timeframes and incorporates ICT-specific concepts like mitigation, liquidity grabs, and session-based gap prioritization.
This tool is optimized for 1–5 minute charts, though probably best for 1 minute charts, identifying bullish and bearish FVGs, tracking their mitigation into inverted FVGs (iFVGs) as key support/resistance zones, and generating retest signals with customizable “Close” or “Wick” confirmation. Features like ATR-based filtering, optional FVG labels, mitigation removal, and session-specific FVG detection (e.g., first FVG in AM/PM sessions) make it a powerful tool for ICT traders.
Originality and Improvements
While inspired by LuxAlgo’s FVG indicator (credit to LuxAlgo for their foundational work), this script significantly extends the original concept by:
1. Time-Based FVG Detection: Unlike LuxAlgo’s continuous FVG identification, this script filters FVGs within user-defined 10-minute windows each hour (:00–:10, :10–:20, etc.), aligning with ICT’s emphasis on specific periods of institutional activity, such as hourly opens/closes or kill zones (e.g., New York 7:00–11:00 AM EST). This ensures FVGs are relevant to high-probability ICT setups.
2. Session-Specific First FVG Option: A unique feature allows traders to display only the first FVG in ICT-defined AM (9:30–10:00 AM EST) or PM (1:30–2:00 PM EST) sessions, reflecting ICT’s focus on initial market imbalances during key liquidity events.
3. ICT-Driven Mitigation and Inversion Logic: The script tracks FVG mitigation (when price closes through a gap) and converts mitigated FVGs into iFVGs, which serve as ICT-style support/resistance zones. This aligns with ICT’s view that mitigated gaps become critical reversal points, unlike LuxAlgo’s simpler gap display.
4. Customizable Retest Signals: Retest signals for iFVGs are configurable for “Close” (conservative, requiring candle body confirmation) or “Wick” (faster, using highs/lows), catering to ICT traders’ need for precise entry timing during liquidity grabs or Judas swings.
5. ATR Filtering and Mitigation Removal: An optional ATR filter ensures only significant FVGs are displayed, reducing noise, while mitigation removal declutters the chart by removing filled gaps, aligning with ICT’s principle that mitigated gaps lose relevance unless inverted.
6. Timezone and Timeframe Safeguards: A timezone offset setting aligns FVG detection with EST for ICT’s New York-centric strategies, and a timeframe warning alerts users to avoid ≥1-hour charts, ensuring accuracy in time-based filtering.
These enhancements make the script a distinct tool that builds on LuxAlgo’s foundation while offering ICT traders a tailored, high-precision solution.
How It Works
FVG Detection
FVGs are identified when a candle’s low is higher than the high of two candles prior (bullish FVG) or a candle’s high is lower than the low of two candles prior (bearish FVG). Detection is restricted to:
• User-selected 10-minute windows (e.g., :00–:10, :50–:60) to capture ICT-relevant periods like hourly transitions.
• AM/PM session first FVGs (if enabled), focusing on 9:30–10:00 AM or 1:30–2:00 PM EST for key market opens.
An optional ATR filter (default: 0.25× ATR) ensures only gaps larger than the threshold are displayed, prioritizing significant imbalances.
Mitigation and Inversion
When price closes through an FVG (e.g., below a bullish FVG’s bottom), the FVG is mitigated and becomes an iFVG, plotted as a support/resistance zone. iFVGs are critical in ICT for identifying reversal points where institutional orders accumulate.
Retest Signals
The script generates signals when price retests an iFVG:
• Close: Triggers when the candle body confirms the retest (conservative, lower noise).
• Wick: Triggers when the candle’s high/low touches the iFVG (faster, higher sensitivity). Signals are visualized with triangular markers (▲ for bullish, ▼ for bearish) and can trigger alerts.
Visualization
• FVGs: Displayed as colored boxes (green for bullish, red for bearish) with optional “Bull FVG”/“Bear FVG” labels.
• iFVGs: Shown as extended boxes with dashed midlines, limited to the user-defined number of recent zones (default: 5).
• Mitigation Removal: Mitigated FVGs/iFVGs are removed (if enabled) to keep the chart clean.
How to Use
Recommended Settings
• Timeframe: Use 1–5 minute charts for precision, avoiding ≥1-hour timeframes (a warning label appears if misconfigured).
• Time Windows: Enable :00–:10 and :50–:60 for hourly open/close FVGs, or use the “Show only 1st presented FVG” option for AM/PM session focus.
• ATR Filter: Keep enabled (multiplier 0.25–0.5) for significant gaps; disable on 1-minute charts for more FVGs during volatility.
• Signal Preference: Use “Close” for conservative entries, “Wick” for aggressive setups.
• Timezone Offset: Set to -5 for EST (or -4 for EDT) to align with ICT’s New York session.
Trading Strategy
1. Macro Timeframes: Focus on New York (7:00–11:00 AM EST) or London (2:00–5:00 AM EST) kill zones for high institutional activity.
2. FVG Entries: Trade bullish FVGs as support in uptrends or bearish FVGs as resistance in downtrends, especially in :00–:10 or :50–:60 windows.
3. iFVG Retests: Enter on retest signals (▲/▼) during liquidity grabs or Judas swings, using “Close” for confirmation or “Wick” for speed.
4. Session FVGs: Use the “Show only 1st presented FVG” option to target the first gap in AM/PM sessions, often tied to ICT’s market maker algorithms.
5. Risk Management: Combine with ICT concepts like order blocks or breaker blocks for confluence, and set stops beyond FVG/iFVG boundaries.
Alerts
Set alerts for:
• “Bullish FVG Detected”/“Bearish FVG Detected”: New FVGs in selected windows.
• “Bullish Signal”/“Bearish Signal”: iFVG retest confirmations.
Settings Description
• Show Last (1–100, default: 5): Number of recent iFVGs to display. Lower values reduce clutter.
• Show only 1st presented FVG : Limits FVGs to the first in 9:30–10:00 AM or 1:30–2:00 PM EST sessions (overrides time window checkboxes).
• Time Window Checkboxes: Enable/disable FVG detection in 10-minute windows (:00–:10, :10–:20, etc.). All enabled by default.
• Signal Preference: “Close” (default) or “Wick” for iFVG retest signals.
• Use ATR Filter: Enables ATR-based size filtering (default: true).
• ATR Multiplier (0–∞, default: 0.25): Sets FVG size threshold (higher values = larger gaps).
• Remove Mitigated FVGs: Removes filled FVGs/iFVGs (default: true).
• Show FVG Labels: Displays “Bull FVG”/“Bear FVG” labels (default: true).
• Timezone Offset (-12 to 12, default: -5): Aligns time windows with EST.
• Colors: Customize bullish (green), bearish (red), and midline (gray) colors.
Why Use This Indicator?
This indicator empowers ICT traders with a tool that goes beyond generic FVG detection, offering precise, time-filtered gaps and inversion tracking aligned with institutional trading principles. By focusing on ICT’s macro timeframes, session-specific imbalances, and customizable signal logic, it provides a clear edge for scalping, swing trading, or reversal setups in high-liquidity markets.
Pivot Candle PatternsPivot Candle Patterns Indicator
Overview
The PivotCandlePatterns indicator is a sophisticated trading tool that identifies high-probability candlestick patterns at market pivot points. By combining Williams fractals pivot detection with advanced candlestick pattern recognition, this indicator targets the specific patterns that statistically show the highest likelihood of signaling reversals at market tops and bottoms.
Scientific Foundation
The indicator is built on extensive statistical analysis of historical price data using a 42-period Williams fractal lookback period. Our research analyzed which candlestick patterns most frequently appear at genuine market reversal points, quantifying their occurrence rates and subsequent success in predicting reversals.
Key Research Findings:
At Market Tops (Pivot Highs):
- Three White Soldiers: 28.3% occurrence rate
- Spinning Tops: 13.9% occurrence rate
- Inverted Hammers: 11.7% occurrence rate
At Market Bottoms (Pivot Lows):
- Three Black Crows: 28.4% occurrence rate
- Hammers: 13.3% occurrence rate
- Spinning Tops: 13.1% occurrence rate
How It Works
1. Pivot Point Detection
The indicator uses a non-repainting implementation of Williams fractals to identify potential market turning points:
- A pivot high is confirmed when the middle candle's high is higher than surrounding candles within the lookback period
- A pivot low is confirmed when the middle candle's low is lower than surrounding candles within the lookback period
- The default lookback period is 2 candles (user adjustable from 1-10)
2. Candlestick Pattern Recognition
At identified pivot points, the indicator analyzes candle properties using these parameters:
- Body percentage threshold for Spinning Tops: 40% (adjustable from 10-60%)
- Shadow percentage threshold for Hammer patterns: 60% (adjustable from 40-80%)
- Maximum upper shadow for Hammer: 10% (adjustable from 5-20%)
- Maximum lower shadow for Inverted Hammer: 10% (adjustable from 5-20%)
3. Pattern Definitions
The indicator recognizes these specific patterns:
Single-Candle Patterns:
- Spinning Top : Small body (< 40% of total range) with significant upper and lower shadows (> 25% each)
- Hammer : Small body (< 40%), very long lower shadow (> 60%), minimal upper shadow (< 10%), closing price above opening price
- Inverted Hammer : Small body (< 40%), very long upper shadow (> 60%), minimal lower shadow (< 10%)
Multi-Candle Patterns:
- Three White Soldiers : Three consecutive bullish candles, each closing higher than the previous, with each open within the previous candle's body
- Three Black Crows : Three consecutive bearish candles, each closing lower than the previous, with each open within the previous candle's body
4. Visual Representation
The indicator provides multiple visualization options:
- Highlighted candle backgrounds for pattern identification
- Text or dot labels showing pattern names and success rates
- Customizable colors for different pattern types
- Real-time alert functionality on pattern detection
- Information dashboard displaying pattern statistics
Why It Works
1. Statistical Edge
Unlike traditional candlestick pattern indicators that simply identify patterns regardless of context, PivotCandlePatterns focuses exclusively on patterns occurring at statistical pivot points, dramatically increasing signal quality.
2. Non-Repainting Design
The pivot detection algorithm only uses confirmed data, ensuring the indicator doesn't repaint or provide false signals that disappear on subsequent candles.
3. Complementary Pattern Selection
The selected patterns have both:
- Statistical significance (high frequency at pivots)
- Logical market psychology (reflecting institutional supply/demand changes)
For example, Three White Soldiers at a pivot high suggests excessive bullish sentiment reaching exhaustion, while Hammers at pivot lows indicate rejection of lower prices and potential buying pressure.
Practical Applications
1. Reversal Trading
The primary use is identifying potential market reversals with statistical probability metrics. Higher percentage patterns (like Three White Soldiers at 28.3%) warrant more attention than lower probability patterns.
2. Confirmation Tool
The indicator works well when combined with other technical analysis methods:
- Support/resistance levels
- Trend line breaks
- Divergences on oscillators
- Volume analysis
3. Risk Management
The built-in success rate metrics help traders properly size positions based on historical pattern reliability. The displayed percentages reflect the probability of the pattern successfully predicting a reversal.
Optimized Settings
Based on extensive testing, the default parameters (Body: 40%, Shadow: 60%, Shadow Maximums: 10%, Lookback: 2) provide the optimal balance between:
- Signal frequency
- False positive reduction
- Early entry opportunities
- Pattern clarity
Users can adjust these parameters based on their timeframe and trading style, but the defaults represent the statistically optimal configuration.
Complementary Research: Reclaim Analysis
Additional research on "reclaim" scenarios (where price briefly breaks a level before returning) showed:
- Fast reclaims (1-2 candles) have 70-90% success rates
- Reclaims with increasing volume have 53.1% success rate vs. decreasing volume at 22.6%
This complementary research reinforces the importance of candle patterns and timing at critical market levels.
Multi Year BreakoutWhat the Script Does (Simple Summary)
Name: It's called "Multi Year Breakout" (or MYBO for short) and shows up right on your main price chart.
Settings You Control: You can easily change settings like:
How many months or years back the script should look to find the important old highest price and lowest price.
How many months back it should look for the recent highest price.
Whether you want to see the lines drawn on the chart for these highs and lows.
The color, thickness, and style (solid, dashed, dotted) of the lines.
An optional info box showing the price levels, where it appears, and the text size.
What it Calculates: It finds the exact price for the highest high in the "older" period you set, the highest high in the "recent" period, and the lowest low in the "older" period.
What it Draws:
It draws horizontal lines on your chart at these key price levels. Think of the high lines (Fuchsia for older, Orange for recent) as price ceilings (resistance).
It draws small triangle arrows below the price bars when a potential breakout happens.
The Breakout Signal:
It checks if today's closing price moved above the highest ceiling (either the older Fuchsia line or the recent Orange line, whichever was higher yesterday).
If it did, you get an arrow:
Fuchsia Arrow: Price broke above the older high ceiling (often more important).
Orange Arrow: Price broke above the recent high ceiling.
Alerts:
The script creates alert conditions. If you want a notification (popup, email, etc.), you MUST manually create an alert in TradingView's alert menu, choosing this script and selecting either the "Fuchsia Breakout" or "Orange Breakout" condition.
Best Way to Use It (Simple Guide)
Goal: Use this script to help find stocks that are breaking through significant past price ceilings. This might signal the start of a new upward move.
Best Charts: Works best on Daily or Weekly charts to see the bigger picture price action over months and years.
Setup:
Add the script to your preferred chart.
Adjust the settings (gear icon ⚙️) to define your "older" and "recent" periods (e.g., 60 months back for the older start, 12 months back for the older end / recent end).
Choose which lines you want to see (usually the Fuchsia and Orange high lines are most useful).
Reading the Chart:
Fuchsia Line: A major price level that stopped the price going higher in the more distant past. Breaking this is often significant.
Orange Line: The highest price reached more recently. Breaking this shows current momentum.
Arrows: An arrow appears when the price closes above the relevant high line (based on yesterday's level). The color tells you if it cleared the older (Fuchsia) or recent (Orange) hurdle.
Very Important - Use Other Tools Too! Don't trade based only on an arrow. Always look for extra confirmation:
Volume: Was there a lot more trading activity than usual on the breakout day? (High volume is a good sign).
Chart Pattern: Was the stock building up energy in a pattern before breaking out?
Market Direction: Is the overall stock market also looking positive?
Set Up Alerts (If Wanted): If you want TradingView to notify you, go to the 'Alert' menu, select this script (MYBO), choose the "Fuchsia Breakout" or "Orange Breakout" condition, and set how you want to be notified.
Manage Risk: Sometimes breakouts look good but then fail. Always decide before you trade how much you're willing to risk and where you'll exit if the price falls back down (use a stop-loss).
Think of this script as a signal that says "Hey, look at this stock, it just cleared an important level!". It's your cue to investigate further using other analysis before making any trading decisions.
London Judas Swing Indicator by PoorTomTradingThis indicator is designed to help people identify and trade the London Judas Swing by Inner Circle Trader (ICT).
UPDATES IN V2:
This is a v2 update with automatic timezone settings, there is no longer any need to adjust the time or offset for DST.
It will now also work on any chart that trades during the Asia and London sessions (20:00 - 05:00 NY Time), including crypto.
It is recommended to use this indicator on the 5 minute timeframe.
INTRODUCTION OF KEY CONCEPTS:
Swing Points are a candle patterns defining highs and lows, these are explained further down in the description in more detail. They are shown on the indicator by arrows above and below candles. They can be removed if you wish by turning their opacity to 0% in settings. Swing points are automatically removed when price trades beyond them (above swing highs, below swing lows).
The Asia Session can be set by the user, but is defined by default as 20:00 - 00:00 NY time. Lines are drawn at the high and low of the Asia Session and the Asian Range is set at midnight.
The London Session is defined as 02:00 - 05:00 NY time.
The user can also include the pre-London session (00:00 - 02:00) for detection of breakouts and Market Structure Breaks (MSBs - explained lower down in the description with examples). This is selected by default.
EXPLANATION OF INDICATOR:
During the London Session, the indicator will wait for a break of either the high or low of the Asian Range.
When this is detected, it will draw a dashed line where the breakout occurred and trigger an alert.
After the break of the Asian Range, the indicator will look for an MSB in the opposite direction, which is when price closes beyond a swing point opposing current price direction. The indicator will draw a line indicating the MSB point and trigger an alert.
Finally, the indicator will also trigger an alert when price returns to this MSB level, which is the most simple Judas Swing entry method.
The Judas swing
Example with chart for Judas Swing short setups -
Price breaks above the Asia High, no candle close is required, the indicator will then wait for price to close a candle below the last swing low.
A swing low is defined as a 3 candle pattern, with two candles on either side of the middle one having higher lows. When a candle closes below the middle candle's low, that is an MSB.
When price returns to the MSB point, the Take Profit and Stop Loss levels will appear.
When price goes to either the Stop Loss or Take Profit level, the MSB, TP and SL, lines will be removed.
After this, if price creates a new setup in the opposite direction, the indicator will also work for this, as shown in this example that occurred right after the first example
SETTINGS:
- The "Swing Point strength" can be adjusted in the settings.
Example:
For a swing low:
The default setting is 1 (one candle on each side of a middle candle has a higher low).
You can change this setting to 2, for a 5 candle pattern (two candles on each side of the middle candle have higher lows).
This can be changed to a maximum of 10. But only 1 or 2 is recommended especially on the 5 minute chart.
- ATR Length and Triangle Distance Multiplier settings are for adjusting how the swing point symbols appear on the chart.
This is to ensure triangles are not drawn over candles when price gets volatile.
The default setting is ideal for almost all market conditions, but you can play around with it to adjust to your liking.
- Alerts.
For alerts to be triggered, they must first be selected in settings.
Then you need to go on to the chart and right-click on an element of the indicator (such as the swing point symbols) and select "add alert on PTT-LJS-v2".
If after this, you change any settings on the indicator such as session times or pre-London session, you must add the alert again, and delete the old one if you wish.
Market Structure: BoS & CHoCH (Math by Thomas)📌 Description:
Market Structure: BoS & CHoCH (Math by Thomas) is a clean and reliable market structure tool designed to visually mark Swing Highs, Swing Lows, and classify each one as HH (Higher High), LH (Lower High), LL (Lower Low), or HL (Higher Low) based on price action. It also detects and labels Break of Structure (BoS) and Change of Character (CHoCH) to help identify potential continuation or reversal in trend.
🛠️ How to Use:
Add the indicator to your chart (works on any timeframe and asset).
Adjust the "Swing Sensitivity" input to fine-tune how many bars the script uses to detect a swing high/low. A higher number smooths out noise.
The script will automatically:
Mark every confirmed swing high or low with a solid line.
Label the swing as HH, LH, HL, or LL depending on its relative position.
Show BoS (trend continuation) or CHoCH (trend reversal) labels with the current trend direction.
Toggle labels or lines on or off with the corresponding checkboxes in settings.
🔍 Tip:
Use this indicator alongside other tools like volume or RSI for more confident entries. A CHoCH followed by two BoS in the same direction often signals a strong trend reversal.
Color Coded Volume IndicatorColor Coded Volume Indicator
Overview
Splits each bar’s total volume into estimated buy-side vs. sell-side components and displays them as stacked two-tone columns (red = sell, green = buy). Axis labels and tooltips use “K”/“M” formatting.
Features
Stacked Two-Tone Columns
Red Base : estimated sell volume (50% opacity)
Green Top : remaining buy volume (50% opacity)
Automatic K/M Formatting via format=format.volume
Zero Baseline for clean reference at zero
Positive-Only Bars (no negatives)
How It Works
True-Range Guard
Skips bars where high == low to avoid divide-by-zero.
Volume Split
BuyVol = Volume × (Close − Low) / (High − Low)
SellVol = Volume × (High − Close) / (High − Low)
Both series clamped ≥ 0.
Layered Plot
Draw semi-transparent green at full height, then overlay red sell portion.
Usage
Open TradingView’s Pine Editor
Paste in the full script
Click “Save & Add to Chart”
In the Publish dialog, title it “Color Coded Volume Indicator” and paste this description.
Interpretation
Green-dominant bars → strong buying pressure
Red-dominant bars → strong selling pressure
Equal halves → balanced activity