4-Week Return ColumnsWhat it does
This indicator calculates the cumulative return over each 4-week block (4 weekly bars) for a selected security and plots the result as a column chart on the 4th week of each block.
How it works
Runs on Weekly timeframe (indicator is fixed to W).
For every 4 weekly candles:
Start = Week 1 close
End = Week 4 close
Return = (End / Start - 1) × 100 (if % enabled)
By default, it plots only at the end of Week 4 to keep the chart clean.
Inputs
Use chart symbol: Use the current chart’s symbol (default).
Security (if not using chart): Select a different ticker to calculate returns for.
Show %: Toggle between percent and decimal return.
Rolling 4W return (every week): If enabled, plots the rolling 4-week return on every week instead of only the 4th week.
Notes / limitations
“4-week” means 4 weekly bars, not “the 4th calendar week of the month.”
Weekly bars follow the exchange session calendar, so holidays can slightly shift how weeks align.
Use cases
Compare 4-week momentum across symbols
Spot acceleration/slowdown in trend strength
Identify choppy vs trending phases at a glance
Disclaimer
For educational purposes only. Not financial advice.
Table/Checklist
Suggested default settings
Use chart symbol: ✅ ON
Show %: ✅ ON
Rolling: ❌ OFF (cleaner “block-end” columns)
Индикаторы ширины рынка
XAUUSD [MAX]XAUUSD (Gold) M1 indicator based on Support/Resistance (pivot S/R) + classic price action confirmation.
• Designed for XAUUSD on the 1-minute timeframe
• Alternating signals only: BUY → SELL → BUY → SELL
• No new signal while a trade is active (waits until TP or SL is hit)
• Fixed targets: SL = 20 pips, TP = 100 pips (pipSize adjustable in settings)
• Filters: EMA trend + optional RSI filter + S/R touch logic
Note: This script is for educational/testing purposes. Always use proper risk management.
AlphaWave Band + Tao Trend Start/End (JH) v1.1AlphaWave Band + Tao Trend Start/End (JH)
이 지표는 **“추세구간만 먹는다”**는 철학으로 설계된 트렌드 시각화 & 트리거 도구입니다.
예측하지 않고,
횡보를 피하고,
이미 시작된 추세의 시작과 끝만 명확하게 표시하는 데 집중합니다.
🔹 핵심 개념
AlphaWave Band
→ 변동성 기반으로 기다려야 할 자리를 만들어 줍니다.
TAO RSI
→ 과열/과매도 구간에서 지금 반응해야 할 순간을 정확히 짚어줍니다.
🔹 신호 구조 (단순 · 명확)
START (▲ 아래 표시)
추세가 시작되는 구간
END (▼ 위 표시)
추세가 종료되는 구간
> 중간 매매는 각자의 전략 영역이며,
이 지표는 추세의 시작과 끝을 시각화하는 데 목적이 있습니다.
🔹 시각적 특징
20 HMA 추세선
상승 추세: 노란색
하락 추세: 녹색
횡보 구간: 중립 색상
기존 밴드와 세력 표시를 훼손하지 않고
추세 흐름만 직관적으로 강조
🔹 추천 사용 구간
3분 / 5분 (단타 · 스캘핑)
일봉 (중기 추세 확인)
> “예측하지 말고, 추세를 따라가라.”
---
📌 English Description (TradingView)
AlphaWave Band + Tao Trend Start/End (JH)
This indicator is designed with one clear philosophy:
“Trade only the trend.”
No prediction.
No noise.
No meaningless sideways signals.
It focuses purely on visualizing the START and END of trend phases.
🔹 Core Concept
AlphaWave Band
→ Defines where you should wait based on volatility.
TAO RSI
→ Pinpoints when price reaction actually matters near exhaustion zones.
🔹 Signal Logic (Clean & Minimal)
START (▲ below price)
Marks the beginning of a trend
END (▼ above price)
Marks the end of a trend
> Entries inside the trend are trader-dependent.
This tool is about structure, not over-signaling.
🔹 Visual Design
20 HMA Trend Line
Uptrend: Yellow
Downtrend: Green
Sideways: Neutral
Trend visualization without damaging existing bands or volume context
🔹 Recommended Timeframes
3m / 5m for scalping & intraday
Daily for higher timeframe trend structure
> “Don’t predict. Follow the trend.”
BullTrading Regime FilterBullTrading Regime Filter is an ATR-based volatility regime tool that turns market conditions into a simple color system: Compression/Choppy, Normal, Trend/Vol Open, and Extreme Volatility. It helps you trade when conditions are favorable and stay disciplined when they aren’t—trade less in compression, focus on trend setups, and reduce risk in extremes. Includes background coloring, a live regime label, and an on-chart legend—built for 3m/5m/15m intraday workflows.
BullTrading Regime Filter 是一款基于 ATR 波动比值的市场环境识别工具,用颜色一眼区分「压缩垃圾 / 正常 / 趋势打开 / 极端高波动」。它帮助你在该打的时候出手、在不该打的时候克制:压缩少做,趋势重点做,极端降杠杆控风险。支持背景着色、当前环境标签与固定颜色图例,适配 3m/5m/15m 日内节奏。
Adaptive Signal IndicatorAdaptive Signal Indicator
Overview
The Adaptive Signal Indicator is a multi-timeframe confirmation system designed to help traders and investors identify potential entry and exit points. It automatically adjusts its analysis timeframes based on your chart's timeframe, providing consistent signal logic whether you're viewing 15-minute or weekly charts.
How It Works
This indicator combines multiple technical components that must align before generating a signal. However, the signal has a heavier weighting on price action because real investors know that "Only Price Pays." Additionally, rather than relying on a single indicator, it requires confirmation across several dimensions:
Trend Analysis — Evaluates short-term price structure using dual exponential moving averages
Wave Detection — Monitors momentum shifts using smoothed momentum calculations
Flow Tracking — Analyzes volume dynamics to confirm price movements have participation
Pulse Filter — Ensures signals align with the current directional bias of oscillator momentum
Macro Alignment — Checks higher-timeframe trend agreement before triggering signals
Drift Gate — Requires short-term trend confirmation on the daily timeframe
Cross Detection — Identifies key moving average crossovers on the daily timeframe
Range Position — Uses volatility bands to filter signals at extreme price levels
Signal Logic
Buy signals require:
Multiple bullish confirmations across different analysis methods
Macro trend not in bearish alignment
Pulse filter confirming upward momentum
Drift gate showing bullish daily bias
Sell signals require:
Bearish momentum confirmation
Macro trend not in bullish alignment
Pulse filter confirming downward momentum
Dashboard
Two real-time tables display:
Status Panel (Top Right)
Current state of all 8 analysis components
Color-coded for quick visual assessment
Shows conditions count and last signal status with % change since signal
Statistics Panel (Bottom Right)
Total signals generated
Success rate with win/loss breakdown
Average return per signal
Average winning and losing trade percentages
Profit factor
Maximum win and loss percentages
Key Features
✓ Adaptive Timeframes — Automatically selects appropriate analysis timeframes based on your chart
✓ Multiple Confirmations — Reduces false signals by requiring agreement across different analysis methods
✓ Clear Signals — Distinct BUY/SELL markers with no ambiguity
✓ Built-in Statistics — Track historical performance directly on chart
✓ Works on Any Market — Stocks, crypto, forex, indices, commodities
✓ Clean Visual Design — Overlay design keeps your chart readable
Best Practices
Use this indicator as one component of your overall trading plan
Consider your own risk management rules for position sizing and stop losses
Backtest on your preferred markets and timeframes before live trading
Signals work best in trending market conditions (the indicator filters for trend strength)
Who This Is For
Traders who prefer a systematic approach with clearly defined entry conditions. Suitable for swing trading and position trading timeframes. The multi-confirmation requirement means fewer signals, but each signal has passed multiple filters.
Note: Past performance shown in the statistics panel is based on historical data and does not guarantee future results. This indicator provides analysis tools to support your trading decisions—it is not financial advice. Always use proper risk management
BALANCED Strategy: Intraday Pro + Smart DashboardWelcome to the BALANCED Strategy: Intraday Pro.
This all-in-one indicator is designed for Intraday traders looking to capture trend movements while effectively filtering out sideways market noise. It combines the power of Supertrend for direction, EMA 100 for the baseline trend, and rigorous validation via RSI and ADX.
The script also integrates a complete Risk Management system with targets based on the Golden Ratio (Fibonacci) and a real-time Dashboard.
⏳ Recommended Timeframes
This algorithm is optimized for Intraday volatility:
M5 (5 Minutes) ⭐️: Ideal for quick Scalping. The ADX filter is crucial here to avoid false signals.
M15 (15 Minutes) 🏆: The "Sweet Spot." It offers the best balance between signal frequency and trend reliability.
M30 / H1: For a "Swing Intraday" approach—calmer, fewer signals, but higher precision.
Not recommended for M1 (1 Minute) with default settings (too much noise).
🚀 How It Works
The algorithm follows a strict 3-step logic to generate high-quality signals:
1. Trend Identification (The Engine)
Supertrend: Determines the immediate direction.
EMA 100: Acts as a background trend filter. We only buy above and sell below the EMA.
2. Noise Filtering (Safety)
ADX (Average Directional Index): The signal is only validated if there is sufficient volatility (Configurable threshold, default 12) to avoid "chop markets" (flat markets).
RSI (Relative Strength Index): Strict momentum filter. Buy only if RSI > 50, Sell if RSI < 50.
3. Entry Confirmation (The Trigger)
The script doesn't just rely on a crossover. It waits for "Price Action" confirmation: the candle must close higher than the previous one (for Long) or lower (for Short) to validate the entry.
🛡️ Risk Management (Money Management)
This is the core strength of this tool. Upon signal validation, the script automatically calculates and plots:
Stop Loss (SL): Based on volatility (ATR). It places the stop at the recent Low/High with a safety padding.
Take Profit (TP): Two modes available:
Fibonacci Mode (Default): Targets the 1.618 extension (Golden Ratio) of the risk taken.
Fixed Ratio Mode: Targets a manual Risk/Reward ratio (e.g., 2.0).
📊 The Dashboard
Located at the bottom right, the smart dashboard provides vital info at a glance:
Signal Time: To check if the alert is fresh.
Type (LONG/SHORT): Color-coded (Green/Pink).
Tech Data: RSI and ADX values at the moment of the signal.
Exact Prices: Entry Level, Target (TP), and Stop Loss (SL).
⚙️ Configurable Settings
Sensitivity: Adjust the Supertrend factor (Default 2.0).
Filters: Toggle the RSI filter ON/OFF or adjust the ADX threshold.
Execution: Choose between Fibonacci Target (1.618) or a Manual Ratio.
⚠️ Disclaimer: This tool is a technical decision aid and does not constitute financial investment advice. Always use prudent risk management and backtest the indicator on your preferred assets before live use.
Sayed Official SniperSniper and Trading best swing of the year no body knows i get it premium to share with you guyz
MACD ultimate with EMA overrideOverview
This Pine Script v5 indicator combines MACD zero-cross signals, SuperTrend trend validation, an EMA(50/200) trend filter and an EMA-crossover override to produce clean, session-constrained entry signals and robust exit logic. It draws labels and lines on the chart (entries, exits, SL lines) and supports alerts. Stop-losses use percentage-based sizing and are evaluated on bar close only to avoid intrabar noise.
Key features
Primary entry rule (MACD zero-cross):
Buy when MACD line crosses above zero (current bar MACD > 0 and previous bar MACD < 0).
Sell when MACD line crosses below zero (current bar MACD < 0 and previous bar MACD > 0).
Session-only entries: Entries are generated only inside a user-defined session (e.g., 09:30-11:30). Exits are evaluated at all times.
SuperTrend validation: Optional SuperTrend filter for entries and exits. Can be configured so exits require both MACD exit and SuperTrend flip (AND mode) or use OR mode.
EMA trend filter for entries: Optional EMA(50) vs EMA(200) filter — when enabled the indicator will only open buys in EMA-up trend and sells in EMA-down trend.
EMA crossover override (priority rule): If EMA fast crosses the slow:
EMA50 crosses above EMA200 → forced BUY override (bypasses session, SuperTrend, MACD). Exits any active short and opens long.
EMA50 crosses below EMA200 → forced SELL override (bypasses other validations). Exits any active long and opens short.
Overrides respect same-direction protection (won’t reopen an existing same-side position).
Opposite-entry immediate exit: When an opposite-direction raw entry (MACD zero-cross) occurs, any active opposite trade is exited immediately (then the script may open the opposite entry subject to entry validation). Same-direction repeated signals do not force an exit.
Stop-Loss (percentage): Parameterized SL (%) applied at entry; SL is checked and triggered only on bar close (e.g., long SL triggers if barstate.isconfirmed and close <= SL).
Labels & SL lines: Single-line, non-repainting labels for entries/exits; SL horizontal line drawn on open positions and greys out after closing.
Plots & visuals:
MACD panel (histogram, MACD, signal) optional.
SuperTrend plotted as a single color-coded line: green for bullish, red for bearish (no dots).
Optional EMA( fast / slow ) plots.
Entry markers (triangles) shown only for session-filtered entries.
Alerts: Entry and exit alerts are included and can be toggled on/off.
Inputs (high level)
MACD: fast, slow, signal lengths.
SL (%) and toggle to enable/disable SL.
SuperTrend: ATR length, multiplier; toggles: require for entry, allow/require for exit, show/hide.
EMA trend: enable/disable filter; fast/slow lengths; show/hide EMAs.
EMA override (built-in) — crossover detection triggers forced entry/exit.
Session: time range (HHMM-HHMM) — applies to entry generation only.
Misc: allow multiple entries flag, enable alerts, show/hide MACD panel.
Behavioral notes & caveats
The indicator is an overlay indicator (not a strategy()), so it draws visual signals and alerts but does not place real trades — use strategy() conversion to backtest trade P&L.
EMA override bypasses all validations by design — it forcibly exits the opposite side and opens the override side immediately (on the same bar). This is intentional to capture major trend flips.
SL is checked on bar close only. That reduces false SL triggers from intrabar spikes but means realized fills can differ in live trading depending on execution and slippage.
Opposite-entry exits are immediate (no SuperTrend/MACD requirement) except when a crossover override is the cause — the script guards so EMA overrides take precedence.
Pine Script runs on bar close for most accurate signals; intrabar behavior depends on your chart settings (realtime vs historical) — expect small differences between indicator labels and broker fills.
Plot/label density: many labels and SL lines can clutter the chart on lower timeframes. Consider hiding SL lines after N bars (optional enhancement) or use higher timeframe charts for less clutter.
Suggested default settings
MACD: 12, 26, 9
SL: 1.0 (%) with Use SL = on
SuperTrend: ATR 10, Multiplier 3.0, require for entry = true, require for exit = true (AND mode)
EMA trend filter: enabled (50/200)
Session: 0930-1130 (adjust to your exchange/timezone)
Alerts: on
How to use
Paste the full Pine v5 script into TradingView’s Pine Editor and add to chart.
Set the trade_session to the market hours you want entries in (chart timezone should match your intended exchange).
Toggle Use EMA trend / Require SuperTrend / Require ST for exit depending on how tight you want validation.
Use strategy() conversion before backtesting to verify the rules produce acceptable historical returns (indicator-only won’t generate P&L).
Recommended next steps
Convert to a strategy() script to backtest and measure win rate, drawdown, profit factor, and to validate the SL-on-close logic with realistic fills.
Add an input to auto-hide SL lines after N bars or compress labels to a compact trade status box.
Consider adding ATR- or volatility-based SL as an alternative to percentage SL.
JH MantraBAND-C + AlphaWave Signals v1.3 (Clean)AlphaWave는 추세 + 눌림 + 반전을 하나의 흐름으로 묶은 트레이딩 시그널입니다.
• 20 HMA 기반 추세 판단
• 변동성 밴드 구간(상·하단)에서의 눌림/되돌림 포착
• 과도한 신호를 줄이고 확률 높은 구간만 표시
권장 타임프레임:
- 3분 / 5분 (단타, 스캘핑)
- 일봉 (추세 확인용)
※ 이 지표는 신호 남발을 피하고,
‘기다렸다가 들어가는 매매’를 목표로 설계되었습니다.
AlphaWave is a trend-following indicator designed to capture pullbacks and reversals within volatility zones.
• 20 HMA based trend structure
• Upper / lower volatility bands for context
• Filtered signals to reduce noise
Best used on:
- 3m / 5m intraday charts
- Daily charts for trend confirmation
This indicator focuses on patience and high-probability setups.
CM Indicator매매에 중요한 여러 지표를 묶어 7개로 만들었습니다.
단기 매매라면 7번째 거래량 지표가 중요하며 손절가 익절가는
모든 지표를 켜셔서 확인하시면 좋습니다
Several important indicators for trading were grouped into seven.
If it's a short-term trade, the 7th volume indicator is important, and the sell-off price is
You can check all the indicators by turning them on
CODEX OB V1CODEX OB V1 is a multi-purpose Smart Money Concepts (SMC) indicator that automatically detects and visualizes key institutional trading elements such as Order Blocks, Fair Value Gaps, Rejection Blocks, Break of Structure, Pivots, High Volume Bars, and several qualitative SMC signals.
This tool helps traders identify institutional footprints and displacement-based setups with high clarity.
TrendStrike: The Pullback EngineTrendStrike: The Pullback Engine - The Ultimate Pullback entry System
ApexFlow: Sniper Pro is a complete day-trading system designed to filter out market noise and identify high-probability entries. It combines institutional trend filters, structural support & resistance, and volatility checks to ensure you only trade when the odds are stacked in your favor.
🎯 How It Works:
The "King" Filter (EMA 200):
White Line: The script forces you to trade with the major trend.
Rule: If price is Above the White Line, it only looks for LONGS. If Below, it only looks for SHORTS.
The Trend Cloud (SMA 50 vs SMA 100):
🔵 Blue Cloud: Bullish Trend. Look for buys on dips.
🟠 Orange Cloud: Bearish Trend. Look for sells on rallies.
⛔ The "Chop" Safety (ADX Filter):
The system includes an ADX volatility filter. If the market is chopping sideways (ADX < 20), the dashboard will go gray and ALL signals are blocked to save you from fake-outs.
🌊 Structural Support & Resistance:
Purple Lines: Major Resistance zones.
Blue Lines: Major Support zones.
Use these to take profits.
🚀 The Signals (Entry Guide):
The script waits for a Pullback to the trend line (SMA 50) and only fires if the price bounces with strong momentum and volume.
🚀 LONG SIGNAL (Green Rocket):
Trend is UP, Price dipped to the 50 SMA, then bounced with a Green Candle + High Volume.
Exit: A red Stop Loss line is drawn automatically below the candle.
🩸 SHORT SIGNAL (Red Drop):
Trend is DOWN, Price rallied to the 50 SMA, then rejected with a Red Candle + High Volume.
Exit: A green Stop Loss line is drawn automatically above the candle.
📊 The Dashboard:
Located on the left, it gives you a live readout of the market health:
MAJOR TREND: Tells you if you are in an UPTREND or DOWNTREND.
VOLUME: Shows the current candle's volume. It lights up Green for buying pressure and Red for selling pressure.
LL-HL PivotThis indicator scans for the bullish structure known as a Higher Low (HL) across multiple lengths simultaneously, automatically selects the most suitable pattern, and plots it on the chart.
Below is a detailed explanation of how it works.
1. Basic Calculation Method (Definition of LL and HL)
This indicator is built on TradingView’s ta.pivotlow function.
Detecting Pivot Lows
For a given length, a Pivot Low is identified as the lowest point among the candles within the specified range to the left and right.
LL and HL Determination
LL (Lowest Low): The most recent Pivot Low is treated as the previous low.
HL (Higher Low): When a new Pivot Low forms above the previous LL, it is recognized as an HL, and the setup is considered “complete.”
Identifying the Pivot Line
During the LL–HL structure, the highest high between them is identified and used as the breakout level (Pivot Line / resistance), where a horizontal line is drawn.
2. Multi-Length Scanning
Unlike standard indicators that use only one length (e.g., Length = 5), this indicator evaluates a full range of lengths.
Min Length to Max Length
Example: Min = 2, Max = 10
Internally, it functions as if nine separate indicators (Length 2, 3, 4 … 10) are running simultaneously.
This allows the indicator to capture:
Small waves (short-term pullbacks)
Larger waves (broader structural moves)
3. Priority Mode System
Because multiple lengths are calculated at the same time, different LL–HL patterns may appear simultaneously.Priority Mode determines which setup is selected and displayed.
A. Lowest LH
Selects the pattern with the lowest pivot line (intermediate high).
Advantages:
Produces the lowest possible entry price
B. Longest Length
Selects the pattern with the longest length.
Advantages:
Focuses on larger structures and broader waves
Filters out noise
C. Shortest Length
Selects the pattern with the shortest length.
Advantages:
Reacts quickly to small moves
Useful for scalping or fast trend-following
Captures very short-term pullbacks
4. Additional Behavior and Features
Real-Time Invalidation
If price breaks below the confirmed HL, the structure is immediately considered invalid.
All previously drawn lines and labels are removed instantly, preventing outdated structures from remaining on the chart.
Pivot Line Extension
As long as the HL remains intact, the Pivot Line (breakout level) continues extending to the right.
Alerts
An alert can be triggered the moment price breaks above the Pivot Line on a closing basis.
FVG vertical Created by Alphaomega18
🎯 What is an FVG (Fair Value Gap)?
A Fair Value Gap is a price imbalance created by a mismatch between buyers and sellers, formed by 3 consecutive candles where:
Bullish FVG: The low of the current candle is above the high of the candle 2 periods ago
Bearish FVG: The high of the current candle is below the low of the candle 2 periods ago
⚙️ Indicator Settings
Display Group:
Show Bullish vertical FVG: Display bullish vertical FVGs (green) ✅
Show Bearish vertical FVG: Display bearish vertical FVGs (red) ✅
Box Extension (bars): Zone extension duration (1-50 bars, default: 10)
Show Labels: Display labels with gap size 🏷️
Remove When Filled: Automatically remove filled zones ✅
📊 Visual Elements
FVG Zones:
🟢 Green = Bullish vertical FVG (potential support zone)
🔴 Red = Bearish vertical FVG (potential resistance zone)
Labels:
Show gap size in points
Positioned at the beginning of each zone
Dashboard (top right corner):
Real-time count of active FVGs
🟢 = Number of bullish vertical FVGs
🔴 = Number of bearish vertical FVGs
Candle Coloring:
Light green background = Candle forming a bullish vertical FVG
Light red background = Candle forming a bearish vertical FVG
🎯 How to Use the Indicator
1. Installation:
Open TradingView
Click "Indicators" at the top of the chart
Search for "FVG Clean" or paste the code in the Pine Editor
2. Trading Strategies:
Support/Resistance:
Bullish vertical FVGs act as support zones
Bearish vertical FVGs act as resistance zones
Price tends to return to "fill" these gaps
Position Entries:
Long: Wait for a return to a bullish vertical FVG + confirmation
Short: Wait for a return to a bearish vertical FVG + confirmation
Position Management:
Place stops below/above FVGs
Use FVGs as price targets
A filled FVG loses its validity
🔔 Alerts
The indicator includes 2 configurable alert types:
Bullish vertical FVG: Triggers when a new bullish vertical FVG forms
Bearish vertical FVG: Triggers when a new bearish vertical FVG forms
To configure: Right-click on chart → "Add Alert" → Select desired alert
💡 Usage Tips
✅ Do:
Combine with other indicators (volume, momentum)
Wait for confirmation before entering
Use across multiple timeframes
Respect your risk management
❌ Don't:
Trade solely on FVGs without confirmation
Ignore the overall market trend
Overload your chart with too many zones
🔧 Parameter Optimization
Scalping (1-5min):
Box Extension: 5-10 bars
Remove When Filled: Enabled
Day Trading (15min-1H):
Box Extension: 10-20 bars
Remove When Filled: Enabled
Swing Trading (4H-Daily):
Box Extension: 20-50 bars
Remove When Filled: As preferred
📈 Performance
Maximum 100 FVGs of each type in memory
Automatic removal of oldest ones
Optimized to not slow down your chart
Compatible with all markets and timeframes
ICT 3 Models - Entry Signals 1.2This script combines 3 powerful ICT (Smart Money Concepts) Entry Models into one comprehensive strategy setup. It is designed to identify high-probability setups based on Higher Timeframe POIs and includes a fully functional Strategy Tester engine.
🔥 The 3 Entry Models:
Model 1 (MSS + FVG): Classic reversal setup using HTF Order Blocks, Liquidity Sweep, Market Structure Shift (MSS), and entry at FVG.
Model 2 (SMT / Sweep): Catches "Turtle Soup" or Failure Swing setups where price grabs liquidity and quickly reverses using FVG confirmation.
Model 3 (AMD / Box): Accumulation, Manipulation, Distribution setup. Identifies consolidation boxes and trades the manipulation leg.
✨ Highlights:
Full Backtesting Engine: Test the strategy with customizable Initial Capital and Order Sizing.
Auto HTF POI: Automatically plots Higher Timeframe Order Blocks on your chart.
Flexible Risk Management: Set SL/TP via Fixed Points or ATR Multiplier.
Alerts Included: Ready for automation.
Disclaimer: This tool is for educational purposes only. Trading involves risk.
Liquidity Sweep + FVG Entry Model//@version=5
indicator("Liquidity Sweep + FVG Entry Model", overlay = true, max_labels_count = 500, max_lines_count = 500)
// Just to confirm indicator is loaded, always plot close:
plot(close, color = color.new(color.white, 0))
// ─────────────────────────────────────────────
// PARAMETERS
// ─────────────────────────────────────────────
len = input.int(5, "Liquidity Lookback")
tpMultiplier = input.float(2.0, "TP Distance Multiplier")
// ─────────────────────────────────────────────
// LIQUIDITY SWEEP DETECTION
// ─────────────────────────────────────────────
lowestPrev = ta.lowest(low, len)
highestPrev = ta.highest(high, len)
sweepLow = low < lowestPrev and close > lowestPrev
sweepHigh = high > highestPrev and close < highestPrev
// Plot liquidity levels
plot(lowestPrev, "Liquidity Low", color = color.new(color.blue, 40), style = plot.style_line)
plot(highestPrev, "Liquidity High", color = color.new(color.red, 40), style = plot.style_line)
// ─────────────────────────────────────────────
// DISPLACEMENT DETECTION
// ─────────────────────────────────────────────
bullDisp = sweepLow and close > open and close > close
bearDisp = sweepHigh and close < open and close < close
// ─────────────────────────────────────────────
// FAIR VALUE GAP (FVG)
// ─────────────────────────────────────────────
bullFVG = low > high
bearFVG = high < low
// we’ll store the last FVG lines
var line fvgTop = na
var line fvgBottom = na
// clear old FVG lines when new one appears
if bullFVG or bearFVG
if not na(fvgTop)
line.delete(fvgTop)
if not na(fvgBottom)
line.delete(fvgBottom)
// Bullish FVG box
if bullFVG
fvgTop := line.new(bar_index , high , bar_index, high , extend = extend.right, color = color.new(color.green, 60))
fvgBottom := line.new(bar_index , low, bar_index, low, extend = extend.right, color = color.new(color.green, 60))
// Bearish FVG box
if bearFVG
fvgTop := line.new(bar_index , low , bar_index, low , extend = extend.right, color = color.new(color.red, 60))
fvgBottom := line.new(bar_index , high, bar_index, high, extend = extend.right, color = color.new(color.red, 60))
// ─────────────────────────────────────────────
// ENTRY, SL, TP CONDITIONS
// ─────────────────────────────────────────────
var line slLine = na
var line tp1Line = na
var line tp2Line = na
f_deleteLineIfExists(line_id) =>
if not na(line_id)
line.delete(line_id)
if bullDisp and bullFVG
sl = low
tp1 = close + (close - sl) * tpMultiplier
tp2 = close + (close - sl) * (tpMultiplier * 1.5)
f_deleteLineIfExists(slLine)
f_deleteLineIfExists(tp1Line)
f_deleteLineIfExists(tp2Line)
slLine := line.new(bar_index, sl, bar_index + 1, sl, extend = extend.right, color = color.red)
tp1Line := line.new(bar_index, tp1, bar_index + 1, tp1, extend = extend.right, color = color.green)
tp2Line := line.new(bar_index, tp2, bar_index + 1, tp2, extend = extend.right, color = color.green)
label.new(bar_index, close, "BUY Entry FVG Retest SL Below Sweep",
style = label.style_label_up, color = color.new(color.green, 0), textcolor = color.white)
if bearDisp and bearFVG
sl = high
tp1 = close - (sl - close) * tpMultiplier
tp2 = close - (sl - close) * (tpMultiplier * 1.5)
f_deleteLineIfExists(slLine)
f_deleteLineIfExists(tp1Line)
f_deleteLineIfExists(tp2Line)
slLine := line.new(bar_index, sl, bar_index + 1, sl, extend = extend.right, color = color.red)
tp1Line := line.new(bar_index, tp1, bar_index + 1, tp1, extend = extend.right, color = color.green)
tp2Line := line.new(bar_index, tp2, bar_index + 1, tp2, extend = extend.right, color = color.green)
label.new(bar_index, close, "SELL Entry FVG Retest SL Above Sweep",
style = label.style_label_down, color = color.new(color.red, 0), textcolor = color.white)
Volume Surge - First Candle Break (v6)thisisavolumesurgeindicator will help with trading. use it to identify on 5 minutes
thisisavolumesurgeindicator will help with trading. use it to identify on 5 minutes
thisisavolumesurgeindicator will help with trading. use it to identify on 5 minutes
teril 1H EMA50 Harami Reversal Alerts BB Touch teril Harami Reversal Alerts BB Touch (Wick Filter Added + 1H EMA50)
teril Harami Reversal Alerts BB Touch (Wick Filter Added + 1H EMA50)
teril Harami Reversal Alerts BB Touch (Wick Filter Added + 1H EMA50)
teril Harami Reversal Alerts BB Touch (Wick Filter Added + 1H EMA50)
Momentum & Flow PanelA lower-panel indicator for institutional flow analysis:
RSI with automatic divergence detection
Money Flow Index (MFI) - volume-weighted momentum
Chaikin Money Flow (CMF) - accumulation/distribution
OBV trend analysis
Stochastic RSI
Force Index
Composite Scores: Momentum (0-100) + Flow (0-100) → Combined Assessment
NHNL Breadth Scanner [BIG]═══════════════════════════════════════════════════════════════════════════════
NVENTURES NHNL BREADTH SYSTEM v2.0
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The NVentures NHNL Breadth System is an institutional-grade market breadth analysis framework designed for equity traders, portfolio managers, and market technicians who require comprehensive internal market structure visibility beyond price action alone. This system integrates New Highs - New Lows (NHNL) data across multiple exchanges with participation breadth metrics to identify market regime shifts, thrust conditions, divergences, and rotation dynamics between large-cap and small-cap equities.
Version 2.0 introduces the Participation Breadth Module , which monitors the percentage of stocks above their 50-day moving averages across S&P 500, Russell 2000, and NASDAQ 100 indices. This extension enables detection of Risk-On/Risk-Off rotations and narrow rally conditions—critical information for portfolio construction, sector allocation, and tactical hedging decisions.
The framework combines:
- Multi-exchange NHNL aggregation – NYSE, NASDAQ, AMEX breadth data integration
- McClellan Oscillator – Exponential moving average difference for trend momentum
- Thrust detection – Extreme breadth expansion/contraction identification
- Divergence analysis – Price vs. breadth non-confirmation patterns
- Participation breadth – Large-cap vs. small-cap rotation detection
- Composite signal scoring – Multi-factor quantitative breadth assessment
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• NHNL Data Aggregation
The system retrieves daily New Highs and New Lows from three major U.S. exchanges:
- NYSE – INDEX:HIGN (New Highs), INDEX:LOWN (New Lows)
- NASDAQ – INDEX:HIGQ (New Highs), INDEX:LOWQ (New Lows)
- AMEX – INDEX:HIGA (New Highs), INDEX:LOWA (New Lows)
Users can toggle exchanges on/off to isolate specific market segments. All three exchanges are enabled by default for comprehensive market-wide breadth measurement.
Core Calculations :
- NHNL Raw = Total New Highs - Total New Lows
- NHNL % = (NHNL Raw / Total Issues) × 100
- NH/NL Ratio = New Highs / New Lows
These metrics quantify the internal strength or weakness of market advances/declines independent of price index levels.
• McClellan Oscillator
The McClellan Oscillator applies exponential moving average (EMA) logic to NHNL data:
Formula: McClellan Osc = EMA(NHNL, Fast) - EMA(NHNL, Slow)
Default parameters: Fast = 19, Slow = 39
Interpretation :
- Positive values = Breadth momentum favors bulls (more issues making new highs)
- Negative values = Breadth momentum favors bears (more issues making new lows)
- Zero-line crosses = Regime change signals (bullish above, bearish below)
- Extreme readings (>±100) = Overbought/oversold breadth conditions
The McClellan Oscillator is a standard institutional breadth tool used by market technicians since the 1960s. It smooths daily NHNL volatility while maintaining responsiveness to trend changes.
• Thrust Detection
Thrust conditions identify extreme breadth expansion or contraction that historically precedes sustained directional moves:
Bullish Thrust :
- NHNL % > Threshold (default +40%)
- Sustained for Confirmation Bars (default 2 bars)
- Context : Extreme positive breadth expansion. Historically associated with major rally initiations or continuation thrusts.
Bearish Thrust :
- NHNL % < -Threshold (default -40%)
- Sustained for Confirmation Bars (default 2 bars)
- Context : Extreme negative breadth contraction. Historically associated with panic selling, capitulation events, or major downtrend acceleration.
Thrust conditions are the highest-priority signals in the framework and override other conflicting indicators.
• Divergence Detection
The system identifies non-confirmation patterns between price action and breadth:
Bullish Divergence :
- Price makes lower low
- NHNL % makes higher low
- Context : Selling pressure exhausting despite lower prices. Potential reversal signal as fewer stocks participate in decline.
Bearish Divergence :
- Price makes higher high
- NHNL % makes lower high
- Context : Rally losing internal momentum despite higher prices. Potential reversal signal as fewer stocks participate in advance.
Divergences use pivot detection with configurable lookback periods (default 50 bars) and pivot strength (default 5 bars). Visual divergence lines are drawn directly on the price chart when detected.
• Participation Breadth Module (NEW in v2.0)
This module monitors the percentage of stocks trading above their 50-day moving average across three major indices:
- S&P 500 – INDEX:S5FI (Large-cap participation)
- Russell 2000 – INDEX:R2FI (Small-cap participation)
- NASDAQ 100 – INDEX:NDFI (Tech-cap participation)
Rotation Spread Calculation :
Rotation Spread = Russell 2000 % Above 50D - S&P 500 % Above 50D
Interpretation :
- Positive Spread (>+10%) = Risk-On Rotation
Small caps outperforming large caps. Broad market participation. Risk appetite expanding.
- Negative Spread (<-10%) = Risk-Off Rotation
Large caps outperforming small caps. Narrow rally / defensive positioning. Flight to quality or concentration risk.
- Neutral (-10% to +10%) = Balanced market, no clear rotation
This spread identifies critical regime changes between broad market participation (healthy) and narrow leadership (fragile). Risk-On rotations typically occur during economic expansion phases; Risk-Off rotations occur during uncertainty, recession fears, or late-cycle conditions.
• Composite Signal Score
The framework generates a quantitative breadth score (-100 to +100) by weighting five components:
1. Thrust Score (±40 points) – Active thrust condition
2. Trend Score (±30 points) – McClellan Oscillator above/below zero
3. Momentum Score (±20 points) – NHNL % magnitude
4. Ratio Score (±10 points) – NH/NL Ratio extremes
5. Participation Score (±15 points) – Risk-On/Risk-Off regime + participation health
The composite score is smoothed (EMA 5) and classified into five breadth states:
- +50 to +100 = Strong Bull
- +20 to +50 = Bullish
- -20 to +20 = Neutral
- -50 to -20 = Bearish
- -100 to -50 = Strong Bear
═══════════════════════════════════════════════════════════════════════════════
SIGNAL HIERARCHY & PRIORITY
═══════════════════════════════════════════════════════════════════════════════
The indicator generates multiple signal types with distinct priority levels:
Priority 1: Thrust Signals (Highest conviction)
- Green triangle below bar = Bullish Thrust (40%+ breadth expansion)
- Red triangle above bar = Bearish Thrust (40%+ breadth contraction)
- Chart background highlighted in green/red during active thrust
Priority 2: Rotation Signals (Regime identification)
- Cyan diamond below bar = Risk-On Rotation (small caps outperforming)
- Orange diamond above bar = Risk-Off Rotation (large caps outperforming)
- Chart background highlighted in cyan/orange during active rotation
Priority 3: Divergence Signals (Reversal warnings)
- Green label below bar = Bullish Divergence (price/breadth non-confirmation)
- Red label above bar = Bearish Divergence (price/breadth non-confirmation)
- Dashed lines connect divergence pivot points on price chart
Priority 4: Zero-Line Cross (Trend changes)
- Small circle below bar = McClellan crossing above zero (breadth turning positive)
- Small circle above bar = McClellan crossing below zero (breadth turning negative)
═══════════════════════════════════════════════════════════════════════════════
VISUAL COMPONENTS
═══════════════════════════════════════════════════════════════════════════════
• Comprehensive Information Panel
The top-right dashboard (position customizable) displays:
Section 1: Raw NHNL Data
- Total New Highs (green)
- Total New Lows (red)
- Exchange breakdown (NYSE, NASDAQ, AMEX) with individual deltas
Section 2: Core Metrics
- NHNL % with visual indicator (🔥 for thrusts, arrows for direction)
- NH/NL Ratio with strength bars
- McClellan Oscillator with directional arrows
Section 3: Participation Breadth (NEW)
- S&P 500 % above 50D MA with trend arrow
- Russell 2000 % above 50D MA with trend arrow
- NASDAQ 100 % above 50D MA with trend arrow
- Rotation Spread with regime icon (🚀 Risk-On, 🛡️ Risk-Off)
Section 4: Composite Assessment
- Signal Score (-100 to +100) with visual strength bars
- Market Status (large text): BULLISH THRUST, BEARISH THRUST, RISK-ON ROTATION, RISK-OFF ROTATION, or breadth state classification
• Chart Overlays
- Background color-coding for active regimes (thrust, rotation, extreme readings)
- Signal markers (triangles, diamonds, circles, labels) at key inflection points
- Divergence lines connecting pivot highs/lows on price chart
═══════════════════════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
- Multi-exchange breadth aggregation – NYSE, NASDAQ, AMEX with individual on/off toggles
- Institutional McClellan Oscillator – Standard market breadth momentum tool
- Automated thrust detection – Identifies extreme breadth conditions with confirmation logic
- Price-breadth divergence scanning – Non-confirmation pattern detection with visual lines
- Participation breadth integration – Risk-On/Risk-Off rotation detection via large-cap vs. small-cap analysis
- Composite signal scoring – Quantitative multi-factor breadth assessment
- No repainting – All signals confirm on bar close
- Comprehensive alerting – 12+ alert conditions for thrust, divergence, rotation, and confluence events
- Fully customizable parameters – EMA periods, thresholds, lookbacks, visual settings
- Professional dashboard – Real-time metrics with color-coded status indicators
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
1. Apply to any chart – The indicator pulls multi-security data; chart symbol does not matter (commonly applied to SPY, SPX, or QQQ for reference)
2. Monitor the dashboard :
• Focus on Market Status (bottom row) for current regime
• Check NHNL % and McClellan for breadth direction and momentum
• Watch Rotation Spread for large-cap vs. small-cap dynamics
• Review Signal Score for composite breadth strength
3. Interpret thrust signals (highest priority):
• Bullish Thrust → Major rally initiation or continuation likely. Consider adding long exposure or reducing hedges.
• Bearish Thrust → Major decline or capitulation event likely. Consider reducing exposure or adding hedges.
• Historical context: Thrust signals are rare (2-5 per year) but highly reliable for significant market moves.
4. Interpret rotation signals (regime identification):
• Risk-On Rotation → Broad market participation. Small caps outperforming. Healthy advance. Favor cyclical sectors, higher beta names.
• Risk-Off Rotation → Narrow rally or defensive positioning. Large caps outperforming. Caution—market leadership concentrating. Favor quality, defensives.
5. Interpret divergence signals (reversal warnings):
• Bullish Divergence → Selling exhaustion. Potential bottom formation. Wait for confirmation (zero-line cross, thrust) before aggressive positioning.
• Bearish Divergence → Rally losing momentum. Potential top formation. Consider profit-taking or hedging.
6. Combine signals for maximum conviction :
• Bull Confluence : Bullish Thrust + Risk-On Rotation + Positive McClellan = Maximum bullish alignment
• Bear Confluence : Bearish Thrust + Risk-Off Rotation + Negative McClellan = Maximum bearish alignment
• Alert system specifically flags these high-conviction confluences
7. Configure parameters for your style :
• Thrust Threshold : Default 40% catches major moves. Increase to 50%+ for extreme-only signals.
• Rotation Threshold : Default 10% spread. Tighten to 7.5% for earlier rotation detection.
• Divergence Lookback : Default 50 bars. Extend to 100+ for longer-term divergences.
8. Use alerts for proactive monitoring :
• Set TradingView alerts for Thrust, Rotation, Divergence, and Confluence conditions
• Receive notifications when critical breadth regime changes occur
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- U.S. equity markets only – NHNL data limited to NYSE, NASDAQ, AMEX. Does not cover international markets or other asset classes.
- Daily timeframe only – NHNL data is reported daily. Intraday trading requires alternative breadth measures.
- Lagging in fast reversals – McClellan Oscillator and participation metrics use EMAs, introducing lag during rapid regime shifts. Thrust signals respond faster but require extreme conditions.
- Equal-weighting assumption – All stocks within NHNL counts are equally weighted. Large-cap-dominated rallies (e.g., FANG-led advances) may show strong price performance despite mediocre breadth.
- False positives in sideways markets – Divergence signals can produce false positives during extended consolidation phases. Require confirmation from thrust or rotation signals.
- Participation data quality – S5FI, R2FI, NDFI data from TradingView may have occasional gaps or delays. Indicator includes data validation logic and falls back gracefully when data unavailable.
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v5
- Non-repainting (signals confirmed on bar close)
- Multi-security data feeds (6 NHNL tickers + 3 participation tickers)
- Maximum 500 lines supported (divergence line drawing)
- Real-time dashboard table with 20+ rows
- 12+ alert conditions (thrust, divergence, rotation, ratio extremes, confluence)
- Fully customizable colors, thresholds, and visual elements
═══════════════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════════════
This indicator is designed for experienced equity traders, portfolio managers, and market technicians familiar with:
- Market breadth analysis and internal market structure
- McClellan Oscillator interpretation
- New High - New Low dynamics and their correlation with market cycles
- Large-cap vs. small-cap rotation patterns
- Risk-On/Risk-Off regime identification
The framework provides objective breadth signals but does not account for:
- Fundamental catalysts (earnings, economic data, Fed policy)
- Sector-specific dynamics (may show broad weakness while certain sectors thrive)
- International market correlations
- Volatility regime changes (VIX dynamics)
Best used in combination with:
- Price action analysis (support/resistance, chart patterns)
- Volume analysis (accumulation/distribution)
- Volatility indicators (VIX, put/call ratios)
- Sentiment indicators (survey data, positioning)
Market breadth is a leading indicator of internal market health. Divergences between price and breadth often precede major reversals by weeks or months.
═══════════════════════════════════════════════════════════════════════════════
Developed for institutional market breadth analysis based on New Highs - New Lows methodology with extended participation breadth integration.
LETHINH Pinbar📌 PinBar Minimal Detector — Description (English)
PinBar Minimal Detector is a clean and efficient tool designed to detect high-quality pin bars based purely on candle geometry.
This script focuses on the core characteristics of a true pin bar: a long rejection wick and a small candle body, without adding unnecessary complexity. It is ideal for traders who want fast, reliable signal detection without noise.
⸻
✨ Key Features
• Detects both bullish and bearish pin bars.
• Fully configurable wick/body ratio.
• Optional filter for maximum opposite wick size.
• Option to ignore candles with extremely small bodies.
• Clean chart display with simple labels (“PIN”).
• Includes alert conditions for automated notifications (webhook, popup, email, etc.).
• Lightweight and optimized for fast execution on any timeframe.
⸻
🔍 Detection Logic
A candle qualifies as a bullish pin bar when:
• The lower wick is at least X times larger than the body.
• The upper wick is relatively small (optional filter).
• The body is above the minimum body threshold.
A candle qualifies as a bearish pin bar when:
• The upper wick is at least X times larger than the body.
• The lower wick is relatively small.
• The body meets the minimum size requirement.
This ensures that only candles showing strong rejection are highlighted.
⸻
⚙️ Input Parameters
1. wick/body ratio
Defines how many times longer the main wick must be compared to the candle body.
For example:
• 3.0 → wick must be at least 3× the body
• 4.0–5.0 → only very strong pin bars
2. opposite wick max (factor)
The maximum allowed size of the wick on the opposite side, relative to the body.
Example:
• 0.5 → opposite wick ≤ 50% of body
• Lower values = stricter filtering
3. min body px
Filters out candles with bodies that are too small (low volatility candles).
4. show labels
Enable or disable the “PIN” labels on the chart.
⸻
🚨 Alerts
The script includes two built-in alert conditions:
• Bullish PinBar Detected
• Bearish PinBar Detected
These alerts can be paired with:
• TradingView notifications
• Webhooks (for bots / automation)
• Email or SMS alerts
⸻
🎯 Use Cases
• Identify high-probability reversal points
• Enhance price action strategies
• Combine with S/R zones, supply & demand, trendlines, or order blocks
• Filter entries on lower timeframes while following higher-timeframe trend bias
⸻
📘 Notes
This is a minimalistic version by design.
If you want a more advanced version (confirmation candle, volume filter, multi-timeframe filtering, trend direction filtering, etc.), this script can be expanded easily
Nasdaq Pressure IndexNasdaq Pressure Index Indicator
The Nasdaq Pressure Index is a customizable technical indicator designed to measure market sentiment across multiple symbols by calculating a weighted average of their technical strength. The indicator outputs a normalized value between -100 and +100, making it easy to identify bullish or bearish pressure in your selected basket of stocks.
Description
This indicator calculates the relative strength of up to 10 user-defined symbols, typically tech stocks or other related instruments, and combines them into a single pressure index. The result provides insight into the overall market direction and strength.
Key Features
Multi-Symbol Analysis: Track up to 10 different symbols simultaneously
Flexible Weighting Methods:
Manual Market Caps: Define your own market cap weights
30-Day Volume: Weight by recent trading volume
Equal Weight: All symbols contribute equally
Customizable Parameters: Adjust EMA lengths and smoothing to suit your trading style
Visual Cues: Color-coded output and background highlighting for extreme values
Debug Information: Option to display detailed calculations
How It Works
The indicator:
Calculates the strength of each symbol based on:
Price relative to VWAP (50% weight)
Price relative to Fast EMA (30% weight)
Price relative to Slow EMA (20% weight)
Normalizes these values using ATR to account for volatility
Applies your chosen weighting method
Combines the weighted values into a single index
Normalizes the result to a -100 to +100 scale using a hyperbolic tangent function
Applies final smoothing
How To Use It
Setup:
Enter your symbols as a comma-separated list (default includes major tech stocks)
Choose your preferred weighting method
If using manual weights, enter market caps in billions (comma-separated)
Adjust EMA lengths if needed (defaults: Fast EMA = 9, Slow EMA = 21)
Interpretation:
Positive Values (0 to +100): Bullish pressure - the higher the number, the stronger the bullish sentiment
Negative Values (0 to -100): Bearish pressure - the lower the number, the stronger the bearish sentiment
Extreme Zones: Values above +50 or below -50 indicate potentially overbought or oversold conditions
Color Changes: Green for positive (darker when increasing), Red for negative (darker when decreasing)
This is primarily a confluence indicator:
Consider taking long positions only on positive values of the indicator
Consider taking short positions only on negative values of the indicator
Look for divergence between the index and price for potential reversals
Extreme readings (+/-50) can signal potential market exhaustion
Optimization:
Try different symbol combinations to create sector-specific indicators
Experiment with different weighting methods to find what works best for your trading style
Adjust the EMA lengths to make the indicator more or less sensitive to price changes
The indicator works on any timeframe but is particularly useful on daily and weekly charts for capturing broader market movements.






















