Reversal Detection with Dynamic Stops - Multi-EMA ZigzagReversal Detection with Dynamic Stops - Multi-EMA Zigzag System
Description
Overview
The Reversal Detection with Dynamic Stops indicator is a comprehensive technical analysis tool that combines multiple exponential moving averages (EMAs) with an adaptive zigzag algorithm to identify significant price reversals and trend changes. This indicator is designed for active traders who need precise entry and exit signals with clear visual feedback.
Key Features
Multi-EMA Trend Detection
Triple EMA system (9, 14, 21 periods) provides robust trend identification
Dynamic bar coloring (Green = Bullish, Red = Bearish, Purple = Neutral)
Automated signal generation based on EMA alignment and price position
Adaptive Zigzag Algorithm
Configurable reversal detection using percentage, absolute value, or ATR-based thresholds
Choice between high/low or EMA-smoothed price input
Eliminates market noise while capturing significant price swings
Visual Reversal Markers
Bright, easy-to-read labels showing exact reversal prices with comma formatting
Horizontal reference lines extending from pivot points
Customizable line extension length (default 6 bars)
Labels positioned precisely at pivot highs and lows
Supply and Demand Zones (Optional)
Automatic identification of key support and resistance levels
Visual zone highlighting with translucent boxes
Configurable number of zones to display
How It Works
The indicator employs a two-stage analysis system:
Trend Identification: Three EMAs work together to determine the current market trend. When the 9 EMA is above the 14 EMA, which is above the 21 EMA, and price is above the 9 EMA, a bullish signal is generated. The inverse creates a bearish signal.
Reversal Detection: The zigzag algorithm tracks price extremes and confirms a reversal when price moves against the trend by a threshold amount (configurable as percentage, absolute value, or ATR multiple). Once confirmed, the indicator marks the pivot point with a label and horizontal line.
Recommended Settings by Timeframe
Scalping (1-5 minute charts)
Percentage Reversal: 0.5% - 1.0%
ATR Reversal: 1.5 - 2.0
Line Extension: 4-6 bars
Day Trading (15-60 minute charts)
Percentage Reversal: 1.0% - 1.5%
ATR Reversal: 2.0 - 3.0
Line Extension: 6-10 bars
Swing Trading (4H-Daily charts)
Percentage Reversal: 1.5% - 3.0%
ATR Reversal: 2.5 - 4.0
Line Extension: 10-20 bars
Input Parameters
Zigzag Settings
Method: Choose between "high_low" (actual candle extremes) or "average" (EMA-smoothed)
Percentage Reversal: Minimum percentage move to confirm reversal (default 0.01 = 1%)
Absolute Reversal: Minimum point move to confirm reversal (default 0.05)
ATR Reversal: ATR multiplier for dynamic threshold (default 2.0)
ATR Length: Period for ATR calculation (default 5)
Average Length: EMA smoothing period when using "average" method (default 5)
Visual Settings
Line Extension Bars: Number of bars to extend horizontal lines forward (default 6)
Show Supply/Demand: Toggle and style for supply/demand zones
Show Supply Demand Cloud: Enable translucent zone highlighting
EMA Settings (Fixed)
Fast EMA: 9 periods
Medium EMA: 14 periods
Slow EMA: 21 periods
Trading Applications
Entry Signals
Green reversal labels at bottoms indicate potential long entry points
Red reversal labels at tops indicate potential short entry points
Confirm with bar color alignment and overall trend direction
Exit Signals
Opposite color reversal labels suggest profit-taking opportunities
Bar color changes from green to purple or red signal weakening bullish momentum
Bar color changes from red to purple or green signal weakening bearish momentum
Stop Loss Placement
Horizontal lines serve as dynamic stop loss levels
Place stops just beyond the reversal pivot points
Adjust stops as new reversals are confirmed
Risk Management
Use multiple timeframe analysis for confirmation
Wait for bar color confirmation before entry
Avoid trading during conflicting signals (purple bars)
Best Practices
Multi-Timeframe Confirmation: Check higher timeframe trend before taking signals
Volume Verification: Combine with volume analysis for stronger confirmation
Market Context: Consider overall market conditions and key support/resistance levels
False Signals: During choppy, low-volume periods, increase reversal thresholds
Trending Markets: The indicator performs best in markets with clear trends and reversals
Alerts Available
Reversal Up: Triggers when bullish reversal is confirmed
Reversal Down: Triggers when bearish reversal is confirmed
Momentum Up: Triggers when bearish momentum weakens
Momentum Down: Triggers when bullish momentum weakens
Important Notes
This indicator repaints by design as it confirms reversals after price movement
Labels and lines are placed at historical pivot points when confirmed
The indicator works on all timeframes and markets (stocks, forex, crypto, futures)
Bar coloring provides continuous trend feedback independent of reversals
Adjust sensitivity based on volatility and timeframe
Disclaimer
This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions. Always conduct your own analysis, use proper risk management, and never risk more than you can afford to lose. Past performance does not guarantee future results. The indicator repaints by nature of its reversal detection algorithm - reversals are only confirmed after price has moved the threshold amount.
Wskaźniki i strategie
Fixed Multi-TF Dashboard + Color TimerThis version changes the remaining time; if it's less than 1 minute, it's yellow, and if it's less than 30 seconds, it's red.
ICT Market Regime Detector [TradeHook]🔮 Overview
The **ICT Market Regime Detector** is an advanced market condition classifier designed to identify the current market environment and provide context-aware trading guidance. Rather than generating buy/sell signals, this indicator focuses on answering the crucial question: *"What type of market am I trading in right now?"*
Understanding market regime is fundamental to successful trading. The same strategy that works brilliantly in a trending market can fail spectacularly during consolidation. This indicator automatically classifies market conditions into one of eight distinct regimes, each requiring different trading approaches.
---
🎯 Regime Classifications
The indicator identifies these market states:
| Regime | Description | Recommended Approach |
|------------------------|--------------------------------------------------|--------------------------------------|
| *STRONG TREND* |Directional momen. w/ healthy struc| Cont.entries with OTE pullbacks |
| **WEAK TREND** | Gradual drift with retracements | Conservative Order Block entries |
| **ACCUMULATION** | Institutional buying within range | Longs near range lows |
| **DISTRIBUTION** | Institutional selling within range | Shorts near range highs |
| **CONSOLIDATION** | Tight range, low volatility squeeze | Wait for breakout |
| **EXPANSION** | Volatile breakout phase | Momentum following |
| **REVERSAL** | Structural transition period | Wait for confirmation |
| **CHOPPY** | No clear edge | **Avoid trading** |
---
⚙️ How It Works
**Trend Analysis Engine**
- Calculates ADX (Average Directional Index) using Wilder's smoothing method
- Monitors +DI/-DI for directional bias
- Detects trend health via EMA alignment
- Identifies exhaustion through RSI divergence
**Volatility Analysis Engine**
- Measures current vs historical volatility ratio
- Classifies as LOW, NORMAL, HIGH, or EXTREME
- Tracks volatility expansion/contraction phases
**Range Analysis Engine**
- Calculates dynamic support/resistance boundaries
- Tracks price position within range (0-100%)
- Detects range narrowing (squeeze) and expansion patterns
**Institutional Activity Detection**
- Volume spike identification
- Absorption candle patterns (large wicks, small body)
- Displacement candles (large body, small wicks)
- Accumulation/Distribution pattern recognition
---
🛡️ Risk Management Features
**Daily Loss Limit**
- Set maximum daily loss as percentage of account
- Visual warning when approaching limit
- Alert when limit is breached
**Maximum Daily Trades**
- Configurable trade counter per session
- Prevents overtrading
- Session reset options (NY Open, London Open, etc.)
**Trading Readiness Checklist**
- Clear regime ✓/✗
- Kill zone active ✓/✗
- HTF alignment ✓/✗
- Volatility normal ✓/✗
- Loss limit OK ✓/✗
- Trades remaining ✓/✗
---
📊 Multi-Timeframe Analysis
The indicator includes 4H timeframe regime alignment to ensure lower timeframe setups align with higher timeframe bias. Trades taken with HTF alignment historically have higher probability.
---
⏰ Kill Zone Integration
Built-in ICT Kill Zone detection:
- 🌙 Asian Session (Range Building)
- 🇬🇧 London Open (Prime Execution)
- 🇺🇸 NY AM (Prime Execution)
- 🔫 Silver Bullet (10-11 AM EST)
- 🇺🇸 NY PM (Afternoon Opportunities)
Configurable UTC offset for your timezone.
---
🎨 Visual Features
- **Regime-Colored Bars** - Instantly see current market state
- **Comprehensive Dashboard** - All metrics in one panel
- **Adjustable Table Size** - Tiny/Small/Normal/Large
- **Flexible Positioning** - Place dashboard in any corner
- **Optional Regime Labels** - Mark regime changes on chart
---
⚠️ Important Notes
1. This indicator is a **decision support tool**, not a signal generator
2. Always combine with proper price action analysis
3. Past regime identification doesn't guarantee future performance
4. Risk management settings are for tracking purposes only - actual position management should be done through your broker
5. The indicator works best on liquid markets with consistent volume data
---
📚 Educational Purpose
This indicator is designed for educational purposes to help traders understand market structure and regime classification. It implements concepts from ICT (Inner Circle Trader) methodology including:
- Market structure analysis
- Kill zone timing
- Institutional activity patterns
- Multi-timeframe confluence
---
🔧 Inputs Summary
**Master Toggles**
- Enable/Disable indicator, regime detection, recommendations, risk management, alerts
**Core Settings**
- Analysis lookback periods (short/medium/long)
- ADX thresholds for trend classification
- Volatility spike multiplier
**Risk Management**
- Max daily loss percentage
- Max daily trades
- Account size for P&L calculation
- Session reset timing
**Visualization**
- Dashboard on/off and position
- Regime zones and labels
- Bar coloring
- Table text size
---
💡 Tips for Use
1. **Don't trade CHOPPY regimes** - The indicator explicitly warns when no edge exists
2. **Respect the checklist** - Trade only when multiple conditions align
3. **Adjust ADX thresholds** - Different instruments may require fine-tuning
4. **Monitor regime duration** - Fresh regime changes often present the best opportunities
5. **Use with other TradeHook indicators** - Designed to complement the MTMGBS system
⚖️ DISCLAIMER
This indicator is for **educational and informational purposes only**. It does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always conduct your own analysis and consult with a qualified financial advisor before making trading decisions.
VWAP MTF 5-BandVWAP MTF Suite
Overview
The MTF Institutional VWAP Suite is a high-performance, multi-timeframe analysis tool designed for professional traders who require precise structural anchors. Built on the latest Pine Script v6 engine, this indicator allows for the simultaneous tracking of up to five independent VWAPs, each with its own volatility bands and customizable reset logic.
Unlike standard VWAP indicators that are limited to daily sessions, this suite provides institutional "magnets" across multiple horizons, allowing you to visualize where high-volume participants are positioned on a Daily, Weekly, Monthly, or Intraday basis.
Key Features
5 Independent VWAP Engines: Run up to five unique VWAPs concurrently without chart lag.
Multi-Timeframe Anchoring: Choose from hard-coded institutional pivots: Month, Week, Day, 12-Hour, 4-Hour, and 1-Hour.
Institutional Volatility Bands: Each VWAP includes an optional 1-Standard Deviation band calculated using cumulative variance logic for maximum precision.
Advanced UI Controls: Granular toggles for each instance allow you to display only the center line, only the bands, or the full shaded "value area" for any specific timeframe.
Modern Pine v6 Architecture: Utilizes the latest 2026 Pine Script optimizations, including method chaining and global-scope plot execution for a bug-free experience.
How to Use
Identify Value Clusters: When multiple VWAPs (e.g., Daily and Weekly) converge at a single price point, it creates a high-probability "Institutional Pivot" zone.
Mean Reversion: Use the 1-Standard Deviation bands to identify overextended price action. Institutional algorithms often mean-revert toward the VWAP when price reaches the exterior bands in a low-volatility environment.
Trend Confirmation: Use the slope and position of the 4-Hour or Daily VWAP to determine intraday bias. Trading above a rising VWAP confirms a "Long Gamma" or bullish trend.
Settings
Anchor Selection: Defines the starting point of the volume-weighted calculation.
Bands & Fill Toggles: Quickly clean up your chart by hiding the volatility bands or the background shading for specific timeframes.
Visual Customization: Full control over center line colors, global band colors, and label offsets to prevent text overlap on the right-hand scale.
Developer Notes
This script was optimized for the 2026 TradingView environment. It uses a custom variance-tracking function rather than the basic built-in ta.vwap to ensure that standard deviation bands remain mathematically accurate even when crossing multiple sessions or weekend gaps.
ICT iFVG Detector + Checklist + Killzones & Pivots (Merged)ZOE IFVG + Sessions + CISD (Multi-Timeframe) is an all-in-one ICT-style toolkit designed to simplify bias, timing, and execution by combining the most important market delivery concepts into one indicator.
This script merges:
🔥 1) IFVG (Inversion Fair Value Gaps)
Automatically detects and draws Inversion Fair Value Gaps
Helps highlight high-probability reversal / continuation delivery zones
Clean visual zones for entries + mitigation-based logic
⏰ 2) ICT Sessions / Killzones & Pivots
Fully integrated from the open-source ICT Killzones & Pivots toolset:
Asia, London, NY AM, NY Lunch, NY PM Killzones
Session high/low pivot lines + optional midpoint lines
Opening price lines and timestamp markers
Optional Day/Week/Month open + previous highs/lows
Day-of-week labels + session range table
This helps you time entries based on where you are in the day, and identify session liquidity levels that price reacts to.
📌 3) CISD (Change In State of Delivery) — Multi-Timeframe
Detects CISD levels using body-based market structure logic
Marks bullish and bearish CISD levels cleanly on chart
ATR Supertrend [QuantAlgo]🟢 Overview
The ATR Supertrend indicator identifies trend direction and reversal points using volatility-adjusted dynamic support and resistance levels. It combines Average True Range (ATR) volatility measurement with adaptive price bands and EMA smoothing to create trailing stop levels that automatically adjust to market conditions, helping traders and investors identify trend changes, maintain positions during trending markets, and exit when momentum shifts across multiple timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its volatility-adaptive band system, where dynamic support and resistance levels are calculated based on market volatility and price movement:
smoothedSource = ta.ema(source, smoothingPeriod)
atr = ta.rma(ta.tr(true), atrLength) * atrMultiplier
The script uses ATR-based bands that expand and contract with market volatility, ensuring the indicator adapts to different market conditions rather than using fixed price distances:
if trend == 1
supertrend := math.max(supertrend, smoothedSource - atr)
else
supertrend := math.min(supertrend, smoothedSource + atr)
First, it applies optional EMA smoothing to the price source to reduce noise and filter out minor price fluctuations that could trigger premature trend changes, allowing traders to focus on genuine momentum shifts.
Then, the ATR calculation measures market volatility using the Average True Range over the specified lookback period, multiplied by the user-defined factor to set the band distance:
atr = ta.rma(ta.tr(true), atrLength) * atrMultiplier
Next, dynamic trend detection occurs through a state-based system where the indicator tracks whether price is in an uptrend or downtrend, automatically adjusting the Supertrend line position:
if trend == 1
if smoothedSource < supertrend
trend := -1
supertrend := smoothedSource + atr
The Supertrend line can act as a trailing stop that follows price during trends but never moves against the trend direction, i.e., it ratchets upward with price in uptrends and ratchets downward with price in downtrends.
Finally, trend reversal signals are generated when price crosses the Supertrend line, indicating a shift in market momentum:
bullSignal = trend == 1 and trend == -1
bearSignal = trend == -1 and trend == 1
This creates a volatility-adaptive trend-following system that combines dynamic support/resistance levels with momentum confirmation, providing traders with clear directional signals and automatic stop-loss levels that adjust to changing market conditions.
🟢 Signal Interpretation
▶ Bullish Trend (Green): Price trading above Supertrend line with indicator showing bullish color, indicating established upward momentum = Long/Buy opportunities
▶ Bearish Trend (Red): Price trading below Supertrend line with indicator showing bearish color, indicating established downward momentum = Short/Sell opportunities
▶ Supertrend Line as Dynamic Support: In uptrends, the Supertrend line can act as trailing support level that rises with price, never declining = Use as potential stop-loss reference for long positions = Price holding above indicates trend strength
▶ Supertrend Line as Dynamic Resistance: In downtrends, the Supertrend line can act as trailing resistance level that falls with price, never rising = Use as potential stop-loss reference for short positions = Price holding below indicates trend weakness
🟢 Features
▶ Preconfigured Presets: Three optimized parameter sets for different trading approaches. "Default" provides balanced trend detection for swing trading on daily/4-hour charts with moderate sensitivity. "Fast Response" delivers quick trend change detection for intraday trading on 5-minute to 1-hour charts, capturing moves early with increased whipsaw potential. "Smooth Trend" focuses on strong sustained trends for position trading on daily/weekly timeframes, filtering noise to identify only major trend shifts.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend changes and momentum shifts. "Bullish Trend" triggers when price crosses above the Supertrend line and the trend state changes from bearish to bullish, signaling potential long entry opportunities. "Bearish Trend" activates when price crosses below the Supertrend line and the trend state changes from bullish to bearish, signaling potential short entry or long exit points. "Any Trend Change" provides a combined alert for any trend reversal regardless of direction, allowing traders to be notified of all momentum shifts without setting up separate alerts. These notifications enable traders to capitalize on trend changes and protect positions without continuous chart monitoring.
▶ Color Customization: Five visual themes (Classic, Aqua, Cosmic, Ember, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast for identifying bullish versus bearish trends across various trading environments. The adjustable cloud fill transparency control (0-100%) allows fine-tuning of the gradient area prominence between the Supertrend line and price, with higher opacity values creating subtle background context while lower values produce bold trend zone emphasis. Optional bar coloring with adjustable transparency (0-100%) extends the trend color directly to the price bars themselves, providing immediate visual reinforcement of current trend direction without requiring reference to the Supertrend line, with transparency controls allowing users to maintain visibility of candlestick patterns while still showing trend context.
Double BB Touch Alert캔들이 기본 볼린저밴드(20,2,종가)와 사용자밴드(4,4,시가)를 동시에 닿았을 때 알람 발생시키는 스크립트
"A script that triggers an alert when the candle simultaneously touches both the default Bollinger Bands (20, 2, close) and a custom band (4, 4, open)."
AI BUY SELL BOT Indicator(KEWME)This strategy is primarily a Trend Following and Scalping strategy. It relies on the crossover of two Exponential Moving Averages (EMA) to identify short-term momentum shifts. The "AI" or "KEWME" part usually refers to the filtering logic added to standard EMAs to reduce false signals during choppy (sideways) markets.
1. Core Components
Fast EMA (Period 9): This tracks the most recent price data very closely. It reacts quickly to price changes.
Slow EMA (Period 15): This acts as the baseline or immediate support/resistance level. It reacts slower than the 9 EMA.
2. Buy Signal Logic (Long Entry)
A Buy signal is generated when the short-term momentum shifts upwards.
Crossover Condition: The EMA 9 (Fast) must cross ABOVE the EMA 15 (Slow).
Candle Confirmation: The candle causing the crossover should ideally close green (bullish) and above both EMA lines.
AI/Filter Logic:
Slope Check: The "AI" logic checks if the slope of the EMA 15 is pointing up. If the lines are flat (horizontal), the signal is often ignored to avoid sideways markets.
Volume: There should be higher than average volume during the crossover to confirm the strength of the move.
Trader's Action: Enter a Buy position immediately after the candle closes.
3. Sell Signal Logic (Short Entry)
A Sell signal is generated when the short-term momentum shifts downwards.
Crossunder Condition: The EMA 9 (Fast) must cross BELOW the EMA 15 (Slow).
Candle Confirmation: The candle causing the crossover should ideally close red (bearish) and below both EMA lines.
AI/Filter Logic:
Slope Check: The "AI" logic checks if the slope of the EMA 15 is pointing down.
Volume: Selling pressure (volume) should be visible.
Trader's Action: Enter a Sell position immediately after the candle closes.
4. The "AI" filtering (Why it is different from basic EMA)
Standard EMA crossovers often fail in "Choppy Markets" (when price moves up and down within a small range), causing losses. The KEWME/AI version usually adds these extra rules:
Range Filter: If the distance between EMA 9 and EMA 15 is very small (the lines are hugging each other), the AI suppresses the signal. It waits for the lines to "fan out" or separate.
Trend Alignment: It might check a higher timeframe (like 200 EMA). If the price is above the 200 EMA, it might only show Buy signals and hide Sell signals (Trend Filtering).
5. Exit Strategy (Stop Loss & Target)
Stop Loss (SL):
For Buy: Just below the recent Swing Low or below the EMA 15.
For Sell: Just above the recent Swing High or above the EMA 15.
Take Profit (TP): usually taken when the EMAs cross back in the opposite direction, or at a 1:1.5 Risk-Reward ratio.
3 minutes ago
Release Notes
This strategy is primarily a Trend Following and Scalping strategy. It relies on the crossover of two Exponential Moving Averages (EMA) to identify short-term momentum shifts. The "AI" or "KEWME" part usually refers to the filtering logic added to standard EMAs to reduce false signals during choppy (sideways) markets.
1. Core Components
Fast EMA (Period 9): This tracks the most recent price data very closely. It reacts quickly to price changes.
Slow EMA (Period 15): This acts as the baseline or immediate support/resistance level. It reacts slower than the 9 EMA.
2. Buy Signal Logic (Long Entry)
A Buy signal is generated when the short-term momentum shifts upwards.
Crossover Condition: The EMA 9 (Fast) must cross ABOVE the EMA 15 (Slow).
Candle Confirmation: The candle causing the crossover should ideally close green (bullish) and above both EMA lines.
AI/Filter Logic:
Slope Check: The "AI" logic checks if the slope of the EMA 15 is pointing up. If the lines are flat (horizontal), the signal is often ignored to avoid sideways markets.
Volume: There should be higher than average volume during the crossover to confirm the strength of the move.
Trader's Action: Enter a Buy position immediately after the candle closes.
3. Sell Signal Logic (Short Entry)
A Sell signal is generated when the short-term momentum shifts downwards.
Crossunder Condition: The EMA 9 (Fast) must cross BELOW the EMA 15 (Slow).
Candle Confirmation: The candle causing the crossover should ideally close red (bearish) and below both EMA lines.
AI/Filter Logic:
Slope Check: The "AI" logic checks if the slope of the EMA 15 is pointing down.
Volume: Selling pressure (volume) should be visible.
Trader's Action: Enter a Sell position immediately after the candle closes.
4. The "AI" filtering (Why it is different from basic EMA)
Standard EMA crossovers often fail in "Choppy Markets" (when price moves up and down within a small range), causing losses. The KEWME/AI version usually adds these extra rules:
Range Filter: If the distance between EMA 9 and EMA 15 is very small (the lines are hugging each other), the AI suppresses the signal. It waits for the lines to "fan out" or separate.
Trend Alignment: It might check a higher timeframe (like 200 EMA). If the price is above the 200 EMA, it might only show Buy signals and hide Sell signals (Trend Filtering).
5. Exit Strategy (Stop Loss & Target)
Stop Loss (SL):
For Buy: Just below the recent Swing Low or below the EMA 15.
For Sell: Just above the recent Swing High or above the EMA 15.
Take Profit (TP): usually taken when the EMAs cross back in the opposite direction, or at a 1:1.5 Risk-Reward ratio.
Buy / Sell Volume LabelsINDICATOR NAME:
Buy/Sell Volume Labels
DESCRIPTION:
Buy/Sell Volume Labels displays real-time buying and selling volume with dynamic color-coded labels that highlight market dominance. The indicator automatically emphasizes the dominant side (buy or sell) with bright green or red backgrounds, while the non-dominant side fades to gray for instant visual clarity.
Key Features:
- Dynamic Color Coding: Dominant volume side displays in bright green (buy) or red (sell), non-dominant side in gray
- Trend Indicator: Optional "Bullish Trend", "Bearish Trend", or "Neutral" label shows current market bias
- Flexible Display Options: Choose to show percentages only, volume only, or both
- Customizable Position: Place labels anywhere on chart (top, center, bottom; left, center, right)
- Adjustable Size: Six size options from Tiny to Huge, including Auto
- Lookback Period: Calculate volume for current bar or sum across multiple bars
- Neutral Threshold: Define when market is considered neutral vs. trending
How It Works:
- The indicator calculates buying and selling volume based on where price closes within each bar's range. When buying volume dominates, the Buy label turns bright green with black text while the Sell label turns gray. When selling dominates, the Sell label turns bright red with white text while the Buy label turns gray. This makes it immediately obvious which side controls the market.
Perfect For:
- Day traders and scalpers on futures (/MNQ, /ES, /NQ)
- Identifying accumulation vs. distribution phases
- Confirming trend strength and reversals
- Quick visual assessment of market pressure
- All timeframes from tick charts to daily
Settings:
- Header location (9 positions)
- Display mode (Volume, Percent- age, or Both)
- Table size (Tiny to Huge + Auto)
- Lookback period (bars)
- Trend label toggle
- Neutral threshold percentage
Created by NPR21 for the TradingView community.
Infinity Trader TDSTDS – Trend Direction Structure Strategy
TDS (Trend Direction Structure) is a rule-based trading strategy that focuses on market structure and directional bias to identify high-probability trade setups.
The strategy is designed to trade only in the direction of the confirmed trend, reducing false entries and improving consistency.
🔹 Core Principle
Markets move in trends and structures.
TDS identifies:
Current trend direction
Internal structure continuations
Confirmed trend reversals
Trades are executed only when structure and direction align.
🔹 Trend Classification
Buy Trend – Higher highs and higher lows
Sell Trend – Lower highs and lower lows
🔹 Structure Signals Used
Internal Continuation
ICB (Internal Continuation Buy)
Entry during pullback in a buy trend
ICS (Internal Continuation Sell)
Entry during pullback in a sell trend
Internal Change of Trend
iCBT – Early change to buy trend
iCST – Early change to sell trend
External Change of Trend
CBT – Confirmed buy trend reversal
CST – Confirmed sell trend reversal
🔹 Entry Logic
Trade only after structure confirmation
Entries occur on pullbacks or continuation zones
Avoid ranging and low-momentum markets
🔹 Risk Management
Structure-based Stop Loss
Fixed or dynamic Take Profit
Risk-to-Reward ratio typically 1:2 or higher
🔹 Best Suitable For
Forex (major pairs like EUR/USD)
Intraday & swing trading
Manual trading and AI/robot automation
🔹 Objective
TDS aims to deliver consistent profits, controlled drawdowns, and disciplined execution by following trend direction and market structure.
Post-Exercise Option ValueThis indicator visualizes the post-exercise value of stock options for a single underlying symbol.
It calculates what an options position would be worth after exercising , based on the difference between price and strike, and displays how that value changes over time using close, high, and low prices.
What it shows
Value at Close – post-exercise value using the candle’s closing price
Value at High – post-exercise value using the candle’s high
Value at Low – post-exercise value using the candle’s low
Shaded regions highlight the intrabar range between close↔high and low↔close
Values are floored at $0 when price is below the strike
Calculation logic
The indicator uses the following formula:
Post-exercise value = max((Price − Strike) × Units × Multiplier, 0)
This reflects the net value of shares received if options were exercised at the strike and valued at the current market price.
Inputs
Strike price (exercise price)
Number of units (shares or share-equivalent units)
Multiplier (e.g., 100 for standard US equity option contracts)
Custom value target for alerts
Alerts
Optional alerts are available for:
Price crossing above or below the strike
Post-exercise value crossing above (or below) a user-defined dollar target
Alerts are evaluated on bar close and can be enabled individually via TradingView’s alert dialog.
Notes
Designed for tracking a single ticker
Does not model time value, volatility, or option premiums
Intended for visualization and monitoring purposes only
This tool is useful for understanding how the value of an exercised options position evolves relative to price movement.
Stockbee 9 million EP (Up or Down)Stockbee 9 million EP showing dot under candlestick for easy identification.
Greg's LevelsWell Team Bull, this was more difficult than I thought but here it is. Greg's Levels.
Based on the work of Nosral and the Daily High/Low script
Thanks to Greg for his video that finally made it click. Greg's video is here
www.youtube.com
I'm not the best coder, especially with pinescript so please let me know if I can clean it up or adjust things. Or just do it and share it to the community.
In my script the higher time frames don't trump lower, that is more complex coding, so I added the ability to change the lines or line thickness to take precedence.
I am also not sure how to chose the closest POI (point of interest) until it's mitigated than show the next so all POI's are seen. If you watch the video you'll see the hot box Greg refers to.
Since I was in it this far I added the ability to add a 4th time frame if you want to add the hourly, 30m, 15m, monthly, etc.
Anyway. Let's go Team Bull.
DOD
Blaez
RS Proxy Suite (Sector-Weighted) - by kuokkuokIndicator Description
RS Proxy Suite (Sector-Weighted) is a Pine Script indicator for TradingView, designed for stock traders to calculate a stock's Relative Strength (RS) proxy score. This indicator simulates a market proxy universe by weighting multiple sector ETFs, evaluating a stock's strength relative to a benchmark like the SPX. Inspired by the M.E.T.S. (Multiple Edge Trading Strategy) system, it helps users identify market-leading stocks, potential breakout opportunities, and low-risk entry points.
Key Features and Benefits:
RS Proxy Rating (1–99 Score): Computes the stock's RS score (higher is stronger), aiding in screening super-strong stocks. A score above 80 indicates the stock outperforms most peers, making it a prime buy candidate.
RS Line and Blue Dot Divergence: Displays the RS line trend and marks RS-leading new high divergences. This acts like an "early warning light," signaling potential low-risk entries (e.g., when RS hits a new high but price hasn't caught up yet).
Sector-Weighted Design: Integrates Growth, Cyclical, Defensive, and Policy ETFs to simulate a comprehensive market environment. Weights are adjustable for flexibility across market phases.
Dashboard Display: A concise panel shows RS Rating, RS Trend, and Blue Dot status for quick decision-making.
Application Scenarios: Ideal for technical analysts to screen leaders, spot trend reversals, or confirm breakouts with VCP patterns (Volatility Contraction Patterns). Its strength lies in avoiding single-index bias for more stable RS assessments.
This indicator avoids subjective judgments, relying on quantitative momentum calculations to help traders "go with the flow" and reduce false breakout risks. Shared for community use—feedback welcome for improvements.
User Manual -
This manual guides you on installing and using the RS Proxy Suite (Sector-Weighted) indicator on TradingView. It's suited for daily or weekly charts, applicable to US stocks or markets correlated with SPX. Ensure your TradingView account supports Pine Script v6.
1. Installation Steps
Step 1: Log in to TradingView and open the Chart page.
Step 2: Click the "Indicators" button in the top toolbar, search for "RS Proxy Suite (Sector-Weighted)" (or paste the Pine Script code into the Pine Editor and add it).
Step 3: If installing from the Community Scripts library, click "Add to Chart"; for custom code, save and add to the chart.
Step 4: The indicator will appear below the chart (overlay=false). Confirm no error messages.
2. Parameter Adjustment Guide
The indicator offers multiple input parameters in TradingView's "Settings" panel. Defaults are optimized, but adjust based on market conditions. Here's a grouped breakdown:
Data Source:
Market Index SPX: Default "SP:SPX", changeable to other indices (e.g., "TVC:NDX").
Calculation Price: Default close (closing price), switch to high/low/open for sensitivity tweaks.
RS Momentum Periods (Adjustable):
Short Term (Default 63 days): Short-term momentum; larger values smooth it out.
Medium Term (Default 126 days): Mid-term momentum.
Long Term (Default 252 days): Long-term momentum for capturing major trends.
Momentum Weights:
Short Term Weight: Default 0.4, emphasizes recent performance.
Medium Term Weight: Default 0.2.
Long Term Weight: Default 0.4. Sum doesn't need to be 1; system normalizes automatically.
Sector Weights: Each ETF weight is independently adjustable (step 0.1). Defaults reflect sector importance, e.g., higher for growth ETFs.
XLK Weight (Technology): Default 1.5.
SOXX Weight (Semiconductors): Default 1.3.
XLY Weight (Consumer Discretionary): Default 1.2.
XLC Weight (Communication Services): Default 1.1.
XLG Weight (Large Cap Growth): Default 1.3.
XLI Weight (Industrials): Default 1.0.
XLF Weight (Financials): Default 1.0.
XLB Weight (Materials): Default 0.9.
XLE Weight (Energy): Default 0.9.
XLV Weight (Health Care): Default 0.8.
XLP Weight (Consumer Staples): Default 0.8.
XLU Weight (Utilities): Default 0.7.
XLRE Weight (Real Estate): Default 0.7.
PPA Weight (Aerospace & Defense): Default 0.9.
Adjustment Tips: Boost XLK/SOXX for tech-favorable markets; increase XLV/XLP for defensive phases.
Visualization Settings:
Show RS Line: Displays RS line (black) and 50-day MA (gray).
Show Blue Dot Divergence (Blue Dot): Marks divergence signals.
Show Dashboard: Enables the dashboard.
Dashboard Position: Choose locations like "Bottom Right".
3. Output Interpretation
RS Line: Black line shows stock strength vs. SPX; upward trend means outperforming. Gray line is 50-day MA—breaking above signals strength.
Blue Dot: Blue circle appears for RS leading price new highs (like a "coiled spring"), indicating potential low-risk entries. Confirm with: RS > 50-day MA and volume surge.
Dashboard:
RS Rating: Score 1–99; green (>80) for strong, yellow (50–80) neutral, red (<50) weak.
RS Trend: Green "Strong" or red "Weak".
Blue Dot: Blue "Present" or red "None".
Interpretation Analogy: RS Rating is like a stock's "health score"—above 80 is an "athlete" worth tracking for breakouts; Blue Dot is a "green light," but pair with volume to confirm true breakouts (avoid fakes).
4. Usage Examples
Screening Leaders: Add to AAPL chart—if RS Rating > 85 and Blue Dot appears, check if price nears VCP pivot; this is a low-risk buy setup.
Trend Judgment: Rising RS line with M.E.T.S. Stage 2 (uptrend) confirms trend-following trades.
Weight Tweaks: For defensive markets, raise XLV/XLU weights and recalculate RS Proxy.
5. Common Issues and Warnings
Q: Indicator not showing? A: Verify ETF symbols (e.g., AMEX:XLK) or switch timeframes.
Q: Inaccurate scores? A: Adjust periods/weights and backtest on historical data.
Q: Avoiding false breakouts? A: Combine with volume and support/resistance; Blue Dot is a alert, not a buy signal.
Warnings: Based on historical data; markets are volatile—use with other tools. Results are for reference only, not investment advice. Test in a demo account.
Median Anchor Oscillator [ALPHA]ALPHA – Median Anchor Oscillator
A clean, outlier-resistant z-score oscillator built around a rolling median (not mean) and Median Absolute Deviation (MAD) instead of standard deviation.
Key features:
- Green/red histogram shows deviation strength from the median anchor
- Dashed lines at ± threshold (default 2.5 – adjustable)
- Optional purple fill for extreme zones
- Auto-scales perfectly (no price squish on BTC or high-value assets)
Ideal for mean-reversion traders spotting overextension or "gravity" pullbacks.
SHORT = breaching top dashed line (red)
LONG = breaching bottom dashed line (green)
Use with a MACD or RSI for those divergence signal confirmations.
This is ALPHA – early version, still tuning.
Companion overlay suite (medians, pivot, signals, RSI overlay) coming in future, possible standalone update(s).
Feedback / suggestions very welcome!
Tags: z-score, median, oscillator, mean-reversion, BTC, crypto, deviation
ApexTrend Lite
ApexTrend Lite is a directional trend band indicator designed to show market structure, trend direction, and volatility in a simple visual form.
The indicator plots a single adaptive band that changes position based on trend conditions. In bullish markets, the band appears below price. In bearish markets, the band appears above price. During sideways or low-strength conditions, the band compresses near the trend average.
The band automatically expands when volatility and trend strength increase and contracts when conditions weaken. Color intensity reflects trend strength, helping distinguish strong trends from weak or choppy periods.
The band is anchored to candle extremes, ensuring it hugs price without gaps and accurately represents market structure. ApexTrend Lite does not repaint and works across all asset classes, including equities, indices, and commodities.
This is the Lite version focused on clean visual trend context
orb by codeUltimate Opening Range Break (ORB) Tool
Shows the future NY and ASIA sessions with a countdown timer.
Toggle past sessions, future session markers, midlines, countdown boxes, and all labels for the opening range breakout.
Takes the high, low, midline of the 15 min candle 1 hour into the sessions.
Customize every color element — including fills, highs, lows, and midlines for both NY and Asia sessions.
Built for traders who want a clean, flexible, and powerful ORB workflow.
20MA_Touch_LongCandle//@version=5
indicator("MA20 Touch + Big Bull Candle (Daily)", overlay=true)
// --- Inputs
maLen = input.int(20, "MA Length", minval=1)
avgLen = input.int(20, "Avg Body Lookback", minval=5)
bigMult = input.float(2.0, "Big Candle Multiplier", step=0.1)
touchMode = input.string("Touch (low <= MA)", "MA Touch Mode", options= )
nearPct = input.float(0.3, "Near % (if Near mode)", step=0.1) // 0.3% default
// --- MA
ma20 = ta.sma(close, maLen)
plot(ma20, "MA20", linewidth=2)
// --- Candle metrics
body = math.abs(close - open)
avgBody = ta.sma(body, avgLen)
// --- Conditions
isBull = close > open
isBig = body >= avgBody * bigMult
touchCond = switch touchMode
"Touch (low <= MA)" => low <= ma20 and high >= ma20 // '찍었다' 느낌(통과 포함)
=> math.abs(close - ma20) / ma20 * 100 <= nearPct
signal = isBull and isBig and touchCond
// --- Plot
plotshape(signal, title="Signal", style=shape.labelup, text="MA20 BIG", location=location.belowbar, size=size.tiny)
// --- Alert
alertcondition(signal, title="MA20 Touch + Big Bull", message="MA20 Touch + Big Bull Candle detected on {{ticker}} (Daily)")
MACDHLAdapted from Mohamed3nan. Added 1H MACD logic. Background colors indicate momentum shifts: Red for bearish (Red Histogram peaking) and Green for bullish (Green Histogram bottoming). Buy/Sell signals are triggered by Center Line breakouts or rejections. The Center Line serves as a dynamic Support and Resistance (S/R) for short-term trading.
TGA Real Historialen Based on the Publish script window on your screen, here is a concise description in English that you can use for your indicator:
"This indicator displays the historical balance of the U.S. Treasury General Account (TGA). Data is dynamically loaded from an external CSV file hosted on GitHub to ensure the history is automatically kept up to date."
clirings//@version=5
indicator("Range Marker ", overlay=true)
// Функция для проверки времени на вхождение в диапазон с 23:50 до 10:00 (ночной клиринг)
isNightTime = (hour >= 23 and minute >= 50) or (hour < 9)
// Функция для проверки времени на вхождение в диапазон с 18:50 до 19:05 (вечерний клиринг)
isEveningClearing = (hour == 18 and minute >= 50) or (hour == 19 and minute <= 5)
// Функция для проверки времени на вхождение в диапазона с 14:00 до 14:05 (дневной клиринг)
isDayClearing = (hour == 14 and minute <= 5)
// Фоновый цвет для ночного времени (23:50–09:00)
bgcolor(isNightTime ? color.new(color.blue, 80) : na, title="Night Session")
// Фоновый цвет для вечернего клиринга (18:50–19:05)
bgcolor(isEveningClearing ? color.new(color.red, 80) : na, title="Evening Clearing")
// Фоновый цвет для дневного клиринга (14:00–14:05)
bgcolor(isDayClearing ? color.new(color.orange, 80) : na, title="Day Clearing")






















