Trend TraderDescription and Usage of the "Trend Trader" Indicator
The "Trend Trader" indicator, created by Gerardo Mercado as a legacy project, is a versatile trading tool designed to identify potential buy and sell signals across various instruments. While it provides predefined settings for popular instruments like US30, NDX100, GER40, and GOLD, it can be seamlessly adapted to any market, including forex pairs like EUR/USD. The indicator combines moving averages, time-based filters, and MACD confirmation to enhance decision-making for traders.
How It Works
Custom Moving Averages (MAs):
The indicator uses two moving averages:
Short MA: A faster-moving average (default: 10 periods).
Long MA: A slower-moving average (default: 100 periods).
Buy signals are generated when the Short MA crosses above the Long MA.
Sell signals are triggered when the Short MA crosses below the Long MA.
Time-Based Signals:
The user can define specific trading session times (start and end in UTC) to focus on high-activity periods for their chosen market.
Signals and background coloring are only active during the allowed session times.
MACD Confirmation:
A MACD (Moving Average Convergence Divergence) calculation on a 15-minute timeframe ensures stronger confirmation for signals.
Buy signals require the MACD line to be above the signal line.
Sell signals require the MACD line to be at or below the signal line.
Target Levels:
Predefined profit targets are dynamically set based on the selected trading instrument.
While it includes settings for US30, NDX100, GER40, and GOLD, the target levels can be adjusted to fit the volatility and structure of any asset, including forex pairs like EUR/USD.
Target 1 and Target 2 levels display when these thresholds are met after an entry signal.
Adaptability to Any Market:
Although predefined options are included for specific instruments, the indicator's moving averages, time settings, and MACD logic are applicable to any tradable asset, making it suitable for forex, commodities, indices, and more.
Visual Alerts:
Labels appear on the chart to highlight "BUY" and "SELL" signals at crossover points.
Additional labels indicate when price movements reach the predefined target levels.
Bar and background coloring visually represent active signals and MACD alignment.
Purpose
The indicator aims to simplify trend-following and momentum-based trading strategies. By integrating moving averages, MACD, customizable time sessions, and dynamic targets, it offers clear entry and exit points while being adaptable to the needs of individual traders across diverse markets.
How to Use
Setup:
Add the indicator to your TradingView chart.
Configure the moving average periods, trading session times, and target levels according to your preferences.
Select the instrument for predefined target settings or customize them to fit the asset you’re trading (e.g., EUR/USD or other forex pairs).
Interpreting Signals:
Buy Signal: The Short MA crosses above the Long MA, MACD confirms the upward trend, and the session is active.
Sell Signal: The Short MA crosses below the Long MA, MACD confirms the downward trend, and the session is active.
Adapt for Any Instrument:
Adjust the predefined target levels to match the volatility and trading style for your chosen asset.
For forex pairs like EUR/USD, consider typical pip movements to set appropriate profit targets.
Targets:
Use the provided target labels (e.g., 50 or 100 points) or customize them to reflect realistic profit goals based on the asset’s volatility.
Visual Aids:
Pay attention to the background color:
Greenish: Indicates a bullish trend during the allowed session.
Redish: Indicates a bearish trend during the allowed session.
Use the "BUY" and "SELL" labels for actionable insights.
This indicator is a flexible and powerful tool, suitable for traders across all markets. Its adaptability ensures that it can enhance your strategy, whether you’re trading forex, commodities, indices, or other assets. By offering actionable alerts and customizable settings, the "Trend Trader" serves as a valuable addition to any trader’s toolkit. FX:EURUSD
Breadth Indicators
EMA + RSI + MACD StrategyEMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy
Volume-Time Imbalance (VTI)Volume-Time Imbalance (VTI) – Indicator Description
This indicator measures the imbalance between traded volume and the time elapsed between bars to identify unusual spikes in volume per second (volume per unit of time). Its purpose is to highlight volume movements that may indicate moments of strong interest, acceleration, or reversal in the market.
How it works:
It calculates the traded volume divided by the time (in seconds) elapsed since the previous bar — thus obtaining the volume per second.
An EMA (exponential moving average) of this volume per second is calculated to smooth the data.
The VTI value is the ratio between the current volume per second and this moving average, showing if the current volume is above what is expected for that pace.
The higher the VTI, the greater the imbalance between volume and time, indicating possible bursts of activity.
Settings:
VTI Moving Average Length: The period of the moving average used to smooth the volume per second (default is 20).
Alert Thresholds: Alert levels to identify moderate and high imbalances (defaults are 1.5 and 2.0).
Show VTI Histogram: Displays the VTI histogram in the indicator window.
Color Background: Colors the indicator background based on the strength of the imbalance (orange for moderate, red for high).
Show Alert Arrows: Shows arrows below the chart when a strong volume spike occurs (high alert).
Interpretation:
VTI values above the moderate level (1.5) indicate an unusual increase in volume relative to time.
Values above the high level (2.0) signal strong spikes that may anticipate significant moves or trend changes.
Use the colors and arrows as visual confirmations to quickly identify these moments.
SlopeDirectionLine_TWSlopeDirectionLine_TW
___________________________
Tried to copy a MT4 indicator
Ultimate BB Pro [99% Accuracy]Ultimate Bollinger Bands Pro Indicator Description
🎯 What You See on the Chart:
1. Adaptive Bollinger Bands (main lines):
Red line on top - Upper band (resistance)
Gray dotted line - Middle line (moving average)
Green line on bottom - Lower band (support)
Blue fill between bands shows volatility channel
2. Entry Signals:
Green "BUY 75%" labels - Buy signals with confidence percentage
Red "SELL 82%" labels - Sell signals with confidence percentage
Percentage shows signal strength (70-100%)
3. Information Dashboard (top left corner):
INDICATOR STATUS: ULTRA BB PRO
Volatility: MEDIUM // Current market volatility
Volume: HIGH // Volume activity level
ADX: 28 STRONG // Trend strength indicator
Trend: BULLISH // Trend direction
RSI: 45 NEUTRAL // Overbought/oversold status
CVD: BUYING // Cumulative volume delta
BB Width: 2.3% NORMAL // Bollinger band width
Signal Ready: BUY READY! // Signal readiness status
4. Visual Cues:
Yellow bars - Bollinger squeeze (preparing for movement)
Green background highlight - Strong BUY signal zone (90%+)
Red background highlight - Strong SELL signal zone (90%+)
Dotted horizontal lines - Liquidity levels
📊 How to Read Signals:
BUY Signal Appears When:
Price touches or breaks below lower band
Hammer pattern forms (long lower shadow)
Volume exceeds average by 1.5x+
RSI shows oversold condition (<30)
CVD shows accumulation (buying pressure)
Higher timeframe in uptrend
SELL Signal Appears When:
Price touches or breaks above upper band
Shooting star pattern forms (long upper shadow)
Volume spike on selling
RSI shows overbought condition (>70)
CVD shows distribution (selling pressure)
Higher timeframe in downtrend
🎨 Color Scheme:
Green = Bullish/Buy/Positive
Red = Bearish/Sell/Negative
Yellow = Warning/Squeeze
Gray = Neutral/Waiting
Blue = Informational/Background
💡 Adaptive Features:
Band width automatically expands during high volatility
Calculation period adjusts from 10 to 50 bars based on market conditions
Deviation multiplier adapts from 1.5 to 3.0
📈 Performance Statistics:
70-79% - Regular signal (trade with caution)
80-89% - Strong signal (recommended entry)
90-100% - Ultra signal (maximum confidence)
⚡ Quick Tips:
"SQUEEZE" in panel = Strong move preparing
"EXTREME" volume = Institutional activity
"BUY READY!" = All buy conditions met
Yellow bars = Don't trade, wait for breakout
🔧 Technical Components:
The indicator combines 10+ analysis methods:
Adaptive Bollinger Bands
Volume Profile Analysis
Cumulative Volume Delta (CVD)
RSI with divergence detection
Stochastic oscillator
MACD confirmation
ADX trend strength
Multi-timeframe analysis
Price action patterns
Liquidity zone detection
📱 Best Usage:
Wait for 80%+ signals for highest probability trades
Check dashboard status before entering
Confirm volume is above average
Trade only during active sessions
Use 1-2 tick profit targets for scalping
⚠️ Risk Management:
Never trade during "SQUEEZE" - wait for breakout
Avoid signals below 70% confidence
Check spread before entry - must be tight
Exit immediately if signal reverses
This indicator provides institutional-grade analysis optimized for 1-minute scalping with near-perfect accuracy when all confirmations align!
5 Indicators in 15 Indicators in 1: User Guide
Entry and Exit Strategy
Entry Signals
Long Position (Buy)
When the RMI (Relative Momentum Index) crosses above 66 (positive momentum)
When price breaks above a resistance level (indicated by "Break Res" label)
Green candles and support levels holding (indicated by green diamonds)
When former resistance becomes support (green diamond below bar)
Short Position (Sell)
When the RMI falls below 30 (negative momentum)
When price breaks below a support level (indicated by "Break Sup" label)
Red candles and resistance levels holding (indicated by red diamonds)
When former support becomes resistance (red diamond above bar)
Exit Signals
Exit Long Position
When RMI trend changes from positive to negative
When price approaches the upper boundary of the Range MA channel
When price reaches the top of the Support and Resistance Power Channel
When high volume resistance boxes appear
Exit Short Position
When RMI trend changes from negative to positive
When price approaches the lower boundary of the Range MA channel
When price reaches the bottom of the Support and Resistance Power Channel
When high volume support boxes appear
Indicator Explanation
This indicator combines 5 different tools:
RMI Trend Sniper
Combines RSI and MFI to create a momentum indicator
Values above 66 indicate strong bullish momentum (green candles)
Values below 30 indicate strong bearish momentum (red candles)
Includes Range MA channel with colored bands showing trend direction
Support and Resistance Power Channel
Identifies key price levels based on 130-bar lookback period
Shows maximum and minimum price levels with labels
Provides middle line for potential reversal points
High Volume Support/Resistance Boxes
Creates boxes at pivot points with high trading volume
Green boxes indicate support areas
Red boxes indicate resistance areas
Shows "Break Sup" or "Break Res" labels when levels are broken
Displays diamonds when support or resistance holds
Visual Candle Coloring
Green candles during positive momentum
Red candles during negative momentum
Helps quickly identify the current trend direction
Volume Analysis
Filters support and resistance boxes based on volume
Higher volume levels create more significant support/resistance zones
Volume values displayed within the boxes
The indicator is particularly effective for identifying trend changes and key reversal points in the market, helping traders time their entries and exits with greater precision.
SMT + CISD Detector | NQ✅ Features
Detects bullish and bearish SMT using ES1! vs NQ.
Scans multiple timeframes: 1m, 5m, 15m, 1H.
Displays SMT & CISD checklist in a live dashboard table on your chart.
Clean, no clutter — no plots or shapes, just detection logic + checklist.
Designed specifically for trading NQ.
[Pandora's Chambers] Session Ranges + info by ATTA“Pandora’s Chambers” plots the open–high–low–close range of four major market sessions (US, London, Tokyo, Asia/HKEX) based on Asia/Jerusalem time, then translates them automatically to your chart’s timezone. At each session close it also calculates and displays RSI statistics and volume ratios with optional divergence markers. Future session-open vertical lines can be shown for up to N bars ahead.
⚙️ Key Features
Session Boxes
Draws a colored box around each session’s price range (open–high/low–close).
Box color opacity adapts to session RSI (more opaque when RSI >70 or <30).
RSI Statistics at Close
Calculates for each session:
Average RSI, Min RSI, Max RSI, Standard Deviation.
Up‑volume vs. Down‑volume and their ratio.
Prints these stats in a tiny label above the session high.
Divergence Alerts
Highlights Bearish or Bullish divergence if price and RSI extremes mismatch versus the previous session.
Session Vertical Lines
While a session is active, draws dotted vertical lines at its open & close.
Automatically removed when the session ends.
Future Session Markers
On the last bar, projects vertical lines (and tiny “XX Open” labels) for the next N sessions’ opens.
Helps anticipate upcoming market activity.
🎛️ Inputs & Customization
Input Name Default Description
US Color 🔴 Red Color for US session box & lines
London Color 🔵 Blue Color for London session box & lines
Tokyo Color 🟢 Green Color for Tokyo session box & lines
Asia Color 🟠 Orange Color for Asia/HKEX session box & lines
Tag Text Color ⚪ White Color for all on‑chart labels’ text
Number of Future Bars 50 How many bars ahead to project future open lines
RSI Period 14 Length of the RSI calculation
Higher TF 1/2 “15”, “60” Additional timeframes to sample RSI on each bar
🚀 How to Use
Add to Chart
Open TradingView → Indicators → “Invite-only scripts” or “My Scripts” → select Session Ranges + Info by ATTA.
Set Your Timezone
The script internally uses Asia/Jerusalem to define session times (16:30–23:00 for US, 10:00–18:30 for London, 02:00–08:00 Tokyo, 04:30–11:00 Asia).
TradingView will auto‑convert and display them correctly on your chart’s locale (e.g., New York Time shows US session as 9:30–16:00 ET).
Customize Colors & Bars
Adjust each session’s color to taste, or match your chart theme.
Increase/decrease “Number of Future Bars” to project more or fewer future opens.
Interpret the Labels & Boxes
Session Box: Price range of that session. More opaque when the session RSI is extreme.
Tiny Label at close: displays Avg/Min/Max/Std of RSI, total up/down volume & their ratio.
“Bullish Div” / “Bearish Div” indicates hidden divergence against the previous session.
Future Lines
On the last bar, you’ll see projected “US Open”, “London Open”, etc., up to your future‑bars setting—great for planning entries around upcoming opens.
🔍 Under the Hood (Functions)
f_boxColor(avgRSI, baseColor)
Chooses box transparency: 30 (more visible) when RSI >70 or <30, else 85.
f_std(sumRSI, sumSq, count)
Calculates standard deviation of session RSI values.
timestamp("Asia/Jerusalem", …)
Anchors all session opens/closes to Jerusalem time, then plotted in your chart’s tz.
request.security(..., ta.rsi(...))
Samples RSI on user‑defined higher timeframes for multi‑TF context (not displayed, but can be repurposed).
f_nextTimestamp(_hour, _min) & f_drawFutureLines(_hour, _min, _label)
Compute and draw future open lines and labels every 24h until the “maxFutureBars” limit.
📝 Tips & Best Practices
Combine with Volume Profile to see confluence between session highs/lows and high‑volume nodes.
Overlay with VWAP to gauge fair value inside each session’s box.
Use on multiple symbols and timeframes: this script adapts seamlessly to 5m, 15m, 1h, daily, etc.
Divergence signals work best on 1h+ charts—allow enough bars per session for meaningful RSI swings.
Enjoy clear visibility into each global market session’s rhythm—published by ATTA. If you run into questions or suggest enhancements, drop a comment on the script’s TradingView page!
ChienLuocGiaoDich_SM_SOS_StopVolume_BuySell [VNFlow]Contact:
Email: hasobin@outlook.com
Phone: 0373885338
亚欧美盘开关及交接时段标记 - plotshape版📌 English Description:
This script highlights the opening and closing times of the Asian, European, and US trading sessions on your chart, helping traders understand global session dynamics and volatility shifts in a visual and intuitive way.
💡 Applicable Instruments: Gold (XAUUSD) and Major Forex Pairs (e.g., EURUSD, GBPUSD, USDJPY, etc.)
💡 Best for: Price Action, Session-based strategies, Breakout trades
Time zone used: Asia/Shanghai (GMT+8)
Asia Session: 08:00 - 15:00 (typically range-bound)
European Session: 15:00 - 19:00 (London volatility begins)
US Session: 20:00 - 00:00 (New York session, often the major trend period)
Gray background marks the 19:00 - 20:00 transition phase between EU and US sessions, often a quiet or pivotal moment
Perfect for short- to medium-term traders who rely on understanding session-based price behaviors—especially effective for gold and major forex pairs.
📌 中文描述:
本脚本用于在图表中标记亚盘、欧盘、美盘的开盘与收盘时间点,以直观的方式帮助交易者识别全球主要交易时段的节奏与波动特征。
💡 适用品种:黄金(XAUUSD)及主流外汇(如EURUSD、GBPUSD、USDJPY等)
💡 适用策略:价格行为(Price Action)、时段波动捕捉、趋势突破等
使用**北京时间(Asia/Shanghai)**识别时段
亚盘时间:08:00 - 15:00(通常为震荡行情)
欧盘时间:15:00 - 19:00(伦敦时段,波动增强)
美盘时间:20:00 - 00:00(纽约时段,主趋势时段)
灰色背景提示:19:00 - 20:00 为欧美盘交接期,是重要的波动衰减与等待爆发阶段
适合关注全球交易时段切换规律的中短线交易者,特别对黄金与外汇价格行为策略有重要参考意义。
THUAN RSIgiá trên rsi rất tiện dụng cho ae chuyên phái rsi, chỉ báo động lượng và biên độ giá real time
MohdTZ - SUPER indicatorInspired by my mentor Paradise, I've developed a custom indicator that combines five powerful tools into one.
This is especially designed for users who are using the free TradingView plan and are limited to a single indicator. With this all-in-one solution, you no longer have to compromise.
The combined indicator includes:
Paradise Money Noodle
EMA 200
EMA 13
SuperTrend Indicator
Watermark Labeling
This setup brings clarity, efficiency, and power—all within a single script.
OBV with MA & Bollinger Bands by Marius1032OBV with MA & Bollinger Bands by Marius1032
This script adds customizable moving averages and Bollinger Bands to the classic OBV (On Balance Volume) indicator. It helps identify volume-driven momentum and trend strength.
Features:
OBV-based trend tracking
Optional smoothing: SMA, EMA, RMA, WMA, VWMA
Optional Bollinger Bands with SMA
Potential Combinations and Trading Strategies:
Breakouts: Look for price breakouts from the Bollinger Bands, and confirm with a rising OBV for an uptrend or falling OBV for a downtrend.
Trend Reversals: When the price touches a Bollinger Band, examine the OBV for divergence. A bullish divergence (price lower low, OBV higher low) near the lower band could signal a reversal.
Volume Confirmation: Use OBV to confirm the strength of the trend indicated by Bollinger Bands. For example, if the BBs indicate an uptrend and OBV is also rising, it reinforces the bullish signal.
1. On-Balance Volume (OBV):
Purpose: OBV is a momentum indicator that uses volume flow to predict price movements.
Calculation: Volume is added on up days and subtracted on down days.
Interpretation: Rising OBV suggests potential upward price movement. Falling OBV suggests potential lower prices.
Divergence: Divergence between OBV and price can signal potential trend reversals.
2. Moving Average (MA):
Purpose: Moving Averages smooth price fluctuations and help identify trends.
Combination with OBV: Pairing OBV with MAs helps confirm trends and identify potential reversals. A crossover of the OBV line and its MA can signal a trend reversal or continuation.
3. Bollinger Bands (BB):
Purpose: BBs measure market volatility and help identify potential breakouts and trend reversals.
Structure: They consist of a moving average (typically 20-period) and two standard deviation bands.
Combination with OBV: Combining BBs with OBV allows for a multifaceted approach to market analysis. For example, a stock hitting the lower BB with a rising OBV could indicate accumulation and a potential upward reversal.
Created by: Marius1032
WR-Top Dip signals
This script is a technical analysis tool for stocks that calculates the Williams %R (WR) indicator and displays tops and bottoms signals on the chart. The WR indicator is an oscillator that measures the momentum of the stock's price movement over a certain period of time. It is based on the highest and lowest prices over a certain period of time and is expressed as a percentage of the difference between the current price and the highest price (or lowest price) over that period. The WR indicator ranges from 0 to -100, with 0 indicating that the stock is oversold and -100 indicating that the stock is overbought.
The script provides default parameters of WR1:84 and WR2:168, which are suitable for most traders. However, you can modify the parameters according to your needs, such as WR1:55 and WR2:144. The WR1 parameter is the number of periods used to calculate the first WR line, and the WR2 parameter is the number of periods used to calculate the second WR line. The two lines are then plotted on the chart, and their crossing generates the tops and bottoms signals.
The tops and bottoms signals are determined by the crossing of two different time periods of the WR indicator. When the shorter-term WR line (WR1) crosses below the upper limit (usually set at -20), and the longer-term WR line (WR2) does not cross below the upper limit, a tops signal is generated. This indicates that the stock is overbought and may be a good time to sell. Conversely, when the shorter-term WR line (WR1) crosses above the lower limit (usually set at -80), and the longer-term WR line (WR2) does not cross above the lower limit, a bottoms signal is generated. This indicates that the stock is oversold and may be a good time to buy.
In addition to displaying the WR indicator and tops and bottoms signals, the script also includes some drawing and alert features. You can draw horizontal lines at the upper and lower limits to help you identify when the WR indicator crosses them. You can also set alerts to notify you when a tops or bottoms signal is generated.
Please note that this script is just one tool among many for technical analysis, and you should use it in conjunction with other tools and your own analysis to make your own buy or sell decisions. The purpose of this description is to help users understand the script's functionality and how to use it. If you have any questions, please refer to TradingView's community rules or contact TradingView customer service.
10 MA > 21 MA HighlightWhen the 10 day is above the 21 MA , this script will show a light green color on the screen
Positive/Negative Close Counter (Bar-Based)# Positive/Negative Close Counter (Bar-Based)
## Overview
This indicator analyzes the historical performance of an asset by counting positive and negative closing price movements over a specified lookback period. It provides statistical insights into the directional bias of price action, helping traders understand the historical tendency of an instrument to close higher or lower compared to the previous period.
## Key Features
- **Multi-Timeframe Analysis**: Supports Daily (D) and Weekly (W) timeframe analysis
- **Customizable Lookback Period**: Adjustable lookback period with default setting of 252 bars (approximately 1 trading year for daily charts)
- **Flexible Display Options**: Choose from 5 different label positions on the chart for optimal visibility
- **Real-Time Statistics**: Displays count of positive closes, negative closes, and percentage of positive movements
- **Clean Visual Presentation**: Information displayed in a clear, organized label with emojis for easy reading
## Input Parameters
1. **Timeframe**: Select between Daily or Weekly analysis
2. **Lookback Period**: Number of bars to analyze (default: 252 bars)
3. **Display Box Location**: Choose label position from Top Left, Top Right, Bottom Left, Bottom Middle, or Bottom Right
## What It Shows
The indicator displays:
- Current timeframe being analyzed
- Number of bars in the lookback period
- Count of periods where the close was higher than the previous close (Positive Closes)
- Count of periods where the close was lower than the previous close (Negative Closes)
- Percentage of positive closing periods
## Technical Implementation
- Uses Pine Script v5 for optimal performance
- Implements security() function for multi-timeframe data requests
- Employs dynamic label positioning based on visible price range
- Handles edge cases with proper null value checking
## Important Notes
- The indicator only counts closes that are definitively higher or lower than the previous close
- Unchanged closes (equal prices) are not counted in either category
- Results are based on historical data and do not predict future performance
- Works on all chart timeframes but analyzes data according to the selected timeframe parameter
This tool is designed for educational and analytical purposes to help traders better understand price behavior patterns in their chosen instruments.
EMA Power Oscillator By DCX What matters is what’s above the zero line.
This is not just another EMA chart.
The EMA Power Oscillator analyzes the strength and positioning of 4 key EMAs (5, 10, 15, 25) relative to their dynamic average — giving you real momentum clarity.
✅ If the green line (EMA 5) is above the center → the bullish drive is strong.
✅ If the red line (EMA 25) rises above the center → it signals a strong bearish force coming alive.
🎯 The centerline isn’t arbitrary — it’s the average of all 4 EMAs.
Background coloring highlights only filtered crossovers to avoid false signals.
Fill appears only during directional momentum rise, keeping the focus on actionable setups.
Use it to track clean trend shifts, time entries with confidence, and stay in sync with real market momentum.
BSL & SSL - Liquidity Zones
BSL & SSL - Liquidity Zones
Indicator Description (for TradingView)
Concept
The BSL & SSL - Liquidity Zones indicator is a simple yet powerful visual tool that helps traders identify key liquidity zones in the market by tracking prominent highs and lows on the chart.
It is based on the concept that the Highest High (Buy Side Liquidity - BSL) and Lowest Low (Sell Side Liquidity - SSL) represent zones where stop-loss orders and pending orders accumulate — often attracting future price movements.
Purpose
This indicator helps traders spot hidden liquidity levels which may act as targets or potential reversal points. It is especially useful for traders who apply Smart Money Concepts (SMC) or institutional trading models.
Great for detecting potential stop hunts and understanding market structure shifts.
How It Works
The indicator calculates the Highest High and Lowest Low over a user-defined period (default: 20 candles).
When a new Higher High forms, it marks a new BSL.
When a new Lower Low forms, it marks a new SSL.
These zones are likely to attract price in the future — either as targets or traps.
Visualization
The indicator draws static horizontal lines (Stepline style) at BSL and SSL levels.
These lines remain in place until broken or a new level is formed.
Visual Labels enhance clarity:
🟢 Green Label → BSL
🔴 Red Label → SSL
Trading Insights / Practical Use
When price approaches a BSL or SSL zone, ask yourself:
✅ Will price break the level to grab liquidity?
✅ Will there be a reversal after liquidity is taken?
The indicator does not provide signals by itself — it serves as a valuable confirmation tool when combined with:
Price Action
Support & Resistance
Momentum Indicators
SMC Tools
Key Benefits
✅ Easy to use
✅ Enhances liquidity analysis
✅ Highlights zones targeted by institutional players
✅ Simple calculation — no complex formulas
Limitations
🚫 Does NOT generate buy/sell signals
🚫 Should be used as part of a complete trading framework
Conclusion
BSL & SSL - Liquidity Zones is a versatile and intuitive tool for any trader looking to better understand where liquidity is positioned on the chart.
It works across all timeframes and complements any trading strategy, especially Smart Money-based approaches.
21DMA Structure Counter (EMA/SMA Option)21DMA Structure Counter (EMA/SMA Option)
Overview
The 21DMA Structure Counter is an advanced technical indicator that tracks consecutive periods where price action remains above a 21-period moving average structure. This indicator helps traders identify momentum phases and potential trend exhaustion points using statistical analysis.
Key Features
Moving Average Structure
- Configurable MA Type: Choose between EMA (Exponential Moving Average) or SMA (Simple Moving Average)
- 21-Period Default: Optimized for the widely-watched 21-period moving average
- Triple MA Structure: Tracks high, close, and low moving averages for comprehensive analysis
Statistical Analysis
- Cycle Counting: Automatically counts consecutive periods above the MA structure
- Historical Data: Maintains up to 2,500 historical cycles (approximately 10 years of daily data)
- Z-Score Calculation: Provides statistical context using mean and standard deviation
- Multiple Standard Deviation Levels: Displays +1, +2, and +3 standard deviation thresholds
Visual Indicators
Color-Coded Bars:
- Gray: Below 10-year average
- Yellow: Between average and +1 standard deviation
- Orange: Between +1 and +2 standard deviations
- Red: Between +2 and +3 standard deviations
- Fuchsia: Above +3 standard deviations (extreme readings)
Breadth Integration
- Multiple Breadth Options: NDFI, NDTH, NDTW (NASDAQ breadth indicators), or VIX
- Background Shading: Visual alerts when breadth reaches extreme levels
- High/Low Thresholds: Customizable levels for breadth analysis
- Real-time Display: Current breadth value shown in data table
Smart Reset Logic
- High Below Structure Reset: Automatically resets count when daily high falls below the lowest MA
- Flexible Hold Period: Continues counting during temporary weakness as long as structure isn't violated
- Precise Entry/Exit: Strict criteria for starting cycles, flexible for maintaining them
How to Use
Trend Identification
- Rising Counts: Indicate sustained momentum above key moving average structure
- Extreme Readings: Z-scores above +2 or +3 suggest potential trend exhaustion
- Historical Context: Compare current cycles to 10-year statistical averages
Risk Management
- Breadth Confirmation: Use breadth shading to confirm market-wide strength/weakness
- Statistical Extremes: Exercise caution when readings reach +3 standard deviations
- Reset Signals: Pay attention to structure violations for potential trend changes
Multi-Timeframe Application
- Daily Charts: Primary timeframe for swing trading and position management
- Weekly/Monthly: Longer-term trend analysis
- Intraday: Shorter-term momentum assessment (adjust MA period accordingly)
Settings
Moving Average Options
- Type: EMA or SMA selection
- Period: Default 21 (customizable)
- Reset Days: Days below structure required for reset
Visual Customization
- Standard Deviation Lines: Toggle and customize colors for +1, +2, +3 SD
- Breadth Selection: Choose from NDFI, NDTH, NDTW, or VIX
- Threshold Levels: Set custom high/low breadth thresholds
- Table Styling: Customize text colors, background, and font size
Technical Notes
- Data Retention: Maintains 2,500 historical cycles for robust statistical analysis
- Real-time Updates: Calculations update with each new bar
- Breadth Integration: Uses security() function to pull external breadth data
- Performance Optimized: Efficient array management prevents memory issues
Best Practices
1. Combine with Price Action: Use alongside support/resistance and chart patterns
2. Monitor Breadth Divergences: Watch for breadth weakness during strong readings
3. Respect Statistical Extremes: Exercise caution at +2/+3 standard deviation levels
4. Context Matters: Consider overall market environment and sector rotation
5. Risk Management: Use appropriate position sizing, especially at extreme readings
Disclaimer
This indicator is for educational and informational purposes only. It should not be used as the sole basis for trading decisions. Always combine with other forms of analysis and proper risk management techniques.
Compatible with Pine Script v6 | Optimized for daily timeframes | Best used on major indices and liquid stocks