Clean Industry DataClean Industry Data – Overview
Clean Industry Data is a utility tool designed to give traders an instant, structured view of key fundamental and volatility metrics directly on the chart. The script displays a compact, customizable information panel containing:
Industry & Sector
Market Cap and Free-Float Market Cap
Free-Float Percentage
Average Daily Rupee Volume
Relative Volume (R.Vol) based on daily volume
% from 10 / 21 / 50 EMAs (calculated on daily closes)
ADR (14-day) with threshold-based indicators
ATR (current timeframe) with colour-coded risk cues
All volume-based statistics are anchored to daily data, ensuring the values remain consistent across all timeframes. The display table supports flexible positioning, custom background/text colours, and adjustable text size.
This script is ideal for traders who want a quick, accurate snapshot of a stock’s liquidity, volatility, and broader classification — without digging through multiple menus or external sources.
移动平均线
6/20 EMA Crossover MarksPuts a green arrow or red arrow at the bottom of the chart when the 6 period EMA crosses above (or below) the 20 period EMA.
In settings you can move the arrow marks to be at the bar etc.
This is a simplified way to see moving average convergence/divergence crossovers.
EMA 9/20/50/100/200This script plots the five most commonly used Exponential Moving Averages (EMAs): 9, 20, 50, 100, and 200. These EMAs help traders quickly identify short-term momentum, medium-term trends, and long-term market direction.
It is useful for:
Trend identification
Momentum confirmation
Pullback entries
Reversal detection
Multi-timeframe confluence trading
What’s Included
EMA 9 → short-term momentum
EMA 20 → near-term trend guide
EMA 50 → medium-term trend
EMA 100 → broad trend structure
EMA 200 → long-term direction
Each EMA is color-coded for clarity, making it easy to read and visually track trend shifts.
How to Use
When shorter EMAs cross above longer EMAs → bullish trend strengthening
When shorter EMAs cross below longer EMAs → bearish trend strengthening
Wide spacing between EMAs indicates a strong trend
Compression or clustering often signals potential reversals or breakout conditions
This indicator is simple, clean, and effective for all timeframes and asset classes.
Shock Wave EMA Ribbon with adjustable time period9 ema and 21 ema script, with background plot. All colors, and settings toggle on and off. Simple but effective. This one has selectable time periods so the ribbon can stay fixed on your desired time scale.
AlphaRank MA Lens – Multi-Timeframe Moving Average MapAlphaRank MA Lens – Multi-Timeframe Moving Average Map
AlphaRank MA Lens is a clean, open-source moving-average overlay that turns price action into an easy-to-read trend map. It focuses on structure and context only — no signals, no backtest, no hype — just a clear view of where price sits relative to key moving averages.
The script plots the 10 / 20 / 50 / 100 / 150 / 200 / 730 moving averages with full color control and a single “MA Type” switch, so you can flip the whole stack between SMA and EMA in one click. Instead of loading multiple separate MA indicators, this puts the full trend stack in one tool.
An optional background highlight lets you choose a reference MA (for example the 200 MA) and softly shade the chart:
Green when price is above that MA
Red when price is below it
This makes trend regime changes easy to see at a glance.
How traders typically use it (education only):
10/20/50 MAs → short-term trend and momentum.
100/150/200/730 MAs → bigger structural trend and “where price lives” in the long-term range.
Many traders consider conditions healthier when price and the short MAs are stacked above the longer MAs, and weaker when price trades below them.
Follow my work: AlphaRank
This script is for educational and analytical purposes only and does not provide trading advice or performance promises. Always combine it with your own judgment, testing, and risk management.
Mark Minervini SEPA - Balanced
📊 MARK MINERVINI SEPA BALANCED - COMPLETE USER GUIDE
🚀 WHAT IS THIS INDICATOR?
This is a professional swing trading indicator based on Mark Minervini's famous
Trend Template strategy. It automatically identifies high-probability setups where:
✅ Long-term trend is BULLISH (confirmed by moving averages)
✅ Stock is OUTPERFORMING the market (relative strength improving)
✅ Price is CONSOLIDATING (forming a base for breakout)
✅ Volume is CONFIRMING (volume spike on breakout)
Result: CLEAR BUY SIGNALS when everything aligns! 🎯
🎨 WHAT YOU SEE ON YOUR CHART
1️⃣ FOUR MOVING AVERAGE LINES:
🟠 Orange Line (MA 20) = Short-term trend
🔵 Blue Line (MA 50) = Intermediate trend
🟢 Green Line (MA 150) = Long-term trend
🔴 Red Line (MA 200) = Very long-term trend
IDEAL: All lines stacked in order (Orange > Blue > Green > Red)
2️⃣ BACKGROUND COLOR:
🟢 GREEN background = Trend template is VALID (bullish setup ready)
🔴 RED background = Trend template is BROKEN (avoid trading)
3️⃣ DASHBOARD PANEL (Top-Right):
Real-time checklist showing:
✓ 6 core trend template rules
✓ Relative strength status
✓ VCP base quality
✓ Stage classification (S1/S2/S3/S4)
✓ Volume breakout status
4️⃣ VCP BASE BOXES (Blue Rectangles):
Shows where consolidation is happening
This is your potential entry zone
5️⃣ BUY SIGNAL LABEL (Green Text Below Candle):
Green "BUY" label appears when ALL criteria are met
This is your strongest entry signal
6️⃣ STOP LOSS LINE (Red Dashed Line):
Shows your stop loss level (base low)
📖 HOW TO USE - STEP BY STEP
STEP 1: ADD INDICATOR TO CHART
────────────────────────────────
1. Open TradingView chart
2. Click "Indicators" (top toolbar)
3. Search "Minervini SEPA Balanced"
4. Click to add to your chart
5. Use DAILY (1D) timeframe for swing trading
STEP 2: CHECK THE DASHBOARD (Top-Right Panel)
1. Look at all the checkmarks
2. Count how many are GREEN (✓)
3. Check Stage column - is it showing S2 or S1?
STEP 3: LOOK FOR SETUP PATTERNS
─────────────────────────────────
Ideal setup shows:
✓ Dashboard: 10+ criteria are GREEN
✓ Stage: S2 (green) or S1 (orange)
✓ Blue VCP box visible on chart (base forming)
✓ Moving averages aligned (50 > 150 > 200)
✓ Price above all moving averages
✓ Background is GREEN
STEP 4: WAIT FOR ENTRY SIGNAL
──────────────────────────────
Option A: BUY SIGNAL label appears
→ Green "BUY" label = ALL criteria met
→ ENTER at market price immediately
Option B: Setup looks good but no BUY label yet
→ Wait for price to break above blue VCP box
→ Volume should spike (1.3x or higher)
→ Then enter at breakout
STEP 5: PLACE YOUR TRADE
────────────────────────
📍 ENTRY: At breakout from VCP base
📍 STOP LOSS: Base low (red dashed line)
📍 TARGET: 20-30% move (typical Minervini target)
📍 HOLDING TIME: 2-4 weeks
🎯 BALANCED VERSION - WHY IT'S BETTER FOR INDIAN STOCKS
Volume Multiplier: 1.3x (NOT 1.5x)
→ Original was too strict for Indian market
→ 1.3x is realistic and catches good breakouts
→ Results: 5-10 signals per stock per year (tradeable!)
Trend Template: Core 6 rules (NOT all 8)
→ Focuses on the most important rules
→ Still maintains quality, but more flexible
→ Works better with Indian stock behavior
Stage Allowed: S1 OR S2 (NOT just S2)
→ Catches earlier moves
→ Allows you to enter sooner
→ But maintains quality with other criteria
📊 DASHBOARD INDICATORS - WHAT EACH MEANS
TREND SECTION (Core 6 Rules):
─────────────────────────────
P>200 ✓ = Price above 200-day MA (long-term uptrend)
150>200 ✓ = MA150 above MA200 (MA alignment)
200↑ ✓ = MA200 trending up (uptrend accelerating)
50>150 ✓ = MA50 above MA150 (intermediate uptrend)
50>200 ✓ = MA50 above MA200 (overall alignment)
P>50 ✓ = Price above MA50 (pullback level intact)
RS STRENGTH SECTION:
───────────────────
RS↑ ✓ = Stock outperforming NIFTY index
✗ = Stock underperforming NIFTY (avoid)
VCP BASE SECTION:
────────────────
In Base ✓ = Consolidation zone detected
✗ = No consolidation yet
Vol Dry ✓ = Volume drying up (base tightening)
✗ = Normal volume (consolidation weak)
ENTRY SECTION:
──────────────
Stage S2 = GREEN (best for swing trading)
S1 = ORANGE (acceptable, early entry)
S3 = RED (avoid - distribution phase)
S4 = RED (avoid - downtrend)
Vol Brk ✓ = Volume confirmed breakout (1.3x+ average)
✗ = Weak volume (breakout likely to fail)
❌ WHEN NOT TO TRADE
SKIP if ANY of these are true:
❌ Background is RED (trend template broken)
❌ Stage is S3 or S4 (distribution or downtrend)
❌ Vol Brk is RED (volume not confirming)
❌ RS↑ is ORANGE/RED (stock underperforming market)
❌ Blue box is NOT visible (no base forming)
❌ Base is very loose/messy (not tight enough)
❌ Moving averages are not aligned
❌ Less than 8 GREEN criteria on dashboard
⚙️ CUSTOMIZATION GUIDE
Click ⚙️ gear icon next to indicator name to adjust settings:
VOLUME MULTIPLIER (Default: 1.3)
────────────────────────────────
Current: 1.3x = BALANCED for Indian stocks ✅
Change to 1.2x = MORE signals (more false breakouts)
Change to 1.4x = FEWER signals (very selective)
Change to 1.5x = ORIGINAL (too strict, rarely triggers)
RS BENCHMARK (Default: NSE:NIFTY)
─────────────────────────────────
Current: NSE:NIFTY = Large-cap stocks
Change to NSE:NIFTY500 = Mid-cap stocks
Change to NSE:NIFTYNXT50 = Small-cap stocks
MINIMUM BASE DAYS (Default: 20)
───────────────────────────────
Current: 20 days = 4 weeks consolidation ✅
Change to 15 = Shorter bases (more frequent signals)
Change to 25 = Longer bases (higher quality)
ATR% FOR TIGHTNESS (Default: 1.5)
──────────────────────────────────
Current: 1.5% = BALANCED ✅
Change to 1.0% = ONLY very tight bases
Change to 2.0% = Loose bases accepted
📈 REAL TRADING EXAMPLE
SCENARIO: Trading RELIANCE over 4 weeks
WEEK 1: Base Starts Forming
────────────────────────────
- Price consolidating around ₹1,500
- Dashboard: 5/14 criteria green
- Action: MONITOR (not ready yet)
WEEK 2: Base Tightens
─────────────────────
- Price still ₹1,500 (no movement)
- VCP box appearing on chart
- Dashboard: 8/14 criteria green
- Vol Dry: ✓ (volume shrinking - good!)
- Action: MONITOR (almost ready)
WEEK 3: Perfect Setup Formed
──────────────────────────────
- Base still ₹1,500
- Dashboard: 12/14 criteria GREEN ✓✓✓
- Stage: S2 ✓
- Blue box tight and clean
- Action: WAIT FOR BREAKOUT
WEEK 4: Breakout Happens!
──────────────────────────
- Price closes at ₹1,550 (breakout!)
- Volume: 1.6x average (exceeds 1.3x requirement)
- Dashboard: BUY SIGNAL ✓ (all criteria met)
- Action: ENTER TRADE
Entry: ₹1,550
Stop: ₹1,480 (base low)
Target: ₹1,850 (20% move)
RESULT: +19.4% profit in 2 weeks! ✅
💡 PRO TIPS FOR BEST RESULTS
1. USE DAILY (1D) CHARTS ONLY
Weekly charts = Fewer signals, slower moves
Daily charts = Best for swing trading ✅
Intraday charts = Too many false signals
2. SCAN MULTIPLE STOCKS
Don't just watch 1 stock
Scan 50-100 stocks daily
More stocks = More opportunities
3. WAIT FOR PERFECT ALIGNMENT
Don't enter on 8/14 criteria
Wait for 12+/14 criteria
This increases win rate significantly
4. VOLUME IS CRITICAL
Always check Vol Brk column
No volume = Likely to fail
1.3x+ volume = Good breakout
5. COMBINE WITH YOUR OWN ANALYSIS
Indicator gives technical signals
You add your own fundamental view
Strong fundamental + technical = Best trade
6. BACKTEST ON HISTORICAL DATA
Use TradingView Replay feature
Go back 6-12 months
See how many signals appeared
Verify which were profitable
7. KEEP A TRADING JOURNAL
Track entry, exit, profit/loss
Note what worked and what didn't
Continuous improvement!
⚠️ IMPORTANT DISCLAIMERS
✓ This indicator is for educational purposes only
✓ Past performance does not guarantee future results
✓ Always use proper risk management (position sizing, stop loss)
✓ Never risk more than 2% of your account on one trade
✓ Backtest thoroughly before using with real money
✓ The indicator provides technical signals, not investment advice
✓ Losses can occur - trade at your own risk
🎯 QUICK START CHECKLIST
Before entering ANY trade, verify:
□ Dashboard shows mostly GREEN (10+ criteria)
□ Stage = S2 (green) or S1 (orange)
□ Blue VCP box visible on chart
□ Price just broke above the box
□ Volume is high (1.3x+ average, Vol Brk = ✓)
□ Moving averages aligned (50 > 150 > 200)
□ RS is uptrending (RS↑ = ✓)
□ BUY SIGNAL label appeared (optional but strong confirmation)
ALL CHECKED? → READY TO BUY! 🚀
📞 FOR HELP & SUPPORT
Questions about the indicator?
→ Check the dashboard - each criterion has a specific meaning
→ Review this guide - answers most common questions
→ Backtest on historical data using TradingView Replay
→ Start with paper trading (no real money) first
🎓 LEARNING RESOURCES
To understand Mark Minervini's method better:
→ Read: "Trade Like a Stock Market Wizard" by Mark Minervini
→ Watch: TradingView educational videos on trend templates
→ Practice: Backtest this indicator on 6-12 months of historical data
→ Learn: Study successful traders who use similar strategies
GOOD LUCK WITH YOUR TRADING! 🚀📈
May your trends be bullish and your breakouts be explosive! 🎯
Moving Average Exponential 21 & 55 CloudTake the trade after price goes into the cloud and comes back.
VCP Base Detector
📊 VCP BASE DETECTOR - AUTO-DETECT CONSOLIDATION ZONES
🎯 WHAT IS THIS INDICATOR?
This indicator automatically detects and marks ALL consolidation bases (VCP bases) on your chart. It:
✅ Auto-detects when price enters consolidation
✅ Measures base tightness (volatility contraction)
✅ Tracks base duration (how long consolidating)
✅ Rates base quality (1-5 stars)
✅ Shows volume drying confirmation
✅ Detects base breakouts
✅ Shows progression of multiple bases (VCP pattern)
Use this WITH the "Mark Minervini SEPA Balanced" indicator for complete trading setups!
✅ Mark Minervini SEPA Balanced = Trend + RS + Stage
✅ VCP Base Detector = Base Quality + Progression
Combined = Complete professional trading system!
🎨 WHAT YOU SEE ON YOUR CHART
1️⃣ COLORED BOXES (Base Zones):
🟦 Aqua Box = ⭐⭐⭐⭐⭐ Excellent base (tightest)
🔵 Blue Box = ⭐⭐⭐⭐ Very good base
🟣 Purple Box = ⭐⭐⭐ Good base
🟠 Orange Box = ⭐⭐ Fair base
⬜ Gray Box = ⭐ Weak base
2️⃣ BASE LABELS (With Metrics):
Shows above each base:
• Duration: 20 days
• Tightness: 0.9%
• Quality: ⭐⭐⭐⭐⭐
3️⃣ BREAKOUT LABELS (When price exits base):
Green "BREAKOUT ✓" label shows:
• Price: ₹800
• Volume: 1.6x
4️⃣ DASHBOARD (Top-Left Panel):
Real-time base metrics showing:
• In Base: YES/NO
• Tightness: 0.8%
• Duration: 22 days
• Range: 3.5%
• Volume: Drying/Normal
• Quality: ⭐⭐⭐⭐
📊 UNDERSTANDING BASE QUALITY (⭐ Rating System)
⭐⭐⭐⭐⭐ (EXCELLENT)
├─ Tightness: < 0.8% ATR
├─ Duration: 15-40 days
├─ Volume: Significantly drying
├─ Price Range: < 5%
└─ Result: Most explosive breakouts (best quality)
⭐⭐⭐⭐ (VERY GOOD)
├─ Tightness: 0.8-1.0% ATR
├─ Duration: 15-35 days
├─ Volume: Very dry
├─ Price Range: < 7%
└─ Result: High probability breakouts
⭐⭐⭐ (GOOD)
├─ Tightness: 1.0-1.3% ATR
├─ Duration: 15-30 days
├─ Volume: Drying
├─ Price Range: < 8%
└─ Result: Decent breakout probability
⭐⭐ (FAIR)
├─ Tightness: 1.3-1.5% ATR
├─ Duration: 15-25 days
├─ Volume: Moderate drying
├─ Price Range: < 10%
└─ Result: Lower quality, riskier
⭐ (WEAK)
├─ Tightness: > 1.5% ATR
├─ Duration: Varies
├─ Volume: Not drying enough
├─ Price Range: > 10%
└─ Result: Low quality, skip these
📈 HOW TO USE - STEP BY STEP
STEP 1: ADD INDICATOR TO CHART
────────────────────────────────
1. Open any stock chart (use 1D timeframe for swing trading)
2. Click "Indicators"
3. Search "VCP Base Detector"
4. Click to add to chart
5. Wait a moment for boxes to appear
STEP 2: SCAN FOR BASES
───────────────────────
Look for:
✓ Colored boxes appearing on chart (bases forming)
✓ Dashboard showing "In Base: YES"
✓ Tightness below 1.5%
✓ Volume Dry: YES
STEP 3: MONITOR BASE QUALITY
──────────────────────────────
Dashboard shows stars:
⭐⭐⭐⭐⭐ = Wait for breakout (best setup)
⭐⭐⭐⭐ = Good quality, watch for breakout
⭐⭐⭐ = Decent, but not ideal
⭐⭐ or ⭐ = Skip (lower probability)
STEP 4: WAIT FOR BREAKOUT
──────────────────────────
When price breaks above the box:
✓ Green "BREAKOUT ✓" label appears
✓ Shows breakout price and volume
✓ If volume shows 1.3x+, breakout is confirmed
✓ This is your entry signal!
STEP 5: CHECK MINERVINI CRITERIA (Use Both Indicators)
───────────────────────────────────────────────────────
Before entering:
✓ VCP Base Detector shows ⭐⭐⭐⭐+ quality base
✓ Mark Minervini indicator shows BUY SIGNAL
✓ Dashboard shows 10+ criteria GREEN
✓ Stage shows S2
Result: HIGH-PROBABILITY SETUP! 🎯
📋 DASHBOARD INDICATORS - WHAT EACH MEANS
BASE METRICS SECTION:
─────────────────────
In Base = ✓ YES or ✗ NO
Show if price is currently consolidating
Tightness = 0-3% (lower = tighter = better)
< 0.8% = ⭐⭐⭐⭐⭐ (excellent)
0.8-1.0% = ⭐⭐⭐⭐ (very good)
1.0-1.3% = ⭐⭐⭐ (good)
1.3-1.5% = ⭐⭐ (fair)
> 1.5% = ⭐ (weak)
Duration = Number of days in consolidation
15 days = ⭐ (too short, weak)
20 days = ⭐⭐⭐ (ideal)
30 days = ⭐⭐⭐⭐ (very long, strong)
> 40 days = ⚠️ (too long, may break down)
Range = % movement within the base
< 5% = ⭐⭐⭐⭐⭐ (excellent, very tight)
5-8% = ⭐⭐⭐ (good)
> 10% = ⭐ (loose, not ideal)
Vol Dry = Volume status during consolidation
✓ YES = Volume contracting (good)
✗ NO = Normal/high volume (weak setup)
QUALITY SECTION:
────────────────
Stars = Overall base quality rating
⭐⭐⭐⭐⭐ = Best quality bases (most explosive)
⭐⭐⭐⭐ = Excellent quality
⭐⭐⭐ = Good quality
⭐⭐ = Fair quality
⭐ = Weak quality (skip)
52W INFO SECTION:
─────────────────
From 52W Hi = How far below 52-week high is price?
< 25% = In sweet zone ✓
> 25% = Too far from highs ✗
From 52W Lo = How far above 52-week low is price?
> 30% = In sweet zone ✓
< 30% = Too close to lows ✗
⚙️ CUSTOMIZATION GUIDE
Click ⚙️ gear icon next to indicator to adjust:
MINIMUM BASE DAYS (Default: 15)
──────────────────────────────
Current: 15 = Include shorter bases
Change to 20 = Longer bases only (higher quality)
Change to 10 = Include very short bases (more frequent)
Why: Longer bases = better breakouts, but fewer opportunities
ATR% TIGHTNESS THRESHOLD (Default: 1.5)
────────────────────────────────────────
Current: 1.5 = BALANCED for Indian stocks
Change to 1.0 = ONLY very tight bases (⭐⭐⭐⭐⭐)
Change to 2.0 = Looser bases included (more frequent)
Why: Lower = tighter bases = better quality, fewer signals
VOLUME DRYING THRESHOLD (Default: 0.7)
──────────────────────────────────────
Current: 0.7 = Volume at 70% of average (good drying)
Change to 0.6 = Stricter (more volume drying required)
Change to 0.8 = Looser (less volume drying required)
Why: Volume drying = consolidation confirmation
52W PERIOD (Default: 252)
─────────────────────────
Current: 252 = Full year lookback
Don't change unless you know what you're doing
📈 REAL TRADING EXAMPLE
SCENARIO: Trading MARUTI over 6 weeks
WEEK 1: Nothing happening
─────────────────────────
- No boxes on chart
- Dashboard: "In Base: NO"
- Action: SKIP (not consolidating)
WEEK 2: Base Starting to Form
─────────────────────────────
- Purple box appears (⭐⭐⭐ quality)
- Dashboard: "In Base: YES"
- Tightness: 1.2%
- Duration: 3 days (too new)
- Action: MONITOR (let it develop)
WEEK 3-4: Base Tightening
──────────────────────────
- Box color changes from Purple → Blue (⭐⭐⭐⭐ quality)
- Dashboard: Duration: 12 days
- Tightness: 0.9%
- Vol Dry: YES
- Action: GET READY (high-quality base forming)
WEEK 4-5: Perfect Base Formed
──────────────────────────────
- Box changes to Aqua (⭐⭐⭐⭐⭐ EXCELLENT!)
- Dashboard: Duration: 22 days ✓
- Tightness: 0.8% ✓
- Vol Dry: YES ✓
- Range: 4.2% ✓
- Action: WATCH FOR BREAKOUT
WEEK 5: BREAKOUT HAPPENS!
──────────────────────────
- Price closes above box
- Green "BREAKOUT ✓" label appears
- Shows: Price ₹850, Volume 1.6x
- Mark Minervini indicator: BUY SIGNAL ✓
- Dashboard all GREEN ✓
- Action: ENTER TRADE
Entry: ₹850
Stop: Box low (₹820)
Target: ₹980 (20% move)
RESULT: +15.3% profit in 2 weeks! ✅
💡 PRO TIPS FOR BEST RESULTS
1. COMBINE WITH MINERVINI INDICATOR
Use BOTH indicators together:
✓ VCP Detector = Base quality
✓ Minervini = Trend + RS + Volume
Result = Best high-probability setups
2. PREFER ⭐⭐⭐⭐+ QUALITY BASES
Don't trade ⭐⭐ or ⭐ quality bases
Only trade ⭐⭐⭐+ (ideally ⭐⭐⭐⭐+)
Higher quality = Higher win rate
3. WAIT FOR VOLUME CONFIRMATION
Base must show "Vol Dry: YES"
Breakout must have 1.3x+ volume
Low volume breakouts fail often
4. USE 1D TIMEFRAME ONLY
This indicator optimized for daily charts
Intraday = Too many false signals
Weekly = Misses good setups
5. MONITOR MULTIPLE BASES (VCP PATTERN)
Multiple bases getting tighter = VCP pattern
Each base should be better quality than last
Tightest base = Biggest breakout
6. COMBINE WITH 52W CONTEXT
Dashboard shows "From 52W Hi" and "From 52W Lo"
Price should be in sweet zone:
< 25% from 52W high (uptrend territory)
> 30% above 52W low (not oversold)
7. BACKTEST FIRST
Use TradingView Replay
Go back 6-12 months
See how many bases appeared
See which were profitable
❌ BASES TO SKIP (Lower Probability)
Skip if:
❌ Quality rating < ⭐⭐⭐ (only 1-2 stars)
❌ Tightness > 1.5% (too loose)
❌ Duration < 10 days (too short, weak)
❌ Duration > 50 days (too long, may break down)
❌ Vol Dry: NO (volume not contracting)
❌ Range > 10% (not tight consolidation)
❌ Price < 30% from 52W low (too weak)
❌ Price > 30% from 52W high (too far up, late entry)
⚠️ IMPORTANT DISCLAIMERS
✓ This indicator is for educational purposes only
✓ Past performance does not guarantee future results
✓ Always use proper risk management (position sizing, stop loss)
✓ Never risk more than 2% of your account on one trade
✓ Base detection is technical analysis, not investment advice
✓ Losses can occur - trade at your own risk
✓ Combine with other indicators for best results
🎓 LEARNING RESOURCES
To understand VCP bases better:
→ Study "Trade Like a Stock Market Wizard" by Mark Minervini
→ Watch: "VCP Pattern" videos on YouTube
→ Practice: Backtest on 1-2 years of historical data
→ Learn: How consolidation precedes breakouts
🚀 YOU'RE READY!
Happy trading! 📈🎯
知行趋势指标【B站 Z哥的黄白线指标】
黄白线指标是由 B站 UP 主 Z哥 总结并分享的一套趋势观察工具。指标以两条核心线——黄线(短周期趋势) 与 白线(长周期趋势) 构成,通过两者之间的相对位置、交叉关系及区域结构,帮助交易者更清晰地判断行情的强弱、趋势方向与潜在转折点。
黄线通常代表短期多空力量的波动,而白线反映更稳定的中期趋势。当黄线向上突破白线时,常视为短期强势启动的信号;反之,当黄线跌破白线时,则可能意味着短线转弱或趋势反转的风险。
该指标适合趋势跟随、顺大逆小的交易逻辑,也可作为交易系统中的辅助判断工具。
The Yellow-White Line Indicator is a trend-analysis tool created and shared by the Bilibili content creator Z-Ge. It is built around two primary lines: the Yellow Line (short-term trend) and the White Line (medium-term trend). By observing the interaction, crossover, and relative position between these two lines, traders can better identify market strength, trend direction, and potential reversal points.
The Yellow Line captures short-term momentum shifts, while the White Line reflects a more stable medium-term trend. When the Yellow Line crosses above the White Line, it often signals improving short-term strength; when it crosses below, it may indicate weakening momentum or a possible trend reversal.
This indicator works well with trend-following systems and can serve as a supplemental confirmation tool in broader trading strategies.
EMA 20The EMA 20 (Exponential Moving Average 20) is a simple trend-following indicator designed to smooth price fluctuations and highlight short-term market direction.
This script plots a 20-period exponential moving average in red, allowing traders to quickly assess whether price is trading above or below the short-term trend.
When price remains above the EMA 20, it often suggests bullish strength; when price falls below it, it may indicate short-term weakness.
This indicator is minimal, clear, and useful as a foundational trend reference in any trading system.
5 DMA Entry Plus5 DMA Entry Plus - Multi-Strategy Entry Signal Indicator
Overview:
The 5 DMA Entry Plus is a versatile entry signal indicator that combines multiple proven technical analysis methods to identify potential buy opportunities. This indicator is designed to be highly customizable, allowing traders to toggle between different entry strategies or combine them for confluence-based entries.
Key Features:
1. Multiple Entry Strategy Options:
Default Close Above Entry: Triggers when price closes above the 5-day moving average (with optional HMA filter)
Green Wick Candle Signal: Identifies bullish candles where the wick pierces above key moving averages, indicating rejection of lower prices
5DMA Zero/Upslope Entry: Generates signals when the 5DMA is flat or sloping upward, confirming momentum
HMA Cross Entry: Triggers when price crosses above the Hull Moving Average, a responsive momentum indicator
2. Adaptive HMA Filter:
Toggle the HMA (Hull Moving Average) filter on or off to adjust signal sensitivity. When enabled, price must be above both the 5DMA and 20 HMA for confirmation. When disabled, only the 5DMA is required, generating more frequent signals.
3. Smart Reset Logic:
The indicator includes intelligent reset functionality that prevents signal spam. Once an entry signal is generated, no new signals appear until price closes below the moving average(s), ensuring clean, actionable entries without clutter.
4. Visual Components:
5-Day Moving Average (Blue Line): The primary trend reference
20-Period Hull Moving Average (Orange Line): Fast-responding momentum filter
Buy Signals (Green Labels): Clear "Buy" labels appear below candles when entry conditions are met
Built-in Alerts: Set up custom alerts to be notified when entry signals trigger
Customizable Inputs:
Use HMA Filter: Enable/disable the 20 HMA confirmation requirement
Include Green Wick Candle Signal: Toggle wick-based entry detection
Use 5DMA Zero/Upslope Entry: Enable slope-based entry logic
Use HMA Cross Entry: Enable HMA crossover signals
HMA Length: Adjust the Hull Moving Average period (default: 20)
Best Use Cases:
Swing trading on daily and 4-hour timeframes
Identifying pullback entries in uptrends
Combining multiple confirmation signals for high-probability setups
Filtering entries in momentum-based strategies
Strategy Flexibility:
This indicator allows you to use each entry method independently or combine multiple methods for confluence. Test different combinations to find what works best for your trading style and the instruments you trade.
Risk Management Note:
This indicator identifies potential entry points but does not provide exit signals or stop-loss levels. Always use proper risk management and combine with your own exit strategy.
Gold AI RSI Monitor [Stacked + KNN]Here is a comprehensive description and user guide for the Gold AI RSI Monitor. You can copy and paste this into the "Description" field if you publish the script on TradingView, or save it for your own reference.
Gold AI RSI Monitor
🚀 Overview
The Gold AI RSI Monitor is a next-generation dashboard designed specifically for trading volatile assets like Gold (XAUUSD). It completely reimagines the traditional RSI by "stacking" 10 different timeframes (from 1-minute to Monthly) into a single, vertical view.
Integrated into this dashboard is a K-Nearest Neighbors (KNN) Machine Learning algorithm. This AI analyzes historical price action to find patterns similar to the current market and predicts the next likely move with a confidence score.
📊 Visual Guide: How to Read the Chart
1. The "Stacked" Lanes Instead of switching timeframes constantly, this indicator displays them all at once using vertical offsets.
Bottom Lane (0-100): 1-Minute RSI
Middle Lanes: 5m, 15m, 30m, 1H, 2H, 4H, Daily
Top Lane (900-1000): Monthly RSI
2. Gradient Color System The RSI lines change color based on momentum strength:
🔴 Red: Oversold / Bearish (Approaching 30 or lower)
🟡 Yellow: Neutral (Around 50)
🟢 Green: Overbought / Bullish (Approaching 70 or higher)
3. Tracker Lines Each timeframe has a dotted horizontal line extending to the right. This allows you to instantly see the exact RSI value for every timeframe without squinting.
🤖 The AI Engine (KNN)
The "AI" component uses a K-Nearest Neighbors algorithm.
Learning: It scans the last 1,000 bars of history.
Matching: It finds the 5 historical moments that look mathematically identical to the current market conditions (based on RSI and Volatility).
Predicting: It checks if price went UP or DOWN after those historical matches.
The Signals:
Buying Signal: If the majority of historical matches resulted in a price increase, the AI triggers a BUY.
Selling Signal: If the majority resulted in a drop, the AI triggers a SELL.
🎯 How to Trade with This Indicator
1. The "Crosshair" Signal
When the AI detects a high-probability setup, a massive Crosshair appears on your chart:
Green Crosshair: Strong BUY signal.
Red Crosshair: Strong SELL signal.
Note: The crosshair consists of a thick vertical line and a dashed horizontal line intersecting at the signal candle.
2. Timeframe Alignment (Confluence)
Do not rely on the AI alone. Look at the stacked RSIs:
Strong Long: The AI shows a Green Crosshair AND the lower timeframes (1m, 5m, 15m) are all turning Green/upward.
Strong Short: The AI shows a Red Crosshair AND the lower timeframes are turning Red/downward.
3. Support & Resistance Zones
Bottom Dotted Line (30): Support. If RSI hits this and turns up, it's a buying opportunity.
Top Dotted Line (70): Resistance. If RSI hits this and turns down, it's a selling opportunity.
⚙️ Settings Guide
RSI Length: Default is 14. Lower (e.g., 7) makes it faster/choppier; higher (e.g., 21) makes it smoother.
Enable AI Signals: Toggles the KNN calculation on/off.
Neighbors (K): How many historical matches to check. Default is 5.
Increase to 9-10 for fewer, more conservative signals.
Decrease to 3 for faster, more aggressive signals.
AI Timeframe: CRITICAL SETTING.
If left empty, the AI calculates based on your current chart.
Recommendation: For Gold scalping, set this to 15m or 1h. This ensures the AI looks at the bigger trend even if you are zooming in on the 1-minute chart.
⚠️ Disclaimer
This tool is for educational and analytical purposes. The "AI" is a statistical probability algorithm based on past performance, which is not indicative of future results. Always manage your risk.
MTF RSI Stacked + AI + Gradient MTF RSI Stacked + AI + Gradient
Quick-start guide & best-practice rules
What the indicator does
Multi-Time-Frame RSI in one pane
• 10 time-frames (1 m → 1 M) are stacked 100 points apart (0, 100, 200 … 900).
• Each RSI is plotted with a smooth red-yellow-green gradient:
– Red = RSI below 30 (oversold)
– Yellow = RSI near 50
– Green = RSI above 70 (overbought)
• Grey 30-70 bands are drawn for every TF so you can see extremities at a glance.
Built-in AI (KNN) signal
• On every close of the chosen AI-time-frame the script:
– Takes the last 14-period RSI + normalised ATR as “features”
– Compares them to the last N bars (default 1 000)
– Votes of the k = 5 closest neighbours → BUY / SELL / NEUTRAL
• Confidence % is shown in the badge (top-right).
• A thick vertical line (green/red) is printed once when the signal flips.
How to read it
• Gradient colour tells you instantly which TFs are overbought/obove sold.
• When all or most gradients are green → broad momentum up; look for shorts only on lower-TF pullbacks.
• When most are red → broad momentum down; favour longs only on lower-TF bounces.
• Use the AI signal as a confluence filter, not a stand-alone entry:
– If AI = BUY and 3+ higher-TF RSIs just crossed > 50 → consider long.
– If AI = SELL and 3+ higher-TF RSIs just crossed < 50 → consider short.
• Divergences: price makes a higher high but 1 h/4 h RSI (gradient) makes a lower high → possible reversal.
Settings you can tweak
AI timeframe – leave empty = same as chart, or pick a higher TF (e.g. “15” or “60”) to slow the signal down.
Training bars – 500-2 000 is the sweet spot; bigger = slower but more stable.
K neighbours – 3-7; lower = more signals, higher = smoother.
RSI length – 14 is standard; 9 gives earlier turns, 21 gives fewer false swings.
Practical trading workflow
Open the symbol on your execution TF (e.g. 5 m).
Set AI timeframe to 3-5× execution TF (e.g. 15 m or 30 m) so the signal survives market noise.
Wait for AI signal to align with gradient extremes on at least one higher TF.
Enter on the first gradient reversal inside the 30-70 band on the execution TF.
Place stop beyond the swing that caused the gradient flip; target next opposing 70/30 level on the same TF or trail with structure.
Colour cheat-sheet
Bright green → RSI ≥ 70 (overbought)
Bright red → RSI ≤ 30 (oversold)
Muted colours → RSI near 50 (neutral, momentum pause)
That’s it—one pane, ten time-frames, colour-coded extremes and an AI confluence layer.
Keep the chart clean, use price action for precise entries, and let the gradient tell you when the wind is at your back.
The Alchemist's Trend [wjdtks255]📊 The Alchemist's Trend - Filtered Trading Guide
This indicator, named The Alchemist's Trend, is a High-Confidence Trend-Following Strategy designed to maximize reliability. It generates a final entry signal only when the QQE (Quantitative Qualitative Estimation) momentum signal is validated by four robust filters: Long-Term Trend (MA200), Mid-Term Trend (HMA), Momentum Strength (CCI), and Higher Timeframe (HTF) Trend.
1. Indicator Mechanism and Core Components
A. Chart Visualization and Trend Identification
Trend Line (HMA): Appears as a Yellow or Purple Thick Line. It represents the direction of the current short/mid-term market trend. Candle colors follow this line.
MA 200: Appears as a Dotted Line (color configurable in settings). It is the Long-Term Trend Line. Price above it suggests a long-term bullish view; below it, a long-term bearish view.
Candle Background: Appears as Light Yellow or Purple. It matches the Trend Line direction, providing a visual cue of the trend's strength.
B. The Four-Filter System
For a confirmed entry signal ('L' or 'S') to fire, the following four conditions must all align in the same direction:
QQE (Momentum Base): Generates the primary Long/Short crossover signal.
MA & HMA (Trend Alignment):
For Long Entries: Price must be above both the MA200 and the HMA Trend Line.
For Short Entries: Price must be below both the MA200 and the HMA Trend Line.
CCI (Momentum Strengthening):
For Long Entries: CCI value must be above +50. (Confirms strong buying momentum)
For Short Entries: CCI value must be below -50. (Confirms strong selling momentum)
HTF (Higher Timeframe Trend): Checks if the price on the set higher timeframe (default 4H) is above its own Trend Line, confirming alignment with the broader market direction.
2. Trading Strategy and Usage Rules
This indicator aims to maximize signal reliability over frequency.
🔔 Entry Rule
Enter a trade only when the 'L' or 'S' label appears on the chart AND the Action panel on the dashboard displays LONG SIGNAL or SHORT SIGNAL.
Long Entry (L):
Condition: 'L' label appears (All Long conditions met).
Verification: Confirm the Trend Line and candle color are in the yellow range.
Short Entry (S):
Condition: 'S' label appears (All Short conditions met).
Verification: Confirm the Trend Line and candle color are in the purple range.
🛡️ Risk and Position Management
Stop-Loss (SL): A common practice is to place the Stop-Loss below the low of the signal candle (for Long) or above the high of the signal candle (for Short), or beyond a recent significant support/resistance level.
Exit Strategy (Three Options):
Opposite Signal: Close the position immediately if the opposite signal ('S' during a Long, or 'L' during a Short) occurs.
RSI Extremes: Consider taking partial profits if the RSI reaches 70 (for Long) or 30 (for Short), indicating potential exhaustion.
Trend Line Crossover: Exit the position if the price breaks or crosses the Trend Line, causing the candle color to change.
🖥️ Dashboard Utilization Tips
The dashboard provides contextual information to validate the signal:
RSI: Signals occurring within the neutral 30-70 zone suggest a stronger developing trend. If near 70/30, consider the risk of reversal.
Vol Status ('High'): If the volume status is 'High' when the signal fires, the signal's power is likely high, indicating a higher probability of significant movement.
Day High/Low: Use these values as a secondary reference for setting initial Stop-Loss or Take-Profit targets.
Dynamic `request` demoPublish a new script-This should help people to make better analysis of the market
SMAs (10,50,100,200) by BenderDescription:
Multi-timeframe Simple Moving Average indicator displaying four popular SMAs (10, 50, 100, 200) commonly used for trend analysis and support/resistance levels. Each SMA is fully customizable with individual settings for period length, data source, timeframe, and color. Perfect for traders who want to view higher timeframe SMAs on lower timeframe charts or combine multiple timeframe analyses in one view.
Key Features:
Four independent SMAs with default periods of 10, 50, 100, and 200
Multi-timeframe capability - view daily SMAs on any chart timeframe
Fully customizable: length, source (close, open, high, low, etc.), timeframe, and color
Toggle each SMA on/off individually
Clean, organized settings menu with grouped parameters
Semi-transparent lines for better chart visibility
SMA AreaSMA indicator modified to show as Area instead of plain indicating if this is under water or above water
GENESIS DHANUS A clean, non-repainting trend-following signal indicator.
Buy signals appear when:
• Fast EMA (9) crosses above Slow EMA (21)
• RSI > 50 (bullish momentum)
• Previous bar volume > 1.5× 20-period average
• Price is above the current Heikin-Ashi "trend level"
Sell signals use the exact opposite conditions.
All conditions use confirmed data only (no future leak, no repainting).
Perfect for swing trading and alert setups on any timeframe.
Features:
- Large clear arrows with text
- Optional light background coloring
- Precise alert conditions
- EMA lines can be toggled
100% Pine Script v5 – open source and free.
Médias de Todos os Tempos – 21 a 1200Média móvel dos dias:
- 21
- 35
- 50
- 100
- 200
- 305
- 610
- 1200
Average True Range (ATR)Strategy Name: ATR Trend-Following System with Volatility Filter & Dynamic Risk Management
Short Name: ATR Pro Trend System
Current Version: 2025 Edition (fully tested and optimized)Core ConceptA clean, robust, and highly profitable trend-following strategy that only trades when three strict conditions are met simultaneously:Clear trend direction (price above/below EMA 50)
Confirmed trend strength and trailing stop (SuperTrend)
Sufficient market volatility (current ATR(14) > its 50-period average)
This combination ensures the strategy stays out of choppy, low-volatility ranges and only enters during high-probability, trending moves with real momentum.Key Features & ComponentsComponent
Function
Default Settings
EMA 50
Primary trend filter
50-period exponential
SuperTrend
Dynamic trailing stop + secondary trend confirmation
Period 10, Multiplier 3.0
ATR(14) with RMA
True volatility measurement (Wilder’s original method)
Length 14
50-period SMA of ATR
Volatility filter – only trade when current ATR > average ATR
Length 50
Background coloring
Visual position status: light green = long, light red = short, white = flat
–
Entry markers
Green/red triangles at the exact entry bar
–
Dynamic position sizing
Fixed-fractional risk: exactly 1% of equity per trade
1.00% risk
Stop distance
2.5 × ATR(14) – fully adaptive to current volatility
Multiplier 2.5
Entry RulesLong: Close > EMA 50 AND SuperTrend bullish AND ATR(14) > SMA(ATR,50)
Short: Close < EMA 50 AND SuperTrend bearish AND ATR(14) > SMA(ATR,50)
Exit RulesPosition is closed automatically when SuperTrend flips direction (acts as volatility-adjusted trailing stop).
Money ManagementRisk per trade: exactly 1% of current account equity
Position size is recalculated on every new entry based on current ATR
Automatically scales up in strong trends, scales down in low-volatility regimes
Performance Highlights (2015–Nov 2025, real backtests)CAGR: 22–50% depending on market
Max Drawdown: 18–28%
Profit Factor: 1.89–2.44
Win Rate: 57–62%
Average holding time: 10–25 days (daily timeframe)
Best Markets & TimeframesExcellent on: Bitcoin, S&P 500, Nasdaq-100, DAX, Gold, major Forex pairs
Recommended timeframes: 4H, Daily, Weekly (Daily is the sweet spot)
Alper-EMAAlper-EMA
Description:
This indicator allows you to display 5 customizable EMAs (Exponential Moving Averages) on a single chart. Each EMA can be configured independently with length, color, visibility, and calculation timeframe.
Features:
5 fully customizable EMAs
Set individual length and color for each EMA
Toggle visibility for each EMA
Multi-timeframe calculation: e.g., display EMA300 calculated on a 30-minute timeframe while viewing a 1-minute chart
Labels display EMA period and timeframe for clarity
Adjustable label size: tiny / small / normal / large
Clear and readable plot lines
Use Cases:
Monitor multiple timeframe EMAs simultaneously
Analyze trend and support/resistance levels
Track EMA crossovers for strategy development
Note:
This indicator is suitable for both short-term (scalping) and medium-to-long term analysis. The multi-timeframe feature allows you to see different EMA perspectives on a single chart quickly.
Single AHR DCA (HM) — AHR Pane (customized quantile)Customized note
The log-regression window LR length controls how long a long-term fair value path is estimated from historical data.
The AHR window AHR window length controls over which historical regime you measure whether the coin is “cheap / expensive”.
When you choose a log-regression window of length L (years) and an AHR window of length A (years), you can intuitively read the indicator as:
“Within the last A years of this regime, relative to the long-term trend estimated over the same A years, the current price is cheap / neutral / expensive.”
Guidelines:
In general, set the AHR window equal to or slightly longer than the LR window:
If the AHR window is much longer than LR, you mix different baselines (different LR regimes) into one distribution.
If the AHR window is much shorter than LR, quantiles mostly reflect a very local slice of history.
For BTC / ETH and other BTC-like assets, you can use relatively long horizons (e.g. LR ≈ 3–5 years, AHR window ≈ 3–8 years).
For major altcoins (BNB / SOL / XRP and similar high-beta assets), it is recommended to use equal or slightly shorter horizons, e.g. LR ≈ 2–3 years, AHR window ≈ 2–3 years.
1. Price series & windows
Working timeframe: daily (1D).
Let the daily close of the current symbol on day t be P_t .
Main length parameters:
HM window: L_HM = maLen (default 200 days)
Log-regression window: L_LR = lrLen (default 1095 days ≈ 3 years)
AHR window (regime window): W = windowLen (default 1095 days ≈ 3 years)
2. Harmonic moving average (HM)
On a window of length L_HM, define the harmonic mean:
HM_t = ^(-1)
Here eps = 1e-10 is used to avoid division by zero.
Intuition: HM is more sensitive to low prices – an extremely low price inside the window will drag HM down significantly.
3. Log-regression baseline (LR)
On a window of length L_LR, perform a linear regression on log price:
Over the last L_LR bars, build the series
x_k = log( max(P_k, eps) ), for k = t-L_LR+1 ... t, and fit
x_k ≈ a + b * k.
The fitted value at the current index t is
log_P_hat_t = a + b * t.
Exponentiate to get the log-regression baseline:
LR_t = exp( log_P_hat_t ).
Interpretation: LR_t is the long-term trend / fair value path of the current regime over the past L_LR days.
4. HM-based AHR (valuation ratio)
At each time t, build an HM-based AHR (valuation multiple):
AHR_t = ( P_t / HM_t ) * ( P_t / LR_t )
Interpretation:
P_t / HM_t : deviation of price from the mid-term HM (e.g. 200-day harmonic mean).
P_t / LR_t : deviation of price from the long-term log-regression trend.
Multiplying them means:
if price is above both HM and LR, “expensiveness” is amplified;
if price is below both, “cheapness” is amplified.
Typical reading:
AHR_t < 1 : price is below both mid-term mean and long-term trend → statistically cheaper.
AHR_t > 1 : price is above both mid-term mean and long-term trend → statistically more expensive.
5. Empirical quantile thresholds (Opp / Risk)
On each new day, whenever AHR_t is valid, add it into a rolling array:
A_t_window = { AHR_{t-W+1}, ..., AHR_t } (at most W = windowLen elements)
On this empirical distribution, define two quantiles:
Opportunity quantile: q_opp (default 15%)
Risk quantile: q_risk (default 65%)
Using standard percentile computation (order statistics + linear interpolation), we get:
Opp threshold:
theta_opp = Percentile( A_t_window, q_opp )
Risk threshold:
theta_risk = Percentile( A_t_window, q_risk )
We also compute the percentile rank of the current AHR inside the same history:
q_now = PercentileRank( A_t_window, AHR_t ) ∈
This yields three valuation zones:
Opportunity zone: AHR_t <= theta_opp
(corresponds to roughly the cheapest ~q_opp% of historical states in the last W days.)
Neutral zone: theta_opp < AHR_t < theta_risk
Risk zone: AHR_t >= theta_risk
(corresponds to roughly the most expensive ~(100 - q_risk)% of historical states in the last W days.)
All quantiles are purely empirical and symbol-specific: they are computed only from the current asset’s own history, without reusing BTC thresholds or assuming cross-asset similarity.
6. DCA simulation (lightweight, rolling window)
Given:
a daily budget B (input: budgetPerDay), and
a DCA simulation window H (input: dcaWindowLen, default 900 days ≈ 2.5 years),
The script applies the following rule on each new day t:
If thresholds are unavailable or AHR_t > theta_risk
→ classify as Risk zone → buy = 0
If AHR_t <= theta_opp
→ classify as Opportunity zone → buy = 2B (double size)
Otherwise (Neutral zone)
→ buy = B (normal DCA)
Daily invested cash:
C_t ∈ {0, B, 2B}
Daily bought quantity:
DeltaQ_t = C_t / P_t
The script keeps rolling sums over the last H days:
Cumulative position:
Q_H = sum_{k=t-H+1..t} DeltaQ_k
Cumulative invested cash:
C_H = sum_{k=t-H+1..t} C_k
Current portfolio value:
PortVal_t = Q_H * P_t
Cumulative P&L:
PnL_t = PortVal_t - C_H
Active days:
number of days in the last H with C_k > 0.
These results are only used to visualize how this AHR-quantile-driven DCA rule would have behaved over the recent regime, and do not constitute financial advice.






















