Swing v 3Swing v.3 Indicator Description
Swing v.3 is an advanced swing analysis indicator with deep liquidity and volume analysis, designed to identify institutional movements and high-probability reversal points:
Key Components:
🎯 Swing Points Detection:
Intelligent detection of swing highs and lows (SH/SL)
Proper sequencing of peaks and valleys (prevents duplicates)
Identifies strong swings (★) based on high volume
Automatic support and resistance level mapping
📊 Delta Volume Analysis:
Calculates buying/selling pressure for each candle
Identifies strong swings based on Delta threshold
Filters by positive buying or negative selling pressure
Displays detailed liquidity ratios (buy/sell volumes)
⚡ Displacement Candles:
Detects powerful momentum candles with rapid price movement
Multiple conditions: large body, small wicks, high volume
ATR filter to measure strength relative to volatility
Color-codes candles by strength rating
🔍 Wave Analysis:
Tracks waves between swing points
Calculates cumulative buy/sell volume per wave
Detects bullish/bearish divergence patterns
Alerts for fake breakouts and strong accumulation
📊 Live Dashboard:
Real-time statistics for swings and liquidity
Measures price proximity to support/resistance levels
Current Delta information and active wave data
Proximity alerts for nearby key levels
⚙️ Additional Features:
Color-codes candles for strong swing points
Multiple filters for precision (Delta, volume, ATR)
Detailed tooltips for each marker
Flexible color and display settings
The indicator helps traders identify strong reversal points, institutional liquidity zones, and high-momentum candles for more accurate trading decisions.
وصف مؤشر Swing v.3
Swing v.3 هو مؤشر متقدم لتحليل نقاط التأرجح (السوينق) والزخم السعري مع تحليل عميق للسيولة وحجم التداول:
المكونات الرئيسية:
🎯 نقاط السوينق (Swing Points):
كشف نقاط التأرجح العليا والسفلى (SH/SL) بطريقة ذكية
ترتيب صحيح للقمم والقيعان (يمنع التكرار)
تحديد السوينقات القوية (★) بناءً على حجم التداول العالي
رسم مستويات الدعم والمقاومة تلقائياً
📊 تحليل Delta Volume:
حساب ضغط الشراء/البيع لكل شمعة
تحديد السوينقات القوية بناءً على Delta
فلترة حسب ضغط الشراء الإيجابي أو البيع السلبي
عرض نسب السيولة التفصيلية (شراء/بيع)
⚡ شموع Displacement (الإزاحة السريعة):
كشف الشموع القوية ذات الحركة السريعة
شروط متعددة: جسم كبير، ذيول صغيرة، حجم تداول عالي
فلتر ATR لقياس القوة نسبة للتقلبات
تلوين الشموع حسب قوتها
🔍 تحليل الموجات (Wave Analysis):
تتبع الموجات بين السوينقات
حساب إجمالي حجم الشراء/البيع لكل موجة
كشف التباين الإيجابي/السلبي (Divergence)
تنبيهات الاختراق الوهمي والتجميع القوي
📊 لوحة المعلومات (Dashboard):
عرض إحصائيات حية للسوينقات والسيولة
قياس قرب السعر من مستويات الدعم/المقاومة
معلومات Delta الحالية والموجة النشطة
تنبيهات للمستويات القريبة
⚙️ المميزات الإضافية:
تلوين الشموع للسوينقات القوية
فلاتر متعددة للدقة (Delta، حجم التداول، ATR)
معلومات تفصيلية في Tooltips لكل علامة
إعدادات مرنة للألوان والعرض
Médias Móveis
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.
Quantum Trend MatrixThe Quantum Trend Matrix (QTM) is a comprehensive technical analysis suite designed to solve the problem of market noise by combining Statistical Volatility Structure with Momentum Trend Filtration.
Many traders struggle because they trade momentum signals (like crossovers) without considering the daily structural limits of the market. This script integrates these two concepts into a single "Roadmap" to help traders align their entries with institutional price structure.
🎯 Concept & Methodology (How it Works)
This script is not merely a collection of indicators; it is a logic-based system where components effectively filter one another:
1. Structural Volatility Levels (The "Map")
Unlike standard Support/Resistance which is subjective, QTM calculates objective levels based on the internal logic.
Methodology: The script applies specific percentage-based volatility coefficients (tailored to the asset class, e.g., Indices ,Commodities,etc) to the Price.
* The Green Line (Breakout Level) : Represents the statistical upper volatility limit above which a "Bullish Expansion" is expected to occur.
* The Red Line (Breakdown Level): Represents the statistical lower volatility limit Below which a "Bearish Expansion" is expected to occur.
* Why this is useful: It prevents traders from chasing trends in the "chop zone" (between the lines) and highlights high-probability breakout areas.
2. The Value Zone (Trend Validation)
* Methodology: This utilizes a High-Timeframe moving average ribbon logic (calculated using Daily data).
* Function: It acts as a dynamic trend filter. A breakout signal (Green Line cross) is statistically significant if the Price is also supported by the Value Zone (Blue Ribbon). If the Ribbon is Orange, a bullish breakout is likely a "False Trap".
3. Momentum & Exhaustion Logic
* Crossovers (Circles): Validates short-term trend shifts using smoothed exponential average crossovers.
* Mean Reversion (Diamonds): Uses an integrated Oscillator Momentum logic to detect over-extended price action. A Diamond signal warns that the price has deviated too far from the mean (VWAP) and trend continuation is risky.
🛠️ Practical Application
This script is designed for a top-down decision process:
1. Wait for Structure: For Trending Moves do not trade inside the Pivot (Blue) to Breakout (Green/Red) range. This is the "Noise" zone.
2. Confirm the Breakout: Wait for a candle to CLOSE outside the Green or Red volatility levels or to take Support/Resistance from Red/Green Levels respectively.
3. Check the "Value Zone": Ensure the background ribbon color matches the breakout direction (Blue for Long, Orange for Short).
4. Monitor Health: Use the bottom-right panel (displaying RSI, ADX, and DI metrics) to ensure trend strength is sufficient to sustain the move.
⚠️ Disclaimer & Risk Disclosure
* Logic Disclosure: While the specific volatility coefficients and smoothing lengths are proprietary, this script relies on standard technical analysis concepts including Moving Averages, RSI, ADX, and Percentage-based levels relative to the Price.
* No Guarantee: Technical analysis is probabilistic, not predictive. Past performance does not guarantee future results.
* Risk Management: Always use Stop Losses. This tool is an aid for analysis, not a replacement for risk management.
🔒 Access Information
This is a proprietary Invite-Only script.
*(Note: Do not ask for access in the comments below. Please refer to the author's signature or profile for more information).*
BankNifty Aggregate Weighted OBVDescription-
This indicator calculates the aggregate On Balance Volume (OBV) of the entire Bank Nifty Index by analyzing its 12 individual constituents rather than the index futures volume.
Why is this different?
Standard OBV on the Bank Nifty Index usually analyzes the volume of the Index Futures or the raw index volume (which can be inaccurate or derivative-heavy). This script queries the real-time volume and price action of the 12 specific banks that make up the index (HDFC, ICICI, SBI, Axis, Kotak, etc.).
How it works-
Weighted Calculation:- It calculates the Net Flow (Volume * Weightage) for every single bank for the current bar.
Aggregation:- It sums the Net Flow of all 12 banks to create a "Total Sector Flow."
Accumulation:- It generates the OBV line based on this aggregated sector flow.
Normalization:- Unlike simple summation scripts, this calculates flow per bar before accumulating, ensuring that stocks with longer trading histories do not skew the data.
Features:
Customizable Weights:- Users can adjust the weightage of each bank if NSE rebalances the index.
Toggle Constituents:- You can turn specific banks on/off to see their impact.
Signal Line:- Includes an SMA/EMA signal line to help identify volume trend reversals.
Trend Coloring:- The fill color changes (Green/Red) based on the OBV's position relative to the signal line.
How to use:
Trend Confirmation: If Bank Nifty price is rising but this Weighted OBV is falling, it indicates a divergence and potential weakness in the move (lack of institutional participation).
Breakouts: Use the Signal Line crossover to validate breakout moves.
Adaptive Trend Navigator [ATH Filter & Risk Engine]Description:
This strategy implements a systematic Trend Following approach designed to capture major moves while actively protecting capital during severe bear markets. It combines a classic Moving Average "Fan" logic with two advanced risk management layers: a 4-Stage Dynamic Stop Loss and a macro-economic "Circuit Breaker" filter.
Core Concepts:
1. Trend Identification (Entry Logic) The script uses a cascade of Simple Moving Averages (SMA 25, 50, 100, 200) to identify the maturity of a trend.
Entries are triggered by specific crossovers (e.g., SMA 25 crossing SMA 50) or by breaking above the previous trade's high ("High-Water Mark" Re-Entry).
2. The "Circuit Breaker" (Crash Protection) To prevent trading during historical market collapses (like 2000 or 2008), the strategy monitors the Nasdaq 100 (QQQ) as a global benchmark:
Normal Regime: If the market is within 20% of its All-Time High, the strategy operates normally.
Crisis Regime: If the QQQ falls more than 20% from its ATH, the "Circuit Breaker" activates (Visualized by a Red Background).
Recovery Rule: In a Crisis Regime, new long positions are blocked unless the QQQ reclaims its SMA 200. This filters out "bull traps" in secular bear markets.
3. 4-Stage Risk Engine (Exit Logic) Once in a trade, the risk management adapts to the position's performance:
Stage 1: Fixed initial Stop Loss (default 10%) for breathing room.
Stage 2: Moves to Break-Even area once the price rises 12%.
Stage 3: Tightens to a trailing stop (8%) after 25% profit.
Stage 4: Maximizes gains with a tight trailing stop (5%) during parabolic moves (>40% profit).
Visual Guide:
SMAs: 25/50/100/200 period lines for trend visualization.
Red Background: Indicates the "Crisis Regime" where trading is halted due to broad market weakness.
Blue Background: Indicates a "Recovery Phase" (Crisis is active, but market is above SMA 200).
Red Line: Shows the dynamic Stop Loss level for active positions.
Settings: All parameters (SMA lengths, Drawdown threshold, Risk Stages) are fully customizable. The QQQ benchmark ticker can also be changed to SPY or other indices depending on the asset class traded.
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.
MRhythm - Fib/Elliott/Candle/Flow Day Strategy (Aiden Ryu)creates buy signals with TP's on all asset classes. tested for es1 and XAU. ENJOY!!!
Gold Fair Value [Alpha Extract]Gold-anchored Bitcoin fair value model is a macro-fundamental valuation indicator that anchors Bitcoin price assessment to gold market dynamics, establishing fair value zones through percentage change influence modelling and adaptive band multipliers. This overlay system provides institutional-grade context for identifying accumulation zones, distribution zones, and fair value equilibrium across all market cycles with minimal chart clutter through sophisticated gradient fill visualization.
🔶 Gold-Anchored Valuation Framework
Establishes Bitcoin's theoretical fair value by integrating daily gold price movements into a smoothed asset baseline, applying percentage change calculations over configurable periods to measure gold's momentum influence. The system translates gold's relative strength or weakness into Bitcoin price expectations through adjustable influence multipliers, creating a dynamic fair value line that adapts to shifting macro-fundamental relationships between digital and traditional store-of-value assets.
🔶 Multi-Layer Statistical Band System
Implements asymmetric upper and lower band multipliers applied to the fair value baseline, creating five distinct valuation zones: extreme overvaluation, moderate overvaluation, fair value equilibrium, moderate undervaluation, and extreme undervaluation. The asymmetric configuration (default 1.46x upper, 0.74x lower) reflects Bitcoin's historical tendency toward asymmetric volatility patterns with more violent upside moves and grinding downside action, optimizing zone accuracy for actionable trading decisions.
🔶 Gradient Fill Visualization
Employs sophisticated transparency-based gradient fills between bands to create visually intuitive valuation heat maps, with darker orange shading indicating proximity to fair value and lighter shading showing extreme deviation zones. The system maintains chart readability by hiding individual band lines while preserving the filled zones, eliminating visual clutter while delivering maximum information density for rapid market assessment without overwhelming the trader with excessive line plots.
🔶 Historical Context & Position Management
The lower band zones have historically preceded periods of constructive price behavior including consolidation phases and early-stage recovery rallies, while upper band interactions have preceded distribution and correction events. This historical pattern recognition enables traders to position proactively based on valuation extremes rather than reactively chasing momentum, supporting systematic accumulation during undervaluation periods and graduated profit-taking during overvaluation extremes.
All analysis provided by Alpha Extract is for educational and informational purposes only. The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations.
Dynamic SMA Trend System [Multi-Stage Risk Engine]Description:
This script implements a robust Trend Following strategy based on a multiple Simple Moving Average (SMA) crossover logic (25, 50, 100, 200). What sets this strategy apart is its advanced "4-Stage Risk Engine" and a smart "High-Water Mark" Re-Entry system, designed to protect profits during parabolic moves while filtering out chop during sideways markets.
How it works:
The strategy operates on three core pillars: Trend Identification, Dynamic Risk Management, and Momentum Re-Entry.
1. Entry Logic (Trend Identification) The script looks for crossovers at different trend stages to capture early reversals as well as established trends:
Short-Term: SMA 25 crosses over SMA 50.
Mid-Term: SMA 50 crosses over SMA 100.
Macro-Trend: SMA 100 crosses over SMA 200.
2. The 4-Stage Risk Engine (Dynamic Stop Loss) Instead of a static Stop Loss, this strategy uses a progressive system that adapts as the price increases:
Stage 1 (Protection): Starts with a fixed Stop Loss (default -10%) to give the trade room to breathe.
Stage 2 (Break-Even): Once the price rises by 12%, the Stop is moved to trailing mode (10% distance), effectively securing a near break-even state.
Stage 3 (Profit Locking): At 25% profit, the trailing stop tightens to 8% to lock in gains.
Stage 4 (Parabolic Mode): At 40% profit, the trailing stop tightens further to 5% to capture the peak of parabolic moves.
3. Dual Exit Mechanism The strategy exits a position if EITHER of the following happens:
Stop Loss Hit: Price falls below the dynamic red line (Risk Engine).
Dead Cross: The trend structure breaks (e.g., SMA 25 crosses under SMA 50), signaling a momentum loss even if the Stop Loss wasn't hit.
4. "High-Water Mark" Re-Entry To avoid "whipsaws" in choppy markets, the script does not re-enter immediately after a stop-out.
It marks the highest price of the previous trade (Green Dotted Line).
A Re-Entry only occurs if the price breaks above this previous high (showing renewed strength) AND the long-term trend is bullish (Price > SMA 200).
Visuals:
SMAs: 25 (Yellow), 50 (Orange), 100 (Blue), 200 (White).
Red Line: Visualizes the dynamic Stop Loss level.
Green Dots: Visualizes the target price needed for a valid re-entry.
Settings: All parameters (SMA lengths, Stop Loss percentages, Staging triggers) are fully customizable in the settings menu to fit different assets (Crypto, Stocks, Forex) and timeframes.
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.
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! 🎯
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.
EVS BTC V1Overview
The "EVS BTC V1" is a momentum-based trading strategy designed for Bitcoin (BTC) or similar volatile assets on TradingView. It combines Exponential Moving Averages (EMAs) for trend direction, volume confirmation to filter for strong moves, and an optional Relative Strength Index (RSI) filter to avoid overextended entries. The strategy uses a trailing stop for exits to lock in profits dynamically. It's set up for backtesting with an initial capital of $10,000, risking 10% of equity per trade, and accounting for 0.1% commissions.This is a crossover strategy: it goes long on bullish EMA crossovers with high volume (and RSI not overbought) and short on bearish crossunders (with high volume and RSI not oversold). It's overlayed on the main price chart for easy visualization.Key Parameters (User-Adjustable)Fast EMA Period: 9 (default) – Shorter-term trend line.
Slow EMA Period: 21 (default) – Longer-term trend line.
Volume Multiplier: 1.5 (default) – Requires volume to be 1.5x the 20-period average for signal validation.
Use RSI Filter?: Enabled (default) – Optional toggle to apply RSI conditions.
RSI Period: 14 (default), with overbought threshold at 70 and oversold at 30.
Trailing Stop Profit: 50 points (default) – Activates trailing once this profit level is hit.
Trailing Stop Offset: 20 points (default) – Distance from the high/low to trail the stop-loss.
Indicators UsedEMAs: 9-period (fast, blue line) and 21-period (slow, red line) on close prices.
Volume Filter: Compares current volume to a 20-period SMA; signals only trigger if volume exceeds the average by the multiplier (highlighted in yellow bars).
RSI: 14-period on close; plotted in purple on a sub-panel if enabled, with dashed horizontal lines at 70 (overbought) and 30 (oversold).
Entry RulesEntries are triggered only when all conditions align on a bar close:Direction
Conditions
Long (Buy)
- Fast EMA crosses over Slow EMA (bullish trend shift).
- Volume is "high" (> 1.5x 20-period avg).
- RSI < 70 (not overbought; skipped if filter disabled).
Short (Sell)
- Fast EMA crosses under Slow EMA (bearish trend shift).
- Volume is "high" (> 1.5x 20-period avg).
- RSI > 30 (not oversold; skipped if filter disabled).
On entry: Places a market order using 10% of current equity.
Alerts: Fires a one-time alert per bar (e.g., "Long Signal: EMA Crossover + High Volume!").
Exit RulesNo fixed take-profit or stop-loss on entry.
Uses a trailing stop for both long and short positions:Trails the stop-loss 20 points below the highest high (for longs) or 20 points above the lowest low (for shorts), but only activates after 50 points of unrealized profit.
This allows winners to run while protecting gains dynamically.
Positions close automatically on opposite signals or trailing stop hits (no pyramiding; only one position per direction at a time).
VisualizationMain Chart: Blue fast EMA and red slow EMA lines. Green background tint on long signals, red on short signals.
Volume Sub-Panel: Gray columns for normal volume, yellow for high-volume bars; zero line for reference.
RSI Sub-Panel (if enabled): Purple RSI line with overbought/oversold dashed lines.
Strengths and ConsiderationsStrengths: Simple, trend-following with volume to avoid weak signals; RSI adds mean-reversion protection; trailing stops suit trending markets like BTC.
Risks: Whipsaws in sideways markets (EMA crossovers can false-signal); volume filter may miss low-volume breakouts; trailing parameters (50/20 points) assume a specific price scale (e.g., BTC/USD in dollars—adjust for other pairs).
Best For: Higher timeframes (e.g., 1H or 4H) on volatile crypto pairs. Backtest on historical data to tune parameters.
All-in-One (PHT)All-in-One (PHT) — Modular Multi-Tool Market Analyzer (Pine Script v6)
All-in-One (PHT) is a complete, modular market-analysis toolkit designed for traders who want clean, reliable, and professional-grade charting - in a single indicator.
Built using Pine Script® v6 and structured with reusable PHT-Libraries (EMA Band, Bollinger Band, Fractal, Session), this indicator delivers clarity, precision, and consistent performance across all markets and timeframes.
Unlike traditional indicators that mix logic and visuals, AIO (PHT) uses a fully modular architecture. All calculations come from dedicated libraries, and this main script focuses purely on visual output and clean plotting.
This ensures:
Stable plot references
Zero repainting in all included modules
High performance even with complex overlays
Easy extensibility for future upgrades
🔥 Included Modules
1. EMA Band (PHT Library)
A triple-EMA band designed for trend clarity and structure.
Provides:
EMA of High
EMA of Close
EMA of Low
Band fill visualization
Ideal for identifying trend strength, momentum pockets, and mean-reversion zones.
2. Bollinger Band Suite
A complete Bollinger framework with:
SMA / EMA / WMA midline options
Dual standard-deviation envelopes
Multi-zone band fills (upper, middle, lower)
User-controlled visibility for each layer
Perfect for volatility detection, squeeze identification, and precision envelope trading.
3. Fractal Engine (High/Low Pivots)
Fast, reliable fractal detection using user-defined left/right periods.
Features:
Pivot Highs & Pivot Lows
Multiple marker sizes (Tiny → Large)
Zero-lag plotting with proper offset handling
Useful for swing structure, breakout confirmation, and automated level marking.
4. Market Session Tracker
A powerful session-mapping module that visually highlights market sessions with:
Dynamic session boxes
High & Low markers
Persistent historical sessions
Auto-managed labels, lines, and live updates
Timezone-aware session boundaries (supports IANA zones)
Designed for identifying daily ranges, session liquidity, volatility pockets, and market timing.
🧠 Why This Indicator Is Different
Most “all-in-one” tools mix plotting, logic, and calculations in a single heavy script, causing lag, reference instability, and repainting issues.
All-in-One (PHT) solves this by using a Pine v6 library architecture:
Each component is computed in its own library
The main script handles only visuals
No hidden code, no repainting tricks
Maximum clarity and maintainability
This design mirrors professional software architecture:
clear separation of logic, visuals, and user interface.
🎯 Ideal For
Trend traders
Scalpers & intraday traders
Swing and positional traders
Volatility analysts
Structure-based price action traders
Anyone who wants multiple high-quality tools in one clean indicator
Whether you analyze markets manually or build algorithmic systems, AIO (PHT) provides a solid foundation.
⚙️ Features at a Glance
Fully modular Pine v6 design
Complete EMA band engine
Advanced Bollinger band system (multi-deviation, multi-fill)
Configurable fractal high/low markers
Smart session boxing with history
Clean visuals and transparent settings
No repainting
Fully customizable colors & visibility
Optimized for performance
💡 How to Use
Choose the modules you want to display (EMA, BB, Fractals, Sessions).
Adjust lengths, deviations, or fractal periods as per your trading style.
Use session boxes to understand volatility timing.
Combine bands + fractals for advanced structure-based decisions.
The indicator is designed to overlay on price for maximum clarity.
🚀 Future Upgrades
The PHT framework supports smooth future expansion. Planned modules include:
ATR/volatility engines
Trend switches
Supertrend/Donchian plugins
Volume profile extensions
Updates will remain backward compatible across all modules.
⭐ Summary
All-in-One (PHT) is not just another overlay — it’s a complete multi-tool trading framework built using professional engineering practices in Pine Script v6.
If you want cleaner charts, smarter signals, and a high-performance modular system, this indicator gives you everything in one reliable package.
Dual EMA Crossover with Risk ManagementThis is a very basic dual ema strategy for beginners, using a fast and slow ema, we can select entry and exit positions. Very basic but effective.
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.
MaruMaroo's Multi-MA & BB & Ichimoku매매할 때 가장 기본적으로 세팅하는 이동평균선, 볼린저 밴드, 일목균형표를 스크립트 하나로 합쳤습니다.
무료 계정이라 지표 개수 제한(3개) 때문에 불편하셨거나, 이것저것 추가해서 차트 지저분해지는 거 싫으신 분들 쓰시면 됩니다. 복잡한 거 싹 빼고 딱 필요한 기능만 넣어서 최적화했습니다.
7줄 이동평균선 (Rainbow MA): 단기부터 장기까지 7개 라인을 한 번에 보여줍니다. 설정에서 단순(SMA), 지수(EMA)뿐만 아니라 가중(WMA), 거래량가중(VWMA) 등으로 바꿀 수 있습니다.
헷갈림 방지 라벨: 이평선이 많으면 뭐가 60일선이고 120일선인지 헷갈리는데, 선 끝자락에 숫자(기간)가 뜨도록 해서 보기 편하게 만들었습니다. (글자 크기도 키워둠)
볼린저 밴드 & 일목균형표: 표준편차 1, 2배수 밴드랑 일목 구름대까지 다 포함되어 있습니다.
커스텀: 안 쓰는 기능은 설정에서 체크 해제하면 깔끔하게 사라집니다. 입맛대로 세팅해서 쓰세요.
I combined the most essential trading indicators into a single script to keep the chart clean and bypass the indicator limit.
If you are tired of switching between indicators or have a cluttered screen, this "All-in-One" setup is for you. It includes everything you need for trend and volatility analysis.
7 Moving Averages: Covers short to long-term trends (Rainbow setup). You can switch types between SMA, EMA, SMMA, WMA, and VWMA in the settings.
Smart Labels: Added labels at the end of each MA line so you can instantly see which line corresponds to which period (e.g., 20, 60, 120).
Bollinger Bands & Ichimoku: Includes Double Bollinger Bands (StdDev 1 & 2) and the full Ichimoku Cloud system.
Fully Customizable: You can toggle each component ON or OFF in the settings.
Buy Sell Signal — Ema crossover [© gyanapravah_odisha]Professional EMA Crossover + ATR Risk Control
Trade with confidence using a complete system that gives you clear entries, smart exits, and full automation.
Includes:
Precision 5/13 EMA crossover signals
ATR-based adaptive stop-loss
Multiple take-profit levels (with intermediate targets)
Fully customizable R:R ratios
ATR + volume filters to avoid choppy markets
Real-time trade dashboard
All alerts included
Built for: Crypto, Forex, Stocks • Scalping & Swing Trading
Built for you: Free, open-source & made for real-world trading.
VWAP & EMA9 Cross AlertAlerts the user when VWAP and EMA 9 cross. It gives a general direction of the market to help make decisions.
VWAP & EMA9 Cross AlertAlerts when EMA9 and VWAP Cross. This provides an indicator of general market direction based on these 2 indicators.
Call Put on same chart [PRO]Description:
This is the PRO version of all ready free available indicator on tradingview
Call Put on same chart
In vesrion you will get AFMA and REMA .
This innovative indicator provides a unique, real-time visualization of both Call and Put option prices for the same strike price directly on your TradingView chart. Designed for active options traders, it simplifies the analysis of price action for specific strikes, helping you quickly identify significant levels and potential shifts in market interest.
important : choose only put strike call strike automatically plot on chart
This indicator works with Indian market (nifty , banknifty ,sensex ,crudeoil , naturalgas )
Key Features:
Integrated Call & Put Prices: Clearly displays the prices of both Call and Put options for a user-defined strike price within the same indicator pane, offering an immediate side-by-side comparison.
Real-time Data: Plots live option price updates, allowing you to monitor the dynamic interplay between Calls and Puts throughout the trading session.
Intuitive Visualization: Transforms complex options data into easily digestible lines on your chart, making it easier to spot trends, relative strength, and support/resistance levels at crucial strikes.
User-Friendly Inputs: Simple input fields allow you to easily select the underlying symbol, expiry date, and the specific strike price you wish to monitor.
Enhanced Options Analysis: A valuable tool for gauging market participants' expectations and positioning at key psychological or technical levels.
Important Note:
This indicator provides a visual tool for options analysis and does not constitute financial advice.
Options trading involves significant risk and may not be suitable for all investors.
Users are encouraged to combine this tool with their own comprehensive analysis and risk management strategies.






















