MA Shift (Offset Only + Flip Dots)Indicator Overview
This custom moving average indicator shifts the SMA away from price by a fixed percent or ATR multiple. It delivers a clear, uncluttered view of trend direction and momentum while keeping the price bars visible. A single offset line glows in semi-transparent shading and changes color based on trend state. When the price crosses the base SMA, a small dot marks the flip point.
Key Features
Adjustable Length
Choose any SMA period (default six) to suit your time frame and trading style.
Flexible Offset Mode
Percent mode places the line a fixed percentage above or below the SMA.
ATR mode spaces the line dynamically based on market volatility.
Direction Toggle
Shift the line up or down away from candles.
Glow Effect
A wide, semi-transparent band highlights the offset line for easy visibility.
Trend-Flip Dots
A tiny circle appears below the bar when the trend turns up and above the bar when it turns down, helping you spot reversals at a glance.
Custom Candle and Bar Coloring
Bars and candles recolor to reflect the current trend, reinforcing visual clarity.
How It Works
Base SMA Calculation
The indicator computes a standard SMA on your chosen source (high+low 2 by default).
Offset Application
It then adds or subtracts the percent or ATR-based distance to create a second line.
Trend Detection
When price moves above the SMA, the offset line and bars turn to your “up” color. When price drops below, they switch to your “down” color.
Flip Signals
On the bar that triggers a color change, a dot marks the exact reversal point.
Trading Signals and Usage
Trend Confirmation
Use the offset line as a clean trend guide. Price consistently above the line with green bars signals a bullish regime. Price below the line with orange bars signals bearish control.
Entry and Exit
Long Entry: Wait for a flip-up dot and a green close above the offset line.
Short Entry: Watch for a flip-down dot and an orange close below the offset line.
Stops and Targets: Place stops just inside the offset line on pullbacks for dynamic risk management.
Avoiding Whipsaws
The visual separation helps you ignore minor noise around price. Combine flip dots with bar color to filter false turns.
Confluence with MACD
Pair this offset SMA with the MACD for stronger signals:
MACD Trend Filter
Require the MACD line to be above its signal line (and histogram above zero) before taking a long flip-up from the offset MA.
Momentum Confirmation
When the offset SMA flips to a downtrend, look for the MACD histogram to turn negative. That alignment avoids fade-against-momentum trades.
Entry Timing
Use the MACD crossover as a lead-in filter and the offset SMA flip as the actual trigger. This two-step approach keeps you on the right side of larger moves.
Publishing Tips on TradingView
Description: Summarize features and usage in the indicator’s “About” field.
Inputs: List each setting clearly so users know how to tweak period, offset mode, percent/ATR values and color choices.
Examples: Include a chart snapshot showing a long setup with both the offset SMA flip and a confirming MACD crossover.
Release Notes: Mention version defaults (six-period SMA, ten-percent offset) and invite feedback for improvements.
Tags: Use relevant keywords like “Moving Average,” “Offset Indicator,” “Trend Filter,” and “MACD Confluence” to make it easy to find.
With its simple dot signals and customizable glow, this offset SMA becomes a powerful visual tool—especially when paired with MACD—for spotting clean trend entries and exits.
Corak carta
💧 USD Liquidity Index (Fed + M2 + Base)This custom indicator tracks USD liquidity by combining the Federal Reserve’s total assets (WALCL), M2 money supply (M2SL), and the monetary base (BASE) — all sourced from FRED (Federal Reserve Economic Data).
It's designed to provide a macro-level view of liquidity conditions in the U.S. financial system. This index can be used to help gauge the risk-on vs risk-off environment for assets like Bitcoin, equities, and commodities.
Higher values typically indicate liquidity expansion (bullish for risk assets).
Declining values indicate liquidity contraction or quantitative tightening (bearish for risk assets).
📊 Data Sources:
FRED:WALCL – Fed Balance Sheet
FRED:M2SL – M2 Money Supply
FRED:BASE – Monetary Base
⚠️ Weekly timeframe only. Designed for macro swing traders, crypto investors, and liquidity-driven strategists.
Previous Candle High/Low (Clean)✅ Creates one horizontal line for the previous candle’s high (green).
✅ Creates one horizontal line for the previous candle’s low (red).
✅ The lines update on each new candle, always following the most recent previous high/low.
✅ The lines are extended to the right — they don’t stack or clutter the chart.
✅ Works on all timeframes.
Multi Vertical Timeline V3English Description
Multi Vertical Timeline V3 + 3 Time Blocks
A professional trading indicator for precise time marking and session highlighting on your charts.
Key Features:
📍 6 Vertical Time Lines:
Individually configurable times (hour/minute)
Customizable colors, line widths, and styles (solid, dashed, dotted)
Enable/disable toggle for each timeline
Optional time labels
🎨 3 Trading Session Blocks:
Colored background highlights for important trading hours
Pre-configured for NY, London, and Tokyo sessions
Fully customizable start and end times
Transparent coloring for optimal chart readability
⏰ Smart Time Control:
Precise timezone offset setting (-12 to +12 hours)
Automatic adjustment for daylight saving time
Worldwide timezone support
Special handling for time blocks crossing midnight
🛠️ User-Friendly Design:
Clear grouping of all settings
Global on/off control for all labels
No performance impact through optimized code
Instant visual feedback
Use Cases:
Forex Trading (mark session overlaps)
Futures Trading (market opening hours)
Intraday Strategies (entry/exit times)
Multi-timeframe Analysis
Backtesting with time-based rules
Perfect for traders who need precise time markings and session highlights for their strategies!
Pegasus Returns EMAs (Green Above, Red Below)This indicator plots up to four customizable Exponential Moving Averages (EMAs) on the price chart, each with user-defined settings for visibility and period length. It is designed to provide a clear visual representation of bullish and bearish momentum based on the closing price relative to each EMA.
Key Features:
Custom EMA Periods: Easily modify the length of each EMA (default: 20, 50, 100, 200).
Dynamic Color Coding:
Green Line when the closing price is above the EMA (bullish signal).
Red Line when the closing price is below the EMA (bearish signal).
Toggle Visibility: You can choose to display or hide any of the four EMAs via checkboxes in the settings.
Overlay on Price Chart: EMAs are plotted directly on the candlestick chart for intuitive analysis.
Inputs:
Show EMA 1–4: Enable or disable each EMA.
EMA 1–4 Period: Set a custom period for each EMA (min 1).
Use Cases:
Identifying trend direction and strength.
Spotting dynamic support and resistance zones.
Entry/exit confirmation in trending markets
Indicator Sessions @indexprofx🧠 Description:
This indicator plots three key Exponential Moving Averages (EMAs) to help traders identify market trends and potential entry/exit points with precision:
EMA 8 (Green) – Fast trend, useful for scalping or short-term signals
EMA 50 (Blue) – Mid-term trend filter
EMA 150 (Red) – Long-term bias and trend direction
It is part of the IndexProFX toolkit and integrates smoothly with other tools like Intraday Signal and Session Zones for enhanced confluence trading.
✔️ Clean structure
✔️ Easy-to-read color-coded EMAs
✔️ Supports scalping, day trading, and swing trading strategies
CerberusFX Custom Time LineCerberusFX Custom Time Line
🧠 How it works:
Detects when time passes the target.
Sets a should_plot flag.
Waits for the next bar, even on Renko.
Plots the line once, then resets.
🧪 Tested on:
Renko
Heikin Ashi
1min–1D regular timeframes
3-Bar Compression Reversal Pattern//@version=5
indicator("3-Bar Compression Reversal Pattern", overlay=true)
// Get candle OHLCs
open1 = open
close1 = close
body1 = math.abs(close1 - open1)
open2 = open
close2 = close
body2 = math.abs(close2 - open2)
// 2nd candle body < 50% of 1st
secondSmall = body2 < (0.5 * body1)
// 3rd candle engulfs both 1st and 2nd
lowAll = math.min(low , low )
highAll = math.max(high , high )
engulfAll = (high > highAll) and (low < lowAll)
// Final condition
patternDetected = secondSmall and engulfAll
// Plot signal
plotshape(patternDetected, location=location.belowbar, color=color.green, style=shape.labelup, size=size.small, title="Pattern Signal")
alertcondition(patternDetected, title="3-Bar Reversal Alert", message="3-Bar Compression Reversal Pattern Detected!")
Trend Continuation IndicatorTrend Continuation Indicator
The Trend Continuation Indicator is designed to assist traders in identifying potential continuation setups within established market trends. It is particularly suited for use in strong trending environments and is optimized for lower timeframes, with a recommended chart setting of 5-minute candles and an EMA timeframe set to 1 hour.
The indicator combines multiple technical elements:
RSI (Relative Strength Index): Used to assess potential overbought and oversold conditions relative to the trend.
EMA (Exponential Moving Average): A multi-timeframe EMA is used as a directional filter, helping to align entries with the broader trend.
Candle Structure and Momentum Filters: The logic includes real-time candle analysis and volume dynamics to identify momentum-driven signals.
Buy signals are generated when price action shows bullish momentum and RSI confirms potential oversold conditions within an uptrend. Conversely, sell signals are triggered when bearish momentum aligns with overbought RSI levels in a downtrend.
This tool is intended for use as part of a broader trading strategy and is best applied in trending markets where continuation patterns are more likely to follow through.
THE INDICATOR ITSELF IS NO FINANCIAL ADVISE!
Here are some usecase examples:
Ultimate Market Structure [Alpha Extract]Ultimate Market Structure
A comprehensive market structure analysis tool that combines advanced swing point detection, imbalance zone identification, and intelligent break analysis to identify high-probability trading opportunities.Utilizing a sophisticated trend scoring system, this indicator classifies market conditions and provides clear signals for structure breaks, directional changes, and fair value gap detection with institutional-grade precision.
🔶 Advanced Swing Point Detection
Identifies pivot highs and lows using configurable lookback periods with optional close-based analysis for cleaner signals. The system automatically labels swing points as Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL) while providing advanced classifications including "rising_high", "falling_high", "rising_low", "falling_low", "peak_high", and "valley_low" for nuanced market analysis.
swingHighPrice = useClosesForStructure ? ta.pivothigh(close, swingLength, swingLength) : ta.pivothigh(high, swingLength, swingLength)
swingLowPrice = useClosesForStructure ? ta.pivotlow(close, swingLength, swingLength) : ta.pivotlow(low, swingLength, swingLength)
classification = classifyStructurePoint(structureHighPrice, upperStructure, true)
significance = calculateSignificance(structureHighPrice, upperStructure, true)
🔶 Significance Scoring System
Each structure point receives a significance level on a 1-5 scale based on its distance from previous points, helping prioritize the most important levels. This intelligent scoring system ensures traders focus on the most meaningful structure breaks while filtering out minor noise.
🔶 Comprehensive Trend Analysis
Calculates momentum, strength, direction, and confidence levels using volatility-normalized price changes and multi-timeframe correlation. The system provides real-time trend state tracking with bullish (+1), bearish (-1), or neutral (0) direction assessment and 0-100 confidence scoring.
// Calculate trend momentum using rate of change and volatility
calculateTrendMomentum(lookback) =>
priceChange = (close - close ) / close * 100
avgVolatility = ta.atr(lookback) / close * 100
momentum = priceChange / (avgVolatility + 0.0001)
momentum
// Calculate trend strength using multiple timeframe correlation
calculateTrendStrength(shortPeriod, longPeriod) =>
shortMA = ta.sma(close, shortPeriod)
longMA = ta.sma(close, longPeriod)
separation = math.abs(shortMA - longMA) / longMA * 100
strength = separation * slopeAlignment
❓How It Works
🔶 Imbalance Zone Detection
Identifies Fair Value Gaps (FVGs) between consecutive candles where price gaps create unfilled areas. These zones are displayed as semi-transparent boxes with optional center line mitigation tracking, highlighting potential support and resistance levels where institutional players often react.
// Detect Fair Value Gaps
detectPriceImbalance() =>
currentHigh = high
currentLow = low
refHigh = high
refLow = low
if currentOpen > currentClose
if currentHigh - refLow < 0
upperBound = currentClose - (currentClose - refLow)
lowerBound = currentClose - (currentClose - currentHigh)
centerPoint = (upperBound + lowerBound) / 2
newZone = ImbalanceZone.new(
zoneBox = box.new(bar_index, upperBound, rightEdge, lowerBound,
bgcolor=bullishImbalanceColor, border_color=hiddenColor)
)
🔶 Structure Break Analysis
Determines Break of Structure (BOS) for trend continuation and Directional Change (DC) for trend reversals with advanced classification as "continuation", "reversal", or "neutral". The system compares pre-trend and post-trend states for each break, providing comprehensive trend change momentum analysis.
🔶 Intelligent Zone Management
Features partial mitigation tracking when price enters but doesn't fully fill zones, with automatic zone boundary adjustment during partial fills. Smart array management keeps only recent structure points for optimal performance while preventing duplicate signals from the same level.
🔶 Liquidity Zone Detection
Automatically identifies potential liquidity zones at key structure points for institutional trading analysis. The system tracks broken structure points and provides adaptive zone extension with configurable time-based limits for imbalance areas.
🔶 Visual Structure Mapping
Provides clear visual indicators including swing labels with color-coded significance levels, dashed lines connecting break points with BOS/DC labels, and break signals for continuation and reversal patterns. The adaptive zones feature smart management with automatic mitigation tracking.
🔶 Market Structure Interpretation
HH/HL patterns indicate bullish market structure with trend continuation likelihood, while LH/LL patterns signal bearish structure with downtrend continuation expected. BOS signals represent structure breaks in trend direction for continuation opportunities, while DC signals warn of potential reversals.
🔶 Performance Optimization
Automatic cleanup of old structure points (keeps last 8 points), recent break tracking (keeps last 5 break events), and efficient array management ensure smooth performance across all timeframes and market conditions.
Why Choose Ultimate Market Structure ?
This indicator provides traders with institutional-grade market structure analysis, combining multiple analytical approaches into one comprehensive tool. By identifying key structure levels, imbalance zones, and break patterns with advanced significance scoring, it helps traders understand market dynamics and position themselves for high-probability trade setups in alignment with smart money concepts. The sophisticated trend scoring system and intelligent zone management make it an essential tool for any serious trader looking to decode market structure with precision and confidence.
Keith's Volume with MAs and Breakout SignalsThis indicator highlights significant volume breakouts based on customizable moving averages.
A breakout signal appears only when:
Volume is higher than all three selected volume MAs (default 20, 50, 200).
The short-term MA is above the long-term MA.
Volume exceeds a customizable ratio threshold (default: 2× of MA50).
Designed for traders who want clean and reliable breakout alerts without unnecessary noise.
Works well for trend continuation and momentum confirmation.
PM + BOS + FVG Indicator & AlertsHey team it's Tanner, I have created Nitros strategy into a custom indicator, it's only the PM BOS FVG model, I will add a HOD/LOD BOS FVG custom indicator eventually, this indicator is setup to give you alerts as well. or if you just want a clean FVG indicator and or PM level indicator this works too. mess with the settings to your liking and DM me on circle or discord if you have feedback or questions, thanks team.
DA Cloud - DynamicDA Cloud - Dynamic | Detailed Overview
🌟 What Makes This Indicator Special
The DA Cloud - Dynamic is an advanced technical analysis tool that creates adaptive support and resistance zones that expand and contract based on market volatility. Unlike traditional static indicators, this cloud system "breathes" with the market, providing dynamic levels that adjust to changing market conditions.
📊 Core Components
1. Multi-Layered Cloud Structure
Resistance Cloud (Red): Three dynamic resistance levels (RL1, RL2, RL3) with intermediate channels (RC1, RC2)
Support Cloud (Green): Three dynamic support levels (SL1, SL2, SL3) with intermediate channels (SC1, SC2)
Trend Cloud (Blue): Five trend lines (TU2, TU1, TM, TL1, TL2) that flow through the center
Confirmation Line (Purple): A fast-reacting line that confirms trend changes
2. Forward Displacement Technology
The entire cloud system is projected 21 bars into the future (Fibonacci number), allowing traders to see potential support and resistance levels before price reaches them. This predictive element is inspired by Ichimoku Cloud theory but enhanced with modern volatility dynamics.
🔬 How It Works (Without Revealing the Secret Sauce)
Volatility-Responsive Design
The indicator continuously measures market volatility across multiple timeframes
During high volatility periods (like major breakouts), clouds expand dramatically
During consolidation, clouds contract and tighten around price
This creates a "breathing" effect that adapts to market conditions
Multi-Timeframe Analysis
Incorporates Fibonacci sequence periods (3, 13, 21, 34, 55) for calculations
Blends short-term responsiveness with long-term stability
Creates smooth, flowing lines that filter out market noise
Dynamic Level Calculation
Levels are not fixed percentages or static bands
Each level adapts based on current market structure and volatility
Channel lines (RC1, RC2, SC1, SC2) provide intermediate support/resistance
🎯 Key Features
1. Touch Point Detection
Colored dots appear when price touches key levels
Red dots = resistance touch
Green dots = support touch
Blue dots = trend median touch
2. Entry/Exit Signals
"Cloud Entry" labels when confirmation line crosses above SL1
"Cloud Exit" labels when confirmation line crosses below RL1
Background color changes based on bullish/bearish bias
3. Information Table
Real-time display of key levels (RL1, TM, SL1)
Current bias indicator (BULLISH/BEARISH)
Updates dynamically as market moves
⚙️ Customization Options
Main Controls:
Sensitivity (5-50): How responsive clouds are to price movements
Smoothing (1-50): Controls the flow and smoothness of cloud lines
Forward Displacement (0-50): How many bars to project the cloud forward
Advanced Volatility Settings:
Volatility Lookback (50-1000): Period for establishing volatility baseline
Volatility Smoothing (1-50): Reduces spikes in volatility expansion
Expansion Power (0.1-2.0): Controls how dramatically clouds expand
Range Divisor (1.0-20.0): Master control for overall cloud width
Level Spacing:
Individual multipliers for each resistance and support level
Allows fine-tuning of cloud structure to match different markets
Trend Spacing:
Separate controls for inner and outer trend bands
Customize the trend cloud density
📈 Trading Applications
1. Trend Identification
Price above TM (Trend Median) = Bullish bias
Price below TM = Bearish bias
Cloud color and width indicate trend strength
2. Support/Resistance Trading
Use RL1/SL1 as primary targets and reversal zones
RC1/RC2 and SC1/SC2 provide intermediate levels
RL3/SL3 mark extreme levels often seen at major tops/bottoms
3. Volatility Analysis
Expanding clouds signal increasing volatility and potential big moves
Contracting clouds indicate consolidation and potential breakout setup
Cloud width helps with position sizing and risk management
4. Multi-Timeframe Confirmation
Works on all timeframes from 1-minute to monthly
Higher timeframes show major market structure
Lower timeframes provide precise entry/exit points
🎓 Best Practices
Combine with Volume: High volume at cloud levels increases reliability
Watch for Touch Clusters: Multiple touches at a level indicate strength
Monitor Cloud Expansion: Sudden expansion often precedes major moves
Use Multiple Timeframes: Confirm signals across different time periods
Respect the Trend Median: This is often the most important level
⚡ Performance Notes
Optimized for up to 2000 bars of historical data
Smooth performance with 500+ lines and labels
Works on all markets: Crypto, Forex, Stocks, Commodities
📝 Version Info
Current Version: 1.0
Dynamic volatility expansion system
Full customization suite
Touch point detection
Entry/exit signals
Forward displacement projection
Heikin Ashi Trend Strategy (Beginner)FOR BEGINNERS
Perfect! Below is a custom Pine Script for TradingView that:
Uses Heikin Ashi candles
Shows buy/sell signals based on trend conditions:
3+ green/red Heikin Ashi candles
Price above/below 20 EMA
RSI filter for momentum
Support & Resistance ZonesAuto Support And Resistance Lines, This AI auto support and ressitance lines helps identify support and resitance
Auto Market Structure BOS & CHOCH [TeamCash]Auto Market Structure
The Auto Market Structure (AMS) indicator automatically maps market structure to guide your trading. Using pivot points, it plots lines and labels to identify Break of Structure (BOS)—a price break of a key level signaling trend continuation—and Change of Character (CHOCH)—a shift in market direction after breaking a swing high/low. How It Works: BITSTAMP:BTCUSD BITSTAMP:ETHUSD AMS detects pivot points across multiple timeframes, marking BOS and CHOCH with white lines (solid for confirmed, dotted for potential) and labels. It automatically tracks level crosses, highlighting trend shifts or continuations. Optional Fibonacci lines (yellow) can be enabled for precise entry and target zones.
Why Use AMS?
Automates market structure analysis for faster, clearer setups.
Pairs with Fibonacci for high-probability entry and exit points.
Works across timeframes, despite minor bugs, for versatile trading.
Ideal for traders combining structure and Fibonacci in BITSTAMP:BTCUSD and BITSTAMP:ETHUSD markets, offering a powerful, evolving tool for technical analysis.
Session HL + Candles + AMD (Nephew_Sam_)Session HL + Candles + AMD (Nephew_Sam_)
This indicator marks out intraday sessions summarized into single candles, with an additional option to mark out the HL of each session. Perfect for understanding AMD within a glance (accumulation-manipulation-distribution)
Features:
Session High/Low lines with customizable colors and labels
Optional session candles displayed on the right side of the chart
Timezone support for global traders
Customizable bull/bear candle colors
Works on timeframes up to 1 hour
Perfect for:
Identifying session liquidity levels
Tracking session ranges and breakouts
Multi-timeframe session analysis
ICT methodology traders
Settings:
Choose your timezone for accurate session detection
Toggle session candles and HL lines independently
Customize colors, line styles, and labels
Set maximum timeframe (up to 1 hour)
Oz SIGNAL PRO v6 is a powerful 15-minute trend-following indicator tailored for precision trading. It detects Break of Structure (BOS) and CHoCH signals with built-in volume confirmation and overlays premium/discount zones directly on the chart. The indicator includes:
🔹 Visual buy/sell labels at breakout points
🔸 Dynamic EMA and VWAP for trend filtering
🟩 Automatic support/resistance zones
🔔 Alert-ready for signal automation
Ideal for intraday traders seeking clean, high-confidence signals.
Upgrade-ready: Easily extend with FVGs, order blocks, liquidity sweeps & backtesting.
8 AM & 9 AM NY Candle HighlighterThis indicator helps me to know when the 9am NY candle has closed above or below the previous candle.
SOL Smart Alert SystemITECS built this to work alongside my AI agent and scripts to provide a robust notification/alert system that can be configured to best work with the current market conditions.
Expansion Triangle [TradingFinder] MegaPhone Broadening🔵 Introduction
The Expanding Triangle, also known as the Broadening Formation, is one of the key technical analysis patterns that clearly reflects growing market volatility, increasing indecision among participants, and the potential for sharp price explosions.
This pattern is typically defined by a sequence of higher highs and lower lows, forming within two diverging trendlines. Unlike traditional triangles that converge to a breakout point, the expanding triangle pattern becomes wider over time, leaving no precise apex for a breakout to occur.
From a price action perspective, the pattern represents a prolonged tug-of-war between buyers and sellers, where neither side has taken control yet. Each aggressive swing opens the door to new opportunities whether it's a trend reversal, range trading, or a momentum breakout. This dual nature makes the pattern highly versatile across market conditions, from exhausted trend ends to volatile consolidation zones.
The custom-built indicator for this pattern uses a combination of smart algorithms and detailed analysis of swing dynamics to automatically detect expanding triangles and highlight low-risk entry points.
Traders can use this tool to capitalize on high-probability setups from shorting near the upper edge of the structure with confirmation, to trading bearish breakouts during trend continuations, or entering long positions near the lower boundary during bullish reversals. The chart examples included in this article demonstrate these three highly practical trading scenarios in live market conditions.
A major advantage of this indicator lies in its structural filtering engine, which analyzes the behavior of each price leg in the triangle. With four adjustable filter levels from Very Aggressive, which highlights all potential patterns, to Very Defensive, which only triggers when price actually touches the triangle's trendlines the indicator ensures that only structurally sound and verified setups appear on the chart, reducing noise and false signals significantly.
Long Setup :
Short Setup :
🔵 How to Use
The pattern typically forms in conditions of heightened uncertainty and volatility, where price swings generate a series of higher highs and lower lows. The expanding triangle consists of three key legs bounded by diverging trendlines. The indicator intelligently analyzes each leg's direction and angle to determine whether a valid pattern is forming.
At the core of the indicator’s logic is its leg filtering system, which controls the quality of the pattern and filters out weak or noisy setups. Four structural filter modes are available to suit different trading styles and risk preferences. In Very Aggressive mode, filters are disabled, and the indicator detects any pattern purely based on the sequence of swing points.
This mode is ideal for traders who want to see everything and apply their own discretion.
In Aggressive mode, the indicator checks whether each new leg extends no more than twice the length of the previous one. If a leg overshoots excessively, the structure is invalidated.
In Defensive mode, the filter enforces a minimum movement requirement each leg must move at least 2% of the previous one. This prevents the formation of shallow, weak patterns that visually resemble triangles but lack substance.
The strictest setting, Very Defensive, combines all previous filters and additionally requires the price to physically touch the triangle’s trendlines before issuing a signal. This ensures that setups only appear when real market interaction with key structural levels has occurred, not based on assumptions or geometry alone. This mode is ideal for traders seeking maximum precision and minimal risk.
🟣 Bullish Setup
A bullish setup within the Expanding Triangle pattern occurs when price revisits the lower support boundary after a series of broad swings typically near the third leg of the formation. This area often represents a shift in momentum, where sellers begin to lose strength and buyers prepare to take control.
Ideally, the setup is accompanied by a bullish reversal candle (e.g. doji, pin bar, or engulfing) near the lower trendline. If the Very Defensive filter is active, the indicator will only issue a signal if price makes a confirmed touch on the trendline and reacts from that level. This significantly improves signal accuracy and filters out premature entries.
After confirmation, traders may choose to enter a long position on the bullish candle or shortly afterward. A logical stop-loss is placed just below the recent swing low within the pattern. The target can be set at or near the upper trendline, or projected using the full height of the triangle added to the breakout point. On higher timeframes, this reversal often marks the beginning of a strong uptrend.
🟣 Bearish Setup
A bearish setup forms when price climbs toward the upper resistance trendline, usually as the third leg completes. This is where buyers often begin to show exhaustion, and sellers step in with strength providing an ideal low-risk entry point for short positions.
As with the bullish setup, if the Candle Confirmation filter is enabled, the indicator will only show a signal when a bearish reversal candle forms at the point of contact. If Defensive or Very Defensive filters are also active, the setup must meet strict criteria of proportionate leg movement and an actual trendline touch to qualify.
Once confirmed, traders can enter on the reversal candle, placing a stop-loss slightly above the recent high. The target can be set at the lower trendline or calculated based on the triangle's full height, projected downward. This setup is particularly useful at the end of weak bullish trends or in volatile market tops.
🔵 Settings
🟣 Logic Settings
Pivot Period : Defines how many bars are analyzed to identify swing highs and lows. Higher values detect larger, slower structures, while lower values respond to faster patterns. The default value of 13 offers a balanced sensitivity.
Pattern Filter :
Very Aggressive : Detects all patterns based on point sequence with no structural checks.
Aggressive : Ensures each leg is no more than 2x the size of the previous one.
Defensive : Requires each leg to be at least 2% the size of the previous leg.
Very Defensive : The strictest level; only confirms patterns when price touches trendlines.
Candle Confirmation : When enabled, the indicator requires a valid confirmation candle (doji, pin bar, engulfing) at the interaction point with the trendline before issuing a signal. This reduces false entries and improves entry precision.
🟣 Alert Settings
Alert : Enables alerts for SSS.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
The Expanding Triangle pattern, with its wide structure and volatility-driven nature, represents chaos but also opportunity. For traders who can read its behavior, it provides some of the most powerful setups for reversals, breakouts, and range-based trades. While the pattern may seem messy at first glance, it is built on clear logic and when properly detected, it offers high-probability opportunities.
This indicator doesn’t just draw expanding triangles it intelligently evaluates their structural quality, validates price interaction through candle confirmation, and allows the trader to fine-tune the detection logic through adjustable filter levels. Whether you’re a reversal trader looking for a turning point, or a breakout trader hunting momentum, this tool adapts to your strategy.
In volatile or uncertain markets, where fakeouts and sudden shifts are common, this indicator can become a cornerstone of your trading system helping you turn volatility into structured, high-quality opportunities.