ATR Rangeshows the high and low of the given range of the asset base on the daily atr fixed by the weekly trend.
Indicators and strategies
VWAP + EMA StrategyUses Vwap and Ema for buy and sell signal. Just looking through and exploring what code can do. Not a financial advice
Opening candle indicator
The indicator only works in the US and Saudi markets. Its idea is to draw a line for the highest and lowest prices of the first opening candle on a five-minute frame. A break of the highest price of the candle means a buy, while a break of the lowest price of the candle means a sell. Three lines are drawn as price targets calculated at twice the length of the opening candle... The lines in the previous trading session disappear when the current session begins.
Exponential moving averages can be used to help decide whether to stay in the trade or sell.
When using the indicator, you must go to the indicator settings and change the market.
يعمل هذا المؤشر فقط في السوقين الأمريكي والسعودي. وتتمثل فكرته في رسم خط لأعلى وأدنى سعرين للشمعة الافتتاحية الأولى على إطار زمني مدته خمس دقائق. كسر أعلى سعر للشمعة يعني الشراء، بينما كسر أدنى سعر للشمعة يعني البيع. تُرسم ثلاثة خطوط كأهداف سعرية محسوبة بضعف طول الشمعة الافتتاحية... تختفي خطوط جلسة التداول السابقة عند بدء الجلسة الحالية.
يمكن استخدام المتوسطات المتحركة الأسية للمساعدة في تحديد ما إذا كان ينبغي الاستمرار في التداول أم البيع. عند الرغبة في استخدامه يجب الذهاب لإعدادت المؤشر وتحديد السوق إما الأمريكي أو السعودي.
OG TTM Histogram Elite © 2025🔥 Created by OG WEALTH, this elite-level TTM Squeeze Histogram is built for precision sniper entries and exits.
Master squeeze cycles like never before:
🟢 Green Dots = Squeeze Released (Entry Setup Forming)
⚫ Black Dots = Squeeze Building (High Potential Coiling)
🟥 / 🟠 Histogram = Momentum Losing Strength
🔺 / 🔻 Entry Arrows = Confirmed Reversal or Trend Initiation
🚀 Features:
✅ Advanced MTF Confirmation from higher timeframes
🔔 Built-in Alerts: Squeeze ON, Release, Bull/Bear Entry
🎯 Auto-labeled Squeeze Status Tag (Top-Right Corner)
🧠 Refined Momentum Color Logic to avoid false signals
🎛️ Clean UI for scalpers, intraday traders, and swing specialists
Bid/Ask Volume Tension with Rolling Avg📊 Bid/Ask Volume Tension with Rolling Average
This indicator is designed to help traders identify pivotal moments of buildup, exhaustion, or imbalance in the market by calculating the tension between buy and sell volume.
🔍 How It Works:
Buy volume is approximated when the candle closes higher than or equal to its open.
Sell volume is approximated when the candle closes below its open.
Both are smoothed using an EMA (Exponential Moving Average) for noise reduction.
Tension is calculated as the absolute difference between smoothed buy and sell volume.
A rolling average of tension shows the baseline for normal behavior.
When instant tension rises significantly above the rolling average, it often signals:
A build-up before a large move
Aggressive order flow imbalances
Potential reversals or breakouts
🧠 How to Use:
Watch the orange line (instant tension) for spikes above the aqua line (rolling average).
Purple background highlights show when tension exceeds a customizable multiple of the average — a potential setup zone.
Use this indicator alongside:
Price action (candlestick structure)
Support/resistance
Liquidity zones or order blocks
⚙️ Settings:
Smoothing Length: Controls the responsiveness of buy/sell volume smoothing.
Rolling Avg Window: Defines the lookback period for the baseline tension.
Buildup Threshold: Triggers highlight zones when tension exceeds this multiple of the average.
🧪 Best For:
Spotting pre-breakout tension
Detecting volume-based divergences
Confirming order flow imbalances
Squeeze & Breakout Confirmation StrategyThis strategy focuses on identifying periods of low volatility (Bollinger Band Squeeze) and then confirming the direction of the subsequent breakout with momentum, volume, and candle strength.
Concepts Applied: Bollinger Bands (Squeeze), RSI (Momentum), Market Volume (Conviction), Candle Size (Strength)
Buy Signal:
Bollinger Band Squeeze: Look for a period where the Bollinger Bands contract significantly, indicating low volatility and consolidation. The bands should be very close to the price action.
RSI Breakout: After the squeeze, wait for the price to break decisively above the upper Bollinger Band. Simultaneously, the RSI should break above 60 (or even 70), indicating strong bullish momentum.
Volume Surge: The breakout candle should be accompanied by a significant increase in trading volume, ideally above its recent average, confirming strong buying interest.
Strong Bullish Candle: The breakout candle itself should be a large, bullish candle (e.g., a strong green candle with a small upper wick or a bullish engulfing pattern), demonstrating buyer conviction.
Sell Signal (Short):
Bollinger Band Squeeze: Look for a period where the Bollinger Bands contract significantly.
RSI Breakdown: After the squeeze, wait for the price to break decisively below the lower Bollinger Band. Simultaneously, the RSI should break below 40 (or even 30), indicating strong bearish momentum.
Volume Surge: The breakdown candle should be accompanied by a significant increase in trading volume, ideally above its recent average, confirming strong selling interest.
Strong Bearish Candle: The breakdown candle itself should be a large, bearish candle (e.g., a strong red candle with a small lower wick or a bearish engulfing pattern), demonstrating seller conviction.
Aftershock Playbook: Stock Earnings Drift EngineStrategy type
Event-driven post-earnings momentum engine (long/short) built for single-stock charts or ADRs that publish quarterly results.
What it does
Detects the exact earnings bar (request.earnings, lookahead_off).
Scores the surprise and launches a position on that candle’s close.
Tracks PnL: if the first leg closes green, the engine automatically re-enters on the very next bar, milking residual drift.
Blocks mid-cycle trades after a loss until the next earnings release—keeping the risk contained to one cycle.
Think of it as a sniper that fires on the earnings pop, reloads once if the shot lands, then goes silent until the next report.
Core signal inputs
Component Default Purpose
EPS Surprise % +0 % / –5 % Minimum positive / negative shock to trigger longs/shorts.
Reverse signals? Off Quick flip for mean-reversion experiments.
Time Risk Mgt. Off Optional hard exit after 45 calendar days (auto-scaled to any TF).
Risk engine
ATR-based stop (ATR × 2 by default, editable).
Bar time stop (15-min → Daily: Have to select the bar value ).
No pyramiding beyond the built-in “double-tap”.
All positions sized as % of equity via Strategy Properties.
Visual aids
Yellow triangle marks the earnings bar.
Diagnostics table (top-right) shows last Actual, Estimate, and Surprise %.
Status-line tool-tips on every input.
Default inputs
Setting Value
Positive surprise ≥ 0 %
Negative surprise ≤ –5 %
ATR stop × 2
ATR length 50
Hold horizon 350 ( 1h timeframe chart bars)
Back-test properties
Initial capital 10 000
Order size 5 % of equity
Pyramiding 1 (internal re-entry only)
Commission 0.03 %
Slippage 5 ticks
Fills Bar magnifier ✔ · On bar close ✔ · Standard OHLC ✔
How to use
Add the script to any earnings-driven stock (AAPL, MSFT, TSLA…).
Turn on Time Risk Management if you want stricter risk management
Back-test different ATR multipliers to fit the stock’s volatility.
Sync commission & slippage with your broker before forward-testing.
Important notes
Works on every timeframe from 15 min to 1 D. Sweet spot around 30min/1h
All request.earnings() & request.security() calls use lookahead_off—zero repaint.
The “double-tap” re-entry occurs once per winning cycle to avoid drift-chasing loops.
Historical stats ≠ future performance. Size positions responsibly.
The Sequences of FibonacciThe Sequences of Fibonacci - Advanced Multi-Timeframe Confluence Analysis System
THEORETICAL FOUNDATION & MATHEMATICAL INNOVATION
The Sequences of Fibonacci represents a revolutionary approach to market analysis that synthesizes classical Fibonacci mathematics with modern adaptive signal processing. This indicator transcends traditional Fibonacci retracement tools by implementing a sophisticated multi-dimensional confluence detection system that reveals hidden market structure through mathematical precision.
Core Mathematical Framework
Dynamic Fibonacci Grid System:
Unlike static Fibonacci tools, this system calculates highest highs and lowest lows across true Fibonacci sequence periods (8, 13, 21, 34, 55 bars) creating a dynamic grid of mathematical support and resistance levels that adapt to market structure in real-time.
Multi-Dimensional Confluence Detection:
The engine employs advanced mathematical clustering algorithms to identify areas where multiple derived Fibonacci retracement levels (0.382, 0.500, 0.618) from different timeframe perspectives converge. These "Confluence Zones" are mathematically classified by strength:
- CRITICAL Zones: 8+ converging Fibonacci levels
- HIGH Zones: 6-7 converging levels
- MEDIUM Zones: 4-5 converging levels
- LOW Zones: 3+ converging levels
Adaptive Signal Processing Architecture:
The system implements adaptive Stochastic RSI calculations with dynamic overbought/oversold levels that adjust to recent market volatility rather than using fixed thresholds. This prevents false signals during changing market conditions.
COMPREHENSIVE FEATURE ARCHITECTURE
Quantum Field Visualization System
Dynamic Price Field Mathematics:
The Quantum Field creates adaptive price channels based on EMA center points and ATR-based amplitude calculations, influenced by the Unified Field metric. This visualization system helps traders understand:
- Expected price volatility ranges
- Potential overextension zones
- Mathematical pressure points in market structure
- Dynamic support/resistance boundaries
Field Amplitude Calculation:
Field Amplitude = ATR × (1 + |Unified Field| / 10)
The system generates three quantum levels:
- Q⁰ Level: 0.618 × Field Amplitude (Primary channel)
- Q¹ Level: 1.0 × Field Amplitude (Secondary boundary)
- Q² Level: 1.618 × Field Amplitude (Extreme extension)
Advanced Market Analysis Dashboard
Unified Field Analysis:
A composite metric combining:
- Price momentum (40% weighting)
- Volume momentum (30% weighting)
- Trend strength (30% weighting)
Market Resonance Calculation:
Measures price-volume correlation over 14 periods to identify harmony between price action and volume participation.
Signal Quality Assessment:
Synthesizes Unified Field, Market Resonance, and RSI positioning to provide real-time evaluation of setup potential.
Tiered Signal Generation Logic
Tier 1 Signals (Highest Conviction):
Require ALL conditions:
- Adaptive StochRSI setup (exiting dynamic OB/OS levels)
- Classic StochRSI divergence confirmation
- Strong reversal bar pattern (adaptive ATR-based sizing)
- Level rejection from Confluence Zone or Fibonacci level
- Supportive Unified Field context
Tier 2 Signals (Enhanced Opportunity Detection):
Generated when Tier 1 conditions aren't met but exceptional circumstances exist:
- Divergence candidate patterns (relaxed divergence requirements)
- Exceptionally strong reversal bars at critical levels
- Enhanced level rejection criteria
- Maintained context filtering
Intelligent Visualization Features
Fractal Matrix Grid:
Multi-layer visualization system displaying:
- Shadow Layer: Foundational support (width 5)
- Glow Layer: Core identification (width 3, white)
- Quantum Layer: Mathematical overlay (width 1, dotted)
Smart Labeling System:
Prevents overlap using ATR-based minimum spacing while providing:
- Fibonacci period identification
- Topological complexity classification (0, I, II, III)
- Exact price levels
- Strength indicators (○ ◐ ● ⚡)
Wick Pressure Analysis:
Dynamic visualization showing momentum direction through:
- Multi-beam projection lines
- Particle density effects
- Progressive transparency for natural flow
- Strength-based sizing adaptation
PRACTICAL TRADING IMPLEMENTATION
Signal Interpretation Framework
Entry Protocol:
1. Confluence Zone Approach: Monitor price approaching High/Critical confluence zones
2. Adaptive Setup Confirmation: Wait for StochRSI to exit adaptive OB/OS levels
3. Divergence Verification: Confirm classic or candidate divergence patterns
4. Reversal Bar Assessment: Validate strong rejection using adaptive ATR criteria
5. Context Evaluation: Ensure Unified Field provides supportive environment
Risk Management Integration:
- Stop Placement: Beyond rejected confluence zone or Fibonacci level
- Position Sizing: Based on signal tier and confluence strength
- Profit Targets: Next significant confluence zone or quantum field boundary
Adaptive Parameter System
Dynamic StochRSI Levels:
Unlike fixed 80/20 levels, the system calculates adaptive OB/OS based on recent StochRSI range:
- Adaptive OB: Recent minimum + (range × OB percentile)
- Adaptive OS: Recent minimum + (range × OS percentile)
- Lookback Period: Configurable 20-100 bars for range calculation
Intelligent ATR Adaptation:
Bar size requirements adjust to market volatility:
- High Volatility: Reduced multiplier (bars naturally larger)
- Low Volatility: Increased multiplier (ensuring significance)
- Base Multiplier: 0.6× ATR with adaptive scaling
Optimization Guidelines
Timeframe-Specific Settings:
Scalping (1-5 minutes):
- Fibonacci Rejection Sensitivity: 0.3-0.8
- Confluence Threshold: 2-3 levels
- StochRSI Lookback: 20-30 bars
Day Trading (15min-1H):
- Fibonacci Rejection Sensitivity: 0.5-1.2
- Confluence Threshold: 3-4 levels
- StochRSI Lookback: 40-60 bars
Swing Trading (4H-1D):
- Fibonacci Rejection Sensitivity: 1.0-2.0
- Confluence Threshold: 4-5 levels
- StochRSI Lookback: 60-80 bars
Asset-Specific Optimization:
Cryptocurrency:
- Higher rejection sensitivity (1.0-2.5) for volatile conditions
- Enable Tier 2 signals for increased opportunity detection
- Shorter adaptive lookbacks for rapid market changes
Forex Major Pairs:
- Moderate sensitivity (0.8-1.5) for stable trending
- Focus on Higher/Critical confluence zones
- Longer lookbacks for institutional flow detection
Stock Indices:
- Conservative sensitivity (0.5-1.0) for institutional participation
- Standard confluence thresholds
- Balanced adaptive parameters
IMPORTANT USAGE CONSIDERATIONS
Realistic Performance Expectations
This indicator provides probabilistic advantages based on mathematical confluence analysis, not guaranteed outcomes. Signal quality varies with market conditions, and proper risk management remains essential regardless of signal tier.
Understanding Adaptive Features:
- Adaptive parameters react to historical data, not future market conditions
- Dynamic levels adjust to past volatility patterns
- Signal quality reflects mathematical alignment probability, not certainty
Market Context Awareness:
- Strong trending markets may produce fewer reversal signals
- Range-bound conditions typically generate more confluence opportunities
- News events and fundamental factors can override technical analysis
Educational Value
Mathematical Concepts Introduced:
- Multi-dimensional confluence analysis
- Adaptive signal processing techniques
- Dynamic parameter optimization
- Mathematical field theory applications in trading
- Advanced Fibonacci sequence applications
Skill Development Benefits:
- Understanding market structure through mathematical lens
- Recognition of multi-timeframe confluence principles
- Appreciation for adaptive vs. static analysis methods
- Integration of classical Fibonacci with modern signal processing
UNIQUE INNOVATIONS
First-Ever Implementations
1. True Fibonacci Sequence Periods: First indicator using authentic Fibonacci numbers (8,13,21,34,55) for timeframe analysis
2. Mathematical Confluence Clustering: Advanced algorithm identifying true Fibonacci level convergence
3. Adaptive StochRSI Boundaries: Dynamic OB/OS levels replacing fixed thresholds
4. Tiered Signal Architecture: Democratic signal weighting with quality classification
5. Quantum Field Price Visualization: Mathematical field representation of price dynamics
Visualization Breakthroughs
- Multi-Layer Fibonacci Grid: Three-layer rendering with intelligent spacing
- Dynamic Confluence Zones: Strength-based color coding and sizing
- Adaptive Parameter Display: Real-time visualization of dynamic calculations
- Mathematical Field Effects: Quantum-inspired price channel visualization
- Progressive Transparency Systems: Natural visual flow without chart clutter
COMPREHENSIVE DASHBOARD SYSTEM
Multi-Size Display Options
Small Dashboard: Core metrics for mobile/limited screen space
Normal Dashboard: Balanced information density for standard desktop use
Large Dashboard: Complete analysis suite including adaptive parameter values
Real-Time Metrics Tracking
Market Analysis Section:
- Unified Field strength with visual meter
- Market Resonance percentage
- Signal Quality assessment with emoji indicators
- Market Bias classification (Bullish/Bearish/Neutral)
Confluence Intelligence:
- Total active zones count
- High/Critical zone identification
- Nearest zone distance and strength
- Price-to-zone ATR measurement
Adaptive Parameters (Large Dashboard):
- Current StochRSI OB/OS levels
- Active ATR multiplier for bar sizing
- Volatility ratio for adaptive scaling
- Real-time StochRSI positioning
TECHNICAL SPECIFICATIONS
Pine Script Version: v5 (Latest)
Calculation Method: Real-time with confirmed bar processing
Maximum Objects: 500 boxes, 500 lines, 500 labels
Dashboard Positions: 4 corner options with size selection
Visual Themes: Quantum, Holographic, Crystalline, Plasma
Alert Integration: Complete alert system for all signal types
Performance Optimizations:
- Efficient confluence zone calculation using advanced clustering
- Smart label spacing prevents overlap
- Progressive transparency for visual clarity
- Memory-optimized array management
EDUCATIONAL FRAMEWORK
Learning Progression
Beginner Level:
- Understanding Fibonacci sequence applications
- Recognition of confluence zone concepts
- Basic signal interpretation
- Dashboard metric comprehension
Intermediate Level:
- Adaptive parameter optimization
- Multi-timeframe confluence analysis
- Signal quality assessment techniques
- Risk management integration
Advanced Level:
- Mathematical field theory applications
- Custom parameter optimization strategies
- Market regime adaptation techniques
- Professional trading system integration
DEVELOPMENT ACKNOWLEDGMENT
Special acknowledgment to @AlgoTrader90 - the foundational concepts of this system came from him and we developed it through a collaborative discussions about multi-timeframe Fibonacci analysis. While the original framework came from AlgoTrader90's innovative approach, this implementation represents a complete evolution of the logic with enhanced mathematical precision, adaptive parameters, and sophisticated signal filtering to deliver meaningful, actionable trading signals.
CONCLUSION
The Sequences of Fibonacci represents a quantum leap in technical analysis, successfully merging classical Fibonacci mathematics with cutting-edge adaptive signal processing. Through sophisticated confluence detection, intelligent parameter adaptation, and comprehensive market analysis, this system provides traders with unprecedented insight into market structure and potential reversal points.
The mathematical foundation ensures lasting relevance while the adaptive features maintain effectiveness across changing market conditions. From the dynamic Fibonacci grid to the quantum field visualization, every component reflects a commitment to mathematical precision, visual elegance, and practical utility.
Whether you're a beginner seeking to understand market confluence or an advanced trader requiring sophisticated analytical tools, this system provides the mathematical framework for informed decision-making based on time-tested Fibonacci principles enhanced with modern computational techniques.
Trade with mathematical precision. Trade with the power of confluence. Trade with The Sequences of Fibonacci.
"Mathematics is the language with which God has written the universe. In markets, Fibonacci sequences reveal the hidden harmonies that govern price movement, and those who understand these mathematical relationships hold the key to anticipating market behavior."
* Galileo Galilei (adapted for modern markets)
— Dskyz, Trade with insight. Trade with anticipation.
STMDUpdated Setup Rules
Buy condition:
SMA 8 > SMA 13 > SMA 20 (aligned and pointing up).
All 3 averages are rising (positive slope).
Entry candle is a power candle (bullish elephant bar).
SELL condition:
SMA 8 < SMA 13 < SMA 20 (aligned and pointing down).
All 3 averages are falling (negative slope).
Entry candle is a power candle (bearish elephant bar).
OG MACD-Histogram 6/13/5 © 2025🧠 OG MACD Histogram
📈 Developed by: OG WEALTH
📜 Description for TradingView:
This custom MACD Histogram was developed by OG WEALTH to provide elite-level momentum clarity and intraday reversal precision. Unlike traditional MACD tools, the OG MACD Histogram includes:
🔍 Smoother signal line filters for reduced noise
🟢 Dynamic histogram coloring for trend shifts
🛠 Designed for scalping, swing trades, and trend continuation setups
✅ Color Logic:
Dark green: Momentum building (bullish)
Light green: Momentum fading (still bullish, weakening)
Dark red: Bearish pressure increasing
Light red: Bearish exhaustion
🎯 Best For:
Confirming continuation moves
Detecting early reversals during low volume pullbacks
Pairing with EMA stacks (8/21 or 9/20)
📘 How to Use:
Use with trend overlays, such as EMAs or VWAP.
Look for dark green bars rising = possible call setup.
Look for dark red bars rising = possible put setup.
Wait for the histogram color to flip to confirm a momentum shift.
⚠️ Pro Tip: Combine with OG Flow Signal or ATR Trail for sniper-grade entries.
4 Flags Whale PatternThis indicator detects a unique 4-bar candlestick pattern characterized by alternating bullish and bearish candles (or vice versa), where all four candles have similar body sizes within a specified tolerance.
Usage:
This pattern may indicate a consolidation phase or a potential breakout zone after indecisive price action. Traders can use it to anticipate a directional move following the "tug-of-war" between buyers and sellers.
Intraday & Annual CAPM AlphaIntraday & Annual CAPM Alpha
This TradingView™ Pine v6 indicator computes and plots a stock’s CAPM α (alpha) on both intraday and daily/annualized timeframes, allowing you to monitor relative performance against a chosen benchmark (e.g. SPX, NDX).
⸻
Key Outputs
1. Intraday α per Bar (blue line)
• Calculates α from a rolling-window linear regression of the last N bars’ returns (default 60).
• Expressed as “extra return per bar” vs. the benchmark.
2. Intraday α Daily-Equivalent (stepped blue line)
• Scales the per-bar α to a full trading day (390 minutes), showing “if this pace held all day, outperformance (%)”.
3. Annualized α (yellow line)
• Performs the same CAPM regression on daily returns over a D-day lookback (default 252), then annualizes α by multiplying by 252.
• Indicates longer-term relative strength/weakness vs. the benchmark.
⸻
Inputs
• Benchmark Symbol: Choose any index or ETF (e.g. “SPX”, “NDX”).
• Intraday Lookback Bars: Number of bars for intraday α regression (default 60).
• Daily Lookback Days: Number of trading days for daily CAPM regression (default 252).
• Use Log Returns?: Toggle between arithmetic vs. log returns.
⸻
How to Use
• Short-Term Signals:
• Watch the blue α/bar line on 1–15 min charts. A cross from negative to positive suggests intraday outperformance; a reversal warns of weakening momentum.
• The blue daily-equivalent α gives a smoother view—e.g. > +1% signals strong intraday bias, < –1% signals underperformance.
• Long-Term Trends:
• On daily charts, focus on the yellow annualized α. A sustained positive α implies this stock has historically beaten the benchmark; sustained negative α implies the opposite.
• Combining Timeframes:
• Use intraday α for timing entries/exits within the session, and annualized α to confirm whether you want a bullish or bearish bias over days to weeks.
⸻
Install & Configure
1. Copy the Pine v6 script into the TradingView Pine Editor.
2. Set your favorite benchmark, lookback periods, and returns type.
3. Add to your chart to start visualizing real-time CAPM α signals!
Feel free to adjust the lookback windows and threshold levels to suit your trading style.
Poprzedni Dzień – Box 5M + gruba środkowa liniaThe script draws a box which has bottom at the low of the previous trading day and high at the top of the previous trading day.
BTC Transaction Indicator Name: "Bitcoin On-Chain Volume & Dynamic Parabolic Curve Signals"
Purpose:
This indicator is designed for Bitcoin traders and long-term holders. It combines the analysis of Bitcoin's on-chain transaction volume with price action to generate "Whale" and "Bear" signals. Additionally, it features a unique dynamic parabolic curve that acts as a visual support line, adapting its visibility based on price interaction with a key Exponential Moving Average (EMA).
Key Components:
On-Chain Volume Analysis:
Utilizes Estimated Transaction Volume (ETRAV) data from the Bitcoin blockchain.
Calculates fast and slow Simple Moving Averages (SMAs) of this volume.
Identifies volume trends (up/down) and significant volume increases/decreases.
Employs fixed thresholds (2,500,000 for low volume and 25,000,000 for high volume) to define key activity levels, similar to how historical on-chain analysis defined accumulation and distribution zones.
Price Action Analysis:
Calculates fast and slow SMAs of the price.
Detects price trends (up/down), recoveries, and declines based on these price SMAs.
"Whale" and "Bear" Signals:
Whale Signals (Buy-side): Generated when there's an upward volume trend, significant volume increase, and a downward price trend followed by price recovery. These indicate potential accumulation phases.
Bear Signals (Sell-side): Generated when there's a downward volume trend, significant volume decrease, and an upward price trend followed by price decline. These indicate potential distribution phases.
Visuals: Both types of signals are plotted as small, colored circles directly on the price chart, with corresponding text labels ("Whale," "Buy," "Bear," "Sell," "Price Recovering," "Price Declining").
Dynamic Parabolic Curve:
Concept: A green parabolic (exponential) curve that serves as a dynamic visual support line.
Activation: The curve starts drawing automatically only when the price crosses over the EMA 500 (Exponential Moving Average of 500 periods). The curve's starting point is set at a user-defined percentage below the EMA 500 value at that exact crossover point.
Visibility: The curve remains visible and continues its trajectory only as long as the price stays above the EMA 500.
Deactivation: The curve disappears instantly if the price falls below or equals the EMA 500. It will only reappear if the price crosses above the EMA 500 again.
Customization: The curve's steepness (Tasa Crecimiento Curva) and its initial distance from the EMA 500 (Inicio Curva % por debajo de EMA500) are adjustable.
Dynamic Label: A "Parabólico" text label is plotted near the center of the active curve segment, with an adjustable vertical offset to ensure it stays visually appealing below the curve.
What is PLOTTED on the chart:
The small, colored circle signals for Whale/Buy and Bear/Sell activity.
The green dynamic parabolic curve.
What is NOT PLOTTED:
EMA 200, EMA 500 lines (though they are calculated internally for logic).
Raw volume data or volume Moving Averages (these are only used for signal calculation, not plotted).
Ideal for:
Bitcoin traders and investors focused on long-term trends and cycle analysis, who want visual cues for accumulation/distribution phases based on on-chain activity, complemented by a unique, dynamically appearing parabolic support curve.
Important Notes:
Relies on the availability of external on-chain data (QUANDL:BCHAIN) within TradingView.
Functions best on a daily timeframe for optimal on-chain data relevance.
Rainbow Price Chart This indicator is a technical and on-chain analysis tool for Bitcoin, designed to help investors better understand the different phases of the market cycle and underlying sentiment. It directly overlays on the price chart (overlay=true).
Indicator Name: "Rainbow Price Chart & V/T Ratio Signals"
General Purpose:
It combines two popular methodologies for visualizing Bitcoin's value and sentiment: the classic "Rainbow Price Chart" and signals derived from the "Value per Transaction Ratio" (V/T Ratio) based on blockchain data. It is ideal for long-term investors looking for strategic entry/exit points.
Main Components:
Rainbow Price Chart:
Concept: Divides Bitcoin's price range into different market "sentiment zones" (e.g., "Bubble Zone," "FOMO Zone," "HODL Zone," "Accumulation Zone," "Buy Zone," "Fire Sale Zone") using colored bands. These bands are calculated as ascending and descending multiples of a base Exponential Moving Average (EMA), configurable by default to 200 periods.
Visualization: The zones are represented with transparent color fills on the price chart. A detailed legend in the top right corner of the chart explains the meaning of each color and sentiment zone.
Important Note: This type of chart is designed to be viewed and analyzed correctly on a logarithmic price scale. The indicator includes a visual reminder to activate this scale.
Value per Transaction (V/T) Ratio Signals:
Concept: Measures the average value per transaction on the Bitcoin blockchain by dividing the total transacted volume in USD by the number of transactions. This ratio is smoothed with an Exponential Moving Average (by default, 7 periods) and is framed within a dynamic Linear Regression Channel (LRC) based on standard deviation.
Signal Generation: Based on the position of the smoothed V/T Ratio within this LRC channel, the indicator generates signals directly on the price chart, such as:
"BOTTOM": Low price, V/T Ratio in the lower band of the LRC.
"SEMI-LOW" / "SEMI-HIGH": Intermediate phases within the channel.
"ATH" (All-Time High): Potentially overvalued price, V/T Ratio in the upper band of the LRC.
On-Chain Data: The indicator requests external daily on-chain data for total transacted volume (TVTVR) and number of transactions (NTRAN) from the Bitcoin blockchain.
Diagnostic Panes: Includes plots of the raw on-chain data (volume and number of transactions) in a separate pane, which are useful for debugging or verifying the data source. The lines for the V/T Ratio itself and its LRC channel are not plotted by default but can be activated in the code for deeper analysis.
Ideal for:
Bitcoin investors and "hodlers" who desire a visual tool that combines price-based market cycle context with fundamental signals derived from on-chain activity, to help identify key moments for accumulation or potential distribution.
Considerations:
Relies on the availability of external on-chain data (QUANDL:BCHAIN) within TradingView.
Functions best on a daily timeframe.
Currency Volatility Index (CVI)This Currency Volatility Index (CVI) indicator aggregates the realized volatility of the eight “major” FX pairs into a single, tradable series—much like an FX-version of the VIX. Here’s what it does step by step:
Inputs & Settings
• Volatility Length (default 20 days): the lookback over which daily log-returns’ standard deviation is computed.
• Data Timeframe (default Daily): the resolution at which price data is fetched for each pair.
• Smoothing Length (default 5): the period of a simple moving average applied to the raw, averaged volatility (in %).
Pair-by-Pair Volatility Calculation
For each hard-coded symbol (EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD, EURGBP):
Pull the series of daily closes.
Compute the series of log-returns: ln(today’s close / yesterday’s close).
Calculate the standard deviation of those log-returns over your lookback.
Annualize it (×√252) to convert daily volatility into an annualized figure.
Aggregation
The eight annualized volatilities are averaged (equal weights).
The resulting number is then multiplied by 100 to express it as a percentage.
Smoothing & Plotting
A simple moving average over the aggregated volatility smooths out spikes.
The smoothed CVI (%) is plotted as a standalone line below price charts.
Visualization Aids
A small table in the top-right corner shows each pair’s current volatility in percent.
A dynamic label on the final bar prints the latest CVI value directly on the chart.
Why use it?
Gives a one-stop measure of overall FX market turbulence.
Helps you compare “quiet” vs. “volatile” regimes across currencies.
CirclesCircles - Support & Resistance Levels
Overview
This indicator plots horizontal support and resistance levels based on W.D. Gann's mathematical approach of dividing 360 degrees by 2 and by 3. These divisions create natural price magnetism points that have historically acted as significant support and resistance levels across all markets and timeframes.
How It Works
360÷2 Levels (Blue): 5.63, 11.25, 33.75, 56.25, 78.75, etc.
360÷3 Levels (Red): 7.5, 15, 30, 37.5, 52.5, 60, 75, etc.
Both Levels (Yellow): 22.5, 45, 67.5, 90, 112.5, 135, 157.5, 180 - These are "doubly strong" as they appear in both calculations
Key Features
Auto-Scaling: Automatically adjusts for any price range (from $0.001 altcoins to $100K+ Bitcoin)
Manual Scaling: Choose from 0.001x to 1000x multipliers or set custom values
Full Customization: Colors, line widths, styles (solid/dashed/dotted)
Historical View: Option to show all levels regardless of current price
Clean Display: Adjustable label positioning and line extensions
Use Cases
Identify potential reversal zones before price reaches them
Set profit targets and stop losses at key mathematical levels
Confirm breakouts when price decisively moves through major levels
Works on all timeframes and all markets (stocks, crypto, forex, commodities)
Gann Theory
W.D. Gann believed that markets move in mathematical harmony based on geometric angles and time cycles. These 360-degree divisions represent natural balance points where price often finds support or resistance, making them valuable for both short-term trading and long-term analysis.
Perfect for traders who use:
Support/Resistance trading
Fibonacci levels
Pivot points
Mathematical/geometric analysis
Multi-timeframe analysis
Out of the Noise Intraday Strategy with VWAP [YuL]This is my (naive) implementation of "Beat the Market An Effective Intraday Momentum Strategy for S&P500 ETF (SPY)" paper by Carlo Zarattini, Andrew Aziz, Andrea Barbon, so the credit goes to them.
It is supposed to run on SPY on 30-minute timeframe, there may be issues on other timeframes.
I've used settings that were used by the authors in the original paper to keep it close to the publication, but I understand that they are very aggressive and probably shouldn't be used like that.
Results are good, but not as good as they are stated in the paper (unsurprisingly?): returns are smaller and Sharpe is very low (which is actually weird given the returns and drawdown ratio), there are also margin calls if you enable margin check (and you should).
I have my own ideas of improvements which I will probably implement separately to keep this clean.
Simple Sessions & LevelsWhat this indicator does:
This script marks out two essential types of price levels for intraday and swing traders:
The high and low of a customizable 15-minute opening range after the market/session open.
The previous day’s high, midpoint (“halfback”), and low.
How it works:
The script lets you set the session start time (hour and minute) to match your market.
It then calculates the high and low of the first 15 minutes after the session opens and plots those as solid lines.
It also plots the prior day’s high, halfback (midpoint), and low on your chart for easy reference.
Each line and each label can be toggled on or off independently in the settings for maximum customization.
Colors for each level are also fully customizable.
How to use it:
Add the script to your chart.
Set the session start hour and minute to match the open of the market or instrument you trade.
Choose which levels and labels you want displayed by using the toggles in the settings.
The indicator will automatically draw the session range and prior day levels for you.
Use these lines as reference for key support, resistance, and potential trade entry/exit points.
What makes it unique and useful:
This tool combines a flexible session opening range with classic daily reference levels in one package. You have complete control over which levels and labels are shown, making it adaptable for any trading style. It’s especially useful for day traders who want to quickly identify volatility windows and the most important price levels from the previous session.
Expanded Cloud [LuxAlgo]The Expanded Cloud tool allows traders to identify and follow trends accurately. It is based on the well-known Donchian Channels, but with enhanced features.
It features a trailing cloud that expands with the price and a trading stats dashboard.
🔶 USAGE
The tool is super easy to use. Traders can identify bigger or smaller trends just by adjusting the length from the settings panel.
Trend identification is based on Donchian Channels. An uptrend is indicated when the cloud is located below the price, while a downtrend is indicated when the cloud is above it.
Dots signal the start of a new trend, and the width of the clouds identifies the strength of the price expansion. The wider the cloud, the bigger the move.
The expanded cloud, due to its visual, can also act as a trailing stop.
🔹 Trend Identification
As we can see in the chart above, different length values identify different trends on the same BTC daily chart. Larger values identify larger trends.
🔹 Cloud Expansion
From the settings panel, traders can adjust how the clouds expand based on the Expansion % parameter. It accepts values from 0 to 100, which controls how much of the expansion is taken into account. Higher values will make the cloud expand and get closer to the price faster.
When the cloud moves opposite to the direction of the indicated trend (e.g: the cloud decreases while being below the price), it is often indicative of the end of a retracement, and we can expect the price to move with the indicated trend.
The chart above shows the effect of different Expansion % values.
🔹 Dashboard
The trading statistics dashboard informs traders of key metrics derived from the tool. The following are notable:
PNL: Theoretical profit or loss from all trends identified by the tool in the right scale units.
EXPECT.: Expected value of each trade. It is derived from win rate and risk-to-reward metrics.
AVG: 1st TOUCH: The average number of bars from the beginning of a new trend until the price touches the cloud for the first time.
🔶 SETTINGS
Length: Length for trend detection
Expansion %: Percentage of price expansion for cloud formation
Source: Source of the data
🔹 Dashboard
Show Dashboard: Enable/disable the statistics dashboard
Location: Dashboard location
Size: Dashboard size
Simple Risk-to-Reward (R) Indicator (TP1–TP2)What this indicator does:
This tool helps traders clearly visualize their risk and reward on any trade by plotting their entry, stop loss, and take-profit (TP) levels directly on the chart. It’s designed to make manual trade planning more visual and systematic.
How it works:
You set your planned entry price, whether you want to plot a Long or Short setup, and your stop-loss distance (in ticks).
The indicator calculates your stop-loss level and automatically plots it on the chart.
It then draws take-profit levels at 1R and 2R (where “R” is your risk, the distance between entry and stop).
You can toggle the TP1 and TP2 lines on or off to suit your preference.
How to use it:
Open the settings and enter your intended entry price.
Select “Long Setup” for a buy trade, or turn it off for a sell/short trade.
Enter your desired stop loss in ticks.
Choose which take-profit levels to display by toggling TP1 and TP2.
The indicator will show entry, stop, and take-profit levels right on your chart so you can easily see your planned risk/reward.
What makes it unique and useful:
This indicator is designed for manual trade planning, giving you full control over your inputs and letting you instantly see your risk/reward on any instrument or timeframe. Unlike some built-in tools, it supports both long and short trades, lets you set all levels manually, and keeps your charts clean and easy to interpret.