Future Ichimoku Cloud - HorizonIchimoku Horizon is an advanced Ichimoku indicator that projects future cloud formations and component lines, giving traders unprecedented visibility into potential support/resistance zones before they form.
1. Future Ichimoku Projections
Project Ichimoku components forward in time using simulated price evolution based on rolling Tenkan/Kijun windows
Manual forecast periods up to 125 bars (all 4 components) or 500 bars (cloud only)
Smart limit management automatically adjusts to TradingView's drawing object limits while maximizing visible projections
2. Preset & Custom Ichimoku Configurations
Choose from multiple common Ichimoku presets or fully customize your own
3. Multi-Timeframe Display & Projections
Display Ichimoku from higher/lower timeframes directly on your current timeframe chart
Automatic scaling adjusts Ichimoku periods correctly across timeframes
Intelligent handling of 24/7 markets (crypto/forex) vs traditional session-based markets
Built-in detection of problematic timeframe combinations with optional MTF cloud fetching for accuracy
Automatic notifications when future projections are unavailable due to MTF constraints
4. Tenkan & Kijun Range Windows
Visual range windows that display the exact high/low range used for Tenkan and Kijun calculations
Optional High/Low markers placed at the exact bars they occur
Optional countdown labels show how many bars remain until the current High/Low expires from the rolling window
Range windows scale up and down dynamically to match display timeframe
5. Comprehensive Alert Suite
Built-in alerts for all major Ichimoku events: TK crosses, E2E entires, Kumo breakouts, etc.
All alerts are cloud-aware and displacement-correct.
How It Works
The indicator uses the traditional Donchian channel method to calculate Ichimoku components, then extends this logic forward by simulating future price action within the calculation windows (no new highs or lows). This creates a forward-looking projection of where support and resistance zones will form.
The range display feature helps traders understand why the lines are where they are by showing the exact high/low points and countdown timers for when these points will expire from the calculation.
Who This Indicator Is For:
Ichimoku traders who want future-aware context
Multi-timeframe analysts seeking correctly aligned clouds
Traders who want to understand Tenkan/Kijun mechanics
Users who need precision without manual recalculation
Notes:
Maximum 500 drawing objects limit managed automatically
Due to Pinescript/TradingView limitations, future Tenkan/Kijun line width is only modifiable in the source code.
Индикаторы и стратегии
Reentry BUY SELL OnlyReentry BBMA tapi per 4 jam sekali,,
Entri di time frame m15 folow buy dan sellnya
Liquidity Sentiment Profile | LUPENIndicator Guide: Liquidity Sentiment Profile (LSP).
What is the LSP?
The Liquidity Sentiment Profile (LSP) is a "Next-Generation" oscillator designed to look beyond simple price action. While standard indicators (like RSI or MACD) primarily focus on where a candle closes, the LSP analyzes the micro-structure of the entire candle—specifically the relationship between the candle's Body, its Wicks (Shadows), and the Volume.
The Core Philosophy:
Wicks tell the truth: A long lower wick indicates that sellers pushed the price down, but buyers aggressively absorbed that liquidity and pushed it back up.
That is hidden bullish strength.
Volume validates intent: A price move with low volume is noise. A price move (or wick rejection) with high volume is a commitment by institutional players.
The LSP calculates a "Sentiment Score" between -100 and +100 based on these factors.
How to Read the Visuals
The Colors (Intensity)
color: Light Green - Bullish Acceleration. Buyers are in control, and momentum is increasing. This is the ideal time to be in a Long trade.
color: Dark Green - Bullish Deceleration. Buyers are still in control (price is likely rising), but the momentum is fading. This is a warning sign to tighten stop-losses or take profits.
color: Light Red - Bearish Acceleration. Sellers are dominating, and panic is increasing. This is the ideal time to be Short.
color: Dark Red - Bearish Deceleration. Sellers are still in control, but the downward pressure is exhausted. Be careful with new short positions.
The Lines & Fills
The Main Line: The actual LSP sentiment value.
The Yellow Signal Line: A smoothed average of the sentiment.
The Core Fill: The colored area between the Main Line and the Signal Line. When this area "glows", the trend is strong. When it dims (Dark), the trend is weak. Bearish Deceleration. Sellers are still in control, but the downward pressure is exhausted. Be careful with new short positions.
The Lines & Fills
The Main Line: The actual LSP sentiment value.
The Yellow Signal Line: A smoothed average of the sentiment.
The Core Fill: The colored area between the Main Line and the Signal Line. When this area "glows" (Neon), the trend is strong. When it dims (Dark), the trend is weak.
How to Use It (Trading Strategies)
Strategy A: The "Power Cross" (Trend Entry)
Use this for entering trends when the market wakes up.
Long Entry: Wait for the LSP line to cross ABOVE the Yellow Signal Line.
Confirmation: The fill color must turn Neon Green.
Short Entry: Wait for the LSP line to cross BELOW the Yellow Signal Line.
Confirmation: The fill color must turn Neon Red.
Strategy B: The "Absorption" Play (Reversals)
This is where the LSP shines. It detects when liquidity is being absorbed before price turns.
Bullish Absorption: The Price makes a Lower Low, but the LSP makes a Higher Low. This happens because the LSP detects the Volume on the Lower Wicks (buyers absorbing selling pressure). This is a high-probability reversal signal.
Bearish Absorption: The Price makes a Higher High, but the LSP makes a Lower High. The volume on the Upper Wicks suggests sellers are absorbing the buy orders.
Strategy C: The "Dimming" Exit (Risk Management)
Don't wait for the price to crash to exit a trade.
If you are in a Long trade (Neon Green) and the color instantly shifts to Dark Green, it means the "fuel" is running out. Consider taking partial profits or moving your Stop Loss to break even.
Standard oscillators (like RSI) often give false signals during strong trends (showing "Overbought" while price keeps going up). The LSP avoids this because it weights Volume and Wicks. If price goes up and volume increases, the LSP stays Neon Green, telling you the move is genuine, not just overextended.
Trend Prediction Meter [PointAlgo]The Trend Prediction Meter & Levels is a composite market-bias and volatility visualization tool designed to summarize trend strength, momentum, price positioning, and volatility into a single normalized score.
It provides a structured framework to interpret directional bias and probable price expansion zones during active market conditions.
Concept Overview
Markets often reflect multiple conditions simultaneously—trend direction, momentum strength, price location within a range, and volatility.
This indicator combines these elements into a unified Bullish Score (0–100), displayed as a meter and supported by projected ATR-based levels.
Rather than focusing on a single signal, the script aims to present context about current market conditions.
Bullish Score Composition (0–100)
The meter represents a weighted blend of multiple market factors:
1. Trend Strength (EMA Structure)
Uses a fast and slow EMA to assess directional bias.
The distance between EMAs is normalized into a trend strength score.
Strong separation indicates directional conviction; compression suggests balance.
2. Momentum Strength (RSI Blend)
Combines a short-term and mid-term RSI.
Helps capture both immediate momentum and broader directional stability.
Higher readings indicate sustained bullish pressure, lower readings indicate bearish pressure.
3. Position Within Recent Range
Measures where price is trading relative to its recent high–low range.
Values near the top of the range reflect strength; values near the bottom reflect weakness.
Mid-range positioning indicates equilibrium.
4. Volume Participation
Compares current volume against its recent average.
Acts as a minor confidence modifier rather than a primary driver.
Each component is normalized and combined using fixed weights to produce a final Bullish Score between 0 and 100.
Bias Classification
The Bullish Score is translated into descriptive market states:
Extreme Bullish
Very Bullish
Bullish
Neutral
Bearish
Very Bearish
These labels describe current bias, not future certainty.
Meter Visualization
The meter plot dynamically changes color based on the score range.
A dashed midline at 50 represents balance.
Background shading highlights strong bullish or bearish dominance zones.
Crossovers of the 50-level indicate shifts in directional control.
ATR-Based Projection Levels:
To provide volatility context, the indicator calculates ATR-based upside and downside reference levels:
Two potential expansion levels (TP1 and TP2) are projected above and below price.
The distance of these levels adapts based on current bias strength.
These levels are contextual reference zones, not fixed targets.
Prediction Dashboard
An optional side table summarizes key readings at the most recent bar:
Symbol
Current bias label
Bullish Score
Current price
ATR value
Upside and downside projection levels
Directional comment (Upside favoured / Downside favoured / Balanced)
This dashboard is designed to provide a quick structural overview without requiring manual calculation.
Signals & Alerts
Built-in alerts are available for:
Bullish bias conditions
Bearish bias conditions
Bullish Score crossing above 50
Bullish Score crossing below 50
Alerts are informational and reflect internal state changes only.
Customization:
Users can adjust:
RSI lengths
EMA lengths
Range lookback period
ATR parameters
Display options for the meter and dashboard
This allows adaptation across different instruments and timeframes.
Usage Notes
Best suited for analytical interpretation rather than standalone decision-making.
Designed to complement price action, structure, or other indicators.
Works across multiple markets where volume and volatility data are available.
Disclaimer :
This indicator is intended for educational and analytical purposes only.
It does not provide investment, trading, or financial advice.
All signals and levels should be validated with independent analysis and appropriate risk management.
RMI Valid FVG & IFVGRMI • Valid FVG & iFVG (Smart Money Concept)
RMI • Valid FVG & iFVG is a precision-focused Fair Value Gap indicator designed for traders who follow Smart Money Concepts (SMC) / ICT logic and want to filter out low-quality, random gaps.
This indicator does not plot every FVG.
It highlights only structurally relevant FVGs that form in the direction of the trend and have a high probability of being filled.
Core Features
Bullish & Bearish Fair Value Gaps
Inverse Fair Value Gaps (iFVG)
Trend-aligned FVG filtering
Automatic invalidation after mitigation
Clean background zones for clear visibility
Optimized for intraday trading
Adjustable settings for scalping, intraday & swing trading
Smart Filtering Logic
FVGs are validated using market structure context
Only FVGs that form within the active trend are displayed
Weak or low-probability gaps are ignored
Inverse FVGs appear after strong displacement and rejection
Zones are visually faded once mitigated
This helps reduce chart noise and keeps the focus on high-probability reaction zones.
Best Use Cases
Entry refinement after BOS / CHoCH
Confluence with liquidity grabs
Premium / discount zone trading
Intraday & session-based trading
Works well with ICT, SMC, price action & structure-based strategies
Recommended Timeframes
Scalping: M1 – M5
Intraday (default): M5 – M15
Swing Trading: M15 – H1
(Default settings are optimized for intraday trading.)
Important Notes
This is not a signal indicator
No repainting
No buy/sell arrows
Designed as a decision-support tool, not an automated system
Always combine with proper risk management and confirmation.
RMI • Precision over noise.
Trade structure, not randomness.
Box Indicator - Auto Draw Previous Day's - High / Midline / LowThis indicator draws a box around the previous day’s high and low, calculates the midline, and displays them on the current day’s chart. It helps visualize key support/resistance levels from the prior trading day.
This script gives you a static reference box from the prior day’s trading range, including a midpoint. It’s useful for spotting potential reversal zones, breakout levels, or intraday targets based on yesterday’s price action.
EMA Slope Angle V2 Auto Threshold# EMA Slope Angle Indicator
## Overview
The EMA Slope Angle Indicator visualizes the Exponential Moving Average (EMA) slope as an angle in degrees, providing traders with a clear, quantitative measure of trend strength and direction. The indicator features **automatic threshold calculation based on Gaussian distribution**, making it adaptive to any market and timeframe.
## Key Features
### 🎯 **Automatic Threshold Calculation (NEW!)**
- **Gaussian Distribution-Based**: Automatically calculates optimal thresholds from the 50% interquartile range (IQR) of historical angle data
- **Asset-Adaptive**: Thresholds adjust to each instrument's unique volatility and price characteristics
- **No Manual Tuning Required**: Simply enable "Use Auto Thresholds" and let the indicator optimize itself
### 📊 **Dynamic EMA Coloring**
- **Color Intensity**: EMA line color intensity reflects slope strength
- **Visual Feedback**:
- Green shades for uptrends (darker = stronger)
- Red shades for downtrends (darker = stronger)
- Gray for flat/neutral conditions
### 📈 **Regime Detection**
- **Three Regimes**: RISING, FALLING, and FLAT
- **Smart Classification**: Based on statistical distribution of angles
- **Non-Repainting**: All calculations use confirmed bars only
### 🔔 **Trend-Shift Signals**
- **Visual Arrows**: Automatic signals when transitioning from FLAT to RISING/FALLING
- **Configurable**: Enable/disable signals as needed
- **Reliable**: Only triggers on significant regime changes
### 📋 **KPI Dashboard**
- **Real-Time Metrics**: Current angle, regime, and last signal
- **Auto-Threshold Display**: Shows calculated thresholds when auto-mode is active
- **Statistics**: Optional angle distribution statistics
- **Clean Layout**: Top-right corner, non-intrusive
### 📊 **Angle Statistics (Optional)**
- **Distribution Analysis**: Histogram of angle ranges
- **Dynamic Buckets**: Automatically adjusts to data distribution when auto-mode is enabled
- **Percentage Breakdown**: See how often each angle range occurs
## Settings
### Main Settings
- **EMA Length**: Period for the Exponential Moving Average (default: 50)
- **Slope Lookback Bars**: Number of bars to calculate slope over (default: 5)
### Angle Settings
- **Use Auto Thresholds**: Enable automatic threshold calculation (recommended!)
- **Analysis Period**: Number of bars to analyze for distribution (default: 500)
- **Manual Thresholds**: Flat, Rising, and Falling triggers (used when auto-mode is off)
- **Max Angle for Color Saturation**: Maximum angle for color intensity scaling
### Display Options
- **Colors**: Customize uptrend, downtrend, and flat colors
- **Show Signals**: Enable/disable trend-shift arrows
- **Show Statistics**: Display angle distribution table
- **Show Dashboard**: Toggle KPI dashboard visibility
## How It Works
### Angle Calculation
The indicator calculates the angle between the current EMA value and the EMA value N bars ago:
```
Angle = arctan((EMA_now - EMA_then) / lookback) × 180° / π
```
### Auto-Threshold Calculation
When enabled, the indicator:
1. Analyzes historical angle data over the specified period
2. Calculates mean and standard deviation
3. Determines thresholds based on the 50% interquartile range (IQR):
- **Flat Threshold**: ±0.674σ (middle 50% of data)
- **Rising Trigger**: 75th percentile (mean + 0.674σ)
- **Falling Trigger**: 25th percentile (mean - 0.674σ)
### Regime Classification
- **FLAT**: Angle within ±Flat Threshold
- **RISING**: Angle ≥ Rising Trigger
- **FALLING**: Angle ≤ Falling Trigger
## Use Cases
### Trend Following
- Identify strong trends (high angle values)
- Spot trend reversals (regime changes)
- Filter trades based on trend strength
### Range Trading
- Detect flat/consolidation periods
- Avoid trading during choppy markets
- Enter when regime shifts from FLAT to RISING/FALLING
### Multi-Timeframe Analysis
- Apply to different timeframes for confirmation
- Use higher timeframe for trend direction
- Use lower timeframe for entry timing
## Tips for Best Results
1. **Enable Auto-Thresholds**: Let the indicator adapt to your instrument
2. **Adjust Analysis Period**: Use more bars for stable markets, fewer for volatile ones
3. **Combine with Price Action**: Use regime changes as confirmation, not standalone signals
4. **Multi-Timeframe**: Check higher timeframes for trend context
5. **Backtest First**: Test settings on historical data before live trading
## Technical Details
- **Non-Repainting**: All calculations use `barstate.isconfirmed`
- **Pine Script v6**: Latest version for optimal performance
- **Efficient**: Minimal computational overhead
- **Customizable**: Extensive settings for fine-tuning
## Version History
**v2.0** (Current)
- Added automatic threshold calculation based on Gaussian distribution
- Dynamic bucket adjustment for statistics
- Enhanced dashboard with auto-threshold display
- Improved regime detection using IQR method
**v1.0**
- Initial release with manual thresholds
- Basic EMA coloring
- Trend-shift signals
- KPI dashboard
## Support
For questions, suggestions, or bug reports, please leave a comment or contact the author.
---
**Disclaimer**: This indicator is for educational purposes only. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
**Keywords**: EMA, slope, angle, trend, automatic thresholds, Gaussian distribution, regime detection, non-repainting, adaptive
Absorption BubblesSUMMARY
This indicator visualizes absorption events by plotting bubbles on candle wicks where volume activity suggests one side of the market is absorbing the other’s pressure. Instead of raw volume, the script normalizes activity against a rolling standard deviation defined by the Lookback Period. Bubbles appear on upper or lower wicks depending on whether buyers or sellers are absorbing pressure. The goal is to highlight whether aggressive orders are being accepted or absorbed at key price points.
METHODOLOGY
Absorption occurs when one side of the market absorbs aggressive orders from the other, preventing continuation. The script measures normalized volume against a user‑defined threshold to filter out weaker signals.
Green bubbles on upper wicks → Selling absorption (buyers push price up, sellers absorb the buying).
Red bubbles on lower wicks → Buying absorption (sellers push price down, buyers absorb the selling).
Red‑colored bars highlight candles where large volume is concentrated inside the body, signifying aggressive selling activity.
Green‑colored bars highlight candles where large volume is concentrated inside the body, signifying aggressive buying activity.
The Lookback Period controls how many bars are used to calculate the rolling standard deviation of volume, letting traders adjust sensitivity to recent vs. longer‑term activity. Optional significant volume lines extend forward, marking areas where absorption was strongest.
FUNCTIONS
Normalized volume detection using rolling standard deviation
Adjustable Lookback Period for volume normalization
Dynamic bubble plotting on candle wicks (size scales with absorption strength)
Separate visualization for buying vs. selling absorption
Alerts for buying absorption, selling absorption, or any absorption event (only at bar close)
Bar coloring when large absorption occurs inside candle bodies
APPLICATION
Setup: Add the script to any chart and timeframe. Adjust the Absorption Threshold to filter out weaker bubbles and the Lookback Period to control how volume normalization is calculated. Red bubbles highlight buying absorption, often signalling potential price pivots - price can often go upwards from this. Green bubbles mark selling absorption, reflecting resistance to upward moves - price may go downwards from this.
Interpretation:
Green bubbles on upper wicks = sellers absorbing buying pressure.
Red bubbles on lower wicks = buyers absorbing selling pressure.
Larger bubbles = stronger absorption relative to recent volume.
Settings & Use:
Raising the Absorption Threshold filters out smaller bubbles, leaving only significant absorption events.
Changing the Lookback Period alters how “normal” volume is defined — shorter periods make the script more sensitive, longer periods smooth out noise.
Alerts can be set for buying absorption, selling absorption, or any absorption event, and they only trigger at bar close to avoid noise.
Expectativa de Juros (Fed)An indicator that measures future expectations for US interest rates, measured by the difference between the Fed's interest rate and pricing on the CME.
Market + Direction + Entry + Hold + Exit v1.5 FINALOverview
This script is a complete trend-based trading framework designed to filter market conditions, determine directional bias, detect high-quality pullback entries, manage active trades, and identify trend-weakening exit points.
It is optimized for NQ futures, Gold (XAUUSD), and Bitcoin, with adaptive parameters for each asset.
The logic focuses on trading only when conditions are favorable, aligning entries with the primary trend, and avoiding low-probability setups.
1. Market Condition Filter
Before any signal appears, the script checks whether the market is active using three conditions:
ATR compared to ATR moving average (volatility condition)
Volume compared to average volume (liquidity condition)
Price distance from VWAP (suppression of mean-reversion environments)
A trade environment is considered active when at least two of these three conditions are positive.
2. Trend Direction Filter
Directional bias is defined by:
EMA21 relative to EMA55
Price relative to VWAP
Heikin-Ashi structure
When these conditions align, the script switches into long-only or short-only mode.
No counter-trend signals are displayed.
3. Entry Logic (L, L2, L3 and S, S2, S3)
The system identifies pullback entries within a confirmed trend.
Long entries require:
Uptrend confirmation
Price dipping toward EMA21 or EMA55
A constructive Heikin-Ashi candle
Market environment active
Short entries mirror the same structure in bearish conditions.
Re-entries (L2, L3, S2, S3) are given only if the trend remains intact after the first entry.
4. Hold Logic
A hold signal appears if momentum remains aligned with the trend.
Momentum is evaluated using the Stochastic indicator (K and D lines).
5. Exit Logic
An exit signal appears when:
The recent structural low (for longs) or high (for shorts) is broken, and
The EMA slope indicates weakening trend strength
This combination identifies high-probability trend exhaustion.
How to Use
Add the script to your chart.
Select an asset preset (NQ, GOLD, BTC).
Wait for the market to be active.
Follow the entry signals (L, L2, L3 or S, S2, S3).
Hold signals help confirm continuation.
Exit signals indicate potential trend reversal or weakness.
Feature Summary
Market environment filter
Trend direction filter
Pullback-based entry system
Multi-stage re-entry framework
Momentum-based hold signal
Structure-based exit
Asset-adaptive parameters
Clean chart visualization
Disclaimer
This script is for research and educational use.
It does not constitute financial advice.
Always backtest before using in live markets.
개요
이 스크립트는 시장 상태 필터링, 추세 방향 판단, 고품질 눌림목 진입, 보유 판단, 추세 약화 기반 청산까지 모두 포함하는 완전한 트레이딩 프레임워크입니다.
NQ, 골드(XAUUSD), 비트코인에 맞게 최적화되어 있습니다.
1. 시장 필터
다음 세 가지 중 두 가지 이상이 충족될 때만 매매 환경을 ‘활성’으로 판단합니다.
ATR 기준 변동성 체크
거래량 활성도 체크
가격의 VWAP 거리 체크
2. 방향(추세) 필터
다음 조건을 기반으로 상승·하락 추세를 결정합니다.
EMA21 vs EMA55
가격 vs VWAP
Heikin-Ashi 구조
이 조건이 일치할 때만 롱 전용 또는 숏 전용 모드로 진입합니다.
3. 진입 로직
추세가 유지되는 상태에서 EMA21 또는 EMA55까지 눌림이 나올 때
L 또는 S 신호를 제공합니다.
추세가 유지되면 L2/L3, S2/S3 재진입 신호가 추가로 발생합니다.
4. 보유(Hold)
모멘텀이 추세 방향과 일치할 때 보유 신호를 제공합니다.
5. 청산(Exit)
다음 두 조건이 동시에 나타날 때 청산 신호가 표시됩니다.
직전 구조(스윙)가 붕괴될 때
EMA 기울기가 약화될 때
사용 방법
차트에 스크립트를 추가합니다.
자산 프리셋(NQ, GOLD, BTC)을 선택합니다.
시장이 활성일 때만 신호를 참고합니다.
L/S 진입 신호와 보유/청산 신호를 활용해 매매 흐름을 관리합니다.
Wyckoff Method - Comprehensive Analysis# WYCKOFF METHOD - QUICK REFERENCE CHEAT SHEET
## 🟢 STRONGEST BUY SIGNALS
### 1. SPRING ⭐⭐⭐⭐⭐
- **What:** False breakdown below support on LOW volume
- **Look for:** Quick reversal, close above support
- **Entry:** When price closes back in range
- **Stop:** Below spring low
- **Target:** Top of range minimum
### 2. SOS (Sign of Strength) ⭐⭐⭐⭐
- **What:** Breakout above resistance on HIGH volume
- **Look for:** Wide spread up bar, strong close
- **Entry:** On breakout or wait for LPS pullback
- **Stop:** Below range top
- **Target:** Height of range projected up
### 3. SHAKEOUT ⭐⭐⭐⭐
- **What:** Sharp move below support with HIGH volume, immediate reversal
- **Look for:** Long lower wick, closes strong
- **Entry:** When price reclaims support
- **Stop:** Below shakeout low
- **Target:** Previous resistance
---
## 🔴 STRONGEST SELL SIGNALS
### 1. UTAD (Upthrust After Distribution) ⭐⭐⭐⭐⭐
- **What:** False breakout above resistance, quick rejection
- **Look for:** Spike high, weak close, often high volume
- **Entry:** When price closes back in range
- **Stop:** Above UTAD high
- **Target:** Bottom of range minimum
### 2. SOW (Sign of Weakness) ⭐⭐⭐⭐
- **What:** Breakdown below support on HIGH volume
- **Look for:** Wide spread down bar, weak close
- **Entry:** On breakdown or wait for LPSY rally
- **Stop:** Above range bottom
- **Target:** Height of range projected down
### 3. UPTHRUST ⭐⭐⭐⭐
- **What:** Move above resistance on LOW volume, weak close
- **Look for:** Long upper wick, closes in lower half
- **Entry:** When resistance holds
- **Stop:** Above upthrust high
- **Target:** Support level
---
## 📊 ACCUMULATION PHASES (Bottom Formation)
```
PHASE A: Stopping the Downtrend
├─ PS (Preliminary Support) - First buying
├─ SC (Selling Climax) - Panic bottom ⚠️ KEY EVENT
├─ AR (Automatic Rally) - Relief bounce
└─ ST (Secondary Test) - Retest SC low
PHASE B: Building the Cause
├─ Trading range forms
├─ Multiple tests of support
├─ Volume decreasing
└─ Absorption occurring
PHASE C: The Test
├─ SPRING - False breakdown ⚠️ KEY EVENT
└─ TEST - Support holds on low volume
PHASE D: Dominance Emerges
├─ SOS - Breakout ⚠️ KEY EVENT
├─ LPS - Last Point of Support (pullback)
└─ BU - Backup
PHASE E: Markup
└─ New uptrend, strong momentum
```
**Background Color:** Blue → Green (getting brighter)
**Action:** Buy in Phase C/D, Hold through Phase E
---
## 📊 DISTRIBUTION PHASES (Top Formation)
```
PHASE A: Stopping the Uptrend
├─ PSY (Preliminary Supply) - First selling
├─ BC (Buying Climax) - Euphoric top ⚠️ KEY EVENT
├─ AR (Automatic Reaction) - Sharp drop
└─ ST (Secondary Test) - Retest BC high
PHASE B: Building the Cause
├─ Trading range forms
├─ Multiple tests of resistance
├─ Demand being absorbed
└─ Volume patterns change
PHASE C: The Test
└─ UTAD - False breakout ⚠️ KEY EVENT
PHASE D: Dominance Emerges
├─ SOW - Breakdown ⚠️ KEY EVENT
└─ LPSY - Last Point of Supply (rally to exit)
PHASE E: Markdown
└─ New downtrend, strong selling
```
**Background Color:** Orange → Red (getting darker)
**Action:** Sell in Phase C/D, Stay out during Phase E
---
## 💰 VOLUME SPREAD ANALYSIS (VSA)
| Signal | Meaning | Color | Implication |
|--------|---------|-------|-------------|
| **ND** (No Demand) | Up bar, LOW volume | 🟠 Orange | Weakness - uptrend ending |
| **NS** (No Supply) | Down bar, LOW volume | 🔵 Blue | Strength - downtrend ending |
| **SV** (Stopping Volume) | VERY HIGH volume, narrow spread | 🟣 Purple | Potential reversal |
| **UT** (Upthrust) | Above resistance, LOW vol, weak close | 🔴 Red | Sell signal |
| **SO** (Shakeout) | Below support, HIGH vol, strong close | 🟢 Green | Buy signal |
---
## 🎯 VOLUME INTERPRETATION
| Volume Level | Bar Color | Meaning |
|--------------|-----------|---------|
| **VERY HIGH** (>2x average) | Dark Green/Red | Climax, potential reversal |
| **HIGH** (>1.5x average) | Light Green/Red | Strong interest |
| **NORMAL** | Gray | Average trading |
| **LOW** (<0.7x average) | Faint Gray | Testing, no interest |
---
## ⚖️ EFFORT vs RESULT
| Scenario | Volume | Spread | Meaning |
|----------|--------|--------|---------|
| **High Effort, Low Result** | HIGH | Narrow | ⚠️ Potential reversal |
| **Low Effort, High Result** | LOW | Wide | ⚠️ Trend weakening |
| **High Effort, High Result** | HIGH | Wide | ✅ Strong trend |
| **Low Effort, Low Result** | LOW | Narrow | 😴 No interest |
---
## 📏 TRADING RULES
### ✅ DO:
- ✅ Wait for confirmation before entering
- ✅ Trade in direction of higher timeframe
- ✅ Use springs and UTAD as primary signals
- ✅ Measure trading range for targets
- ✅ Place stops outside the range
- ✅ Look for volume confirmation
- ✅ Check multiple timeframes
- ✅ Focus on Phase C and D events
### ❌ DON'T:
- ❌ Buy during Phase E Markdown
- ❌ Sell during Phase E Markup
- ❌ Trade against major trend
- ❌ Ignore volume signals
- ❌ Enter without clear stop loss
- ❌ Trade every signal
- ❌ Use on very low timeframes without practice
- ❌ Ignore the context
---
## 🎪 COMPOSITE OPERATOR (Smart Money)
### 💰 Green Money Symbol (Bottom)
- **Meaning:** Institutions accumulating
- **Location:** Demand zones, springs, tests
- **Action:** Follow the smart money - buy
### 💰 Red Money Symbol (Top)
- **Meaning:** Institutions distributing
- **Location:** Supply zones, UTAD, weak rallies
- **Action:** Follow the smart money - sell
---
## 📍 SUPPLY & DEMAND ZONES
### 🟢 Demand Zones (Green Boxes)
- **Created at:** SC, Spring, Shakeout
- **Represents:** Where smart money bought
- **Action:** Look for bounces
### 🔴 Supply Zones (Red Boxes)
- **Created at:** BC, UTAD, Upthrust
- **Represents:** Where smart money sold
- **Action:** Look for rejections
---
## 🎯 TARGET CALCULATION
### Measured Move Method
```
1. Measure trading range height
Example: Top at 120, Bottom at 100 = 20 points
2. Add to breakout point (accumulation)
Breakout at 120 + 20 = Target: 140
3. Or subtract from breakdown (distribution)
Breakdown at 100 - 20 = Target: 80
```
### Multiple Targets
- **Conservative:** 1x range height (100% probability reached)
- **Moderate:** 1.5x range height (70% probability)
- **Aggressive:** 2x range height (40% probability)
---
## ⏰ TIMEFRAME GUIDE
| Timeframe | Use For | Reliability | Recommended For |
|-----------|---------|-------------|-----------------|
| **Weekly** | Major trends | ⭐⭐⭐⭐⭐ | Position traders |
| **Daily** | Swing trades | ⭐⭐⭐⭐⭐ | Most traders |
| **4-Hour** | Active swing | ⭐⭐⭐⭐ | Active traders |
| **1-Hour** | Day trading | ⭐⭐⭐ | Experienced only |
| **15-Min** | Scalping | ⭐⭐ | Experts only |
**Golden Rule:** Always check one timeframe higher for context!
---
## 🚨 ALERT PRIORITY
### 🔔 MUST-HAVE ALERTS
1. Spring
2. UTAD
3. SOS
4. SOW
### 🔔 NICE-TO-HAVE ALERTS
5. Selling Climax (SC)
6. Buying Climax (BC)
7. Smart Money Accumulation
8. Smart Money Distribution
### 🔔 CONFIRMATION ALERTS
9. Phase E Markup
10. Phase E Markdown
---
## 💡 QUICK DECISION TREE
```
Is there a clear trading range?
├─ YES
│ ├─ Did price break BELOW support?
│ │ ├─ Volume LOW + Quick reversal = SPRING → BUY ✅
│ │ └─ Volume HIGH + Stays down = Breakdown → SELL ⚠️
│ │
│ └─ Did price break ABOVE resistance?
│ ├─ Volume LOW + Quick reversal = UTAD → SELL ✅
│ └─ Volume HIGH + Stays up = Breakout → BUY ⚠️
│
└─ NO
├─ Strong uptrend = Wait for re-accumulation
└─ Strong downtrend = Wait for re-distribution
```
---
## 📝 PRE-TRADE CHECKLIST
Before entering any trade:
- Identified the current Wyckoff phase
- Confirmed with volume analysis
- Checked higher timeframe trend
- Located supply/demand zones
- Identified clear entry point
- Set stop loss level
- Calculated target (risk:reward >1:2)
- Verified position size (risk 1-2%)
- Have at least 2 confirming signals
- Not trading against major trend
---
## 🧠 REMEMBER
**The Three Laws:**
1. **Supply & Demand** - Price is determined by imbalance
2. **Cause & Effect** - Range size predicts move size
3. **Effort & Result** - Volume should confirm price movement
**The Key Principle:**
> "Trade with the Composite Operator (smart money), not against them"
**Best Setups:**
1. Spring in accumulation (Phase C)
2. UTAD in distribution (Phase C)
3. SOS breakout (Phase D)
4. SOW breakdown (Phase D)
**When in Doubt:**
- ❓ Stay out
- 📈 Use higher timeframe
- 📚 Review the documentation
- 🎯 Wait for clearer signal
---
## 📱 INDICATOR SETTINGS QUICK SETUP
**For Stocks/Crypto (Good Volume Data):**
- Volume MA Length: 20
- High Volume Multiplier: 1.5
- Climax Volume: 2.0
- Swing Length: 5
**For Forex (Limited Volume Data):**
- Volume MA Length: 20
- High Volume Multiplier: 1.3
- Climax Volume: 1.8
- Swing Length: 7
- Turn OFF "Volume Confirmation"
**For Day Trading:**
- Swing Length: 3
- All other settings: Default
**For Position Trading:**
- Swing Length: 7-10
- Volume MA Length: 30
- Use Daily/Weekly charts
---
## 🎓 SKILL PROGRESSION
### Beginner (Month 1-2)
- Focus on: SC, Spring, SOS
- Timeframe: Daily only
- Goal: Identify phases correctly
### Intermediate (Month 3-6)
- Add: All accumulation events
- Timeframe: Daily + 4H
- Goal: Trade springs profitably
### Advanced (Month 6-12)
- Add: Distribution events, VSA
- Timeframe: Multiple timeframes
- Goal: Trade complete cycles
### Expert (Year 2+)
- Master: All events, all timeframes
- Combine: With other methodologies
- Goal: Consistent profitability
---
**Print this sheet and keep it next to your trading desk!**
*Remember: Quality over quantity. Wait for the best setups.*
# Wyckoff Method - Comprehensive Analysis Indicator
## Complete Implementation Guide for TradingView Pine Script
---
## TABLE OF CONTENTS
1. (#overview)
2. (#installation)
3. (#theory)
4. (#components)
5. (#signals)
6. (#strategies)
7. (#settings)
8. (#alerts)
9. (#patterns)
10. (#troubleshooting)
---
## OVERVIEW
This indicator implements Richard Wyckoff's complete trading methodology, including:
- **All 5 Phases** of Accumulation and Distribution
- **18+ Wyckoff Events** (PS, SC, AR, ST, Spring, SOS, LPS, BC, UTAD, SOW, etc.)
- **Volume Spread Analysis (VSA)** principles
- **Supply & Demand Zone** detection
- **Composite Operator** logic (Smart Money tracking)
- **Effort vs Result** analysis
- **Three Wyckoff Laws**: Supply/Demand, Cause/Effect, Effort/Result
---
## INSTALLATION
### Step 1: Copy the Code
1. Open the `wyckoff_comprehensive.pine` file
2. Select all code (Ctrl+A / Cmd+A)
3. Copy to clipboard (Ctrl+C / Cmd+C)
### Step 2: Add to TradingView
1. Go to TradingView.com
2. Open any chart
3. Click "Pine Editor" at the bottom of the screen
4. Click "New" or "Open"
5. Paste the entire code
6. Click "Save" and give it a name
7. Click "Add to Chart"
### Step 3: Verify Installation
You should see:
- Labels on the chart (PS, SC, Spring, SOS, etc.)
- Background colors indicating phases
- Volume analysis in the lower pane
- A table in the top-right corner showing current phase
---
## WYCKOFF METHOD THEORY
### The Three Fundamental Laws
#### 1. **Law of Supply and Demand**
- Price rises when demand exceeds supply
- Price falls when supply exceeds demand
- The indicator tracks volume vs price movement to identify imbalances
#### 2. **Law of Cause and Effect**
- A period of accumulation (cause) leads to markup (effect)
- A period of distribution (cause) leads to markdown (effect)
- Trading ranges build "cause" for future price movement
#### 3. **Law of Effort vs Result**
- **Effort** = Volume (energy put into the market)
- **Result** = Price movement (spread of the bar)
- High effort with low result = potential reversal
- Low effort with high result = trend weakness
### The Five Phases
#### **ACCUMULATION CYCLE**
**Phase A: Stopping the Downtrend**
- Preliminary Support (PS): First sign of buying
- Selling Climax (SC): Panic selling exhaustion
- Automatic Rally (AR): Bounce from SC
- Secondary Test (ST): Test of SC low on lower volume
**Phase B: Building the Cause**
- Trading range develops
- Supply being absorbed by composite operator
- Multiple tests of support and resistance
- Volume generally decreases
**Phase C: The Test (Spring)**
- False breakdown below support
- Traps late sellers
- Quick reversal on low volume
- Last chance to accumulate before markup
**Phase D: Dominance Emerges**
- Sign of Strength (SOS): Break above resistance
- Last Point of Support (LPS): Pullback opportunity
- Backup (BU): Final consolidation
- Demand clearly exceeds supply
**Phase E: Markup**
- New uptrend established
- Price moves rapidly higher
- Phase E can last months/years
- Original trading range becomes support
#### **DISTRIBUTION CYCLE**
**Phase A: Stopping the Uptrend**
- Preliminary Supply (PSY): First sign of selling
- Buying Climax (BC): Euphoric buying exhaustion
- Automatic Reaction (AR): Sharp selloff from BC
- Secondary Test (ST): Test of BC high on lower volume
**Phase B: Building the Cause**
- Trading range at top
- Demand being absorbed by composite operator
- Multiple tests of support and resistance
**Phase C: The Test (UTAD)**
- Upthrust After Distribution
- False breakout above resistance
- Traps late buyers
- Quick reversal
**Phase D: Dominance Emerges**
- Sign of Weakness (SOW): Break below support
- Last Point of Supply (LPSY): Rally opportunity to exit
- Supply clearly exceeds demand
**Phase E: Markdown**
- New downtrend established
- Price moves rapidly lower
- Original trading range becomes resistance
---
## INDICATOR COMPONENTS
### 1. EVENT LABELS
#### Accumulation Events (Green labels)
- **PS** = Preliminary Support
- **SC** = Selling Climax (largest label, most important)
- **AR** = Automatic Rally
- **ST** = Secondary Test
- **SPRING** = Spring (critical buy signal)
- **TEST** = Test of support
- **SOS** = Sign of Strength (breakout)
- **LPS** = Last Point of Support
- **BU** = Backup
#### Distribution Events (Red labels)
- **PSY** = Preliminary Supply
- **BC** = Buying Climax (largest label, most important)
- **AR** = Automatic Reaction
- **ST** = Secondary Test
- **UTAD** = Upthrust After Distribution (critical sell signal)
- **SOW** = Sign of Weakness
- **LPSY** = Last Point of Supply
#### VSA Events (Small colored labels)
- **ND** (Orange) = No Demand - weakness
- **NS** (Blue) = No Supply - strength
- **SV** (Purple) = Stopping Volume
- **UT** (Red) = Upthrust - weakness
- **SO** (Green) = Shakeout - strength
#### Composite Operator (💰 symbols)
- Green 💰 at bottom = Smart Money Accumulation
- Red 💰 at top = Smart Money Distribution
### 2. BACKGROUND COLORS
- **Light Blue** = Phase A (Accumulation)
- **Light Orange** = Phase A (Distribution)
- **Very Light Green** = Phase C (Accumulation Testing)
- **Very Light Red** = Phase C (Distribution Testing)
- **Light Green** = Phase D (Accumulation Strength)
- **Light Red** = Phase D (Distribution Weakness)
- **Green** = Phase E (Markup - Bull trend)
- **Red** = Phase E (Markdown - Bear trend)
### 3. SUPPLY & DEMAND ZONES
- **Green boxes** = Demand zones (where smart money accumulated)
- **Red boxes** = Supply zones (where smart money distributed)
- Zones extend 20 bars into the future
- Price reactions at these zones are significant
### 4. VOLUME PANEL
- **Dark Green/Red bars** = Very High Volume (climax)
- **Light Green/Red bars** = High Volume
- **Gray bars** = Normal Volume
- **Faint Gray bars** = Low Volume
- **Blue line** = Volume Moving Average
### 5. INFORMATION TABLE (Top Right)
Displays real-time analysis:
- **Current Phase** (A, B, C, D, or E)
- **Status** (description of what's happening)
- **Volume** (Very High, High, Normal, Low)
- **Spread** (Wide, Normal, Narrow)
- **Effort/Result** (Poor, Normal, Good)
- **Range** (YES if in trading range)
- **Bias** (BULLISH, BEARISH, or NEUTRAL)
---
## HOW TO READ THE SIGNALS
### STRONG BUY SIGNALS (in order of strength)
1. **SPRING** (strongest)
- False breakdown below support
- Look for: Low volume, quick reversal, close above support
- Entry: When price closes back above support level
- Stop: Below the spring low
2. **SOS (Sign of Strength)**
- Break above trading range resistance
- Look for: High volume, wide spread up bar
- Entry: On breakout or pullback to LPS
- Stop: Below trading range
3. **Shakeout (SO)**
- Similar to spring but more violent
- Look for: High volume, penetration of support, strong close
- Entry: When price reclaims support
- Stop: Below shakeout low
4. **LPS (Last Point of Support)**
- Pullback after SOS
- Look for: Low volume, shallow pullback
- Entry: When support holds
- Stop: Below LPS
5. **No Supply (NS)**
- Down bar on very low volume
- Indicates lack of selling pressure
- Confirms accumulation phase
### STRONG SELL SIGNALS (in order of strength)
1. **UTAD (Upthrust After Distribution)** (strongest)
- False breakout above resistance
- Look for: High volume spike, rejection, close below resistance
- Entry: When price closes back below resistance
- Stop: Above UTAD high
2. **SOW (Sign of Weakness)**
- Break below trading range support
- Look for: High volume, wide spread down bar
- Entry: On breakdown or rally to LPSY
- Stop: Above trading range
3. **Upthrust (UT)**
- Move above resistance on low volume, weak close
- Look for: Low volume, close in lower half of bar
- Entry: When resistance becomes resistance again
- Stop: Above upthrust high
4. **LPSY (Last Point of Supply)**
- Rally after SOW
- Look for: Low volume, weak rally
- Entry: When rally fails
- Stop: Above LPSY
5. **No Demand (ND)**
- Up bar on very low volume
- Indicates lack of buying pressure
- Confirms distribution phase
### NEUTRAL/WARNING SIGNALS
- **High Effort, Low Result** = Potential reversal coming
- **Stopping Volume** = Trend may be ending
- **Absorption** = Large volume with small movement (accumulation/distribution)
---
## TRADING STRATEGY EXAMPLES
### Strategy 1: Accumulation Range Breakout
**Setup:**
1. Identify trading range (blue background in Phase B)
2. Wait for Spring or Test (Phase C)
3. Wait for SOS breakout (Phase D)
**Entry:**
- Option A: Buy on SOS breakout
- Option B: Wait for LPS pullback (better risk/reward)
**Stop Loss:**
- Below the spring low or trading range bottom
**Target:**
- Measure height of trading range (cause)
- Project upward from breakout point (effect)
- Minimum target = range height
**Example:**
```
Trading Range: 100 to 120 (20 point range)
SOS Breakout at: 120
Target: 120 + 20 = 140 minimum
```
### Strategy 2: Distribution Range Breakdown
**Setup:**
1. Identify trading range after uptrend
2. Wait for UTAD (Phase C)
3. Wait for SOW breakdown (Phase D)
**Entry:**
- Option A: Sell on SOW breakdown
- Option B: Wait for LPSY rally (better risk/reward)
**Stop Loss:**
- Above the UTAD high or trading range top
**Target:**
- Measure height of trading range
- Project downward from breakdown point
- Minimum target = range height
### Strategy 3: Spring Trading
**Setup:**
1. Strong downtrend followed by range
2. Price breaks below range bottom
3. Volume is LOW on breakdown
4. Price quickly reverses and closes above support
**Entry:**
- When candle closes above support level
- Or on retest of support
**Stop Loss:**
- Below spring low (usually tight)
**Target:**
- Top of trading range
- Previous swing high
**Risk/Reward:**
- Typically 1:3 or better
### Strategy 4: Smart Money Tracking
**Setup:**
1. Look for 💰 symbols in demand zones
2. Multiple accumulation signals (PS, SC, ST, Test)
3. Volume decreasing during range
**Entry:**
- At next demand zone test
- On SOS breakout
**Confirmation:**
- Background turning green (Phase D/E)
- Table shows "BULLISH" bias
### Strategy 5: VSA Reversal
**Setup:**
1. Strong trend in place
2. Stopping Volume (SV) appears at extreme
3. Followed by No Demand (ND) or No Supply (NS)
**Entry:**
- When trend breaks down/up
- On retest of extreme
**Example (Bullish):**
```
Downtrend → Stopping Volume → No Supply → Up bar
Entry: Buy when price moves above SV bar
```
---
## SETTINGS & CUSTOMIZATION
### Volume Analysis Settings
**Volume MA Length** (default: 20)
- Shorter = More sensitive to volume changes
- Longer = Smoother, less noise
- Recommended: 15-25 for most timeframes
**High Volume Multiplier** (default: 1.5)
- Threshold for "high volume"
- Lower = More signals
- Higher = Only extreme volume
- Recommended: 1.3-2.0
**Climax Volume Multiplier** (default: 2.0)
- Threshold for climax events (SC, BC)
- Should be significantly higher than normal
- Recommended: 2.0-3.0
### Phase Detection Settings
**Swing Detection Length** (default: 5)
- How many bars to look left/right for swing points
- Shorter = More swings detected (more noise)
- Longer = Fewer swings (cleaner, might miss some)
- Recommended: 3-7
**Range Expansion Threshold** (default: 1.5)
- Multiplier for "wide spread" bars
- Higher = Only very wide bars qualify
- Recommended: 1.3-2.0
**Volume Confirmation** (default: ON)
- Requires volume confirmation for events
- Turn OFF for very low volume instruments
- Keep ON for stocks, forex, crypto
### Display Options
Toggle on/off:
- ✅ **Show Accumulation/Distribution Phases** - Background colors
- ✅ **Show Wyckoff Events** - All labeled events
- ✅ **Show Volume Spread Analysis** - VSA labels
- ✅ **Show Supply/Demand Zones** - Boxes on chart
- ✅ **Show Composite Operator Signals** - 💰 symbols
### Color Customization
- **Bullish Color** - All accumulation events
- **Bearish Color** - All distribution events
- **Neutral Color** - Range/neutral signals
---
## ALERT SETUP
### Available Alerts
1. **Selling Climax (SC)** - Potential bottom forming
2. **Spring** - Strong buy signal
3. **Sign of Strength (SOS)** - Bullish breakout
4. **Buying Climax (BC)** - Potential top forming
5. **UTAD** - Strong sell signal
6. **Sign of Weakness (SOW)** - Bearish breakdown
7. **Phase E Markup** - Uptrend confirmed
8. **Phase E Markdown** - Downtrend confirmed
9. **Smart Money Accumulation** - Institutions buying
10. **Smart Money Distribution** - Institutions selling
### How to Set Up Alerts
1. Click the "⏰" icon on TradingView
2. Select "Create Alert"
3. Condition: Choose the indicator and alert type
4. Example: "Wyckoff Method - Spring"
5. Set notification preferences (popup, email, webhook)
6. Click "Create"
### Recommended Alert Strategy
**Conservative Trader:**
- Spring
- SOS
- UTAD
- SOW
**Aggressive Trader:**
- Add: SC, BC, Smart Money signals
**Long-term Investor:**
- Phase E Markup
- Phase E Markdown
- Smart Money Accumulation
---
## COMMON PATTERNS
### Pattern 1: Classic Accumulation
```
Phase A: Downtrend → PS → SC → AR → ST
Phase B: Range building (4-12 weeks typical)
Phase C: Spring (false breakdown)
Phase D: SOS → LPS → BU
Phase E: Markup (new uptrend)
```
**What to do:**
- Mark the range boundaries
- Wait for spring
- Buy on LPS or SOS
- Hold through markup
### Pattern 2: Classic Distribution
```
Phase A: Uptrend → PSY → BC → AR → ST
Phase B: Range building (topping process)
Phase C: UTAD (false breakout)
Phase D: SOW → LPSY
Phase E: Markdown (new downtrend)
```
**What to do:**
- Mark the range boundaries
- Wait for UTAD
- Sell on LPSY or SOW
- Stay out during markdown
### Pattern 3: Re-Accumulation
```
Uptrend → Trading Range → Spring → Uptrend continues
```
- Occurs during existing uptrend
- Shorter accumulation period
- Often no clear SC (trend is already up)
- Spring is the key signal
### Pattern 4: Re-Distribution
```
Downtrend → Trading Range → UTAD → Downtrend continues
```
- Occurs during existing downtrend
- Shorter distribution period
- Often no clear BC (trend is already down)
- UTAD is the key signal
### Pattern 5: Failed Breakout
**Bullish Failed Breakout:**
```
Range → Breakdown → Immediate reversal (Spring)
```
- Price breaks support
- Volume is LOW
- Immediate strong reversal
- Very bullish
**Bearish Failed Breakout:**
```
Range → Breakout → Immediate reversal (UTAD)
```
- Price breaks resistance
- Volume may be high initially
- Quick rejection and reversal
- Very bearish
---
## TIMEFRAME RECOMMENDATIONS
### Daily Charts (Most Reliable)
- Best for swing trading
- Clear phases and events
- Less noise
- Recommended for beginners
### 4-Hour Charts
- Good for active swing traders
- Faster signals than daily
- Still reliable
### 1-Hour Charts
- For day traders
- More false signals
- Need to filter carefully
- Use in conjunction with higher timeframe
### 15-Minute / 5-Minute
- Only for experienced traders
- High noise level
- Many false signals
- Use daily chart for context
**Golden Rule:** Always check higher timeframe first!
---
## MULTI-TIMEFRAME ANALYSIS
### Top-Down Approach (Recommended)
1. **Weekly Chart** - Identify major trend and phase
2. **Daily Chart** - Find current accumulation/distribution
3. **4H Chart** - Identify entry timing
4. **Entry Timeframe** - Execute trade
### Example Analysis:
**Weekly:** Phase E Markup (bullish)
**Daily:** Phase B Re-accumulation
**4-Hour:** Spring detected
**Action:** Buy on daily LPS
---
## WYCKOFF + OTHER INDICATORS
### Complementary Tools
1. **Moving Averages**
- 20/50 SMA for trend context
- Already plotted on indicator
2. **RSI**
- Divergences at SC/BC
- Confirms overbought/oversold
3. **MACD**
- Confirms trend change in Phase D
- Divergences support Wyckoff events
4. **Volume Profile**
- Identifies value areas
- Confirms supply/demand zones
5. **Order Flow / Footprint Charts**
- See institutional activity
- Confirms smart money signals
**Don't Over-Complicate:**
- Wyckoff is a complete system
- Other indicators are supplementary
- When in doubt, trust Wyckoff
---
## TROUBLESHOOTING
### Issue: Too Many Labels
**Solution:**
- Increase swing length (Settings → 7 or 10)
- Increase volume multipliers
- Turn off VSA labels if not needed
- Focus on major events only (SC, Spring, SOS, BC, UTAD, SOW)
### Issue: Missing Expected Events
**Solution:**
- Decrease swing length (Settings → 3)
- Decrease volume multipliers
- Turn OFF volume confirmation
- Check timeframe (use daily chart)
### Issue: False Signals
**Solution:**
- Use higher timeframe
- Wait for confirmation
- Don't trade against major trend
- Look for multiple signal convergence
### Issue: Can't See Background Colors
**Solution:**
- Check "Show Phases" is enabled
- Increase monitor brightness
- Colors are subtle by design (not to obscure price)
### Issue: Volume Shows Incorrectly
**Solution:**
- Ensure volume data is available for your symbol
- Some symbols have poor volume data
- Forex spot pairs have no real volume
- Use futures or stock markets for best results
### Issue: No Trading Range Detected
**Solution:**
- Market may be trending strongly
- Trading range might be too small
- Wait for price to consolidate
- Not all markets have clear ranges
---
## ADVANCED TIPS
### 1. Count Point & Figure Charts
- Wyckoff used P&F to measure "cause"
- Width of range × height = minimum move target
- Longer accumulation = larger markup
### 2. Watch for Absorption
- High volume + narrow spread = someone absorbing
- In downtrend = accumulation
- In uptrend = distribution
### 3. Multiple Timeframe Springs
- Spring on daily + spring on weekly = very strong
- Increases probability significantly
### 4. Failed Signals Are Signals Too
- Failed spring = weakness, expect lower
- Failed UTAD = strength, expect higher
### 5. Context is King
- Don't buy during Phase E Markdown
- Don't sell during Phase E Markup
- Respect the major trend
### 6. Volume Precedes Price
- Study volume changes first
- Price follows volume
- Decreasing volume in range = building energy
### 7. Composite Operator Mindset
- Think like institutions
- Where would smart money buy/sell?
- They need liquidity (retail traders)
---
## RISK MANAGEMENT
### Position Sizing
**Conservative:**
- Risk 1% per trade
- Wider stops at range boundaries
**Moderate:**
- Risk 1-2% per trade
- Stops below spring/above UTAD
**Aggressive:**
- Risk 2-3% per trade
- Tight stops
- Higher win rate needed
### Stop Loss Placement
**Accumulation:**
- Below spring low
- Below trading range bottom
- Below demand zone
**Distribution:**
- Above UTAD high
- Above trading range top
- Above supply zone
### Take Profit Strategy
**Method 1: Measured Move**
- Range height = minimum target
- 2x range height = extended target
**Method 2: Fibonacci Extensions**
- 1.0 = range height
- 1.618 = extended target
- 2.618 = maximum target
**Method 3: Trail the Stop**
- Move stop to breakeven at 1R
- Trail under swing lows in markup
- Lock in profits progressively
---
## BACKTESTING CHECKLIST
Before trading with real money:
- Backtest on 50+ historical examples
- Record all signals in trading journal
- Calculate win rate (aim for >50%)
- Calculate average R:R (aim for >1:2)
- Test on multiple instruments
- Test on multiple timeframes
- Test in different market conditions
- Verify signal consistency
- Practice on demo account
- Start small with real money
---
## RECOMMENDED READING
### Books
1. **"Studies in Tape Reading"** - Richard D. Wyckoff
2. **"The Richard D. Wyckoff Method"** - Rubén Villahermosa
3. **"Charting the Stock Market: The Wyckoff Method"** - Jack Hutson
4. **"Master the Markets"** - Tom Williams (VSA)
### Courses
1. Wyckoff Analytics - Official Wyckoff course
2. TradeVSA - Volume Spread Analysis
3. StockCharts - Wyckoff education
### Communities
1. Wyckoff Analytics Forum
2. Reddit r/Wyckoff
3. TradingView Wyckoff ideas section
---
## FREQUENTLY ASKED QUESTIONS
**Q: Can I use this on crypto?**
A: Yes, works well on major cryptocurrencies with good volume.
**Q: Does it work on forex?**
A: Yes, but use futures volume (like 6E for EUR/USD) for better accuracy.
**Q: What's the best timeframe?**
A: Daily chart for most traders. 4H for more active trading.
**Q: How long does accumulation last?**
A: Typically 2-12 weeks. Longer accumulation = bigger markup.
**Q: Can I automate this?**
A: You can use the alerts, but manual analysis is recommended.
**Q: What's the win rate?**
A: With proper filtering: 60-70% on major signals (Spring, UTAD, SOS, SOW).
**Q: Should I trade every signal?**
A: No. Focus on Spring, UTAD, SOS, and SOW in trending markets.
**Q: What if I see conflicting signals?**
A: Use higher timeframe for context. When in doubt, stay out.
**Q: How do I know which phase I'm in?**
A: Check the table in top-right corner. Also look at background color.
**Q: Can I use this for options trading?**
A: Yes, excellent for timing option entries (especially around Spring/UTAD).
---
## FINAL THOUGHTS
The Wyckoff Method is:
- **A complete trading system** (not just an indicator)
- **Based on 100+ years** of market wisdom
- **Used by institutions** and professional traders
- **Requires practice** and screen time
- **Highly effective** when applied correctly
**Success Tips:**
1. Start with daily charts
2. Focus on major events (SC, Spring, SOS, BC, UTAD, SOW)
3. Always check higher timeframe context
4. Wait for confirmation before entering
5. Manage risk properly
6. Keep a trading journal
7. Be patient - wait for the best setups
**Remember:**
- Not every range will have all events
- Some phases may be abbreviated
- Context and confluence matter most
- Practice makes perfect
---
## SUPPORT & UPDATES
For questions, improvements, or bug reports:
- Check TradingView script comments
- Join Wyckoff trading communities
- Study historical examples
- Practice on demo accounts
**Good luck and happy trading!**
---
*Disclaimer: This indicator is for educational purposes. Always do your own analysis and risk management. Past performance does not guarantee future results.*
# WYCKOFF VISUAL SETUP EXAMPLES
## ACCUMULATION SCHEMATIC #1 (Classic Bottom)
```
Price Chart View:
│ PHASE E
│ MARKUP
│ ╱
│ ╱
┌─SOS─────┤ ╱
│ │ ╱
┌───────────┤ ┌LPS │╱
│ PHASE B │ │ │
│ (Cause) └──┴──────┤
┌AR──┤ │
┌────┤ │ ┌─Spring │ PHASE D
│ └ST──┤ │ │
│ │ │ │
────SC────────┴─────────┴───────────┴──────────
│
PS
│ PHASE A
│
Downtrend
```
### PHASE A - Stopping the Downtrend
```
PS: │ High volume down bar
▼ First sign of support
■ Not bottom yet
SC: │ VERY HIGH volume
▼ Panic selling exhaustion
█ Long lower wick
█ This is the low
AR: │ Automatic rally
▲ Relief bounce
■ High volume acceptable
ST: │ Secondary test
▼ Low volume (KEY!)
■ Tests SC low
```
### PHASE B - Building the Cause
```
┌─────────┐
│ ~~~ │ Multiple tests
│ ~ ~ │ Volume decreases
│~ ~ │ Range gets tighter
└─────────┘
Duration: 2-12 weeks typical
The longer, the bigger the eventual move
```
### PHASE C - The Test (SPRING)
```
║ False breakdown
─────╨─────
▼ Low volume
█ Breaks below support
■
█ Quick reversal
▲ Closes ABOVE support
CRITICAL: Volume must be LOW
Close must be strong
Happens quickly (1-3 bars)
```
### PHASE D - Strength Emerges
```
SOS: ▲ Sign of Strength
────╥──── Break above resistance
║ High volume
║ Wide spread
LPS: ▼ Last Point Support
■ Pullback on LOW volume
▲ Great entry point
BU: ▲ Backup
■ Final consolidation
▲ Before markup
```
### PHASE E - Markup
```
╱
╱
╱ Strong uptrend
╱ High momentum
╱ Can last months/years
──╱──
```
---
## DISTRIBUTION SCHEMATIC #2 (Classic Top)
```
Price Chart View:
Uptrend
│
PSY
│ PHASE A
────BC────────┬─────────┬───────────┬──────────
│ │ UTAD │
│ PHASE B │ │ PHASE D
┌AR──┤ ┌LPSY │ │
│ │ │ └───────────┤
│ └──┴──────┐ │╲
└ST──┤ │ │ ╲
│ └───────────┤ ╲
└─SOW─────┤ │ ╲
│ │ ╲
│ PHASE C │ ╲
│ │ PHASE E
│ │ MARKDOWN
```
### PHASE A - Stopping the Uptrend
```
PSY: │ High volume up bar
▲ Preliminary supply
■ Selling starting
BC: │ VERY HIGH volume
▲ Buying climax
█ Euphoric top
█ Long upper wick
AR: │ Automatic reaction
▼ Sharp selloff
■ High volume
ST: │ Secondary test
▲ Low volume (KEY!)
■ Tests BC high
```
### PHASE C - The Test (UTAD)
```
▲ False breakout
────╥────
║ Breaks ABOVE resistance
║ Often high volume spike
▼
█ Rejection / weak close
█ Closes BELOW resistance
▼
CRITICAL: Closes weak
Quick rejection
Traps buyers
```
### PHASE D - Weakness Emerges
```
SOW: ▼ Sign of Weakness
────╨──── Break below support
║ High volume
║ Wide spread
LPSY: ▲ Last Point Supply
■ Rally on LOW volume
▼ Last chance to exit
```
---
## VOLUME PATTERNS (Critical to Understanding)
### ACCUMULATION Volume Pattern
```
Volume
│ SC
█
█ ST
■ ■ Spring
■ ■ ■ SOS LPS
──┴────┴────┴──────█───■────►
│ │ │ │ │
│ │ │ │ │
A A C D D
Pattern: HIGH → low → low → HIGH → low
Key: Volume DECREASES during range
INCREASES on breakout
```
### DISTRIBUTION Volume Pattern
```
Volume
│ BC
█
█ ST
■ ■ UTAD
■ ■ ■ SOW LPSY
──┴────┴────┴──────█───■────►
│ │ │ │ │
│ │ │ │ │
A A C D D
Pattern: HIGH → low → varies → HIGH → low
Key: Volume MAY increase on UTAD
Definitely HIGH on breakdown (SOW)
```
---
## REAL TRADE SETUPS
### Setup #1: SPRING BUY
```
Entry Conditions:
1. Clear trading range identified
2. Price breaks BELOW support
3. Volume is LOW (critical!)
4. Price reverses QUICKLY
5. Closes ABOVE support level
Entry: Next bar or on retest
Stop: Below spring low
Target: Top of range (minimum)
Example:
Support: $100
Spring low: $98 (low volume)
Close: $101
Entry: $102
Stop: $97.50
Target: $120 (range top)
Risk/Reward: 1:4
```
### Setup #2: UTAD SELL
```
Entry Conditions:
1. Clear trading range identified (after uptrend)
2. Price breaks ABOVE resistance
3. Often high volume spike
4. Price reverses QUICKLY
5. Closes BELOW resistance level
Entry: Next bar or on retest
Stop: Above UTAD high
Target: Bottom of range (minimum)
Example:
Resistance: $200
UTAD high: $205 (spike)
Close: $198
Entry: $197
Stop: $206
Target: $180 (range bottom)
Risk/Reward: 1:2
```
### Setup #3: SOS BREAKOUT
```
Entry Conditions:
1. Clear accumulation range
2. Spring already occurred (ideal)
3. Price breaks ABOVE resistance
4. HIGH volume on breakout
5. Wide spread up bar
Entry Option A: On breakout ($120)
Entry Option B: Wait for LPS pullback ($115)
Stop: Below range or LPS
Target: Range height projected up
Example:
Range: $100-$120 (20 points)
SOS breakout: $120
Entry A: $120
Stop: $115
Target 1: $140 (100%)
Target 2: $150 (150%)
```
---
## VSA SPECIFIC PATTERNS
### Pattern 1: No Demand (Weakness)
```
▲
■ Up bar
■ Low volume ◄── KEY
▲ Small body
Context: After uptrend
Meaning: Buyers exhausted
Action: Prepare to sell
```
### Pattern 2: No Supply (Strength)
```
▼
■ Down bar
■ Low volume ◄── KEY
▼ Small body
Context: After downtrend
Meaning: Sellers exhausted
Action: Prepare to buy
```
### Pattern 3: Stopping Volume
```
═ Very high volume
█ Narrow spread ◄── KEY
═ Price not moving
Context: At extremes
Meaning: Absorption
Action: Expect reversal
```
---
## COMMON MISTAKES (What NOT to Do)
### ❌ Mistake 1: Buying Prematurely
```
WRONG:
SC
▼
█ ← DON'T BUY HERE
CORRECT:
Spring
─────╨─────
▼
█ ← BUY HERE
▲
```
### ❌ Mistake 2: Ignoring Volume
```
WRONG: "It broke below support, must be spring"
─────╨───── High volume
█
This is a BREAKDOWN, not a spring!
CORRECT Spring:
─────╨───── LOW volume ✓
■ Quick reversal ✓
▲
```
### ❌ Mistake 3: Trading Against Trend
```
WRONG:
Markdown Phase E
╲
╲ ← Trying to buy here
╲
╲
CORRECT:
Wait for new accumulation to complete
```
---
## MULTI-TIMEFRAME EXAMPLE
### Weekly Chart: Phase E Markup (Bullish)
```
╱
╱
╱ Long-term uptrend
╱
───╱─────
```
### Daily Chart: Re-Accumulation Phase C
```
┌─────────┐
│ Spring │ ← We are here
│ ▼ │
─────┴────█────┴─────
▲
```
### 4-Hour Chart: Entry Timing
```
Last 48 hours:
─────╨───── Spring occurred
█
▲ ← Enter now
■
```
**Result:** Triple confirmation across timeframes = High probability trade
---
## PROFIT TARGETS (Visual Guide)
### Method 1: Basic Measured Move
```
Resistance: 120 ┐ ─────────
│
│ 20 points
│
Support: 100 ┘ ─────────
Breakout: 120
Target: 120 + 20 = 140
╱╱╱ 140 (Target)
╱╱╱
╱╱╱
──────◄ 120 (Breakout)
│
Range │ 20
│
──────┘ 100
```
### Method 2: Multiple Targets
```
╱╱╱ 150 (Target 3: 2.5x) - 20% position
╱╱╱
╱╱╱ 140 (Target 2: 2x) - 30% position
╱╱╱
─────◄╱ 130 (Target 1: 1x) - 50% position
│
10 │ 120 (Breakout)
│
─────┘ 110 (Support)
```
### Method 3: Trailing Stop
```
1. Move stop to breakeven at Target 1
2. Trail stop under swing lows
3. Let winners run
╱╱╱
╱ ╱╱ ← Trail stop here
╱╱ ╱
╱ ╱ ← Then here
─────◄──╱
← Start here (breakeven)
```
---
## TIMING ENTRIES (Exact Bar Patterns)
### Perfect Spring Entry
```
Bar 1: ▼ Breaks below (Low vol)
█
Bar 2: ▲ Reverses (Closes strong)
█ ◄─ ENTER HERE
Bar 3: ■ Confirms
▲
DON'T WAIT for Bar 3!
Enter on Bar 2 close
```
### Perfect UTAD Entry
```
Bar 1: ▲ Breaks above (Spike vol OK)
█
Bar 2: ▼ Reverses (Closes weak)
█ ◄─ ENTER HERE
Bar 3: ■ Confirms
▼
SHORT on Bar 2 close
Don't wait for more confirmation
```
---
## COMPOSITE OPERATOR PSYCHOLOGY
### What Smart Money Does (Follow Them)
**Accumulation:**
```
1. Create fear (PS, SC)
2. Shake out weak hands (Spring)
3. Absorb supply quietly (Phase B)
4. Test for remaining supply (Test)
5. Mark it up (SOS → Phase E)
💰 They buy LOW when retail panics
```
**Distribution:**
```
1. Create euphoria (PSY, BC)
2. Trap late buyers (UTAD)
3. Distribute to buyers (Phase B)
4. Test for remaining demand (ST)
5. Mark it down (SOW → Phase E)
💰 They sell HIGH when retail buys
```
### Where to Look for Smart Money
```
💰 Buy signals appear at:
- Demand zones (green boxes)
- Springs and shakeouts
- Tests of support
- After selling climax
💰 Sell signals appear at:
- Supply zones (red boxes)
- UTAD and upthrusts
- Weak rallies (LPSY)
- After buying climax
```
---
## PRACTICE EXERCISES
### Exercise 1: Identify the Phase
Look at any chart and ask:
1. Is there a trading range? (Phase B likely)
2. Did we just stop a trend? (Phase A)
3. Was there a spring/UTAD? (Phase C)
4. Is there a breakout? (Phase D)
5. Is trend running? (Phase E)
### Exercise 2: Volume Analysis
For each bar, note:
- Volume level (High/Normal/Low)
- Spread (Wide/Normal/Narrow)
- Effort vs Result (Matching? Diverging?)
### Exercise 3: Find Historical Springs
Go back 6 months:
- Mark all springs you can find
- Note the setup before each
- Track what happened after
- Calculate win rate
---
## FINAL VISUALIZATION: The Complete Cycle
```
ACCUMULATION → MARKUP → DISTRIBUTION → MARKDOWN → ACCUMULATION...
Distribution Accumulation
(Top) (Bottom)
┌───────────────┐ ┌───────────────┐
│ BC UTAD │ │ Spring SC │
│ │ │ │ │ │ │ │
────┴───┴───┴───────┴─╲ ╱────────┴───┴───┴────
╲ ╱
Markdown ╲ ╱ Markup
(Phase E) ╲ ╱ (Phase E)
╲ ╱
╲ ╱
╲ ╱
╲ ╱
V
The market cycles endlessly
Your job: Identify where you are in the cycle
Trade accordingly
```
---
**Remember:**
- 📊 Study charts daily
- 📝 Journal every setup
- 🎯 Wait for the best signals
- 💰 Follow smart money
- ⏰ Be patient
- 🚀 Let winners run
**The indicator does the heavy lifting - you make the decisions!**
strongResistanceActually it is education purpose. This indicator is designed to help traders clearly identify strong Support & Resistance (SNR) levels along with high-probability Buy & Sell..
The indicator works smoothly on lower timeframes for binary trading.
Tails and WicksTails and Wicks 📊
A clean price action tool that spots strong wick rejection candles and draws semi-transparent colored boxes around their high-to-low range. 🔍
Boxes extend forward to highlight potential S/R zones – perfect for pinbars, hammers, shooting stars & indecision dojis! 🚀
Features:
• 🟢 Bullish tails (long lower wick – default green)
• 🔴 Bearish tails (long upper wick – default red)
• 🟠 Indecision (both long wicks – default orange)
• Independent toggles & custom colors 🎨
• Adjustable wick % threshold (default 60%)
• Fixed or infinite right extension ➡️
• Limit recent zones per type (default 4) to keep charts tidy 🧹
• Pure visual – no text clutter (disable "Labels on price scale" in indicator Style tab if needed)
Lightweight, customizable, and great for clean price action trading! 💹
USD Liquidity Regime IndexTrack global risk regimes with this USD Liquidity Composite —
It aims to be a daily macro indicator blending normalised DXY (50%), UUP (20%), 10Y Treasury yields (20%), and VIX (10%).
How to read:
When the blue index is above its red SMA: Strong USD, tightening liquidity → Risk-Off mode (often bearish for Nasdaq, BTC, and risk assets).
When the line is below: Weak USD, abundant liquidity → Risk-On (bullish environment).
Example: In 2022's bear market, the index stayed high above SMA most of the year, signalling persistent Risk-Off as USD surged.
Features on-chart table, regime background colors, and crossover alerts.
Great contextual tool for macro traders IMO.
Educational only — not financial advice.
Use at your own risk.
By @frank_vergaram
Optimized 1st Touch 10SMA After RunThis indicator is designed to identify strong stocks that have recently made a meaningful rally and are now experiencing their first controlled pullback to the 10-day simple moving average (10SMA). It scans for stocks that have moved at least 10% over the past 10 trading days, maintained upward momentum by riding above the 10SMA during the advance, and are trading within a broader uptrend. The signal triggers only when price makes its first touch of the 10SMA since the rally and closes back above it, indicating potential support and trend continuation rather than weakness. Additional filters such as volume contraction and higher-timeframe trend alignment help isolate high-quality setups where strong stocks are digesting gains before a potential next leg higher.
SMI Trigger System The SMI Trigger System is a lower-pane momentum indicator based on a Hull-smoothed Stochastic Momentum Index (SMI). It is designed to assist in identifying potential momentum shifts by highlighting signal alignment and level interactions.
This indicator is intended to be used as part of a broader analysis framework. Confluence between trend, structure, and higher-timeframe context defines the setup, while SMI signal behavior may be used for confirmation.
The script can be applied across multiple timeframes and markets. It does not generate trade signals on its own and should be used alongside additional analysis and risk management techniques.
For educational purposes only. Not financial advice.
15min Candle > 20% of Daily ATRThis Pine Script® (v6) indicator, titled "15min Candle > 20% of Daily ATR", detects unusually large 15-minute candles by comparing their size (full range or body) to a user-defined percentage (default 20%) of the previous day's Average True Range (ATR, default 14-period).
UNDETECTED FX - 250 Pip LevelsIndicator Description – UNDETECTED FX: 250-Pip Psychological Levels
This indicator automatically plots major 250-pip psychological levels on XAUUSD and highlights the price zones around them. These levels act as strong reaction points where liquidity, reversals, and institutional activity commonly occur.
What the Indicator Does
✔ Plots every 250-pip level starting from a user-defined base (e.g., 4050 → 4075 → 4100 → 4125 → …)
✔ Each level is represented by a thick black horizontal line for maximum visual clarity
✔ Around every 250-pip level, the indicator draws a liquidity zone
Top of zone: +200 pips
Bottom of zone: –200 pips
(configured as ± zoneHalf in settings)
✔ Uses extend: both, so levels stretch across the entire chart and stay fixed, no matter how far you scroll
✔ Zones are filled with a customizable color for clear premium/discount visualization
✔ The indicator never repaints and requires no updates after drawing — all levels are fixed on their price coordinates
Why It’s Useful
🔹 Helps quickly identify institutional levels where gold often reacts
🔹 Acts as a framework for scalping, intraday trading, and swing bias
🔹 Makes it easy to spot liquidity sweeps, rejections, and premium/discount areas
🔹 Clearly shows market structure breaks around key psychological levels
🔹 Forces discipline by creating predefined, fixed levels for trading decisions
Best Use Case
XAUUSD scalpers
Intraday traders who rely on precision entries
Traders who use psychological levels, liquidity grabs, or smart-money concepts
Anyone wanting a clean, non-cluttered chart with high-impact levels only
premium//@version=5
indicator("Custom Binance Premium Index + Alerts", overlay=false)
// === 1. 数据源(可修改) ===
// 永续合约价格(默认 BTCUSDT 永续)
futures = request.security("BINANCE:BTCUSDT_PERP", timeframe.period, close)
// 现货价格(默认 BTCUSDT 现货)
spot = request.security("BINANCE:BTCUSDT", timeframe.period, close)
// === 2. 计算自定义溢价指数 ===
premium = ((futures / spot) - 1) * 100
// === 3. 用户设定阈值(你给的值) ===
upper = 1.5 // 溢价 ≥ 1.5 触发告警
lower = -2.0 // 溢价 ≤ -2.0 触发告警
// === 4. 绘图 ===
plot(premium, title="Premium Index (%)", color=color.new(color.blue, 0))
hline(upper, "Upper Threshold (1.5%)", color=color.new(color.red, 0))
hline(lower, "Lower Threshold (-2.0%)", color=color.new(color.green, 0))
// === 5. 告警条件 ===
alertcondition(premium >= upper,
title="溢价 ≥ 1.5%",
message="Premium Index ≥ 1.5%(永续合约偏高,多头较强)"
)
alertcondition(premium <= lower,
title="溢价 ≤ -2.0%",
message="Premium Index ≤ -2.0%(永续合约偏低,空头压力大)"
)
// === 6. 信息显示 ===
label.new(bar_index, premium, "Premium: " + str.tostring(premium, "#.##") + "%",
style=label.style_label_left, color=color.new(color.blue, 85))
Vector Trinity indicator II: [Bottom: TTM Squeeze]**1. Introduction: The Engine of the System**
This indicator is **Part 2** of the "Vector Trinity" trading system. While Part I (Structure) defines *where* the price is, **Part II (Impulse)** defines *when* the move will happen and *how strong* it is.
It represents the **Time Dimension** of the system, focusing on momentum ignition and energy release.
* **I: Structure:** Spatial boundaries.
* **II: Impulse:** **Momentum velocity & Squeeze timing (Current Indicator).**
* **III: Flow:** Capital validation.
**2. Core Logic: Linear Regression Momentum**
Unlike standard momentum indicators (like MACD) which are based on Moving Averages and often lag significantly, **Vector Trinity II** utilizes **Linear Regression** on price deviations.
* **Math:** It calculates the distance between the price and the mean, then runs a linear regression to determine the angle of attack.
* **Benefit:** This provides a near-instantaneous reading of market "Velocity" and "Acceleration," reducing lag and allowing traders to see the turn before price fully commits.
**3. The "Squeeze" Mechanics (The Dots)**
The central line features dots that indicate the volatility state of the market:
* **🔴 Red Dot (Squeeze ON):** The Bollinger Bands have moved inside the Keltner Channels. Volatility is critically low. The market is storing energy like a compressed spring. **Action:** Wait. Do not trade yet.
* **🟢 Green Dot (Squeeze Fired):** The Bands have popped out of the Channels. The energy is releasing. **Action:** This is the "Ignition" signal. Look at the histogram color for direction.
**4. The 4-Color Momentum System**
The histogram bars are color-coded to tell the full story of the trend's lifecycle, not just direction:
* **Bullish Territory (Above 0):**
* **🟦 Cyan (Light Blue):** **Bullish Acceleration.** Buyers are aggressive. Momentum is increasing. (Best for entry).
* **🔷 Blue (Dark Blue):** **Bullish Deceleration.** Buyers are tired. Momentum is fading. (Prepare to take profit).
* **Bearish Territory (Below 0):**
* **🟥 Red:** **Bearish Acceleration.** Sellers are aggressive. Momentum is increasing. (Best for shorting).
* **🟨 Yellow:** **Bearish Deceleration.** Sellers are exhausted. Momentum is recovering towards zero. (Warning: Trend potential reversal).
**5. How to Use**
* **Step 1:** Look for **Red Dots** on the zero line. This identifies a high-potential setup building up.
* **Step 2:** Wait for the **First Green Dot**. This is the "Squeeze Fired" signal.
* **Step 3:** Confirm with the **Histogram Color**.
* If Green Dot + **Cyan Bar** = Long Signal.
* If Green Dot + **Red Bar** = Short Signal.
* **Advanced:** Use the **Yellow Bars** as an early warning to exit short positions before price actually reverses.
**Settings:**
* **Length:** 20 (Standard calculation period).
* **BB/KC Mult:** 2.0 / 1.5 (Standard ratios to define the Squeeze).
* **Smoothing:** Enabled (Default 3) to reduce noise and provide clearer color transitions.
---
### **中文说明**
**1. 简介:系统的核心引擎**
本指标是“矢量三位一体”交易系统的 **第二部分**。如果说第一部分 (Structure) 定义了价格*在哪里*,那么 **第二部分 (Impulse)** 则定义了行情*何时*启动以及力度*有多强*。
它代表了系统的 **时间维度**,专注于动能的点火与能量释放。
* **I: Structure 结构:** 空间边界。
* **II: Impulse 脉冲:** **动能速度与挤压时机(本指标)。**
* **III: Flow 流向:** 资金验证。
**2. 核心逻辑:线性回归动能**
传统的动能指标(如 MACD)通常基于移动平均线,存在显著的滞后性。**Vector Trinity II** 采用了基于价格偏离度的 **Linear Regression (线性回归)** 算法。
* **数学原理:** 它计算价格与均值的距离,并通过回归分析确定攻击的角度。
* **优势:** 这提供了几乎零滞后的市场“速度”与“加速度”读数,允许交易者在价格完全反转之前看到动能的拐点。
**3. “挤压”机制 (圆点信号)**
0轴上的圆点指示了市场的波动率状态:
* **🔴 红点 (Squeeze ON):** 布林带完全进入了肯特纳通道内部。波动率极低。市场像被压缩的弹簧一样在积蓄能量。**操作:** 等待,不要急于进场。
* **🟢 绿点 (Squeeze Fired):** 布林带扩张冲出通道。能量开始释放。**操作:** 这是“点火”信号。观察柱状图颜色以确定方向。
**4. 四色动能战术系统**
柱状图通过四种颜色讲述了趋势完整的生命周期,而不仅仅是涨跌:
* **多头区域 (0轴上方):**
* **🟦 青色 (Cyan):** **多头加速。** 买盘积极,动能增强。(最佳进场期)
* **🔷 蓝色 (Blue):** **多头减速。** 买盘疲惫,动能衰减。(准备止盈)
* **空头区域 (0轴下方):**
* **🟥 红色 (Red):** **空头加速。** 卖盘积极,动能增强。(最佳做空期)
* **🟨 黄色 (Yellow):** **空头减速。** 卖盘力竭,动能向0轴修复。(警告:趋势可能反转/抄底信号)
**5. 使用方法**
* **第一步:** 寻找0轴上的 **红点**。这标志着一个高爆发潜力的机会正在酝酿。
* **第二步:** 等待 **第一个绿点** 出现。这是“挤压释放/点火”的信号。
* **第三步:** 结合 **柱状图颜色** 确认。
* 绿点 + **青色柱** = 做多信号。
* 绿点 + **红色柱** = 做空信号。
* **进阶用法:** 利用 **黄色柱** 作为空单止盈的先行指标,往往在价格反弹之前,动能就已经变黄了。
**参数设置:**
* **Length (周期):** 20 (标准计算周期)。
* **BB/KC Mult (倍数):** 2.0 / 1.5 (定义挤压状态的标准比率)。
* **Smoothing (平滑):** 开启 (默认3) 以减少噪音,提供更平滑的颜色转换体验。
Vector Trinity I: Structure [VWAP-DBB] This indicator is **Part 1** of the "Vector Trinity" trading system—a comprehensive, data-driven framework designed to analyze market behavior through three distinct physical dimensions:
* **I: Structure (Space):** Defines the battlefield and volatility boundaries (Current Indicator).
* **II: Impulse (Time):** Identifies momentum ignition and energy release.
* **III: Flow (Energy):** Validates the move via volume and capital flow.
**2. Core Logic: Why Rolling VWAP?**
Most standard Bollinger Bands use a Simple Moving Average (SMA) as the centerline. The flaw in SMA is that it treats every candle equally, regardless of trading activity.
**Vector Trinity I** replaces the SMA with a **Rolling VWAP (Volume-Weighted Average Price)** over a rolling window (default 20).
* **Data Logic:** Price combined with Volume represents the true "cost basis" of the market.
* **Behavior:** The centerline becomes "sticky" during high-volume nodes and moves faster when real capital enters. It represents the *True Mean* of the market structure.
**3. The Dual-Band "Highway" Structure**
Instead of a single channel, this system utilizes a Double Bollinger Band (DBB) architecture based on Standard Deviations (StdDev) from the VWAP:
* **The Noise Zone (Basis to 1.0 StdDev):** The empty space in the middle. Price action here is often choppy and directionless.
* **The Acceleration Zone (1.0 to 2.0 StdDev):** The filled "Cloud." When candles close and stay within this zone, it indicates a strong trend (The Highway).
* **The Reversion Zone (> 2.0 StdDev):** Price is statistically extended and may revert to the mean.
**4. Volatility Squeeze Detection**
The indicator integrates a mechanical "Squeeze" detection based on the relationship between the Bollinger Bands (Variance) and Keltner Channels (ATR).
* **Squeeze ON (Orange Cloud & Dots):** Daily variance is at extreme lows. Energy is compressing. Do not trade direction; prepare for a breakout.
* **Squeeze OFF (Grey Cloud):** Expansion phase. Volatility is returning to the market.
**5. How to Use**
* **Step 1:** Observe the **Purple Line (VWAP)**. Its slope dictates the dominant trend structure.
* **Step 2:** Look for **Orange Zones**. This indicates a "Squeeze." Wait for the cloud to turn Grey.
* **Step 3:** Trade the breakout when price closes inside the "Acceleration Zone" (between the inner and outer bands) accompanied by Volume.
**Settings:**
* **Rolling Length:** 20 (Standard for swing/day trading).
* **Inner/Outer Bands:** 1.0 / 2.0 (The standard trend definition).
* **Squeeze Sensitivity:** 1.5 (Standard KC Multiplier).
---
### **中文说明**
**1. 简介:矢量三位一体系统 (Vector Trinity)**
本指标是“矢量三位一体”交易系统的 **第一部分**。这是一套基于数据逻辑的综合分析框架,旨在通过三个物理维度解构市场行为:
* **I: Structure 结构 (空间):** 定义价格运行的战场边界与波动率结构(本指标)。
* **II: Impulse 脉冲 (时间):** 识别动能的点火与能量释放。
* **III: Flow 流向 (能量):** 通过成交量与资金流验证突破的真伪。
**2. 核心逻辑:为什么要用 Rolling VWAP?**
传统的布林带使用简单移动平均线 (SMA) 作为中轨。SMA 的缺陷在于它平等地对待每一根 K 线,而忽略了成交量的权重。
**Vector Trinity I** 使用 **Rolling VWAP (滚动成交量加权平均价)** 替代了 SMA。
* **数据逻辑:** 只有结合了成交量的价格,才代表市场真实的“平均持仓成本”。
* **表现特征:** 在放量交易区,中轨会表现出更强的支撑/阻力特性;在缩量区则表现平滑。它代表了市场结构的*真实均值*。
**3. 双通道“高速公路”结构**
本系统不使用单条轨道,而是基于 VWAP 的标准差 (StdDev) 构建了双重布林带 (DBB) 架构:
* **噪音区 (中轨 到 1.0 标准差):** 中间的空白区域。在此区域内的价格通常是无方向的震荡。
* **加速区 (1.0 到 2.0 标准差):** 填充颜色的“云带”。当 K 线收盘并运行于此区域时,代表趋势确立,价格进入了“高速公路”。
* **回归区 (> 2.0 标准差):** 价格在统计学上过热,可能面临均值回归。
**4. 波动率挤压监测 (Squeeze)**
指标内置了基于布林带(方差)与肯特纳通道(ATR)对比的机械化“挤压”监测。
* **挤压状态 (橙色云带 & 底部圆点):** 每日方差处于极低值 (Variance at extreme lows)。市场正在积蓄能量。此时不应猜测方向,而应等待爆发。
* **扩张状态 (灰色云带):** 挤压结束,波动率回归,趋势展开。
**5. 使用方法**
* **第一步:** 观察 **紫色中轨 (VWAP)**。它的倾斜方向决定了主要的结构趋势。
* **第二步:** 寻找 **橙色区域**。这代表“挤压”正在发生。耐心等待云带变回灰色。
* **第三步:** 当价格突破并收盘在“加速区”(内轨与外轨之间)时,配合成交量介入交易。
**参数设置:**
* **Rolling Length (周期):** 20 (波段/日内交易的标准设置)。
* **Inner/Outer Bands (内外轨):** 1.0 / 2.0 (经典的趋势定义范围)。
* **Squeeze Sensitivity (敏感度):** 1.5 (标准肯特纳通道倍数)。
Smart Money Swing Strategy [All-in-One]# Pro Swing Trader 📈
A comprehensive swing trading indicator for TradingView that combines multiple confluence factors to identify high-probability trade setups with built-in risk management.
## 🎯 Overview
This indicator is designed for swing traders who want to catch momentum pullbacks with precision entries. It filters trades using multiple timeframe analysis, RSI zones, volume confirmation, and EMA trends to deliver only the highest-confidence setups.
### Key Features
✅ **Multi-Timeframe Confluence** - Confirms trades with higher timeframe analysis (Daily, 4H, etc.)
✅ **Smart Entry Signals** - Detects pullback-to-EMA reclaim patterns
✅ **Automatic Risk Management** - Calculates stops, targets, and R-multiples
✅ **Dynamic Stop Loss** - ATR trailing stop + break-even automation
✅ **Real-Time HUD Dashboard** - Live confluence scoring and trade metrics
✅ **Comprehensive Alerts** - Entry, TP1, TP2, and stop-loss notifications
✅ **Visual Trade Levels** - Clear on-chart stop-loss and take-profit lines
---
## 📊 How It Works
### Signal Logic
The indicator identifies two types of signals:
**Base Signals** (Small triangles):
- Price pulls back between Fast EMA and Slow EMA
- RSI is in the swing zone (40-60 by default)
- Price reclaims the Fast EMA with momentum
- Optional: Volume spike confirmation
**High-Confidence Signals** (Large triangles):
- All base signal criteria met
- Higher timeframe confirms the trend direction
- HTF RSI and slope alignment
- These are your primary trade signals
### Entry Conditions
#### Long Entry (🟢 HC L)
1. Fast EMA > Slow EMA (uptrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses above and closes above Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price above EMA50, RSI > 50, positive slope
6. Optional: Volume > 1.5x 20-bar average
#### Short Entry (🔻 HC S)
1. Fast EMA < Slow EMA (downtrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses below and closes below Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price below EMA50, RSI < 50, negative slope
6. Optional: Volume > 1.5x 20-bar average
---
## 🎛️ Settings & Parameters
### Trend Parameters
- **Fast EMA**: Default 20 - Quick trend detection
- **Slow EMA**: Default 50 - Major trend filter
- **Swing Lookback**: Default 10 - Bars to find swing high/low for stops
### RSI Settings
- **RSI Length**: Default 14
- **RSI Min**: Default 40 - Lower bound of swing zone
- **RSI Max**: Default 60 - Upper bound of swing zone
### Risk Management
- **Final TP Risk-Reward (R)**: Default 2.0 - Main profit target multiplier
- **TP1 R Multiple**: Default 1.0 - Partial profit target
- **Use Break-even Stop**: Move stop to entry after 1R profit
- **ATR Trailing Stop**: Dynamic stop based on ATR(14) x 2.0
### Filters
- **Require Volume Spike**: Optional volume confirmation filter
- **Use Higher TF Confirmation**: Enable multi-timeframe analysis
- **Higher TF**: Default "D" (Daily) - Can use 240 (4H), W (Weekly), etc.
---
## 📈 Dashboard (HUD)
The top-center dashboard shows real-time confluence status:
| Column | Meaning |
|--------|---------|
| **Trend** | Current trend direction (UP/DOWN/Flat) |
| **HTF** | Higher timeframe alignment (Bull/Bear/Flat) |
| **RSI Zone** | Is RSI in swing zone? (YES/NO) |
| **Volume** | Volume spike detected? (YES/NO) |
| **Signal** | Active signal type (HC LONG/HC SHORT/None) |
| **R Risk** | Current profit in R-multiples |
| **Stop** | Current stop-loss level |
| **TP1** | Partial take-profit status |
| **TP2** | Final take-profit status |
| **Conf %** | Overall confluence score (0-100%) |
### Confidence Score Breakdown
- **20%** - Trend present (up or down)
- **30%** - HTF confirmation aligned (or 15% if HTF off)
- **20%** - RSI in swing zone
- **10%** - Volume spike
- **20%** - High-confidence signal triggered
**Scoring**:
- 🟢 70%+ = High probability setup
- 🟡 40-69% = Moderate setup
- 🔴 <40% = Low probability
---
## 🔔 Alert Setup
The indicator includes 8 alert conditions:
### Entry Alerts
- **HC LONG ENTRY** - High-confidence long signal triggered
- **HC SHORT ENTRY** - High-confidence short signal triggered
### Profit Target Alerts
- **LONG TP1 Reached** - Hit partial profit (1R by default)
- **LONG Final TP Reached** - Hit final target (2R by default)
- **SHORT TP1 Reached** - Hit partial profit
- **SHORT Final TP Reached** - Hit final target
### Stop Loss Alerts
- **LONG Stop/BE/Trail Level Hit** - Long position stopped out
- **SHORT Stop/BE/Trail Level Hit** - Short position stopped out
### How to Set Up Alerts
1. Click "Add Alert" on TradingView
2. Choose this indicator from the dropdown
3. Select desired alert condition
4. Set alert to trigger "Once Per Bar Close"
5. Customize notification method (popup/email/webhook)
---
## 📋 Trading Workflow
### 1. Wait for High-Confidence Signal
Look for the large **HC L** or **HC S** triangle on chart close.
### 2. Verify Confluence
Check the HUD dashboard:
- Confidence score should be 70%+
- HTF status should show alignment
- RSI Zone should be "YES"
### 3. Entry
Enter the trade at market or on next candle open.
### 4. Set Stop Loss
Use the **initial stop** shown in the HUD (red line on chart):
- **Longs**: Below the swing low (10-bar lookback)
- **Shorts**: Above the swing high (10-bar lookback)
### 5. Set Take Profits
- **TP1**: 1R (50% position close) - Yellow line
- **TP2**: 2R (remaining 50% close) - Green line
### 6. Manage the Trade
- Monitor the **R Risk** column to track profit
- Stop moves to break-even automatically after 1R (if enabled)
- ATR trailing stop engages dynamically (red line adjusts)
- Exit if price hits dynamic stop level
---
## 🎨 Visual Guide
### On-Chart Elements
**Triangles**:
- Small lime/red triangles = Base signals (lower confidence)
- Large lime/red triangles = High-confidence signals (trade these!)
**Lines**:
- 🟢 Green line = Fast EMA (20)
- 🟠 Orange line = Slow EMA (50)
- 🔴 Red line = Dynamic stop-loss level
- 🟡 Yellow line = TP1 level
- 🟢 Green line = TP2 (final target)
**HUD Colors**:
- 🟢 Green = Bullish/Active/Good
- 🔴 Red = Bearish/Inactive/Warning
- 🟡 Yellow = Neutral/Caution
- 🔵 Blue = Informational
- ⚫ Gray = Disabled/Off
---
## 💡 Strategy Tips
### Best Practices
1. **Only trade High-Confidence signals** - Ignore base signals unless very experienced
2. **Respect the HTF** - Don't fight the higher timeframe trend
3. **Use proper position sizing** - Risk 1-2% of account per trade
4. **Partial profits work** - Take 50% off at TP1, let rest run to TP2
5. **Let winners run** - Trailing stop helps capture extended moves
6. **Be patient** - Quality over quantity; wait for 70%+ confluence
### Optimal Timeframes
- **Primary Chart**: 1H, 4H, Daily (swing trading)
- **HTF Setting**: One level higher than your chart
- If trading 1H → Set HTF to 4H or D
- If trading 4H → Set HTF to D or W
- If trading Daily → Set HTF to W
### Market Conditions
**Best Performance**:
- Trending markets with healthy pullbacks
- Clear support/resistance zones
- Moderate volatility
**Avoid Trading**:
- Extremely choppy/sideways markets
- Major news events (unless experienced)
- Low confidence scores (<40%)
---
## ⚙️ Advanced Customization
### Aggressive Setup (More Signals)
```
Fast EMA: 12
Slow EMA: 26
RSI Min: 35
RSI Max: 65
Use HTF Confirmation: OFF
Require Volume Spike: OFF
```
### Conservative Setup (Fewer, Higher Quality)
```
Fast EMA: 20
Slow EMA: 50
RSI Min: 45
RSI Max: 55
Use HTF Confirmation: ON
Require Volume Spike: ON
Final TP R: 3.0
```
### Scalping Adaptation (Not Recommended)
```
Fast EMA: 9
Slow EMA: 21
Swing Lookback: 5
TP1 R: 0.5
Final TP R: 1.0
```
---
## ⚠️ Risk Disclaimer
**IMPORTANT**: This indicator is for educational and informational purposes only.
- Past performance does not guarantee future results
- No indicator is 100% accurate
- Always use proper risk management
- Never risk more than you can afford to lose
- Consider using a demo account first
- Seek professional financial advice if needed
Trading involves substantial risk of loss and is not suitable for all investors.
---
## 🔧 Troubleshooting
### "No signals appearing"
- Check if HTF confirmation is enabled but market isn't aligned
- Verify RSI zone isn't too restrictive
- Ensure volume spike isn't filtering out all setups
- Try adjusting EMA lengths for your asset
### "Too many false signals"
- Enable HTF confirmation
- Tighten RSI zone (e.g., 45-55)
- Enable volume spike requirement
- Only trade 70%+ confidence setups
### "Stops too tight/wide"
- Adjust Swing Lookback length
- Modify ATR multiplier for trailing stop
- Consider the asset's volatility
### "Alerts not working"
- Ensure alert is set to "Once Per Bar Close"
- Check indicator is added to the chart
- Verify TradingView notification settings
---
## 📚 Version History
**v1.0 (Current)**
- Initial release
- Multi-timeframe confluence system
- Dynamic risk management
- Real-time HUD dashboard
- Comprehensive alert system
- ATR trailing stops
- Break-even automation
---
## 🤝 Support & Feedback
If you find this indicator helpful:
- ⭐ Star the script on TradingView
- 💬 Share your results and feedback
- 🐛 Report bugs or suggest improvements
- 📖 Share with other traders
---
## 📖 Additional Resources
### Recommended Reading
- "The New Trading for a Living" by Dr. Alexander Elder
- "Swing Trading Using Multiple Timeframes" - Educational articles
- Risk management and position sizing guides
### Learn More About
- Multiple timeframe analysis
- EMA crossover strategies
- RSI divergence and zones
- ATR-based stops
- R-multiple profit management
---
## 📝 License
This indicator is provided as-is for personal trading use.
**Usage Rights**:
- ✅ Use for personal trading
- ✅ Modify for personal use
- ❌ Resell or redistribute
- ❌ Claim as original work
---
## 🎓 Quick Start Checklist
- Add indicator to TradingView chart
- Set your preferred timeframe (1H/4H/Daily)
- Configure HTF setting (one level higher)
- Review default parameters
- Set up entry alerts (HC LONG/SHORT)
- Set up TP and SL alerts
- Test on historical data
- Paper trade first
- Start with small position sizes
- Track your results
---
**Happy Trading! 📊💰**
*Remember: Discipline, patience, and risk management are the keys to long-term success.*






















