Enhanced MA Crossover Pro📝 Strategy Summary: Enhanced MA Crossover Pro
This strategy is an advanced, highly configurable moving average (MA) crossover system designed for algorithmic trading. It uses the crossover of two customizable MAs (a "Fast" MA 1 and a "Slow" MA 2) as its core entry signal, but aggressively integrates multiple technical filters, time controls, and dynamic position management to create a robust and comprehensive trading system.
💡 Core Logic
Entry Signal: A bullish crossover (MA1 > MA2) generates a Long signal, and a bearish crossover (MA1 < MA2) generates a Short signal. Users can opt to use MA crossovers from a Higher Timeframe (HTF) for the entry signal.
Confirmation/Filters: The basic MA cross signal is filtered by several optional indicators (see Filters section below) to ensure trades align with a broader trend or momentum context.
Position Management: Trades are managed with a sophisticated system of Stop Loss, Take Profit, Trailing Stops, and Breakeven stops that can be fixed, ATR-based, or dynamically adjusted.
Risk Management: Daily limits are enforced for maximum profit/loss and maximum trades per day.
⚙️ Key Features and Customization
1. Moving Averages
Primary MAs (MA1 & MA2): Highly configurable lengths (default 8 & 20) and types: EMA, WMA, SMA, or SMMA/RMA.
Higher Timeframe (HTF) MAs: Optional MAs calculated on a user-defined resolution (e.g., "60" for 1-hour) for use as an entry signal or as a trend confirmation filter.
2. Multi-Filter System
The entry signal can be filtered by the following optional conditions:
SMA Filter: Price must be above a 200-period SMA for long trades, and below it for short trades.
VWAP Filter: Price must be above VWAP for long trades, and below it for short trades.
RSI Filter: Long trades are blocked if RSI is overbought (default 70); short trades are blocked if RSI is oversold (default 30).
MACD Filter: Requires the MACD Line to be above the Signal Line for long trades (and vice versa for short trades).
HTF Confirmation: Requires the HTF MA1 to be above HTF MA2 for long entries (and vice versa).
3. Dynamic Stop and Target Management (S/L & T/P)
The strategy provides extensive control over exits:
Stop Loss Methods:
Fixed: Fixed tick amount.
ATR: Based on a multiple of the Average True Range (ATR).
Capped ATR: ATR stop limited by a maximum fixed tick amount.
Exit on Close Cross MA: Position is closed if the price crosses back over the chosen MA (MA1 or MA2).
Breakeven Stop: A stop can be moved to the entry price once a trigger distance (fixed ticks or Adaptive Breakeven based on ATR%) is reached.
Trailing Stop: Can be fixed or ATR-based, with an optional feature to auto-tighten the trailing multiplier after the breakeven condition is met.
Profit Target: Can be a fixed tick amount or a dynamic target based on an ATR multiplier.
4. Time and Session Control
Trading Session: Trades are only taken between defined Start/End Hours and Minutes (e.g., 9:30 to 16:00).
Forced Close: All open positions are closed near the end of the session (e.g., 15:45).
Trading Days: Allows specific days of the week to be enabled or disabled for trading.
5. Risk and Position Limits
Daily Profit/Loss Limits: The strategy tracks daily realized and unrealized PnL in ticks and will close all positions and block new entries if the user-defined maximum profit or maximum loss is hit.
Max Trades Per Day: Limits the number of executed trades in a single day.
🎨 Outputs and Alerts
Plots: Plots the MA1, MA2, SMA, VWAP, and HTF MAs (if enabled) on the chart.
Shapes: Plots visual markers (BUY/SELL labels) on the bar where the MA crossover occurs.
Trailing Stop: Plots the dynamic trailing stop level when a position is open.
Alerts: Generates JSON-formatted alerts for entry ({"action":"buy", "price":...}) and exit ({"action":"exit", "position":"long", "price":...}).
頻帶和通道
Central Limit Theorem Reversion IndicatorDear TV community, let me introduce you to the first-ever Central Limit Theorem indicator on TradingView.
The Central Limit Theorem is used in statistics and it can be quite useful in quant trading and understanding market behaviors. 
In short, the CLT states: "When you take repeated samples from any population and calculate their averages, those averages will form a normal (bell curve) distribution—no matter what the original data looks like."
In this CLT indicator, I use statistical theory to identify high-probability mean reversion opportunities in the markets. It calculates statistical confidence bands and z-scores to identify when price movements deviate significantly from their expected distribution, signaling potential reversion opportunities with quantifiable probability levels.
 Mathematical Foundation 
The Central Limit Theorem (CLT) says that when you average many data points together, those averages will form a predictable bell-curve pattern, even if the original data is completely random and unpredictable (which often is in the markets). This works no matter what you're measuring, and it gets more reliable as you use more data points.
Why using it for trading?
Individual price movements seem random and chaotic, but when we look at the average of many price movements, we can actually predict how they should behave statistically. This lets us spot when prices have moved "too far" from what's normal—and those extreme moves tend to snap back (mean reversion).
Key Formula:
Z = (X̄ - μ) / (σ / √n)
Where:
- X̄ = Sample mean (average return over n periods)
- μ = Population mean (long-term expected return)
- σ = Population standard deviation (volatility)
- n = Sample size
- σ/√n = Standard error of the mean
 How I Apply CLT 
Step 1: Calculate Returns
Measures how much price changed from one bar to the next (using logarithms for better statistical properties)
Step 2: Average Recent Returns
Takes the average of the last n returns (e.g., last 100 bars). This is your "sample mean."
Step 3: Find What's "Normal"
Looks at historical data to determine: a) What the typical average return should be (the long-term mean) and b) How volatile the market usually is (standard deviation)
Step 4: Calculate Standard Error
Determines how much sample averages naturally vary. Larger samples = smaller expected variation.
Step 5: Calculate Z-Score
Measures how unusual the current situation is.
Step 6: Draw Confidence Bands
Converts these statistical boundaries into actual price levels on your chart, showing where price is statistically expected to stay 95% and 99% of the time.
 Interpretation & Usage 
The Z-Score:
The z-score tells you how statistically unusual the current price deviation is:
|Z| < 1.0 → Normal behavior, no action
|Z| = 1.0 to 1.96 → Moderate deviation, watch closely
|Z| = 1.96 to 2.58 → Significant deviation (95%+), consider entry
|Z| > 2.58 → Extreme deviation (99%+), high probability setup
The Confidence Bands
- Upper Red Bands: 95% and 99% overbought zones → Expect mean reversion downward as the price is not likely to cross these lines. 
- Center Gray Line: Statistical expectation (fair value)
- Lower Blue Bands: 95% and 99% oversold zones → Expect mean reversion upward
Trading Logic:
- When price exceeds the upper 95% band (z-score > +1.96), there's only a 5% probability this is random noise → Strong sell/short signal
- When price falls below the lower 95% band (z-score < -1.96), there's a 95% statistical expectation of upward reversion → Strong buy/long signal
Background Gradient
The background color provides real-time visual feedback:
- Blue shades: Oversold conditions, expect upward reversion
- Red shades: Overbought conditions, expect downward reversion
- Intensity: Darker colors indicate stronger statistical significance
 Trading Strategy Examples 
Hypothetically, this is how the indicator could be used: 
- Long: Z-score < -1.96 (below 95% confidence band)
- Short: Z-score > +1.96 (above 95% confidence band)
- Take profit when price returns to center line (Z ≈ 0)
 Input Parameters 
Sample Size (n) - Default: 100
Lookback Period (m) - Default: 100
You can also create alerts based on the indicator. 
Final notes: 
- The indicator uses logarithmic returns for better statistical properties
- Converts statistical bands back to price space for practical use
- Adaptive volatility: Bands automatically widen in high volatility, narrow in low volatility
- No repainting: yay! All calculations use historical data only
Feedback is more than welcome! 
Henri
Mean Reversion Scalping by XtramaskAvoid using this indicator in aggressively trending markets . Best in Non Treanding Markets
7 MM colored 3 BB clouded + MACD + RSI Zones7 MM colored 
3 BB clouded
MACD flèches rouges et vertes
RSI Zones sur vente étoile jaune
🏦 Institutional Smart Money Tracker_NEIL_BILLIONAIRE✅ INSTITUTIONAL SMART MONEY TRACKER V6 - COMPLETE
Here's what makes this institutional-grade and prevents wrong-direction trades:
🎯 CRITICAL ANTI-WRONG-DIRECTION FEATURES:
🏦 MASTER INSTITUTIONAL BIAS - Dashboard shows:
Strong Bullish (3-4 HTFs bullish) = ⚠️ ONLY TAKE LONG TRADES
Strong Bearish (3-4 HTFs bearish) = ⚠️ ONLY TAKE SHORT TRADES
Neutral = ⚠️ WAIT FOR CLEAR DIRECTION
🚨 BACKGROUND COLOR ALERTS:
Green tint = Strong bullish environment (safe to long)
Red tint = Strong bearish environment (safe to short)
Orange tint = DANGER ZONE - mixed signals, DON'T TRADE!
📊 MULTI-TIMEFRAME CONFIRMATION:
Analyzes 4 higher timeframes (15m, 1H, 4H, Daily by default)
Only generates signals when aligned with HTF trends
Shows trend strength for each timeframe
🎨 VISUAL ELEMENTS:
Green boxes = IDM bullish order blocks (demand zones)
Red boxes = IDM bearish order blocks (supply zones)
Blue/Orange boxes = EXT HTF order blocks
Aqua/Fuchsia boxes = Fair Value Gaps
Yellow boxes = Accumulation zones
Orange boxes = Distribution zones
⚠️ labels = Manipulation detected
💥 bubbles = High volume institutional activity
BOS/CHOCH labels = Market structure changes
🟢 LONG / 🔴 SHORT = Trade signals with full TP/SL levels
📋 DASHBOARD SHOWS:
Master institutional bias (color-coded)
Current timeframe trend + strength
4 HTF trends + strength levels
Market structure status
Volume analysis
Active trade with entry/SL/TP1/TP2/TP3
⚙️ EVERYTHING IS CUSTOMIZABLE:
Individual on/off toggles for all features
Colors, sizes, periods, thresholds
Dashboard position
HTF selections
Risk/reward ratios
🔔 8 BUILT-IN ALERTS:
Long signal
Short signal
Break of Structure
Change of Character
Manipulation detected
High volume spikes
Even when drunk/stoned, the massive dashboard + colored backgrounds make it IMPOSSIBLE to trade the wrong direction! 🎯
This is New Year's 2026 gift to fellow ♥ newbie traders, who are still learning to decode the market moves(♥just like me♥).
🏦 INSTITUTIONAL SMART MONEY TRACKER - COMPLETE TUTORIAL
📋 TABLE OF CONTENTS
Installation
Understanding the Dashboard
Visual Elements Guide
How to Read Signals
Trading Strategy
Settings Customization
Real Trading Examples
🚀 1. INSTALLATION {#installation}
Step 1: Copy the Code
Click on the artifact above and copy ALL the Pine Script code
Step 2: Open TradingView
Go to TradingView.com
Open any chart (BTC, ETH, stocks, forex, etc.)
Step 3: Open Pine Editor
Click "Pine Editor" at the bottom of the screen
Click "Open" → "New blank indicator"
Step 4: Paste & Save
Delete all existing code
Paste the copied indicator code
Click "Save" (give it a name like "Institutional SMT")
Click "Add to Chart"
Step 5: Initial Setup
The indicator will load with default settings
You'll see a dashboard in the top-right corner
Order blocks, FVGs, and zones will appear on the chart
📊 2. UNDERSTANDING THE DASHBOARD {#dashboard}
🏦 INSTITUTIONAL BIAS (TOP SECTION)
****** This is the MOST IMPORTANT section - it prevents wrong-direction trades!******
🟢 STRONG BULLISH = 3-4 higher timeframes bullish
   → ONLY TAKE LONG TRADES
🟡 BULLISH = 2 higher timeframes bullish
   → Prefer long trades, be cautious
🔴 STRONG BEARISH = 3-4 higher timeframes bearish
   → ONLY TAKE SHORT TRADES
🟠 BEARISH = 2 higher timeframes bearish
   → Prefer short trades, be cautious
⚪ NEUTRAL = Mixed signals
   → STAY OUT! Don't trade!
```
### **⚠️ WARNING MESSAGE**
- **"ONLY TAKE LONG TRADES"** = All HTFs aligned bullish
- **"ONLY TAKE SHORT TRADES"** = All HTFs aligned bearish
- **"WAIT FOR CLEAR DIRECTION"** = Don't trade yet!
### **CURRENT TIMEFRAME**
Shows your current chart's trend:
- **UP** = Bullish structure
- **DOWN** = Bearish structure
- **SIDE** = Sideways/choppy
**STRENGTH:**
- **STRONG** = ADX > 25 (trending market)
- **MEDIUM** = ADX 20-25 (moderate trend)
- **WEAK** = ADX < 20 (choppy/ranging)
### **HIGHER TIMEFRAMES (HTF)**
Displays 4 higher timeframes (default: 15m, 1H, 4H, Daily):
- **15m** = Short-term trend
- **1H** = Intraday trend
- **4H** = Swing trend
- **D** = Major trend
Each shows:
- Direction (UP/DOWN/SIDE)
- Strength (STRONG/MEDIUM/WEAK)
### **MARKET STRUCTURE**
- **BULLISH** = Higher highs and higher lows
- **BEARISH** = Lower highs and lower lows
- Shows last structure event (BOS/CHOCH)
### **VOLUME**
- **HIGH 💥** = Institutional activity detected
- **NORMAL** = Average volume
- Shows volume multiplier (e.g., "2.5x" = 2.5 times average)
### **ACTIVE SIGNAL**
- **🟢 LONG** = Active long trade with entry/SL/TP levels
- **🔴 SHORT** = Active short trade with entry/SL/TP levels
- **NO ACTIVE TRADE** = Waiting for setup
---
## 🎨 **3. VISUAL ELEMENTS GUIDE** {#visual-elements}
### **📦 ORDER BLOCKS**
**🟢 GREEN BOXES (Bullish IDM Order Blocks)**
- Last bearish candle before strong bullish move
- Demand zone where institutions bought
- Price often bounces here
- **Thicker border** = Unmitigated (not tested yet) → High probability zone
**🔴 RED BOXES (Bearish IDM Order Blocks)**
- Last bullish candle before strong bearish move
- Supply zone where institutions sold
- Price often rejects here
- **Thicker border** = Unmitigated (not tested yet) → High probability zone
**🔷 BLUE BOXES (EXT Bullish Order Blocks)**
- Higher timeframe demand zones
- Stronger support levels
- Dashed border = HTF zone
**🟠 ORANGE BOXES (EXT Bearish Order Blocks)**
- Higher timeframe supply zones
- Stronger resistance levels
- Dashed border = HTF zone
### **📊 FAIR VALUE GAPS (FVGs)**
**💠 AQUA BOXES (Bullish FVG)**
- Gap between price movement (inefficiency)
- Price tends to fill these gaps
- Buy zone when price returns
**💜 FUCHSIA BOXES (Bearish FVG)**
- Gap between price movement (inefficiency)
- Price tends to fill these gaps
- Sell zone when price returns
**🟡 YELLOW BOXES (Inverted FVG)**
- FVG that got filled and now acts as support/resistance
- Becomes a key level for future trades
### **⚡ BREAKER BLOCKS**
**BB Labels (Green/Red dotted lines)**
- Failed order blocks that flipped
- Was support, became resistance (or vice versa)
- Strong reversal zones
### **🎯 SMART MONEY ZONES**
**🟡 ACCUMULATION BOXES**
- Consolidation + increasing volume + bullish structure
- Institutions accumulating positions
- Expect bullish breakout
**🟠 DISTRIBUTION BOXES**
- Consolidation + increasing volume + bearish structure
- Institutions distributing/selling
- Expect bearish breakdown
**⚠️ MANIPULATION Labels**
- Large wicks + high volume
- Stop hunt detected
- Watch for reversal
### **💥 VOLUME BUBBLES**
- **Green bubble** = High volume bullish candle (institutional buying)
- **Red bubble** = High volume bearish candle (institutional selling)
- Shows volume multiplier (e.g., "3.2x")
### **📈 MARKET STRUCTURE**
**Small triangles:**
- 🔺 Green triangle below = Swing low
- 🔻 Red triangle above = Swing high
**BOS Labels (Green/Red)**
- Break of Structure
- Trend continuation signal
- **Green BOS** = Bullish continuation
- **Red BOS** = Bearish continuation
**CHOCH Labels (Blue/Orange)**
- Change of Character
- Potential trend reversal
- **Blue CHOCH** = Shift to bullish
- **Orange CHOCH** = Shift to bearish
### **⚠️ DIVERGENCE SIGNALS**
**🔼 BULL DIV (Green label below)**
- Price makes lower low, RSI makes higher low
- Bullish reversal signal
- Strong at oversold levels (RSI < 35)
**🔽 BEAR DIV (Red label above)**
- Price makes higher high, RSI makes lower high
- Bearish reversal signal
- Strong at overbought levels (RSI > 65)
### **🚨 BACKGROUND COLORS**
**Light Green Background**
- 3-4 HTFs bullish + strong trend
- Safe to take long trades
- High confidence environment
**Light Red Background**
- 3-4 HTFs bearish + strong trend
- Safe to take short trades
- High confidence environment
**Light Orange Background**
- Mixed signals across timeframes
- **DANGER ZONE - STAY OUT!**
- Wait for clarity
---
## 🎯 **4. HOW TO READ SIGNALS** {#signals}
### **🟢 LONG SIGNAL GENERATION**
Signal appears when ALL conditions met:
1. ✅ Market structure is bullish (uptrend)
2. ✅ Bullish order block formed
3. ✅ Price above last swing low
4. ✅ RSI < 65 (not overbought)
5. ✅ Volume > 1.2x average
**What You'll See:**
- **🟢 LONG** label at entry point
- Blue line = Entry price
- Red line = Stop loss
- Green dashed lines = TP1, TP2
- Green solid line = TP3 (final target)
**Dashboard Shows:**
- Entry price
- Stop loss level
- TP1 (40% target by default)
- TP2 (70% target by default)
- TP3 (100% target = 2:1 R:R by default)
### **🔴 SHORT SIGNAL GENERATION**
Signal appears when ALL conditions met:
1. ✅ Market structure is bearish (downtrend)
2. ✅ Bearish order block formed
3. ✅ Price below last swing high
4. ✅ RSI > 35 (not oversold)
5. ✅ Volume > 1.2x average
**What You'll See:**
- **🔴 SHORT** label at entry point
- Blue line = Entry price
- Red line = Stop loss
- Green dashed lines = TP1, TP2
- Green solid line = TP3 (final target)
---
## 📈 **5. TRADING STRATEGY** {#strategy}
### **🎓 THE GOLDEN RULES (FOLLOW THESE!)**
#### **Rule #1: MASTER BIAS IS LAW**
```
IF Dashboard shows "🟢 STRONG BULLISH":
   ✅ Take LONG trades ONLY
   ❌ Ignore all short signals
   
IF Dashboard shows "🔴 STRONG BEARISH":
   ✅ Take SHORT trades ONLY
   ❌ Ignore all long signals
   
IF Dashboard shows "⚪ NEUTRAL":
   ❌ DON'T TRADE
   ⏰ Wait for alignment
```
#### **Rule #2: Trade WITH Higher Timeframes**
- Check all 4 HTFs in dashboard
- Need at least 2-3 HTFs aligned
- More alignment = higher probability
#### **Rule #3: Use Order Blocks for Entry**
- Wait for price to return to unmitigated OB
- Enter when price touches thick-border box
- Best entries = HTF order block + Current TF order block overlap
#### **Rule #4: Confirm with Volume**
- Wait for 💥 volume bubble at entry
- High volume = institutional participation
- No volume = wait for confirmation
#### **Rule #5: Respect Market Structure**
- Don't fight BOS (continuation)
- Be cautious near CHOCH (reversal)
- Wait for structure to stabilize
### **📝 STEP-BY-STEP TRADING PROCESS**
#### **STEP 1: Check Dashboard**
```
1. Look at INSTITUTIONAL BIAS
   - Green = Go long only
   - Red = Go short only
   - Orange/Gray = Stay out
2. Check HTF alignment
   - Count how many HTFs aligned
   - Need 2+ for good trades
   - Need 3+ for best trades
3. Check current trend strength
   - STRONG = good trending moves
   - WEAK = choppy, reduce size
```
#### **STEP 2: Identify Key Zones**
```
1. Mark unmitigated order blocks (thick borders)
2. Note FVG zones (aqua/fuchsia boxes)
3. Watch for accumulation/distribution zones
4. Mark breaker blocks (dotted lines)
```
#### **STEP 3: Wait for Signal**
```
IF Bullish Bias:
   ✅ Wait for price to pull back to:
      - Bullish order block (green box)
      - Bullish FVG (aqua box)
      - Support structure
   
   ✅ Wait for 🟢 LONG signal label
   
   ✅ Confirm with:
      - Volume bubble (💥)
      - BOS label (continuation)
      - No bearish divergence
IF Bearish Bias:
   ✅ Wait for price to rally to:
      - Bearish order block (red box)
      - Bearish FVG (fuchsia box)
      - Resistance structure
   
   ✅ Wait for 🔴 SHORT signal label
   
   ✅ Confirm with:
      - Volume bubble (💥)
      - BOS label (continuation)
      - No bullish divergence
```
#### **STEP 4: Execute Trade**
```
1. Enter at signal (🟢 LONG or 🔴 SHORT label)
2. Set stop loss at red line
3. Set take profits:
   - TP1 at first dashed green line (40%)
   - TP2 at second dashed green line (70%)
   - TP3 at solid green line (100%)
4. Trail stop loss after TP1 hit
```
#### **STEP 5: Manage Trade**
```
1. Move SL to breakeven after TP1 hit
2. Take partial profits at each TP level
3. Let remaining position run to TP3
4. Exit immediately if:
   - Dashboard bias changes
   - CHOCH appears (trend reversal)
   - Manipulation label appears
```
### **💎 ADVANCED STRATEGIES**
#### **Strategy 1: Order Block Retest**
```
1. Wait for strong move (BOS)
2. Wait for pullback to unmitigated OB
3. Enter when price touches OB + signal appears
4. SL below OB (longs) or above OB (shorts)
5. Target next OB or swing point
```
#### **Strategy 2: FVG Fill**
```
1. Identify large FVG (aqua/fuchsia box)
2. Wait for price to return to FVG
3. Enter when price enters FVG + signal appears
4. SL beyond FVG
5. Target 50-100% FVG fill
```
#### **Strategy 3: Accumulation Breakout**
```
1. Wait for ACCUMULATION box to form
2. Wait for price to break out with volume
3. Enter on retest of breakout level
4. SL inside accumulation zone
5. Target measured move (height of box)
```
#### **Strategy 4: Manipulation Fade**
```
1. Wait for ⚠️ MANIPULATION label
2. Wait for price to reverse (wick rejection)
3. Enter opposite direction with signal
4. SL beyond manipulation wick
5. Target previous swing point
```
#### **Strategy 5: Divergence Reversal**
```
1. Wait for 🔼 BULL DIV or 🔽 BEAR DIV
2. Confirm with CHOCH (structure break)
3. Enter on OB retest after divergence
4. SL beyond divergence low/high
5. Target opposite side structure
```
---
## ⚙️ **6. SETTINGS CUSTOMIZATION** {#settings}
### **📦 ORDER BLOCKS**
```
🟢 Show IDM Order Blocks: ON/OFF
   - Toggle immediate timeframe order blocks
   - Customize colors (default: green/red 85% transparency)
🔷 Show EXT Order Blocks: ON/OFF
   - Toggle higher timeframe order blocks
   - Customize colors (default: blue/orange 90% transparency)
⚡ Show Breaker Blocks: ON/OFF
   - Toggle failed order blocks
🎯 Highlight Unmitigated OBs: ON/OFF
   - Makes untested blocks thicker (RECOMMENDED: ON)
→ Extend Order Blocks: ON/OFF
   - Extends boxes to the right
Max OBs to Display: 1-50
   - How many order blocks to show (default: 10)
```
### **📊 FAIR VALUE GAPS**
```
Show Fair Value Gaps: ON/OFF
Show Inverted FVGs: ON/OFF
Bullish FVG Color: Customize (default: aqua)
Bearish FVG Color: Customize (default: fuchsia)
Min FVG Size %: 0.01+
   - Minimum gap size to display (default: 0.1%)
```
### **📈 MARKET STRUCTURE**
```
Show Market Structure: ON/OFF
   - Swing highs/lows triangles
Mark BOS: ON/OFF
   - Break of Structure labels
Mark CHOCH: ON/OFF
   - Change of Character labels
Swing Detection Length: 3-50
   - Sensitivity (default: 10)
   - Lower = more swings
   - Higher = major swings only
Label Size: tiny/small/normal
   - Size of structure labels
```
### **🎯 SMART MONEY ZONES**
```
Show Accumulation Zones: ON/OFF
Show Distribution Zones: ON/OFF
Show Manipulation Zones: ON/OFF
Accumulation Detection Period: 10+
   - Lookback period (default: 20)
Manipulation Wick Threshold: 1.0+
   - Wick size multiplier (default: 1.5)
```
### **📊 VOLUME ANALYSIS**
```
Show Volume Analysis: ON/OFF
Show High Volume Bubbles: ON/OFF
Volume Threshold: 1.0+
   - Multiplier for high volume (default: 2.0)
   - 2.0 = 2x average volume
Volume MA Period: 5+
   - Moving average length (default: 20)
```
### **⚠️ DIVERGENCES**
```
Show Divergences: ON/OFF
RSI Length: 5+
   - RSI calculation period (default: 14)
Divergence Lookback: 3-20
   - How far back to check (default: 5)
```
### **📋 DASHBOARD**
```
Show Main Dashboard: ON/OFF
   - Toggle entire dashboard
Dashboard Position: 9 options
   - top_left, top_center, top_right
   - middle_left, middle_center, middle_right
   - bottom_left, bottom_center, bottom_right
Show HTF Analysis: ON/OFF
   - Toggle higher timeframe section
HTF 1: Any timeframe (default: 15)
HTF 2: Any timeframe (default: 60)
HTF 3: Any timeframe (default: 240)
HTF 4: Any timeframe (default: D)
```
### **🎯 TRADE SIGNALS**
```
Show Trade Signals: ON/OFF
   - Toggle 🟢 LONG / 🔴 SHORT labels
Show Entry/SL/TP Levels: ON/OFF
   - Toggle horizontal lines
Risk:Reward Ratio: 1.0+
   - TP3 distance (default: 2.0 = 2:1 R:R)
TP1 % of Total Target: 10-100%
   - First target (default: 40%)
TP2 % of Total Target: 10-100%
   - Second target (default: 70%)
```
---
## 💡 **7. REAL TRADING EXAMPLES** {#examples}
### **📊 EXAMPLE 1: Perfect Long Setup**
```
SCENARIO: Bitcoin 5-minute chart
Dashboard shows:
✅ 🟢 STRONG BULLISH
✅ HTF1 (15m): UP - STRONG
✅ HTF2 (1H): UP - STRONG  
✅ HTF3 (4H): UP - MEDIUM
✅ HTF4 (D): UP - STRONG
✅ Current TF: UP - STRONG
✅ Market Structure: BULLISH
✅ Volume: HIGH 💥
What happened:
1. Price pulled back to green order block (unmitigated)
2. 🟢 LONG signal appeared at $67,500
3. Volume bubble (💥 2.8x) confirmed entry
4. BOS label appeared (continuation)
Entry: $67,500
SL: $67,200 (below OB)
TP1: $67,800 (40%) ✅ Hit
TP2: $68,000 (70%) ✅ Hit
TP3: $68,300 (100%) ✅ Hit
Result: +1.2% profit, 2:1 R:R
```
### **📊 EXAMPLE 2: Perfect Short Setup**
```
SCENARIO: Ethereum 15-minute chart
Dashboard shows:
✅ 🔴 STRONG BEARISH
✅ HTF1 (15m): DOWN - STRONG
✅ HTF2 (1H): DOWN - MEDIUM
✅ HTF3 (4H): DOWN - STRONG
✅ HTF4 (D): DOWN - STRONG
✅ Current TF: DOWN - STRONG
✅ Market Structure: BEARISH
✅ Volume: HIGH 💥
What happened:
1. Price rallied to red order block (unmitigated)
2. 🔴 SHORT signal appeared at $3,520
3. Volume bubble (💥 3.1x) confirmed entry
4. BOS label appeared (bearish continuation)
5. 🔽 BEAR DIV appeared (extra confirmation)
Entry: $3,520
SL: $3,560 (above OB)
TP1: $3,496 (40%) ✅ Hit
TP2: $3,476 (70%) ✅ Hit
TP3: $3,440 (100%) ✅ Hit
Result: +2.3% profit, 2:1 R:R
```
### **📊 EXAMPLE 3: Avoided Bad Trade**
```
SCENARIO: SPY stock 1-hour chart
Dashboard shows:
❌ ⚪ NEUTRAL
❌ HTF1 (15m): UP
❌ HTF2 (1H): DOWN
❌ HTF3 (4H): SIDE
❌ HTF4 (D): UP
❌ Background: Light orange (danger)
What happened:
1. 🟢 LONG signal appeared at $450
2. BUT dashboard showed NEUTRAL
3. Warning: "⚠️ WAIT FOR CLEAR DIRECTION"
4. Ignored signal (followed rules)
5. Price dropped -1.5% shortly after
Result: Avoided -1.5% loss
Key lesson: Trust the dashboard over individual signals!
```
### **📊 EXAMPLE 4: FVG Retest Trade**
```
SCENARIO: Gold futures 30-minute chart
Dashboard shows:
✅ 🟢 BULLISH (2 HTFs aligned)
✅ Current TF: UP - MEDIUM
✅ Large aqua FVG box below price
What happened:
1. Price created large FVG gap
2. Price pulled back into FVG zone
3. 🟢 LONG signal at FVG midpoint $2,045
4. Volume bubble (💥 2.3x) at entry
5. FVG turned yellow (inverted = filled)
Entry: $2,045
SL: $2,040 (below FVG)
TP1: $2,053 (40%) ✅ Hit
TP2: $2,058 (70%) ✅ Hit
TP3: $2,065 (100%) ✅ Hit
Result: +1.0% profit
```
### **📊 EXAMPLE 5: Manipulation Fade**
```
SCENARIO: EUR/USD forex 5-minute chart
Dashboard shows:
✅ 🔴 BEARISH
✅ Current TF: DOWN - STRONG
What happened:
1. Price had large bullish wick
2. ⚠️ MANIPULATION label appeared
3. High volume at wick (stop hunt)
4. Price reversed quickly
5. 🔴 SHORT signal at 1.0895
Entry: 1.0895
SL: 1.0910 (above manipulation wick)
TP1: 1.0880 (40%) ✅ Hit
TP2: 1.0872 (70%) ✅ Hit
TP3: 1.0865 (100%) ✅ Hit
Result: +0.28% profit (30 pips)
```
---
## ⚠️ **8. COMMON MISTAKES TO AVOID**
### **❌ Mistake #1: Trading Against Dashboard**
```
WRONG: Dashboard shows 🔴 BEARISH, but you take a long
CORRECT: Only take shorts when bearish, only longs when bullish
```
### **❌ Mistake #2: Ignoring Higher Timeframes**
```
WRONG: Current 5m looks good, ignored that 1H/4H/D are opposite
CORRECT: Check all HTFs before entry, need 2+ aligned
```
### **❌ Mistake #3: Trading in Neutral Zones**
```
WRONG: Taking trades when dashboard shows ⚪ NEUTRAL
CORRECT: Wait for clear bias (green or red), skip mixed signals
```
### **❌ Mistake #4: No Volume Confirmation**
```
WRONG: Entering without 💥 volume bubble
CORRECT: Wait for high volume institutional participation
```
### **❌ Mistake #5: Ignoring Market Structure**
```
WRONG: Longing into strong bearish structure
CORRECT: Wait for CHOCH (structure change) before reversing
```
### **❌ Mistake #6: Over-Trading**
```
WRONG: Taking every signal that appears
CORRECT: Wait for best setups with all confirmations aligned
```
### **❌ Mistake #7: Moving Stop Loss**
```
WRONG: Moving SL farther away when trade goes against you
CORRECT: Respect original SL, let it hit if wrong
```
### **❌ Mistake #8: Not Taking Partial Profits**
```
WRONG: Holding full position hoping for TP3
CORRECT: Scale out at TP1 (40%), TP2 (70%), let TP3 run
```
---
## 🎯 **9. QUICK REFERENCE CHECKLIST**
### **✅ BEFORE TAKING ANY TRADE:**
```
□ Dashboard shows clear bias (🟢 or 🔴, NOT ⚪)
□ At least 2-3 HTFs aligned with trade direction
□ Current timeframe trend matches trade direction
□ Trend strength is MEDIUM or STRONG (not WEAK)
□ Signal label appeared (🟢 LONG or 🔴 SHORT)
□ Price at key level (OB, FVG, or structure)
□ Volume bubble (💥) confirms entry
□ No opposing divergence signal
□ No opposing CHOCH (reversal warning)
□ Clear entry, SL, and TP levels visible
□ Risk:Reward is favorable (2:1 minimum)
□ Position size calculated (risk max 1-2% account)
```
### **✅ DURING THE TRADE:**
```
□ Monitor dashboard for bias change
□ Watch for CHOCH (could signal reversal)
□ Look for manipulation labels (⚠️)
□ Take partial profits at each TP level
□ Move SL to breakeven after TP1 hit
□ Trail stop using order blocks
□ Exit if dashboard bias changes color
```
### **✅ AFTER THE TRADE:**
```
□ Journal the trade (setup, result, lessons)
□ Review what worked and what didn't
□ Check if you followed all rules
□ Adjust settings if needed
□ Wait for next quality setup
```
---
## 🎓 **10. PRO TIPS**
1. **Best Timeframes**: 
   - Scalping: 1m, 5m
   - Day trading: 5m, 15m
   - Swing trading: 1H, 4H
   - Position trading: D, W
2. **Best Markets**:
   - Crypto (BTC, ETH) = Very responsive
   - Forex majors = Clean structure
   - Stock indices (SPY, NQ) = Good volume
   - Individual stocks = Works best on liquid names
3. **Best Times to Trade**:
   - Crypto: 24/7 (best during US/EU hours)
   - Forex: London/NY overlap (8am-12pm EST)
   - Stocks: First 2 hours + last hour of session
4. **Risk Management**:
   - Never risk more than 1-2% per trade
   - Use proper position sizing
   - Always set stop loss BEFORE entry
   - Take profits at planned levels
5. **Optimization**:
   - Start with default settings
   - Adjust HTFs based on your trading style
   - Experiment with swing length for your market
   - Tune volume threshold for your asset
---
## 🆘 **11. TROUBLESHOOTING**
### **Problem: No signals appearing**
**Solution:**
- Check if "Show Trade Signals" is enabled
- Verify market has sufficient volatility
- Try lower timeframe (5m instead of 1H)
- Check if conditions are met (volume, structure, RSI)
### **Problem: Too many order blocks**
**Solution:**
- Reduce "Max OBs to Display" (try 5-8)
- Disable "Show EXT Order Blocks"
- Increase swing length to filter minor ones
### **Problem: Dashboard not showing**
**Solution:**
- Enable "Show Main Dashboard"
- Change dashboard position
- Refresh chart
- Check chart has enough data loaded
### **Problem: Signals opposite to dashboard**
**Solution:**
- **Always trust the dashboard over individual signals!**
- This is working as intended - ignore conflicting signals
- Dashboard prevents wrong-direction trades
### **Problem: Too much clutter on chart**
**Solution:**
- Disable FVGs if not using them
- Disable breaker blocks
- Reduce max order blocks
- Hide volume bubbles
- Disable divergences
- Keep only what you actively trade
---
## 🎯 **12. FINAL WORDS**
This indicator is designed to keep you on the RIGHT SIDE of institutional money. The #1 rule is:
> **"When in doubt, follow the dashboard. It's designed to prevent you from trading drunk, stoned, or just plain wrong!"**
### **Your Trading Mantra:**
```
🟢 GREEN DASHBOARD = ONLY LONGS
🔴 RED DASHBOARD = ONLY SHORTS  
⚪ NEUTRAL/ORANGE = NO TRADES
Follow this, and you'll stay aligned with smart money!
Remember:
Quality > Quantity
Patience is profitable
The best trade is often no trade
Protect your capital first
Let winners run, cut losers fast
📞 NEED HELP?
If you have questions:
Review this tutorial section by section
Practice on demo account first
Start with larger timeframes (easier to read)
Paper trade until consistently profitable
Start small when going live
Good luck, and trade smart! 🚀📈
MACD 3P共振
 
 三周期 MACD 同時金/死叉,且遠離零軸 N% 股價才進場。  
 小周期給訊號 + ATR 止損,RR 止盈。  
 可關中/大周期,靈活抓短線或波段。  
 圖表標 L/S + SL/TP 線,一目了然。
   
 
 Triple-timeframe MACD cross + far from zero = entry.  
 ATR stop, RR profit. Toggle mid/big TF.  
 Shows L/S + SL/TP lines.  
 Clean. Sharp. Works.
ab 3 candle setup range This script identifies a 3-candle range breakout pattern. It looks for two consecutive inside candles following a base candle and triggers a buy or sell signal when price breaks the base candle’s high or low, confirming bullish or bearish momentum.
EMA Dual  Clouds
EMA Clouds - Enhanced Version
Description
This indicator provides a sophisticated dual-cloud exponential moving average system with extensive customization options and intelligent crossover detection. Building upon the classic EMA cloud concept, this enhanced version offers complete control over two independent cloud pairs (fast and slow), each with adjustable EMA periods, individual line toggles, custom colors, and automated crossover signals with dynamic labels. Unlike basic EMA overlays, this tool creates visual zones between moving average pairs that change color based on trend direction, making it easy to identify bullish and bearish conditions at a glance while providing flexibility to adapt to any trading style or timeframe.
Advanced Feature: By setting the same EMA period for Cloud 1's second EMA and Cloud 2's first EMA, you can create a unified three-EMA cloud system (e.g., 8/21/50), where both clouds share a middle EMA, creating layered zones that provide graduated trend strength visualization.
How It Works
The indicator calculates four exponential moving averages and creates two distinct "clouds" by filling the space between EMA pairs. Each cloud serves a different purpose:
Cloud 1 (Fast Cloud) - Default 8/21 EMAs:
Uses shorter-period EMAs for quick trend identification
Changes color when the fast EMA crosses the slow EMA
Ideal for entry signals and short-term trend confirmation
Bullish when fast EMA > slow EMA (default: lime cloud)
Bearish when fast EMA < slow EMA (default: teal cloud)
Cloud 2 (Slow Cloud) - Default 34/50 EMAs:
Uses longer-period EMAs for overall trend direction
Provides broader market context and trend confirmation
Better for filtering false signals and identifying major trends
Bullish when fast EMA > slow EMA (default: aqua cloud)
Bearish when fast EMA < slow EMA (default: blue cloud)
Three-EMA Cloud Configuration:
You can configure the indicator to create a three-level EMA system by setting EMA 2 and EMA 3 to the same period. For example:
EMA 1: 8
EMA 2: 21
EMA 3: 21 (same as EMA 2)
EMA 4: 50
This creates:
Cloud 1: Between 8 and 21 (short-term trend)
Cloud 2: Between 21 and 50 (medium-term trend)
Both clouds share the middle EMA (21), creating a layered visual effect that shows:
Innermost cloud (8-21): Immediate price action relative to short-term trend
Outer cloud (21-50): Broader trend context
When both clouds are the same color = strong trend
When clouds are different colors = transitional phase
Crossover Signal System:
When the fast EMA crosses above or below the slow EMA within each cloud pair, the indicator:
Plots a triangle marker (up for bullish, down for bearish)
Displays a label showing the EMA periods used (e.g., "8/21")
Triggers an alert condition (if configured)
Uses percentage-based vertical offset to position labels away from price action
Original Features & Methodology
What Makes This Script Unique:
Dual independent cloud systems that can be toggled, customized, and analyzed separately
Flexible three-EMA configuration by sharing a middle EMA between both clouds
Individual control over each of the four EMA lines (show/hide each independently)
Separate color customization for bullish and bearish states of each cloud
Smart label system with percentage-based vertical offset that adapts to any price scale
Independent signal toggles for each cloud (control crossover signals separately)
Complete color palette control for both cloud fills and crossover signal labels
Dynamic alert messages that include the actual EMA periods being monitored
Technical Implementation:
EMAs calculated using Pine Script's built-in ta.ema() function for accuracy
Cloud fills use the fill() function with conditional coloring based on EMA relationship
Crossover detection uses ta.crossover() and ta.crossunder() for precise signal timing
Label positioning uses percentage-based offset from high/low for consistent placement across instruments
All settings organized into logical groups for intuitive navigation
No repainting - all signals confirmed on bar close
EMA Cloud Interpretation:
The thickness of each cloud represents the "strength" of the trend:
Thick clouds = EMAs are far apart = strong trending conditions
Thin clouds = EMAs are close together = weak trend or potential reversal
Cloud color change = Trend direction shift = potential entry/exit point
Key Features
🔹 Dual Cloud System: Two independent EMA cloud pairs for multi-timeframe analysis
🔹 Three-EMA Mode: Share middle EMA between clouds for layered visualization
🔹 Complete Customization: Adjust all four EMA periods to match your trading strategy
🔹 Individual EMA Toggles: Show/hide each of the four EMA lines independently
🔹 Custom Line Colors: Define unique colors for each EMA line
🔹 Cloud Color Control: Separate bullish and bearish colors for each cloud
🔹 Line Width Settings: Adjust EMA line thickness for each cloud pair
🔹 Crossover Signals: Triangle markers at all EMA crossover points
🔹 Smart Signal Labels: Display EMA periods with adjustable vertical offset
🔹 Independent Signal Control: Toggle crossover signals for each cloud separately
🔹 Full Label Customization: Control size, colors, and text colors for bullish/bearish labels
🔹 Built-in Alerts: Alert conditions for all four crossover types
🔹 Organized Settings: All inputs grouped logically for easy configuration
Input Parameters Explained
Cloud 1 (Fast) Settings
Show Cloud 1: Toggle the fast cloud fill on/off
EMA 1 Length: Period for first EMA (default: 8)
EMA 2 Length: Period for second EMA (default: 21) - Set equal to EMA 3 for three-EMA mode
Show EMA Lines: Individual toggles for each line
EMA Colors: Custom color for each line
Line Width: Thickness from 1-5 pixels (default: 2)
Bullish Cloud Color: Fill color when EMA 1 > EMA 2 (default: lime with 60% transparency)
Bearish Cloud Color: Fill color when EMA 1 < EMA 2 (default: teal with 60% transparency)
Cloud 2 (Slow) Settings
Show Cloud 2: Toggle the slow cloud fill on/off
EMA 3 Length: Period for third EMA (default: 34) - Set equal to EMA 2 for three-EMA mode
EMA 4 Length: Period for fourth EMA (default: 50)
Show EMA Lines: Individual toggles for each line
EMA Colors: Custom color for each line
Line Width: Thickness from 1-5 pixels (default: 2)
Bullish Cloud Color: Fill color when EMA 3 > EMA 4 (default: aqua with 60% transparency)
Bearish Cloud Color: Fill color when EMA 3 < EMA 4 (default: blue with 60% transparency)
Crossover Signal Settings
Show Crossover Signals: Master toggle for all crossover markers
Show Cloud 1 Crossover Signals: Toggle fast cloud signals
Show Cloud 2 Crossover Signals: Toggle slow cloud signals
Cloud 1 Signal Label Settings
Show Cloud 1 Labels: Display period labels on Cloud 1 crossovers
Cloud 1 Label Size: Choose from Tiny to Huge
Cloud 1 Label Vertical Offset: Distance from price bars as percentage (0.15% default)
Bullish Label Color: Background color for bullish crossover labels (default: green)
Bullish Text Color: Text color for bullish labels (default: white)
Bearish Label Color: Background color for bearish crossover labels (default: red)
Bearish Text Color: Text color for bearish labels (default: white)
Cloud 2 Signal Label Settings
Show Cloud 2 Labels: Display period labels on Cloud 2 crossovers
Cloud 2 Label Size: Choose from Tiny to Huge
Cloud 2 Label Vertical Offset: Distance from price bars as percentage (0.15% default)
Bullish Label Color: Background color for bullish crossover labels (default: lime)
Bullish Text Color: Text color for bullish labels (default: white)
Bearish Label Color: Background color for bearish crossover labels (default: maroon)
Bearish Text Color: Text color for bearish labels (default: white)
How to Use This Indicator
Basic Setup:
Add the indicator to your chart - both clouds will appear with default settings
Cloud 1 (8/21) shows fast trend changes in lime/teal
Cloud 2 (34/50) shows broader trend in aqua/blue
Triangle markers appear when EMAs cross
Three-EMA Cloud Setup:
Set EMA 2 Length to your middle period (e.g., 21)
Set EMA 3 Length to the same value (e.g., 21)
Now you have: EMA 1 (8) - Cloud 1 - EMA 2/3 (21) - Cloud 2 - EMA 4 (50)
This creates layered zones: inner cloud for short-term, outer cloud for medium-term
Optionally hide EMA 2 or EMA 3 line to show only one shared middle line
Reading the Clouds:
Both clouds same color = Strong trend confirmation (both timeframes aligned)
Clouds opposite colors = Mixed signals or potential reversal zone
Cloud 1 changes first = Early warning of potential trend change
Cloud 2 confirms = Stronger trend change signal
Thick clouds = Strong trending market
Thin clouds = Weak trend, be cautious with entries
Three-EMA Cloud Reading:
Both clouds same color = Price is on correct side of all EMAs (strongest signal)
Inner cloud changes = Short-term trend shift
Outer cloud still intact = Major trend still valid
Both clouds change = Complete trend reversal
Layered visual = Easy to see how far price is from each EMA level
Trading Strategies:
Scalping/Day Trading (Fast Signals):
Use Cloud 1 (8/21) for primary signals
Enter when Cloud 1 changes color
Use Cloud 2 as trend filter (only trade in direction of Cloud 2)
Exit when Cloud 1 changes back or price hits target
Swing Trading (Confirmed Signals):
Wait for both clouds to align (same color)
Enter when Cloud 2 changes color with Cloud 1 confirmation
Hold until Cloud 2 changes back
Use Cloud 1 for position management and partial exits
Trend Following:
Only trade when both clouds are same color
Enter on Cloud 1 crossovers in direction of Cloud 2
Exit only when Cloud 2 changes color
Ignore Cloud 1 signals against Cloud 2 trend
Three-EMA Strategy:
Configure as 8/21/50 (set EMA 2 and EMA 3 both to 21)
Strong entries: Both clouds same color (price beyond all EMAs)
Early exits: Inner cloud changes (take profits)
Stop loss: Outer cloud changes (trend reversal)
Re-entry: Wait for both clouds to realign
Custom Configurations:
Standard Two-Cloud:
Aggressive: 5/13 and 21/34 for faster signals
Balanced: 8/21 and 34/50 (default)
Conservative: 13/34 and 50/100 for stronger confirmation
Ichimoku style: 9/26 and 26/52 for similar methodology
Three-EMA Configurations:
Fast: Set EMAs to 5, 13, 13, 34 (5/13/34 system)
Standard: Set EMAs to 8, 21, 21, 50 (8/21/50 system)
Slow: Set EMAs to 13, 34, 34, 100 (13/34/100 system)
Fibonacci: Set EMAs to 8, 21, 21, 89 (Fibonacci sequence)
Classic: Set EMAs to 10, 20, 20, 50 (round numbers)
Customization Tips:
Hide EMA lines to see only clouds for cleaner charts
In three-EMA mode, hide either EMA 2 or EMA 3 to show only one middle line
Adjust cloud transparency (60% default) if colors are too intense
Use different colors to distinguish multiple chart windows
Increase label offset if labels overlap with price action
Turn off Cloud 1 signals in ranging markets to reduce noise
Use larger label sizes on multi-monitor setups
In three-EMA mode, use contrasting colors for inner and outer clouds
Alert Configuration:
Set up alerts for:
Cloud 1 Bullish Cross - Fast trend up signal
Cloud 1 Bearish Cross - Fast trend down signal
Cloud 2 Bullish Cross - Major trend up confirmation
Cloud 2 Bearish Cross - Major trend down confirmation
Use Cases
Intraday Trading:
Quick trend identification with Cloud 1
Major trend filter with Cloud 2
Clear visual entry/exit zones
Label offset prevents chart clutter on busy timeframes
Three-EMA mode shows graduated support/resistance zones
Swing Trading:
Multi-timeframe trend analysis on single chart
Both clouds must align for high-probability setups
Cloud thickness indicates trend strength
Position management using Cloud 1 signals
Three-EMA setup provides clear profit-taking levels
Trend Following:
Clear visual representation of trend direction
Cloud color = trade direction
Thick clouds = add to positions
Thin clouds = prepare for exit
Three-EMA layers show trend progression
Market Analysis:
Quick assessment of market conditions
Multiple timeframes visible simultaneously
Color-coded for instant interpretation
Works on all asset classes
Three-EMA configuration shows price relationship to multiple timeframe EMAs
Technical Details
Uses standard EMA calculation: ta.ema(source, length)
Crossover detection with no lag: ta.crossover() and ta.crossunder()
Percentage-based label offset works across all price scales
All calculations confirmed on bar close (no repainting)
Compatible with all timeframes and instruments
Efficient code with minimal computation overhead
Works on stocks, forex, crypto, futures, and indices
Three-EMA mode achieved by setting EMA 2 and EMA 3 to same value
Best Practices
Start with default settings and adjust based on your instrument's volatility
Use shorter periods for faster markets, longer for slower markets
Try three-EMA configuration (8/21/50) for clearer trend visualization
Consider higher timeframe clouds as filters for lower timeframe entries
Don't ignore Cloud 2 signals - they're often more reliable
Combine with volume analysis for stronger confirmation
Watch for cloud thickness changes as early warning signals
Use cloud color alignment for highest-probability setups
Adjust transparency if clouds obscure price action
Test different EMA combinations to find what works for your strategy
Set alerts for both clouds to catch all opportunities
In three-EMA mode, treat inner cloud as entry zone and outer cloud as trend filter
This indicator transforms the traditional EMA crossover system into a visual, intuitive tool that makes trend identification effortless while providing the flexibility to adapt to any trading style or market condition. The optional three-EMA configuration adds another dimension of trend analysis by creating layered zones that show price position relative to multiple timeframe perspectives simultaneously.
Connect With Me
📧 Email: contact@savvytraderpro.com
📊 Website: savvytraderpro.com
🐦 X (Twitter): @savvytraderpro
💬 Follow for more indicators, trading strategies, and market insights!
⚠️ Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
AG Pro Dynamic ChannelsAG Pro Dynamic Channels V2  
 Discover a new lens through which to view market structure with the AG Pro Dynamic Channels V2. This advanced indicator moves beyond simple trendlines, automatically identifying, classifying, and drawing eight distinct types of support and resistance channels directly on your chart.
Built on a sophisticated pivot-point detection engine, this script intelligently distinguishes between Major and Minor price structures, as well as Internal and External channels. This provides a comprehensive and multi-dimensional map of the market's flow, helping you identify trend continuations, corrections, and potential reversals.
The indicator is complete with a powerful, fully customizable alert system designed to notify you of the two most critical events: channel breakouts and price reactions.
 Key Features 
 
 Fully Automatic Channels:  The script automatically analyzes price action to find pivot highs and lows, using them to construct relevant channels without any manual drawing required.
 8-Channel Classification:  Gain deep market insight by viewing eight distinct channel types:
  Major External (Up/Down)
  Major Internal (Up/Down)
  Minor External (Up/Down)
  Minor Internal (Up/Down)
 Advanced Pivot Engine:  The core logic classifies pivots into categories like Higher Highs (MHH/mHH), Lower Lows (MLL/mLL), Higher Lows (MHL/mHL), and Lower Highs (MLH/mLH) to determine the precise start and end points for each channel.
 Deep Customization:  Take full control of your chart's appearance. You can individually toggle the visibility, color, line style (solid, dashed, dotted), and line width for all eight channel types.
 Chart Clarity:  A "Delete Previous" option is available for each channel type, allowing you to keep your chart clean and focused on only the most current and relevant market structures.
 
 Comprehensive Alert System 
Never miss a key price interaction. The AG Pro Dynamic Channels V2 features a robust, built-in alert module.
 
 Dual-Alert Conditions:  Get notifications for two distinct events:
 Break Alert: Triggers when price confirms a close outside of a channel, signaling a potential breakout.
 React Alert: Triggers when price touches or interacts with a channel line before closing back inside, signaling a test or rejection.
 16 Unique Alerts:  You have full control to enable or disable "Break" and "React" alerts for all 8 channel types individually, giving you 16 unique alert conditions to monitor.
 Professional Alert Messages:  The embedded alert sender provides detailed messages that include the asset, timeframe, and the specific event, such as "Break Major External Up Channel" or "React Minor Internal Down Channel".
 Alert Configuration:  Easily set your global Alert Name, Message Frequency (e.g., Once Per Bar, Once Per Bar Close), and Alert Time Zone from the script's settings.
 
 How to Use 
 
 Trend Identification:  Use the Major External Channels (drawn from MHH and MLL pivots) to identify the primary, long-term trend direction.
 Pullback & Entry Zones:  Use the Internal Channels (drawn from MHL and MLH pivots) to spot corrections and potential entry zones within an established trend.
 Breakout Trading:  Set Break Alerts on Major channels to be notified of significant, structure-shifting moves.
 Short-Term & Counter-Trend:  Utilize the Minor Channels to identify shorter-term price swings and potential reversal points.
Gold $25 line + CDCGold Trading CDC + option line
trading with ema to see trendline + Option strike price
FML - Fisher Money LineThis TradingView indicator, called "FML - Fisher Money Line" (shortened to "FML" on charts), is a custom tool designed mainly for Bitcoin (BTC) trading. It overlays on your price chart to help spot trends, potential buy/sell points, and key price levels. Think of it as a smart channel that adapts to market volatility, combined with extra signals and visuals to make trading decisions easier. It's built for simplicity but has lots of customizable settings.
Key Features in Simple Terms
 Money Line and Bands: 
The core is a smooth "Money Line" (yellow, green, or red line) that's a trend-following average of recent prices (using linear regression over 16 bars by default).
Around it are upper and lower bands based on ATR (a measure of volatility). These bands widen during big price swings to avoid false signals. The bands shade in color: green for bullish trends (upward slope), red for bearish (downward), and yellow for neutral (flat).
 Trend Detection: 
The line color shows the trend: Green means bull (buy-friendly), red means bear (sell-friendly), yellow means sideways (wait and see).
It uses a smoothed slope calculation to avoid jittery changes.
 Buy/Sell Signals: 
Powered by the Fisher Transform (a momentum oscillator over 10 bars by default), it spots overbought/oversold conditions.
Green "Buy" labels appear when price crosses out of oversold (below -2.5 level).
Red "Sell" labels when it crosses out of overbought (above 2.5 level).
These are long-only signals (buys open positions, sells close them).
 Info Panel: 
A table or label showing real-time values: Money Line price, Upper/Lower Bands, ATR, and current Trend (Bull/Bear/Neutral).
You can position it on the chart and toggle between fixed (stays put) or anchored (moves with panning).
 Scoring Bar: 
A row of small squares at the bottom of the chart, colored green (bullish), red (bearish), or yellow (neutral).
It combines RSI (overbought/oversold), MACD (momentum), and DMI (trend direction) into a simple score (-3 to +3). Positive = bull, negative = bear.
 Fibonacci Table: 
A fixed table on the middle-right showing Fib levels (0, 0.236, 0.382, 0.5, 0.618, 0.65, 0.786, 1).
Levels are calculated between a low (Fib 0) and high (Fib 1), defaulting to the Money Line's lower/upper bands.
You can input custom highs/lows in settings. Table is inverted (1 at top, 0 at bottom), with blue for 0/1, purple for 0.5, gray for others.
 Alerts: 
Triggers for trend changes (e.g., "Trend changed to Bull") or price crossing bands.
 Customizations: 
Adjust lengths, multipliers, colors, and toggles for bands, shades, labels, etc.
Dynamic band expansion during volatility spikes.
 Tips on Usage 
Adding to Chart: Search for "FML - Fisher Money Line" in TradingView's Indicators menu and add it to your BTC chart (works best on BTCUSD or BTCUSDT pairs, any timeframe like 1h or daily).
Interpreting Signals: Look for buy labels in green trends (bullish) near the lower band for pullbacks. Sell in red trends near upper band. Use the scoring bar as confirmation—green squares support buys, red for sells. Ignore in yellow/neutral for choppy markets.
 Customization Tips: 
Tweak "Money Line Length" (default 16) for smoother (longer) or sensitive (shorter) trends.
Increase "ATR Multiplier" (default 1.5) for wider bands to filter noise in volatile BTC.
For Fib table, input custom highs/lows (e.g., recent swing points) in settings; otherwise, it uses bands for dynamic levels.
Disable "Show Shaded Bands" if the chart feels cluttered.
This indicator simplifies trend spotting and entry/exit points for BTC, making it user-friendly for beginners while flexible for pros. If you adjust settings, test on a demo chart first!
FTI - AlertFlow Trend Index (FTI) – Alert 
Flow Trend Index (FTI) – Analytica (+ Alert) combines momentum, trend, and volatility into a data-driven analytical view—displayed directly on your chart and candlesticks. It builds on FTI-Core by revealing the numerical values behind each visual element, turning market flow into measurable insight. 
 FTI-Alert then adds configurable automation, notifying you in real time when the market enters overbought or oversold conditions. 
Analytica shows how strongly the market is moving (flow), where its adaptive baseline lies (trend), and how far price has stretched from equilibrium (volatility).
This deeper layer helps analysts interpret when the market is gaining strength, losing momentum, or shifting direction, and especially when conditions are overbought or oversold.
 • Smoothed RSI (Heikin-Ashi Powered) 
────────────
Transforms RSI into color-coded candles with visible RSI values.
Heikin-Ashi smoothing filters noise, exposing authentic momentum and exhaustion levels.
-See and measure momentum simultaneously.
 • McGinley Dynamic Line
 
────────────
Adaptive moving average that adjusts speed to market volatility.
In Analytica, you can view the exact McGinley value and Δ % distance from price, providing a real-time sense of stretch or compression.
→ Quantifies rhythm between trend and pause.
 • FIBB Cloud (Fibonacci ATR Bands) 
────────────
• Analytical Enhancements
────────────
RSI Number Overlay on each candle (live values)
Analytical Table showing RSI · McGinley · Δ % vs McGinley
Custom Advanced RSI Ranges for precise zone control
Adjustable themes, text size, and line style
See it. Measure it. Understand it.
In short:
FTI-Analytica merges visual flow and analytical depth.
It reveals the true numerical forces behind each move —
FTI – Analytica shows the true numerical information behind each Data point.
No signals or alerts are generated — the indicator is intended solely for visualization, study, and educational purposes.
© Zyro Trades. All rights reserved.
Zyro™ and FTI™ are unregistered trademarks of Zyro Trades.
RRG Sector Snapshot RRG Sector Snapshot · Clear UI — User Guide 
What this indicator does
Purpose: Visualize sector rotation by comparing each sector’s Relative Strength (RS-Ratio) and RS-Momentum versus a benchmark (e.g., VNINDEX).
Output: A quadrant map (table overlay) that positions each sector into one of four regimes:
LEADING (top-right): Strong and accelerating — leadership zone.
WEAKENING (bottom-right): Strong but decelerating — may be topping or consolidating.
LAGGING (bottom-left): Weak and decelerating — avoid unless mean-reverting.
IMPROVING (top-left): Weak but accelerating — candidates for next rotation into leadership.
How it works (under the hood)
X-axis (Strength): RS-Ratio = Sector Close / Benchmark Close, then normalized with a Z-Score over a lookback (normLen).
Y-axis (Momentum): Linear-regression slope of RS-Ratio over rsLen, then normalized with a Z-Score (normLen).
Mapping to grid: Both axes are Z-Scores scaled to a square grid (rrgSize × rrgSize) using a zoom factor (rrgScale). The center is neutral (0,0). Momentum increases upward (Y=0 is the top row in the table).
Quick start (3 minutes)
Add to chart:
TradingView → Pine Editor → paste the script → Save → Add to chart.
Set a benchmark: In inputs, choose Benchmark (X axis) — default INDEX:VNINDEX. Use VN30 or another index if it better reflects your universe.
Load sectors: Fill S1..S10 with sector or index symbols you track (up to 10). Set Slots to Use to the number you actually use.
Adjust view:
rrgSize (grid cells): 18–24 is a good starting point.
rrgScale (zoom): 2.5–3.5 typically; decrease to “zoom out” (points cluster near center), increase to “zoom in” (points spread to edges).
Read the map:
Prioritize sectors in LEADING; shortlist sectors in IMPROVING (could rotate into LEADING).
WEAKENING often marks late-cycle strength; LAGGING is typically avoid.
Inputs — what they do and how to change them
General
Analysis TF: Timeframe used to compute RRG (can be different from chart’s TF). Daily for swing, 1H/4H for tactical rotation, Weekly for macro view.
Benchmark (X axis): The index used for RS baseline (e.g., INDEX:VNINDEX, INDEX:VN30, major ETFs, or a custom composite).
RRG Calculation
RS Lookback (rsLen): Bars used for slope of RS (momentum).
Daily: 30–60 (default 40)
Intraday (1H/4H): 20–40
Weekly: 26–52
Normalization Lookback (Z-Score) (normLen): Window for Z-Score on both axes.
Daily: 80–120 (default 100)
Intraday: 40–80
Weekly: 52–104
Tip: Shorter lookbacks = more responsive but noisier; longer = smoother but slower.
RRG HUD (Table)
Show RRG Snapshot (rrgEnable): Toggle the table on/off.
Position (rrgPos): top_right | top_left | bottom_right | bottom_left.
Grid Size (Cells) (rrgSize): Table dimensions (N×N). Larger = more resolution but takes more space.
Z-Scale (Zoom) (rrgScale): Maps Z-Scores to the grid.
Smaller (2.0–2.5): Zoom out (more points near center).
Larger (3.5–4.0): Zoom in (emphasize outliers).
Appearance
Tag length (tagLen): Characters per sector tag. Use 4–6 for clarity.
Text size (textSizeOp): Tiny | Small | Normal | Large. Use Large for presentation screens or dense lists.
Axis thickness (axisThick): 1 = thin axis; 2 = thicker double-strip axis.
Quadrant alpha (bgAlpha): Transparency of quadrant backgrounds. 80–90 makes text pop.
Sectors (Max 10)
Slots to Use (sectorSlots): How many sector slots are active (≤10).
S1..S10: Each slot is a symbol (index, sector index, or ETF). Replace defaults to fit your market/universe.
How to interpret the map
Quadrants:
Leading (top-right): Relative strength above average and improving — trend-follow candidates.
Weakening (bottom-right): Still strong but momentum cooling — watch for distribution or pauses.
Lagging (bottom-left): Underperforming and still losing momentum — avoid unless doing mean-reversion.
Improving (top-left): Early recovery — candidates to transition into Leading if the move persists.
Overlapping sectors in one cell: The indicator shows “TAG +n” where TAG is the first tag, +n is the number of additional sectors sharing that cell. If many overlap:
Increase rrgSize, or
Decrease rrgScale to zoom out, or
Reduce Slots to Use to a smaller selection.
Suggested workflows
Daily swing
Benchmark: VNINDEX or VN30
rsLen 40–60, normLen 100–120, rrgSize 18–24, rrgScale 2.5–3.5
Routine:
Identify Leading sectors (top-right).
Spot Improving sectors near the midline moving toward top-right.
Confirm with price/volume/breakout on sector charts or top components.
Intraday (1H/4H) tactical
rsLen 20–40, normLen 60–100, rrgScale 2.0–3.0
Expect faster rotations and more noise; tighten filters with your own entry rules.
Weekly (macro rotation)
rsLen 26–52, normLen 52–104, rrgScale 3.0–4.0
Great for portfolio tilts and sector allocation.
Tuning tips
If everything clusters near center: Increase rrgScale (zoom in) or reduce normLen (more contrast).
If points are too spread: Decrease rrgScale (zoom out) or increase normLen (smoother normalization).
If the table is too big/small: Change rrgSize (cells).
If tags are hard to read: Increase textSizeOp to Large, tagLen to 5–6, and consider bgAlpha ~80–85.
Troubleshooting
No table on chart:
Ensure Show RRG Snapshot is enabled.
Change Position to a different corner.
Reduce Grid Size if the table exceeds the chart area.
Many sectors “missing”:
They’re likely overlapping in the same cell; the cell will show “TAG +n”.
Increase rrgSize, decrease rrgScale, or reduce Slots to Use.
Early bars show nothing:
You need enough data for rsLen and normLen. Scroll back or reduce lookbacks temporarily.
Best practices
Use RRG for context and rotation scouting, then confirm with your execution tools (trend structure, breakouts, volume, risk metrics).
Benchmark selection matters. If most of your watchlist tracks VN30, use INDEX:VN30 as the benchmark to get a truer relative read.
Revisit settings per timeframe. Intraday needs more responsiveness (shorter lookbacks, smaller Z-Scale); weekly needs stability (longer lookbacks, larger Z-Scale).
FAQ
Can I use ETFs or custom indices as sectors? Yes. Any symbol supported by TradingView works.
Can I track individual stocks instead of sectors? Yes (up to 10); just replace the S1..S10 symbols.
Why Z-Score? It standardizes each axis to “how unusual” the value is versus its own history — more robust than raw ratios across different scales.
 [ i] 
How to Set Up (Your Market Template) 
This is the most important part for customizing the indicator to any market.
Step 1: Choose Your TF & Benchmark
Open the indicator's Settings.
Analysis TF: Set the timeframe you want to analyze (e.g., D for medium-term, W for long-term).
Benchmark (Trục X): This is the index you want to compare against.
Vietnamese Market: Leave the default INDEX:VNINDEX.
US Market: Change to SP:SPX or NASDAQ:NDX.
Crypto Market: Change to TOTAL (entire market cap) or BTC.D (Bitcoin Dominance).
Step 2: Input Your "Universe" (The 10 Slots)
This is where you decide what to track. You have 10 slots (S1 to S10).
For Vietnamese Sectors (Default):
Leave the default sector codes like INDEX:VNFINLEAD (Finance), INDEX:VNREAL (Real Estate), INDEX:VNIND (Industry), etc.
Template for Crypto "Sectors":
S1: BTC.D
S2: ETH.D
S3: TOTAL2 (Altcoin Market Cap)
S4: TOTAL.DEFI (DeFi)
S5: CRYPTOCAP:GAME (GameFi)
...and so on.
Template for Blue Chip Stocks:
Benchmark: INDEX:VN30
S1: HOSE:FPT
S2: HOSE:VCB
S3: HOSE:HPG
S4: HOSE:MWG
...and so on.
Template for Commodities:
Benchmark: TVC:DXY (US Dollar Index)
S1: TVC:GOLD
S2: TVC:USOIL
S3: TVC:SILVER
S4: COMEX:HG1! (Copper)
...and so on.
Step 3: Fine-Tuning
RS Lookback: A larger number (e.g., 100) gives a smoother, long-term view. A smaller number (e.g., 20) is more sensitive to short-term changes.
Z-Scale (Zoom): This is the "magnification" of the map.
If all your sectors are crowded in the middle, increase this number (e.g., 4.0) to "zoom in."
If your sectors are stuck on the edges, decrease this number (e.g., 2.0) to "zoom out."
Tag length: How many letters to display for the ticker (e.g., 4 will show VNFI).
McGinley River Pro (Luis Casal)McGinley River Pro is a volatility-adaptive trend indicator designed to help traders identify market transitions between contraction and expansion phases.
The indicator is built around the McGinley Dynamic line, surrounded by adaptive upper and lower bands forming a “river” that represents market noise.
When price remains inside the river, conditions are typically range-bound or consolidating.
When price breaks outside, it often signals the beginning of a strong directional trend.
A special Squeeze Detection System highlights periods of decreasing volatility — when the river narrows — marking potential setups before expansion moves.
Features:
• Adaptive McGinley Dynamic smoothing
• Volatility-based upper & lower river bands
• Visual trend coloring and bar painting
• Squeeze marker for early range compression detection
• Alerts for trend shifts and river breakouts
Use McGinley River Pro to spot quiet periods before volatility returns and to confirm the strength of developing trends. Works on all assets and timeframes.
Inside Bar ExplosionCategory: Price Action, Volatility Compression, Breakout Detection
🔍 Overview
This indicator detects multi-bar inside candle compressions (“inside bar coils”) and marks powerful breakout moments that follow.
It highlights when volatility contracts inside a large “mother candle” and then suddenly explodes with a bullish or bearish breakout backed by volume confirmation.
⚙️ How It Works
Mother Candle:
Detected when a large candle (range > defined %) appears with above-average volume.
Compression Phase:
Consecutive candles stay completely within the range of that mother candle.
The longer the compression, the tighter the coiling pattern.
Explosion Candle:
A candle breaks above or below the compression range,
Has a large range and a volume spike, confirming breakout direction.
💡 Visual Cues
🟨 Yellow Highlight: Mother Candle
🔵 Blue Zone: Compression (Inside Bar Cluster)
🟢 Green Background: Bullish Explosion
🔴 Red Background: Bearish Explosion
🚀 Label: Bull breakout with days in compression
💥 Label: Bear breakdown with days in compression
⚡ START: Marks final compression candle before breakout
📊 Table (Top Right): Live compression stats (days, range %, volume ratio)
🧠 Parameters
Setting	Description
Minimum Inside Bars	Minimum candles inside the mother candle to qualify as compression.
Maximum Inside Bars	Limit to prevent invalid long compressions.
Mother Candle Min Size (%)	Defines how large a candle must be to be considered a mother candle.
Explosion Candle Min Size (%)	Minimum % range for valid breakout candles.
Volume Spike Multiplier	Required volume increase vs. average for breakout validation.
Show Labels / Box	Toggle visual elements on/off for clarity.
🚨 Alerts
⚡ Compression Start: New coiling phase detected.
🚀 Bull Explosion: Bullish breakout with volume confirmation.
💥 Bear Explosion: Bearish breakdown with volume confirmation.
📈 Use Cases
Identify volatility squeezes before major breakouts.
Detect range-bound periods leading to trend initiation.
Combine with moving averages or RSI for higher confidence setups.
⚠️ Notes
Works best on daily or 4-hour charts.
Works for stocks, crypto, forex, or indices.
Does not repaint — signals are confirmed on bar close.
Hourly High Volume DetectorType: Multi-Timeframe Volume Spike Scanner
This script detects high-volume hourly candles inside each daily bar to highlight potential institutional activity or hidden accumulation days.
It automatically scans the last N days (configurable lookback) and plots a purple dot below daily candles where at least one hourly candle shows:
Volume significantly higher than the hourly average (Volume Multiplier × Avg Hourly Volume)
Positive price movement exceeding the minimum % threshold
🧠 Trend Filter
A built-in 5-day trend check ensures signals are shown only during non-downtrending phases, filtering out noise when the broader trend is weak.
⚙️ Parameters
Lookback Days: How many recent daily bars to scan.
Volume Multiplier: Defines what counts as a high-volume spike.
Min Price Change %: Minimum % gain within the hourly candle to qualify.
Debug Mode: Enables small green/orange markers for internal logic visualization.
🟣 Signals
Purple Dot (Below Candle): Strong hourly accumulation signal within the day.
(Debug) Green Dot: Hourly condition passed.
(Debug) Orange Triangle: Signal suppressed due to downtrend filter.
⚠️ Notes
Must be used on the Daily timeframe (will warn if not).
Ideal for spotting smart money accumulation, pre-breakout setups, or volume-price anomalies hidden in intraday structure.
MMGDF New Style IndicatorMMGDF New Style Indicator 
We’ve introduced a new version of the MMGDF (Multi-Market Gradient Directional Flow) indicator, now featuring a refreshed visual style and improved clarity. The updated design makes it easier to interpret market momentum and directional bias at a glance, with refined gradient transitions and better contrast for both light and dark chart themes.
The new style preserves the core MMGDF logic while improving visual readability and integration with other chart tools. You can switch between the classic and new styles in the indicator settings.
付費
MSB Gold Trend Breakout [TV]: The High-Stability Gold Scalper🏆 MSB Gold Trend Breakout  : The High-Stability Gold Scalper 
This is the official signal for the MSB Pro brand, designed for traders who demand  low-drawdown, consistent performance  on the XAUUSD (Gold) market.
 📈 Verified Performance & Risk Contro l
The strategy's stability has been verified over 1.8 years of historical data.
 
 Max Drawdown (DD): 12.53% (Exceptional capital safety.)
 Total Net Profit (1.8 Yrs): +8.15% (Consistent Growth.)
 Profit Factor: 1.055 (Proven reliability.) 
 
 🛡️ Why Choose This Signal? 
 
 True Risk Control:  The low drawdown is achieved through a strict EMA filtering system, preventing entry into high-volatility, directionless markets. 
 Breakout Logic:  Uses high-probability breakout movements confirmed by trend alignment (EMA Cross and Trend Filter). 
 No Martingale/Grid:  This is a safe, single-order strategy.
 
 👑 Upgrade to Full License 
This signal is priced low to allow you to validate the performance.
 Upgrade to the full license ($499) to get: 
 
 Lifetime Updates & Future Strategy: Guaranteed access to all future professional upgrades of the MSB Pro Dynamic Risk strategy (V2.0, V3.0, etc.) at no extra cost.
 
 Significant Savings: Purchasing the full license is significantly cheaper than continuous renting.
NSR Dynamic Channel - HTF + ReversionNSR Dynamic Channel  – HTF Volatility + Reversion 
 (Beginner-friendly, pro-grade, non-repainting) 
The  NSR Dynamic Channel  builds an adaptive volatility envelope that compares current price action to a statistically-derived “expected” range pulled from a user-selected higher timeframe (HTF).
 Is this just another keltner variation? 
 In short: Keltner reacts. NSR anticipates. 
Keltner says “price moved a lot.”
NSR says “this move is abnormal compared to the last 2 days on a higher timeframe — and here’s the probability it snaps back.”
The channel is  not  a simple multiple of recent ATR or standard deviation; instead it:
 
 Samples HTF volatility  over a rolling window (default: last 2 days on the chosen HTF).
 
 Expected Range
 HTF Volatility Spread  = StDev of 1-bar ATR on the HTF
 
 
 Scales this HTF range  to the current chart’s volatility using a  compression ratio :
 compRatio = SMA(High-Low over lookback) / Expected Range 
This makes the channel  tighten in low-vol regimes  and  widen in high-vol regimes .
 Centers the channel  on a composite mean ( AVGMEAN ) calculated from:
 
 Smoothed Adaptive Averages of the current timeframe close
 SMA of close over the user-defined lookback ( Slow )
 
The three means are averaged to reduce lag and noise.
 Draws two layers :
 
 HTF Expected Channel  (gray fill) = PAMEAN ± expectedD
 Dynamic Expected Band  (inner gray) = HTF Expected Range
 
 Adds a fast 2σ envelope  around AVGMEAN using the standard deviation of close over the lookback period.
 
 Core Calculations (Conceptual Overview) 
 
 HTF Baseline  → ATR on user HTF → SMA & StDev over a defined number of days
 Compression Ratio  → Normalizes current range to HTF “normal” volatility
 Expected Band Width  →  Expected Range × CompressionRatio 
 Bias Detection  → % change of composite mean over 2 bars → “bullish” / “bearish” filter
 Overextension %  → Position of price within the expected band (0–100%)
 
 How to Use It (3 Steps) 
 
 Apply to any chart  – defaults work on futures (NQ/ES), stocks (SPY), crypto (BTC), forex, etc.
 
 Price is outside  both  the fast 2σ envelope  and  the HTF-scaled expected band
 Expect some sort of reversion 
 
 Enable alerts  – two built-in conditions:
 
 NSR Exit Long – bullish bias + high crosses upper expected edge
 NSR Exit Short – bearish bias + low crosses lower expected edge
 
 
 Optional toggles :
 
 Show 2σ Price Range → fast overextension lines
 Expected Channel → HTF-based gray fill
 Mean →  MEAN centerline
 
 Why It Works 
 
 Context-aware : Uses HTF “normal” volatility as anchor
 Adaptive : Shrinks in consolidation, expands in breakouts
 Filtered signals : Only triggers when  both statistical layers agree 
 Non-repainting : All calculations use confirmed bars
 
 Happy trading! 
 nsrgroup
SJ WaveTrendWaveTrend Indicator – Full English Brief for TradingView
Description:
The WaveTrend Oscillator (WT) is a momentum-based indicator originally developed by LazyBear, designed to identify overbought and oversold market conditions with high precision. It is conceptually similar to the RSI and Stochastic Oscillator but uses a wave-based mathematical approach to detect turning points in price action earlier and more smoothly.
⸻
🔍 How It Works
WaveTrend analyzes the difference between price and its moving average (typically the exponential moving average of the Typical Price).
It then applies multiple layers of smoothing to filter out noise and produce two oscillating lines — WT1 (fast) and WT2 (slow).
The crossing points between WT1 and WT2 are used to identify momentum shifts:
	•	When WT1 crosses above WT2 from below the oversold zone → Bullish signal
	•	When WT1 crosses below WT2 from above the overbought zone → Bearish signal
⸻
⚙️ Core Formula Concept
The WaveTrend calculation typically follows this process:
	1.	Compute the Typical Price (TP) = (High + Low + Close) / 3
	2.	Calculate the Exponential Moving Average (EMA) of TP over a short length
	3.	Determine the Raw Wave (ESA) and De-trended Price Oscillator (DPO)
	4.	Apply double smoothing to produce the final WT1 and WT2 values
These smoothed waves behave like energy waves that expand and contract based on market volatility — hence the name WaveTrend.
⸻
📈 Interpretation
	•	Overbought Zone: WT values above +60 to +70
	•	Oversold Zone: WT values below -60 to -70
	•	Crossovers: WT1 crossing WT2 signals a potential trend reversal
	•	Divergence: When price makes a new high/low but WT does not, it signals momentum weakening
⸻
🧠 Trading Insights
	•	Best used on higher timeframes (H1 and above) for trend confirmation, and on lower timeframes (M15–M30) for precise entries.
	•	Combine with ADX, EMA Cloud, or Volume Filters to confirm real momentum shifts and avoid false signals.
	•	You can highlight WT Diff (WT1 - WT2) to visualize momentum expansion and contraction; large positive or negative differences often precede strong reversals.
Core [SurgeGuru]This script provides institutional-grade, multi-factor market analysis in a unified toolkit. Its true sophistication lies in its ability to reveal the critical interplay—the "dance"—between its core components, offering a profound view of market structure, momentum, and trend health that goes far beyond standard indicators.
Core Differentiators
Reveals the Core Trend "Dance":
The script masterfully visualizes the critical interaction between three foundational elements:
Ichimoku (Tenkan Sen & Kijun Sen): The leading actors defining momentum and equilibrium.
Bollinger Middle Band (BBM): The dynamic stage of support/resistance.
This interaction provides an institutional-grade read on trend integrity:
Strong Trend: A clean, bullish alignment with the Tenkan Sen leading, the Kijun Sen following, and the BBM acting as firm support confirms a powerful, unified move.
Trend Break Warning: The BBM moving between the Tenkan and Kijun signals convergence and compression, a critical alert of weakening momentum and a potential reversal.
Multi-Timeframe Momentum Confirmation:
This core trend analysis is fortified with a layered momentum gauge, providing a robust, institutional-style confirmation system:
Proprietary RSI-Based Bands across weekly, daily, and intraday frames.
Stochastic Channels (Sto12/Sto50) for additional context on price position.
Strategic Filters for Swing & Position Traders:
For higher-timeframe analysis, it delivers essential quantitative tools:
AnEMA29 Angle: Objectively quantifies trend strength and direction.
PDMDR (DMI Ratio): Measures directional dominance to filter low-conviction markets.
Integrated Cross-Asset Intelligence:
Completing the institutional perspective is a Correlation & Hedging Assistant, contextualizing price action against peers and identifying strategic opportunities based on RSI divergences.
Conclusion
This is not a mere collection of indicators; it is a consolidated analytical workstation. It captures the nuanced "dance" of the core trend triad, layers on multi-timeframe momentum confirmation, and provides strategic filters for timing and cross-asset context. This holistic, institutional-grade approach delivers a definitive and actionable market narrative.
@ICHIMOKU
@insomniac_vampire
Candle Breakout StrategyShort description (one-liner)
Candle Breakout Strategy — identifies a user-specified candle (UTC time), draws its high/low range, then enters on breakouts with configurable stop-loss, take-profit (via Risk:Reward) and optional alerts.
Full description (ready-to-paste)
Candle Breakout Strategy
Version 1.0 — Strategy script (Pine v5)
Overview
The Candle Breakout Strategy automatically captures a single "range candle" at a user-specified UTC time, draws its high/low as a visible box and dashed level lines, and waits for a breakout. When price closes above the range high it enters a Long; when price closes below the range low it enters a Short. Stop-loss is placed at the opposite range boundary and take-profit is calculated with a user-configurable Risk:Reward multiplier. Alerts for entries can be enabled.
This strategy is intended for breakout style trading where a clearly defined intraday range is established at a fixed time. It is simple, transparent and easy to adapt to multiple symbols and timeframes.
How it works (step-by-step)
On every bar the script checks the current UTC time.
When the first bar that matches the configured Target Hour:Target Minute (UTC) appears, the script records that candle’s high and low. This defines the breakout range.
A box and dashed lines are drawn on the chart to display the range and extended to the right while the range is active.
The script then waits for price to close outside the box:
Close > Range High → Long entry
Close < Range Low → Short entry
When an entry triggers:
Stop-loss = opposite range boundary (range low for longs, range high for shorts).
Take-profit = entry ± (risk × Risk:Reward). Risk is computed as the distance between entry price and stop-loss.
After entry the range becomes inactive (waitingForBreakout = false) until the next configured target time.
Inputs / Parameters
Target Hour (UTC) — the hour (0–23) in UTC when the range candle is detected.
Target Minute — minute (0–59) of the target candle.
Risk:Reward Ratio — multiplier for computing take profit from risk (0.5–10). Example: 2 means TP = entry + 2×risk.
Enable Alerts — turn on/off entry alerts (string message sent once per bar when an entry occurs).
Show Last Box Only (internal behavior) — when enabled the previous box is deleted at the next range creation so only the most recent range is visible (default behavior in the script).
Visuals & On-chart Info
A semi-transparent blue box shows the recorded range and extends to the right while active.
Dashed horizontal lines mark the range high and low.
On-chart shapes: green triangle below bar for Long signals, red triangle above bar for Short signals.
An information table (top-right) displays:
Target Time (UTC)
Active Range (Yes / No)
Range High
Range Low
Risk:Reward
Alerts
If Enable Alerts is on, the script sends an alert with the following formats when an entry occurs:
Long alert:
🟢 LONG SIGNAL
Entry Price: 
Stop Loss: 
Take Profit: 
Short alert:
🔴 SHORT SIGNAL
Entry Price: 
Stop Loss: 
Take Profit: 
Use TradingView's alert dialog to create alerts based on the script — select the script’s alert condition or use the alert() messages.
Recommended usage & tips
Timeframe: This strategy works on any timeframe but the definition of "candle at target time" depends on the chart timeframe. For intraday breakout styles, use 1m — 60m charts depending on the session you want to capture.
Target Time: Choose a time that is meaningful for the instrument (e.g., market open, economic release, session overlap). All times are handled in UTC.
Position Sizing: The script’s example uses strategy.percent_of_equity with 100% default — change default_qty_value or strategy settings to suit your risk management.
Filtering: Consider combining this breakout with trend filters (EMA, ADX, etc.) to reduce false breakouts.
Backtesting: Always backtest over a sufficiently large and recent sample. Pay attention to slippage and commission settings in TradingView’s strategy tester.
Known behavior & limitations
The script registers the breakout on close outside the recorded range. If you prefer intrabar breakout rules (e.g., high/low breach without close), you must adjust the condition accordingly.
The recorded range is taken from a single candle at the exact configured UTC time. If there are missing bars or the chart timeframe doesn't align, the intended candle may differ — choose the target time and chart timeframe consistently.
Only a single active position is allowed at a time (the script checks strategy.position_size == 0 before entries).
Example setups
EURUSD (Forex): Target Time 07:00 UTC — captures London open range.
Nifty / Index: Target Time 09:15 UTC — captures local session open range.
Crypto: Target Time 00:00 UTC — captures daily reset candle for breakout.
Risk disclaimer
This script is educational and provided as-is. Past performance is not indicative of future results. Use proper risk management, test on historical data, and consider slippage and commissions. Do not trade real capital without sufficient testing.
Change log
v1.0 — Initial release: range capture, box and level drawing, long/short entry by close breakout, SL at opposite boundary, TP via Risk:Reward, alerts, info table.
If you want, I can also:
Provide a short README version (2–3 lines) for the TradingView “Short description” field.
Add a couple of suggested alert templates for the TradingView alert dialog (if you want alerts that include variable placeholders).
Convert the disclaimer into multiple language versions.






















