MB-MACD## Description
**MB-MACD** is a custom Pine Script indicator designed to enhance momentum analysis by combining a volume-based "Main Buy Ratio" (MB) calculation with a traditional MACD oscillator. The MB Ratio estimates institutional buying pressure by apportioning volume based on the candle's range and close position, providing a unique proxy for "smart money" flow. This smoothed MB value is then used as the source for MACD computation, allowing for divergence detection between price action, the MB line, and the MACD Histogram.
Key features include:
- **MB Line**: A histogram-style plot showing smoothed buy/sell ratio, colored bullishly (teal) or bearishly (pink) based on direction.
- **MACD Histogram**: Standard MACD applied to the MB source, with optional smoothing.
- **Divergence Detection**: Identifies bullish and bearish divergences on both the MB line and MACD Histogram, with configurable filters for momentum decay and zero-line alignment.
- **Visualization Options**: Display divergence lines and labels in the indicator pane or synced as an overlay on the main chart for better context.
- **Alerts**: Triggers for bullish or bearish divergences to notify users of potential reversal setups.
This indicator is particularly useful for swing traders and momentum followers looking to spot hidden divergences that may signal trend reversals or continuations. It emphasizes risk management by highlighting where price and momentum decouple, but remember: divergences are probabilistic signals and should be confirmed with other tools.
As this is a community-shared script, I encourage users to test it thoroughly and provide feedback. If you spot any bugs, calculation errors, or improvements (e.g., edge cases with low-volume symbols or performance issues on certain timeframes), please comment below or reach out—your input helps refine it for everyone!
## User Manual
### Introduction
The **MB-MACD** indicator integrates volume analysis with MACD to detect divergences in price and momentum. The core innovation is the "Main Buy Ratio" (MB), which approximates buying vs. selling volume within each bar based on its range and close position. This MB value is smoothed and fed into a MACD calculation, enabling divergence scans on both the MB line and the resulting MACD Histogram.
Divergences occur when price makes higher highs/lower lows, but the oscillator (MB or Histogram) fails to confirm—often signaling potential reversals. The script offers flexible display options, filters to reduce false positives, and alerts for real-time notifications.
**Important Notes:**
- This is not financial advice; use it for educational purposes and backtest on your symbols/timeframes.
- Works best on liquid stocks or indices with reliable volume data (e.g., daily or higher timeframes).
- Performance may vary on low-volume assets or during after-hours trading.
- If you encounter issues (e.g., no divergences detected or rendering errors), check your chart settings and report them in the comments for community debugging.
### Inputs Explanation
The inputs are grouped for ease of configuration. Adjust them via the indicator's settings panel in TradingView.
#### Core Parameters
- **Show MB Line** (Default: True): Enables/disables the MB Ratio histogram plot.
- **Show MACD Histogram** (Default: True): Enables/disables the MACD line and histogram plots.
- **MB Smoothing (SMA)** (Default: 10, Min: 1): Length for smoothing the raw MB Ratio using a Simple Moving Average (SMA). Higher values reduce noise but may lag.
- **Pivot Lookback Length** (Default: 5, Min: 2): Bars to look back/forward for detecting price pivots (highs/lows) used in divergence logic.
- **Max Lines Kept** (Default: 100, Min: 10): Limits the number of divergence lines/labels to prevent chart clutter.
#### Display Settings
- **Show Lines (Indicator Pane)** (Default: True): Draws divergence lines on the MB line in the indicator pane.
- **Show Labels (Indicator Pane)** (Default: True): Adds labels (e.g., "L" for line divergence) at divergence points in the pane.
- **Show Hist Divergence Lines** (Default: True): Draws dashed lines for MACD Histogram divergences in the pane.
- **Show Hist Divergence Labels** (Default: True): Adds labels (e.g., "H" for histogram divergence) in the pane.
- **Sync Lines to Main Chart (Overlay)** (Default: True): Mirrors divergence lines and labels onto the main price chart for context (slightly offset for visibility).
#### Filters & Tolerance
- **Peak Alignment Tolerance (Bars)** (Default: 5, Min: 0): Allows flexibility in matching oscillator peaks/valleys to price pivots (e.g., within ±5 bars).
- **Max Divergence Distance (Bars)** (Default: 20, Min: 5): Maximum bars between two pivots for a valid divergence; prevents detecting overly distant signals.
- **Enable Momentum Decay Filter** (Default: True): For Histogram divergences, requires the current peak/valley to have a smaller absolute value than the previous (indicating convergence/decay).
- **Enable Zero-Side Filter** (Default: False): Ensures both peaks/valleys in a divergence are on the same side of the zero line (e.g., both positive or both negative).
#### MACD Settings
- **MACD Fast Length** (Default: 12): Fast EMA length for MACD.
- **MACD Slow Length** (Default: 26): Slow EMA length for MACD.
- **MACD Signal Length** (Default: 9): Smoothing length for the MACD signal line.
- **MACD Source Smoothing** (Default: 3, Min: 1): Additional SMA smoothing applied to the MB Ratio before MACD calculation.
### How It Works
1. **MB Ratio Calculation**: For each bar, the script computes the position of the close within the high-low range (0-1). This scales the volume into "buy" and "sell" portions, then derives a net ratio (-100% to +100%). It's smoothed via SMA for the final MB line.
2. **MACD Application**: The (optionally smoothed) raw MB is used as the MACD source, producing a MACD line, signal line, and histogram.
3. **Pivot Detection**: Uses Pine's `ta.pivothigh`/`ta.pivotlow` to find price highs/lows over the lookback period.
4. **Divergence Scanning**:
- **Bearish (on Highs)**: Price makes a higher high, but MB/Hist makes a lower high.
- **Bullish (on Lows)**: Price makes a lower low, but MB/Hist makes a higher low (closer to zero).
- Scans nearby bars for oscillator matches and applies filters.
5. **Rendering**: Lines/labels are drawn in the indicator pane or overlaid on the chart. Colors: Teal for bullish, Pink/Maroon for bearish.
6. **Cleanup**: Automatically removes old lines/labels to stay under the max limit.
### Interpreting the Outputs
- **MB Line (Columns)**: Positive (teal) indicates net buying pressure; negative (pink) shows selling. Watch for crossovers above/below zero as momentum shifts.
- **MACD Histogram (Area)**: Green/teal for positive momentum; red/maroon for negative. Widening bars suggest strengthening trends; narrowing indicates weakening.
- **Divergence Lines/Labels**:
- Solid lines: MB line divergences (thicker, labeled "L").
- Dashed lines: Histogram divergences (thinner, labeled "H").
- Bullish: Teal lines sloping up (potential bottom reversal).
- Bearish: Pink lines sloping down (potential top reversal).
- **Overlay on Chart**: Lines connect price pivots (or offset slightly for Histogram). Use this to visualize how divergences align with candlesticks.
- **Zero Line**: Gray horizontal line; divergences filtered by side if enabled.
**Example Usage**:
- On a daily stock chart, enable overlays and watch for a bullish "L" or "H" label near a price low—could signal a buy if confirmed by volume breakout.
- In a downtrend, bearish divergences on highs might warn of further downside.
### Alerts
- **Bullish Divergence (L or H)**: Triggers on any detected bullish divergence (MB or Histogram).
- **Bearish Divergence (L or H)**: Triggers on bearish divergences.
- Set up via TradingView's alert menu: Select the indicator, choose the condition, and customize the message (e.g., includes ticker).
### Troubleshooting / Known Issues
- **No Divergences Shown**: Increase "Peak Alignment Tolerance" or reduce filters. Ensure pivot length suits your timeframe (shorter for intraday).
- **Too Many Lines/Labels**: Lower "Max Lines Kept" or increase "Max Divergence Distance" to filter distant signals.
- **Performance on Low-Volume Symbols**: MB Ratio may be unreliable; test on high-volume assets first.
- **Rendering Errors**: If lines don't appear, check chart zoom or ensure "force_overlay=true" isn't conflicting with other indicators.
- **NaN/Undefined Values**: Rare on live data but possible in historical backtests; report with symbol/timeframe for fixes.
### Feedback and Contributions
This script is open for community improvement! If you find bugs (e.g., false positives in divergences, calculation edge cases, or UI glitches), or have suggestions (like additional filters or visualizations), please share in the comments. Your feedback helps make it better—let's debug and enhance it together!
Indicatori e strategie
Manus Forex Alpha Pro Indicator (Trend-Momentum Hybrid)ใช้ AI Manus ช่วยผสมผสานให้ ใช้งานง่ายดี
น่าจะไม่ต้องอธิบายนะครับ เพราะเป็นพื้นฐานการใช้งาน
เพียงแต่มี แดชบอร์ด ช่วยให้อ่านง่ายขึ้น
การลงทุนมีความเสี่ยง ไม่มีเครื่องมือใดคาดการณ์ถูกต้อง 100%
เรียนรู้ ฝึกฝน มีวินัย ควบคุมความเสี่ยง ด้วยตนเอง
Using AI Manus helps integrate it, making it easy to use.
I don't think I need to explain this, as it's basic usage.
The dashboard simply makes it easier to read.
Investing involves risk; no tool is 100% accurate.
Learn, practice, be disciplined, and manage your own risk.
MA 9 & MA 20 Crossover + EMA200 + CONFIRMED + RSI OB/OS (Alerts)Tesing this strategy. This will not work for all coins. this is short specific coins
VWAP Band PositionVWAP Band Position — Synopsis
VWAP Band Position is a session-based oscillator that measures where price is trading relative to volume-weighted VWAP deviation bands.
The indicator uses true VWAP logic with volume-weighted variance, resetting each trading session to ensure accurate intraday behavior.
Values are normalized on a 0–1 scale:
0.0 → price at the lower VWAP deviation band
0.5 → price at VWAP (fair value)
1.0 → price at the upper VWAP deviation band
Readings above 1.0 or below 0.0 indicate price extension beyond VWAP deviation, highlighting potential exhaustion, continuation, or mean-reversion conditions depending on market context.
This tool is designed for intraday traders who use VWAP as a primary reference and want a clear, normalized view of price location within the VWAP range. It works well alongside trend-strength or momentum indicators to help filter entries, manage risk, and identify high-probability trade zones.
Obsidians Gold RevengeMany traders (including institutional desks) track lunar cycles on Gold (XAUUSD) because of the psychological impact on market sentiment. The common theory—often attributed to methods like Gann analysis—is:
🌑 New Moon: Often correlates with Market Bottoms (Buy Signals) or "New Beginnings."
🌕 Full Moon: Often correlates with Market Tops (Sell Signals) or "Exhaustion."
Here is a script that mathematically calculates the Moon Phase based on the lunar synodic month (approx. 29.53 days). It will plot these events on your chart so you can visually backtest if Gold respects these cycles.
How to use this for testing
Add it to your Chart: Apply it to the XAUUSD (Gold) chart.
Timeframe: This works best on 4-Hour (4H) or Daily (1D) charts. (On 15m charts, the moon phase covers many candles, so the label will appear on the specific candle where the phase officially "switched").
What to look for:
Look at the Dark Blue (New Moon) areas. Did price form a bottom or start a rally there?
Look at the Yellow (Full Moon) areas. Did price peak and reverse downward there?
Note: Lunar cycles are considered a "timing tool" rather than a directional indicator. They often indicate when a reversal might happen, but you should combine this with your Institutional Candle zones to confirm the direction!
Tao of Trading Moving Averages (MM)This is the Tao of Trading script with color shifts for Muffin Man's color needs.
Market Open, Premarket High, CloseSimple Indicator that places a line at the current day's premarket high, market open and close.
Commodity Channel Index// BUY CONDITION
buySignal = direction < 0 and ta.crossover(cci, -100)
// ENTRY PRICE
entryPrice = close
// STOP LOSS AT SUPERTREND
stopLoss = supertrend
// RISK CALCULATION
risk = entryPrice - stopLoss
// TARGET 1:2
target = entryPrice + (risk * 2)
// ALERT
alertcondition(buySignal, title="BUY", message="Supertrend Green + CCI Cross Above -100 | RR 1:2")
// OPTIONAL PLOTS
plotshape(buySignal, title="BUY Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plot(stopLoss, title="Stop Loss", color=color.red)
plot(target, title="Target 1:2", color=color.green)
ICT Ultimate + SIGNALS [Entry/Exit/SL/TP]📖 ENTRY/EXIT RULES EXPLAINED (Hinglish):
🟢 BUY SIGNAL Kab Aayega?
Condition Required
Market Structure Bullish Trend (HH, HL)
BOS/CHoCH Bullish Break hona chahiye
Order Block Price Bullish OB par ho
Zone DISCOUNT zone mein ho
Time Kill Zone active ho (London/NY)
FVG Bullish FVG mein ho (optional)
Confluence Score: Kam se kam 2-4 conditions match honi chahiye (mode ke hisaab se)
🔴 SELL SIGNAL Kab Aayega?
Condition Required
Market Structure Bearish Trend (LH, LL)
BOS/CHoCH Bearish Break hona chahiye
Order Block Price Bearish OB par ho
Zone PREMIUM zone mein ho
Time Kill Zone active ho
FVG Bearish FVG mein ho (optional)
🛑 STOP LOSS Kahan Lagega?
Method Description
OB Based Order Block ke neeche/upar (recommended)
Swing Based Recent Swing Low/High ke neeche/upar
ATR Based ATR multiplier use karke
Fixed Pips Fixed pips (e.g., 20 pips)
🎯 TAKE PROFIT Levels:
Level Default R:R Example
TP1 1.5:1 Risk 20 pips = TP 30 pips
TP2 2.5:1 Risk 20 pips = TP 50 pips
TP3 4.0:1 Risk 20 pips = TP 80 pips
🎮 HOW TO USE (Step by Step):
Step 1: Add Indicator
text
1. TradingView kholein
2. Pine Editor open karein
3. Code paste karein
4. "Add to Chart" click karein
Step 2: Settings Adjust Karein
text
⚙️ Settings > ENTRY/EXIT SIGNALS section:
- Signal Mode:
• Conservative = 4+ confluence (kam signals, high accuracy)
• Moderate = 3+ confluence (balanced)
• Aggressive = 2+ confluence (zyada signals)
- Kill Zone Required: ON (recommended)
- Premium/Discount Required: ON (recommended)
Step 3: Trade Execution
text
1. 🔼 BUY ya 🔽 SELL arrow dekhein
2. Dashboard mein Entry, SL, TP levels check karein
3. Lines chart par draw ho jayengi
4. Trade lein!
Step 4: Trade Management
text
✓ TP1 Hit → 50% position close karein
✓ TP2 Hit → 30% aur close karein
✓ TP3 Hit → Full position close
✗ SL Hit → Exit trade
📱 DASHBOARD EXPLAINED:
text
┌─────────────────────────────────┐
│ ICT SIGNAL PANEL │
├─────────────────────────────────┤
│ 📈 Trend │ BULLISH 🟢 │
│ 📍 Zone │ DISCOUNT ⬇️ │
│ ⏰ Kill Zone │ NEW YORK 🟠 │
│ 🎯 Silver Bullet │ ACTIVE ✓ │
│ 🔢 Bull Confluence │ 5/3 │
│ 🔢 Bear Confluence │ 1/3 │
├─────────────────────────────────┤
│ ACTIVE TRADE │
├─────────────────────────────────┤
│ Direction │ 🔼 LONG │
│ Entry Price │ 1.0850 │
│ 🛑 Stop Loss │ 1.0820 │
│ 🎯 TP1 │ 1.0895 │
│ 🎯 TP2 │ 1.0925 │
│ 🎯 TP3 │ 1.0970 │
│ 📊 Risk (Pips)│ 30 │
└─────────────────────────────────┘
🔔 ALERTS Setup:
Chart par right-click karein
"Add Alert" select karein
Condition mein "ICT Ultimate + SIGNALS" select karein
Alert type choose karein:
ICT Buy Signal
ICT Sell Signal
TP1/TP2/TP3 Hit
Stop Loss Hit
Kill Zone Active
Silver Bullet Active
⚠️ IMPORTANT TIPS:
Best Practices:
text
✅ 15min ya 5min timeframe use karein
✅ Kill Zone mein hi trade karein
✅ Confluence 3+ hona chahiye
✅ Always SL lagayein
✅ Partial profit booking karein (TP1 par 50%)
Avoid:
text
❌ Asian session mein trade na karein
❌ News time par avoid karein
❌ Ek saath bohot trades na lein
❌ SL ke bina trade na karein
Koi bhi cheez samajh nahi aayi toh poochein! 🙏
FractalMod for TV with breakout alertsFractalsMod (MT4 → Pine) is a TradingView indicator converted from a custom MT4 (MQL4) fractal indicator.
This script replicates the behavior of the original MT4 version as closely as possible, including:
Confirmation-based fractals using left/right bar logic
Persistent horizontal levels derived from confirmed fractals
MT4-style “buffer-like” behavior using segmented horizontal lines
Key Features
MT4-compatible fractal logic
Uses leftbars and rightbars to confirm fractal highs/lows, equivalent to MT4 custom fractal indicators.
Segmented horizontal lines (MT4 buffer style)
Each confirmed fractal starts a new horizontal line segment from the original pivot bar.
When a new fractal is confirmed, the previous segment is stopped at the new pivot point, closely mimicking MT4 indicator buffers.
Latest fractal tracking
The most recently confirmed Up/Down fractal levels are tracked internally and used for breakout detection.
Breakout alerts (not confirmation alerts)
Alerts are triggered when the current price breaks above the latest Up fractal or below the latest Down fractal.
Breakout detection can be configured to use:
Close price only (confirmation-based), or
High/Low including wicks.
Clean visual control
Single arrow per confirmed fractal (no duplicate markers)
Optional display of fractal markers and horizontal lines
Custom colors and line width for Up/Down fractals
Typical Use Cases
Fractal-based support / resistance visualization
Breakout trading using the most recent confirmed fractal levels
MT4 → TradingView workflow migration while preserving indicator behavior
This script is designed for traders familiar with MT4 fractal indicators who want a faithful and practical TradingView equivalent without repainting on confirmed signals.
FractalsMod (MT4 → Pine) は、
MT4(MQL4)で使用されていた カスタム Fractal インジケーターを TradingView(Pine Script)へ移植したものです。
元の MT4 インジケーターの挙動を可能な限り忠実に再現することを目的としており、以下の特徴を持ちます。
主な特徴
MT4互換のフラクタル判定ロジック
leftbars / rightbars を用いたフラクタル確定方式で、
MT4 のカスタム Fractal インジケーターと同等の確定条件を再現しています。
MT4のバッファ挙動を再現した水平ライン
フラクタルが確定すると、その ピボット位置から水平ラインを開始します。
新しいフラクタルが確定した場合、それまでのラインは新しいピボット位置で停止し、
区間ごとのライン構造で MT4 のバッファ表示に近い見た目を実現しています。
最新フラクタル価格の内部保持
直近で確定した Up / Down フラクタル価格を保持し、
ブレイク判定やアラートに利用します。
ブレイク専用アラート(確定時アラートなし)
フラクタル確定時ではなく、
価格が最新の Up フラクタルを上抜けたとき
価格が最新の Down フラクタルを下抜けたとき
にアラートを出す設計です。
ブレイク判定は
終値ベース(ダマシを減らす)
ヒゲ込み(高値 / 安値)
を設定で切り替えられます。
視認性と制御性を重視した設計
フラクタル矢印は 確定時に1本のみ表示(重複なし)
Up / Down で色分けされたラインと矢印
ライン表示・矢印表示の ON / OFF 切り替え可能
想定される用途
フラクタルを用いた サポート / レジスタンスの可視化
直近フラクタルを基準とした ブレイクアウト戦略
MT4 から TradingView への移行時に、
ロジックと見た目をできるだけ変えずに使いたい場合
本スクリプトは、
MT4のフラクタル系インジケーターに慣れたトレーダーが、
TradingViewでも違和感なく使えることを重視して設計されています。
Manual Backtest Dashboard (100 Trades)Manual Backtest Dashboard (100 Trades) is a lightweight TradingView indicator designed to help traders manually record and evaluate their trading performance directly on the chart. This tool is built specifically for discretionary traders such as SMC, price action, scalping, and intraday traders who want to analyze their win rate and overall performance without relying on the Strategy Tester.
The indicator works by allowing users to input their trade results manually through the settings panel. Each trade is recorded using simple values: 1 for a winning trade, -1 for a losing trade, and 0 for an empty or uncounted trade. The dashboard automatically calculates the total number of trades entered, the number of wins and losses, and the win rate percentage in real time. Users do not need to fill all 100 trade slots, as only trades with non-zero values are included in the calculations.
This indicator does not place trades or generate buy and sell signals. Instead, it focuses purely on performance evaluation, making it ideal for subjective backtesting, forward testing, and manual trading journals. The dashboard is clean, lightweight, and does not clutter the price chart, ensuring a smooth and distraction-free trading experience. The script is stable, efficient, and does not repaint, making it a reliable tool for traders who want to track and improve their consistency over time.
Trinity 5-8-13 EMA RibbonThis is a simple little script that is based on the 5-8-13 scalping or day trading strategy, the ribbon color will flip based on the candle to EMA direction. Use this in conjunction with a higher time frame EMA as well as something like a 200 EMA or VWAP for trend direction. The indicator will give you the current candle bias.
Composite Regression Channel (3-Scale RMS)A multi-scale composite regression channel that adapts to market structure and highlights statistically extreme price rejections with momentum confirmation.
Linear Regression Channel with Multi Sigma and Multi Time FrameThis indicator applies multi-sigma linear regression across multiple institutional time horizons to quantify the line of best fit in equities and index markets. By combining multi-timeframe presets with statistically derived deviation bands, it highlights trend structure, volatility expansion, and regime transitions with clarity.
Features
Auto-Multi-Timeframe presets map directly to institutional trend horizons (daily, weekly, monthly) for accurate regime detection.
Multi-Sigma bands (+/-1, +/-2, +/-3) reveal volatility structure, trend strength, and statistical extremes.
The regression line uses a true least-squares calculation, recalculated each bar for precise trend alignment.
Deviation mode allows switching between standard deviation and max deviation to support different volatility models.
A linked PDF on GitHub provides full documentation, derivations, and institutional use-case examples.
More Information Can Be Found Here:
github.com
Wick Analysis Chart [LTS]Wick Analysis Chart - Advanced Price Rejection Visualization
Overview
The Wick Analysis Chart is a specialized oscillator that measures and visualizes price rejection strength by analyzing candle wicks relative to their body sizes. Unlike traditional wick analysis that uses raw price differences, this indicator converts wick measurements into percentage ratios, making them comparable across different instruments, timeframes, and market conditions.
The indicator emphasizes significant price rejections by incorporating volume-weighted calculations with selectable scaling methods (linear, logarithmic, or square root), while filtering out noise through multiple customizable filters including ATR-based volatility filtering, wick size thresholds, and doji detection.
What Makes This Original
This indicator combines several unique analytical approaches not commonly found together:
Percentage-based wick ratios rather than absolute price measurements, enabling cross-instrument and cross-timeframe comparisons
Volume weighting applied BEFORE filtering to ensure high-volume rejections aren't excluded
Three distinct volume scaling methods (linear, logarithmic, square root) to accommodate different trading styles and prevent chart compression
Multi-layer filtering system combining ATR volatility thresholds, minimum wick size requirements, and doji detection
Intelligent plot ordering that ensures smaller wick components remain visible when displaying both upper and lower wicks simultaneously
Color-coded rejection direction showing bullish rejections (lower wick dominant) versus bearish rejections (upper wick dominant)
How It Works
Core Calculation
The indicator calculates wick-to-body ratios as percentages:
Total Wick % = (Upper Wick + Lower Wick) / Body Size × 100
Upper Wick % = Upper Wick / Body Size × 100
Lower Wick % = Lower Wick / Body Size × 100
A 200% total wick value means the combined wicks are twice the size of the candle body, indicating strong price rejection.
Volume Weighting
Volume weighting is applied to emphasize rejections that occur on significant volume. The indicator offers three scaling methods:
Linear Scaling: Direct volume multiplier (2x volume = 2x display value). Best for dramatic emphasis on volume spikes. Suitable for scalping and intraday trading where volume surges signal important levels.
Logarithmic Scaling: Diminishing returns on extreme volume using the formula: multiplier = 1 + log(volume ratio). A 10x volume spike produces only ~3.3x emphasis. Best for preventing chart compression while maintaining volume awareness. Ideal for swing trading and multi-timeframe analysis.
Square Root Scaling: Balanced approach using square root of volume ratio. A 4x volume spike produces 2x emphasis. Provides middle ground between linear and logarithmic. Suitable for most day trading applications.
Filtering System
Three independent filters work together to eliminate noise:
ATR Filter: Removes candles whose total range is below a specified percentage of the Average True Range. This filters out low-volatility consolidation periods, focusing analysis on meaningful price movements.
Wick Size Filter: Removes candles whose volume-weighted wick percentage is below the threshold. This ensures only significant rejections are displayed, even if the candle met the ATR requirement.
Doji Filter: Automatically filters candles where the body is smaller than the specified percentage of total range. Doji candles produce extreme wick ratios that can skew the chart scale.
Calculation Flow
1. Calculate base wick-to-body percentages
2. Apply volume weighting using selected scaling method
3. Check ATR filter (if enabled)
4. Check wick size filter using volume-weighted values (if enabled)
5. Check doji filter
6. Display final values if all filters pass
How To Use
Display Configuration
Total Wick Value: Shows combined upper and lower wick size. Color indicates rejection direction - green when lower wick dominates (buyers rejected downside), red when upper wick dominates (sellers rejected upside).
Upper Wick Value: Isolated upper wick measurement. Useful for identifying supply zones and resistance rejection.
Lower Wick Value: Isolated lower wick measurement. Useful for identifying demand zones and support rejection.
When both upper and lower wicks are displayed simultaneously, the indicator automatically plots them in size order so the smaller value remains visible.
Volume Weighting Setup
Enable volume weighting and select your preferred scaling method based on trading style:
Linear: Maximum emphasis on volume, accepts potential chart compression
Logarithmic: Minimal chart compression, subtle volume emphasis
Square Root: Balanced approach for most applications
Adjust Volume Average Length based on your timeframe (shorter for intraday, longer for swing trading).
Filter Configuration
ATR Filter: Start with 80% to focus on above-average volatility moves. Increase to 100%+ for only the most volatile candles, or decrease to 60-70% to include more data.
Wick Size Filter: Start with 50% to show wicks at least half the body size. Increase to 75-100% for only the most significant rejections, or decrease to 25% for more sensitivity.
Doji Threshold: Default 5% works well for most markets. Increase for markets with frequent small-bodied candles.
Reference Levels
100% Line (Equilibrium): Represents 1:1 wick-to-body ratio. Values above this line indicate wicks larger than the body.
Extreme Level: User-defined threshold for alerts. Default 500% means wicks are 5x the body size. Adjust based on your instrument and filter settings with volume weighting enabled.
Trading Applications
Identifying Key Levels: Large wick percentages with high volume often mark important support/resistance levels where significant orders absorbed price movement.
Trend Exhaustion: Increasing wick percentages at trend extremes, especially with declining volume weighting, can signal momentum loss.
Breakout Validation: Breakout candles with small wicks (low percentage values) suggest conviction, while large wicks suggest rejection and potential false breakouts.
Session Analysis: Compare wick percentages across different trading sessions to identify when the most significant rejections occur.
Mean Reversion Setups: Extreme wick percentages above your threshold level, particularly when colored green (bullish rejection) at support or red (bearish rejection) at resistance, can signal high-probability reversal zones.
Alerts
The indicator includes an alert condition that triggers when the total wick value exceeds the extreme level. Configure the extreme level based on your backtesting to match your instrument's characteristics and filter settings.
Settings Summary
Display Options
Show Total/Upper/Lower Wick Value: Toggle visibility
Color selections for bullish/bearish total wicks and upper/lower components
Volume Weighting
Apply Volume Weighting: Enable/disable volume emphasis
Volume Average Length: Period for volume SMA comparison (default: 20)
Volume Scaling Method: Linear/Logarithmic/Square Root
ATR Filter
Apply ATR Filter: Enable/disable volatility-based filtering
ATR Length: Period for ATR calculation (default: 14)
Filter Percent: Minimum candle range as % of ATR (default: 80%)
Wick Size Filter
Apply Wick Size Filter: Enable/disable wick size threshold
Minimum Wick %: Minimum volume-weighted wick percentage (default: 50%)
Advanced
Doji Threshold: Body size as % of range for doji detection (default: 5%)
Reference Levels
Show Reference Levels: Toggle horizontal reference lines
Extreme Level: Threshold for extreme wick values and alerts (default: 500%)
Daily High / Low Sweep (60D)Description:
This indicator works exclusively on the daily timeframe and identifies liquidity sweeps when the current day takes the highest high or lowest low from the previous 60 days. It automatically draws horizontal lines at the swept levels, helping traders visualize institutional liquidity grabs, higher-timeframe bias, and key market structure zones.
Smart Money Sector RotationSTOP MISTAKING INFLATION FOR PERFORMANCE.
Your PnL might look green in nominal terms, but are you actually generating wealth, or just floating on a rising tide of liquidity?
The "Smart Money Sector Rotation" indicator is an institutional-grade dashboard designed to answer that single, critical question. It strips away the noise of nominal price action and benchmarks major assets against the "Honest Hurdle"—a dynamic baseline derived from M2 Money Supply, Inflation Breakevens, and Treasury Yields.
If an asset isn't beating the Hurdle, you aren't generating real wealth—you're just keeping pace with debasement.
THE HONEST FRAMEWORK Most screeners rank assets by simple percentage gain. This tool is different. It calculates a "Required Rate of Return" (Min Return) based on live Federal Reserve data (FRED).
1. Quantify the Debasement. We automatically fetch M2 Money Supply Growth and Inflation expectations to set the "floor."
2. Calculate Real Alpha. We measure how far an asset is trading above or below that floor.
3. Classify the Trend. Using RRG-style logic (Relative Rotation Graph), we categorize assets into four actionable phases based on their Real Yield and Momentum.
THE 4 MARKET PHASES Instead of vague signals, get a clear read on the asset's lifecycle:
ZONE 1: ELITE / LEADING (Cyan/Green) -- The State: Expansion. -- The Logic: The asset is generating positive Real Yields (beating the money printer) and has strong momentum relative to its peers.
ZONE 2: IMPROVING (Gold) -- The State: Recovery. -- The Logic: The asset may be below the Hurdle, but momentum is shifting positively. It is "waking up."
ZONE 3: LAGGING / WEAKENING (Orange/Red) -- The State: Contraction. -- The Logic: The asset is failing to keep up with debasement or is actively losing relative strength.
KEY FEATURES -- Auto-Macro Data: Connects directly to FRED for M2 (WM2NS), 10Y Inflation (T10YIE), and Yields (DGS10). No manual entry required. -- Trend Visualization: Tickers are marked with Green/Red indicators based on their 200-day Moving Average status. -- Prestige Color System: A dark-mode optimized, high-contrast palette designed for professional clarity. -- Multi-Asset Universe: Tracks Equities (XLK, XLE, etc.), Commodities (Gold, Silver, Oil), and Rates (TLT, HYG) in a single view.
HOW TO USE
1. Check the Header: Look at the "Min Ret" (Minimum Return). This is your beat-to-profit line.
2. Scan the Status: Focus on assets in the Elite or Leading zones for trend continuation. Watch Improving assets for potential reversals.
3. Respect the Trend: Use the SMA200 indicator as a final filter. A "Leading" status with a Red trend mark may indicate a trend that is rolling over.
DISCLAIMER This tool is for informational and educational purposes only. It visualizes macroeconomic data and does not constitute financial advice or a recommendation to buy/sell.
Midnight Open Levels by haze!This indicator automatically plots the midnight open prices for both the New York (00:00 EST) and London (00:00 GMT) trading sessions. These levels are widely recognized in institutional trading frameworks as significant reference points for intraday price action.
What Are Midnight Open Levels?
Midnight open levels represent the price at which each major trading session begins at 00:00 local time. Institutional traders and algorithmic systems often reference these levels when making trading decisions, which can create zones of increased liquidity and potential price reactions.
This indicator is provided for educational purposes. No indicator guarantees profitable trades. Always practice proper risk management, use appropriate position sizing, and conduct your own analysis before making trading decisions.
Rolling Volume Boxes█ OVERVIEW
Rolling Volume Boxes is an indicator that visualizes high-volume zones on the chart in the form of dynamic volume “boxes.” Each box splits volume into bullish and bearish parts, allowing you to assess the dominance of buyers or sellers.
Thanks to the pseudo-volume option, the indicator can also be used on markets where real volume data is unavailable, although results may slightly differ.
The indicator is also suitable for trend analysis and identifying signs of trend weakening – everything depends on box parameters such as their size, moving average length, and multiplier.
█ CONCEPT
The indicator was created as a universal tool offering a non-standard market perspective. It combines volume analysis with trend structure and dynamic support and resistance levels.
Boxes are built using a rolling window of a fixed number of candles defined by the Bars per Box parameter. For each completed window, the indicator calculates the average volume of the entire group of candles and compares it to the volume moving average multiplied by the selected multiplier. A box is created only when this condition is met, meaning that zones appear exclusively in areas where aggregated volume for the whole box is significantly above average. The volume filter is therefore applied to the complete structure, not to individual candles.
Boxes do not overlap. A new box can be formed only after the previous one has fully ended, which keeps the market structure clean and prevents stacking or repainting. Each box always represents a separate and independent volume event.
Inside every box, candle volume is split into bullish and bearish parts. Green candles assign volume to buyers, while red candles assign volume to sellers. This method does not use classic candle delta, but instead builds a clear picture of dominance inside the zone.
Additionally, a Weighted Center is calculated for each box. It represents the true volume equilibrium level within the zone and often acts as a dynamic reaction point for price.
█ FEATURES
Data source
The indicator can use:
- candle volume
- pseudo volume (candle body size)
Calculations
- volume moving average (SMA)
- volume aggregation into boxes
- bullish / bearish volume split
- Weighted Center calculation
Visualization
- volume boxes (bullish / bearish)
- box boundary lines (high / low), extended to the right and removed after breakout
- dashed Weighted Center line, removed after breakout or after a defined number of bars
- labels showing bullish and bearish percentages
- graphical breakout signals
Alerts
- Box Breakout Up
- Box Breakout Down
- Weighted Center Up
- Weighted Center Down
█ HOW TO USE
Adding the indicator
Paste the code into Pine Editor or search for “Rolling Volume Boxes.”
Main settings
- Bars per Box – number of candles per box
- SMA Length – volume moving average length
- Multiplier – zone detection sensitivity
- Use Pseudo Volume – enable pseudo volume
- Show Labels – percentage labels
Key elements are box boundary lines and the Weighted Center line. They are extended to the right, disappear automatically after price breaks them, and act as dynamic market reaction levels.
█ APPLICATION
High-volume zones
Box levels often later become natural support and resistance levels.
Consolidations and ranges
With larger boxes, their boundaries often define the price range. If no breakout occurs for several candles after a box is formed, the probability of sideways movement increases – range trading may be considered.
Breakout trading
Breaking the upper or lower box boundary may signal:
- trend continuation
- the start of a new impulse
Trend analysis
In a strong trend, the internal structure of boxes helps detect decreasing dominance of one side and increasingly balanced proportions, which often acts as an early warning of trend weakening.
Combining with other tools
The indicator works best together with:
- trend indicators
- price levels (pivots, S/R)
- momentum oscillators
Example
- price approaches resistance + momentum weakens
→ in this situation, it is worth considering whether to open a position in line with the dominant trend or, alternatively, wait for a potential trend reversal
█ NOTES
- on markets without volume data, enable pseudo volume
- not a standalone trading indicator
- best results are achieved when used in market context
This indicator may not work properly on certain markets, especially on indices, synthetic instruments and all assets where volume and candle data are aggregated or artificially constructed (e.g. market cap indices, CFD, composite tickers).
In such cases, volume does not reflect real market activity and candles are not based on actual transactions, which makes the boxes lose their analytical value and potentially become misleading.
Pre-Market Levels Monitor - CandleClub (20 Stocks)Monitor 20 stocks simultaneously with automatic breakout/breakdown alerts based on pre-market and previous day levels.
What It Does
This indicator tracks four critical price levels for up to 20 stocks in a single dashboard:
- PMH (Pre-Market High) - Highest price from 4:00 AM - 9:30 AM ET
- PML (Pre-Market Low) - Lowest price from 4:00 AM - 9:30 AM ET
- PDH (Previous Day High) - Previous trading day's high
- PDL (Previous Day Low) - Previous trading day's low
Key Features
✅ Real-time Dashboard - All 20 stocks displayed in a color-coded table
- Green cells = Price above level (bullish)
- Red cells = Price below level (bearish)
- Gray cells = Level not yet broken
✅ Smart Alerts - Automatic notifications when stocks break key levels
- Bullish Breakout: Price breaks BOTH PMH and PDH
- Bearish Breakdown: Price breaks BOTH PML and PDL
- Maximum 2 alerts per direction per stock per day (prevents spam)
✅ Zero Manual Work - Set it and forget it
- Levels auto-update daily at 4:00 AM ET
- Works during pre-market, regular hours, and displays data on weekends
- Edge detection ensures alerts fire only once per break
✅ Fully Customizable
- Choose any 20 US stocks
- Adjustable table position and size
- Sort by total alerts, bullish alerts, or bearish alerts
- Customize session times if needed
How To Use
1. IMPORTANT: Use on a 1-minute chart (required for data batching)
2. Enable "Extended Hours" in chart settings to see pre-market data
3. Configure your 20 ticker symbols in indicator settings
4. Set up TradingView alerts for notifications
Perfect For
- Pre-market traders monitoring multiple stocks
- Day traders tracking breakout opportunities
- Swing traders watching key support/resistance levels
- Anyone who wants automated multi-stock level monitoring
Technical Details
- Pine Script v6 - Latest version for optimal performance
- Optimized batching - Stays under TradingView's API call limits
- 20-stock maximum - Due to request.security() call restrictions (20 stocks × 2 calls = 40 limit)
- TradingView Standard plan or higher required
Alert Examples
"Alert: AAPL Bullish Breakout - Break #1
PMH: $183.25 (broken)
PDH: $181.50 (broken)
Current: $183.75
Time: 10:23:15"
Default Stocks Included
Technology: AAPL, MSFT, GOOGL, AMZN, META, NVDA, TSLA, NFLX, AMD, INTC
Finance: JPM, BAC, WFC, GS, MS, C
Healthcare: JNJ, UNH, PFE, ABBV, MRK, TMO
Consumer: WMT, HD, MCD
(All symbols are fully customizable)
Settings Overview
- Symbols (1-20): Configure your watchlist
- Session Times: Adjust pre-market/RTH times (Eastern Time)
- Display Options: Table position, cell size, text size, sorting
- Time Zone: All times in Eastern Time (auto-converts to your local time)
Notes
- Alerts limited to 2 per direction per stock to prevent notification spam
- Use 1-minute chart required (batching system needs consecutive bars)
- Enable Extended Hours to capture pre-market data
- Maximum 80 alerts per day possible (20 stocks × 4 alerts max)
Version
1.0 - Initial Release (January 2026)
---
Created by Gautham Kanaparthy
This indicator is for educational purposes only and does not constitute financial advice. Trading involves risk.
EMA Ribbon [PTrades]Multiple EMAs that you can change color and width in the input window so that you can easily see which EMA length that you are adjusting.
Key timings for indicesThis indicator has following key levels
9:30 am open
opening range low
opening range high
8 am low
8 am high
midnight open






















