SURGE AI MAX ALGO v1.5The SURGE AI Trading Suite is a comprehensive, professional-grade toolkit designed to provide traders with a distinct analytical edge across all markets and timeframes. This is not a single indicator but an integrated system that fuses a proprietary AI-driven forecasting engine with institutional-grade analytics and a robust, automated risk management framework.
The suite is designed for clarity and decisiveness, translating complex data into actionable signals and visual aids directly on your chart. It is built to serve scalpers, swing traders, and position holders alike in crypto, forex, stocks, indices, and commodities.
WHAT MAKES THIS SCRIPT ORIGINAL AND VALUABLE
While many scripts utilize common elements like moving averages or oscillators, the originality of the SURGE suite stems from its unique synthesis of four distinct technologies into one cohesive system, justifying its invite-only status:
Proprietary AI Forecasting: Unlike standard indicators that only analyze past price, our AI Forecast system analyzes historical price action to find correlative patterns, projecting potential future price trajectories with a clear bullish, bearish, or neutral bias.
Integrated Institutional Concepts: The suite automates the detection and visualization of concepts typically used by institutional traders, such as order blocks and liquidity zones, providing insight into where major market participants may be positioned.
Automated Risk Management Engine: Every primary signal is accompanied by an automatically plotted entry price, a volatility-based stop-loss (using ATR), and up to three take-profit levels. This instills mechanical discipline and removes emotional decision-making from position sizing and trade management.
The Smart Dashboard: This central hub provides an at-a-glance summary of the market state, including trend analysis across multiple timeframes, signal quality, and volume pressure, dramatically reducing the time needed for analysis.
SURGE AI MAX ALGO (The Flagship All-in-One Indicator)
This is the core of the suite, combining all major features into a single, powerful tool.
Smart Dashboard: Displays plain-language action calls (e.g., "BUY NOW", "SELL NOW", "WAIT BREAK") and analyzes signal quality, market state, and volume.
AI-Driven Forecasting: Projects future price action with color-coded forecast lines (Green for Bullish, Red for Bearish, Orange for Neutral). The forecasting model can be tuned for trend-following ("Similarity" mode) or reversal-hunting ("Dissimilarity" mode).
MAX Mode Signals: A primary feature designed to filter out market noise. When enabled, it only displays the highest-confidence, trend-aligned BUY and SELL signals, ideal for traders seeking quality over quantity.
Automated Risk & Trade Management: For every signal, the script automatically calculates and displays:
Suggested Entry Price
Stop-Loss (based on Average True Range)
Three distinct Take-Profit Levels
Optional Trailing Stop-Loss and Breakeven functions to protect profits.
Built-in Technical Analysis: Includes trend-following clouds, automatic support/resistance zone detection, divergence detection, and a selection of adaptive moving averages (VIDYA).
Forecasting
Money MovementThe “Main Force Volume” indicator is designed to help traders quickly and easily capture the movements of the main force in the cryptocurrency market. In this market, prices are often influenced by human manipulation, and it can be difficult for traders to identify the movements of the main force. This indicator is designed to help traders recognize the main force’s movements and identify key areas of support and resistance.
The indicator consists of two types of red columns: upward red columns and downward red columns. Upward red columns are used to determine the bottom area according to different cycles. When the market is in a downtrend, upward red columns may appear, indicating that the main force has begun to intervene and that a bottom area may be forming. The longer the upward red columns, the more solid the bottom area may be.
Downward red columns, on the other hand, are used to judge the top area according to different cycles. When the market is in an uptrend, downward red columns may appear, representing selling pressure from the main force. As the downward red columns gradually exhaust their volume, a relative top area may be forming. This indicates that the main force has sold almost all of its holdings and that there may be no further upward momentum.
To use the indicator, traders should look for patterns of upward and downward red columns on the chart. When upward red columns appear, traders should look for a longer-term trend reversal and consider buying opportunities. When downward red columns appear, traders should look for a potential top and consider selling opportunities.
It is important to note that this indicator is just one tool among many for technical analysis, and traders should use it in conjunction with other tools and their own analysis to make their own buy or sell decisions. The purpose of this description is to help users understand the indicator’s functionality and how to use it. If you have any questions, please refer to TradingView’s community rules or contact TradingView customer service.
Quarterly Financials on Chart with Estimates by SpeedEdge)# Quarterly Financials on Chart with Estimates
## Overview
This comprehensive Pine Script indicator displays quarterly financial data directly on your TradingView chart in an easy-to-read table format. Perfect for fundamental analysis, it shows historical quarterly results alongside current estimates, helping traders and investors make informed decisions.
## Key Features
### 📊 **Financial Metrics Displayed**
- **Earnings Per Share (EPS)** - Quarterly actual and estimated values
- **Sales/Revenue** - Quarterly revenue figures with growth calculations
- **Operating Margin (OPM)** - Profitability percentage
- **Depreciation & Amortization (D&A)** - Capital expenditure insights
- **Quarter-over-Quarter (QoQ) Growth** - Short-term performance trends
- **Year-over-Year (YoY) Growth** - Annual comparison metrics
### 💰 **Company Overview Data**
- **Market Capitalization** - Current market value
- **Free Float Percentage** - Available shares for trading
- **CFO/EBITDA Ratio** - Cash flow efficiency metric
- **PEG Ratio** - Price/Earnings to Growth valuation
- **Industry & Sector** - Business classification
### 🎯 **Estimates Integration**
- **Next Quarter EPS Estimate** - Analyst consensus expectations
- **Next Quarter Sales Estimate** - Revenue projections
- **Visual distinction** with yellow highlighting for estimated values
## Customization Options
### 🌍 **Regional Number Formatting**
- **India Format**: Displays values in Crores (cr), Lakh Crores (L cr), K Crores (K cr)
- **Global Format**: Shows values in Millions (M), Billions (B), Trillions (T)
### 📱 **Display Preferences**
- **Position Control**: Place table in any corner of the chart
- **Size Options**: Choose from Tiny, Small, Normal, Large, or Huge
- **Color Customization**: Adjust background, text, border, and frame colors
- **Short Labels**: Enable compact labels for smaller displays
- **Historical Depth**: View 4-20 previous quarters of data
### 🎨 **Smart Color Coding**
- **Growth Indicators**: Green for positive growth, red for negative
- **Free Float**: Green for low float (<40%), red for high float
- **CFO/EBITDA**: Green for healthy ratio (>50%), red for concerning ratio
- **D&A Changes**: Visual indicators for depreciation trends
## How to Use
1. **Add to Chart**: Apply the indicator to any stock chart
2. **Configure Region**: Select India or Global number formatting
3. **Adjust Display**: Choose position, size, and colors to match your preference
4. **Analyze Data**: Review quarterly trends and upcoming estimates
5. **Compare Performance**: Use QoQ and YoY metrics to assess growth trajectories
## Ideal For
- **Fundamental Analysts** seeking quick access to financial data
- **Long-term Investors** tracking quarterly performance trends
- **Earnings Traders** preparing for quarterly announcements
- **Portfolio Managers** conducting comparative analysis
- **Financial Advisors** presenting client portfolio performance
## Data Sources
The indicator uses TradingView's built-in financial data, ensuring accuracy and real-time updates. All financial metrics are sourced from official company filings and analyst estimates.
## Technical Notes
- Updates automatically when new quarterly data becomes available
- Handles missing data gracefully with "N/A" displays
- Optimized for performance with efficient data storage
- Compatible with all TradingView chart types and timeframes
---
**Perfect for both novice investors learning fundamental analysis and experienced traders who want quick access to comprehensive financial data without leaving their charts.**
DCA Investment Tracker Pro [tradeviZion]DCA Investment Tracker Pro: Educational DCA Analysis Tool
An educational indicator that helps analyze Dollar-Cost Averaging strategies by comparing actual performance with historical data calculations.
---
💡 Why I Created This Indicator
As someone who practices Dollar-Cost Averaging, I was frustrated with constantly switching between spreadsheets, calculators, and charts just to understand how my investments were really performing. I wanted to see everything in one place - my actual performance, what I should expect based on historical data, and most importantly, visualize where my strategy could take me over the long term .
What really motivated me was watching friends and family underestimate the incredible power of consistent investing. When Napoleon Bonaparte first learned about compound interest, he reportedly exclaimed "I wonder it has not swallowed the world" - and he was right! Yet most people can't visualize how their $500 monthly contributions today could become substantial wealth decades later.
Traditional DCA tracking tools exist, but they share similar limitations:
Require manual data entry and complex spreadsheets
Use fixed assumptions that don't reflect real market behavior
Can't show future projections overlaid on actual price charts
Lose the visual context of what's happening in the market
Make compound growth feel abstract rather than tangible
I wanted to create something different - a tool that automatically analyzes real market history, detects volatility periods, and shows you both current performance AND educational projections based on historical patterns right on your TradingView charts. As Warren Buffett said: "Someone's sitting in the shade today because someone planted a tree a long time ago." This tool helps you visualize your financial tree growing over time.
This isn't just another calculator - it's a visualization tool that makes the magic of compound growth impossible to ignore.
---
🎯 What This Indicator Does
This educational indicator provides DCA analysis tools. Users can input investment scenarios to study:
Theoretical Performance: Educational calculations based on historical return data
Comparative Analysis: Study differences between actual and theoretical scenarios
Historical Projections: Theoretical projections for educational analysis (not predictions)
Performance Metrics: CAGR, ROI, and other analytical metrics for study
Historical Analysis: Calculates historical return data for reference purposes
---
🚀 Key Features
Volatility-Adjusted Historical Return Calculation
Analyzes 3-20 years of actual price data for any symbol
Automatically detects high-volatility stocks (meme stocks, growth stocks)
Uses median returns for volatile stocks, standard CAGR for stable stocks
Provides conservative estimates when extreme outlier years are detected
Smart fallback to manual percentages when data insufficient
Customizable Performance Dashboard
Educational DCA performance analysis with compound growth calculations
Customizable table sizing (Tiny to Huge text options)
9 positioning options (Top/Middle/Bottom + Left/Center/Right)
Theme-adaptive colors (automatically adjusts to dark/light mode)
Multiple display layout options
Future Projection System
Visual future growth projections
Timeframe-aware calculations (Daily/Weekly/Monthly charts)
1-30 year projection options
Shows projected portfolio value and total investment amounts
Investment Insights
Performance vs benchmark comparison
ROI from initial investment tracking
Monthly average return analysis
Investment milestone alerts (25%, 50%, 100% gains)
Contribution tracking and next milestone indicators
---
📊 Step-by-Step Setup Guide
1. Investment Settings 💰
Initial Investment: Enter your starting lump sum (e.g., $60,000)
Monthly Contribution: Set your regular DCA amount (e.g., $500/month)
Return Calculation: Choose "Auto (Stock History)" for real data or "Manual" for fixed %
Historical Period: Select 3-20 years for auto calculations (default: 10 years)
Start Year: When you began investing (e.g., 2020)
Current Portfolio Value: Your actual portfolio worth today (e.g., $150,000)
2. Display Settings 📊
Table Sizes: Choose from Tiny, Small, Normal, Large, or Huge
Table Positions: 9 options - Top/Middle/Bottom + Left/Center/Right
Visibility Toggles: Show/hide Main Table and Stats Table independently
3. Future Projection 🔮
Enable Projections: Toggle on to see future growth visualization
Projection Years: Set 1-30 years ahead for analysis
Live Example - NASDAQ:META Analysis:
Settings shown: $60K initial + $500/month + Auto calculation + 10-year history + 2020 start + $150K current value
---
🔬 Pine Script Code Examples
Core DCA Calculations:
// Calculate total invested over time
months_elapsed = (year - start_year) * 12 + month - 1
total_invested = initial_investment + (monthly_contribution * months_elapsed)
// Compound growth formula for initial investment
theoretical_initial_growth = initial_investment * math.pow(1 + annual_return, years_elapsed)
// Future Value of Annuity for monthly contributions
monthly_rate = annual_return / 12
fv_contributions = monthly_contribution * ((math.pow(1 + monthly_rate, months_elapsed) - 1) / monthly_rate)
// Total expected value
theoretical_total = theoretical_initial_growth + fv_contributions
Volatility Detection Logic:
// Detect extreme years for volatility adjustment
extreme_years = 0
for i = 1 to historical_years
yearly_return = ((price_current / price_i_years_ago) - 1) * 100
if yearly_return > 100 or yearly_return < -50
extreme_years += 1
// Use median approach for high volatility stocks
high_volatility = (extreme_years / historical_years) > 0.2
calculated_return = high_volatility ? median_of_returns : standard_cagr
Performance Metrics:
// Calculate key performance indicators
absolute_gain = actual_value - total_invested
total_return_pct = (absolute_gain / total_invested) * 100
roi_initial = ((actual_value - initial_investment) / initial_investment) * 100
cagr = (math.pow(actual_value / initial_investment, 1 / years_elapsed) - 1) * 100
---
📊 Real-World Examples
See the indicator in action across different investment types:
Stable Index Investments:
AMEX:SPY (SPDR S&P 500) - Shows steady compound growth with standard CAGR calculations
Classic DCA success story: $60K initial + $500/month starting 2020. The indicator shows SPY's historical 10%+ returns, demonstrating how consistent broad market investing builds wealth over time. Notice the smooth theoretical growth line vs actual performance tracking.
MIL:VUAA (Vanguard S&P 500 UCITS) - Shows both data limitation and solution approaches
Data limitation example: VUAA shows "Manual (Auto Failed)" and "No Data" when default 10-year historical setting exceeds available data. The indicator gracefully falls back to manual percentage input while maintaining all DCA calculations and projections.
MIL:VUAA (Vanguard S&P 500 UCITS) - European ETF with successful 5-year auto calculation
Solution demonstration: By adjusting historical period to 5 years (matching available data), VUAA auto calculation works perfectly. Shows how users can optimize settings for newer assets. European market exposure with EUR denomination, demonstrating DCA effectiveness across different markets and currencies.
NYSE:BRK.B (Berkshire Hathaway) - Quality value investment with Warren Buffett's proven track record
Value investing approach: Berkshire Hathaway's legendary performance through DCA lens. The indicator demonstrates how quality companies compound wealth over decades. Lower volatility than tech stocks = standard CAGR calculations used.
High-Volatility Growth Stocks:
NASDAQ:NVDA (NVIDIA Corporation) - Demonstrates volatility-adjusted calculations for extreme price swings
High-volatility example: NVIDIA's explosive AI boom creates extreme years that trigger volatility detection. The indicator automatically switches to "Median (High Vol): 50%" calculations for conservative projections, protecting against unrealistic future estimates based on outlier performance periods.
NASDAQ:TSLA (Tesla) - Shows how 10-year analysis can stabilize volatile tech stocks
Stable long-term growth: Despite Tesla's reputation for volatility, the 10-year historical analysis (34.8% CAGR) shows consistent enough performance that volatility detection doesn't trigger. Demonstrates how longer timeframes can smooth out extreme periods for more reliable projections.
NASDAQ:META (Meta Platforms) - Shows stable tech stock analysis using standard CAGR calculations
Tech stock with stable growth: Despite being a tech stock and experiencing the 2022 crash, META's 10-year history shows consistent enough performance (23.98% CAGR) that volatility detection doesn't trigger. The indicator uses standard CAGR calculations, demonstrating how not all tech stocks require conservative median adjustments.
Notice how the indicator automatically detects high-volatility periods and switches to median-based calculations for more conservative projections, while stable investments use standard CAGR methods.
---
📈 Performance Metrics Explained
Current Portfolio Value: Your actual investment worth today
Expected Value: What you should have based on historical returns (Auto) or your target return (Manual)
Total Invested: Your actual money invested (initial + all monthly contributions)
Total Gains/Loss: Absolute dollar difference between current value and total invested
Total Return %: Percentage gain/loss on your total invested amount
ROI from Initial Investment: How your starting lump sum has performed
CAGR: Compound Annual Growth Rate of your initial investment (Note: This shows initial investment performance, not full DCA strategy)
vs Benchmark: How you're performing compared to the expected returns
---
⚠️ Important Notes & Limitations
Data Requirements: Auto mode requires sufficient historical data (minimum 3 years recommended)
CAGR Limitation: CAGR calculation is based on initial investment growth only, not the complete DCA strategy
Projection Accuracy: Future projections are theoretical and based on historical returns - actual results may vary
Timeframe Support: Works ONLY on Daily (1D), Weekly (1W), and Monthly (1M) charts - no other timeframes supported
Update Frequency: Update "Current Portfolio Value" regularly for accurate tracking
---
📚 Educational Use & Disclaimer
This analysis tool can be applied to various stock and ETF charts for educational study of DCA mathematical concepts and historical performance patterns.
Study Examples: Can be used with symbols like AMEX:SPY , NASDAQ:QQQ , AMEX:VTI , NASDAQ:AAPL , NASDAQ:MSFT , NASDAQ:GOOGL , NASDAQ:AMZN , NASDAQ:TSLA , NASDAQ:NVDA for learning purposes.
EDUCATIONAL DISCLAIMER: This indicator is a study tool for analyzing Dollar-Cost Averaging strategies. It does not provide investment advice, trading signals, or guarantees. All calculations are theoretical examples for educational purposes only. Past performance does not predict future results. Users should conduct their own research and consult qualified financial professionals before making any investment decisions.
---
© 2025 TradeVizion. All rights reserved.
Kram Advanced EquilibriumKram's Advanced Equilibrium Indicator
Master precise price action with professional-grade 50% retracement levels across multiple timeframes. This indicator automatically calculates and displays premium/discount zones that traders use to identify high-probability reversal and continuation areas for day trading analysis.
WHAT IT DOES
This indicator plots the exact midpoint (50% level) between the high and low of daily ranges and trading sessions. These levels act as dynamic support and resistance zones where price often finds equilibrium, making them essential for identifying optimal entry and exit points in your day trading strategy.
KEY FEATURES
DAILY 50% PREMIUM/DISCOUNT LINE
• Configurable start time (default 1800) to match your trading strategy
• Tracks the full daily range from your specified start time
• Updates in real-time as new highs and lows form
• Perfect for day trading bias confirmation and trend analysis
• Only displays on 1D timeframe and below for optimal relevance
MULTIPLE SESSION 50% LINES
• NY AM Session (0930-1130) - Capture morning volatility
• NY PM Session (1300-1600) - Track afternoon momentum
• NY Full Session (0930-1600) - Complete New York range
• London Session (0200-0500) - European market dynamics
• Asia Session (2000-0000) - Asian market movements
• Each session tracks its own high/low range independently
• Only displays on M15 timeframe and below to prevent chart clutter
PROFESSIONAL STYLING CONTROLS
• Master line styles: Solid, Dashed, or Dotted
• Configurable line widths (1-5 pixels)
• Custom colors for each timeframe and session
• Professional label sizing options
• Smart label positioning (Left, Center, Right) that stays close to lines
INTELLIGENT EXTENSION BEHAVIOR
• "Extend to Current Price" - Lines continue to current bar for ongoing reference
• "End at Session Close" - Lines stop at session end for clean historical view
• Global setting applies to all lines with individual overrides available
TIMEZONE FLEXIBILITY
• Full timezone support (America/New_York, Europe/London, Asia/Tokyo, etc.)
• UTC offset notation supported (UTC-5, UTC+3, etc.)
• All calculations respect your chosen timezone for accurate session timing
TIMEFRAME OPTIMIZATION
• Session lines automatically hide above M15 timeframe
• Daily lines automatically hide above 1D timeframe
• Prevents chart clutter on inappropriate timeframes
• Configurable visibility limits for custom workflows
SMART CLEANUP SYSTEM
• Session lines automatically clean up at Asia Open (Sunday 1700/1800 NY time)
• Prevents old session lines from cluttering your chart
• Daily lines naturally reset at your configured start time
• No manual cleanup required
PERFECT FOR
• Scalping and intraday trading strategies
• Day trading bias confirmation
• Confluence analysis with other technical indicators
• Risk management and stop loss placement
• Identifying key support and resistance zones
TRADING APPLICATIONS
SESSION LEVELS - Use for intraday entries and exits
• Enter long near session 50% in uptrends
• Enter short near session 50% in downtrends
• Place stops beyond session highs/lows
• Target previous session extremes
DAILY LEVELS - Use for day trading bias
• Daily 50% above price = potential resistance
• Daily 50% below price = potential support
• Break and retest of daily 50% = continuation signal
• Rejection at daily 50% = reversal opportunity
CONFLUENCE TRADING
• Combine with support/resistance levels
• Use with moving average confluence
• Align with Fibonacci retracement levels
• Confirm with volume and momentum indicators
PROFESSIONAL ADVANTAGES
• Clean, minimal presentation
• Minimal CPU usage with optimized code
• Real-time updates without lag
• Timezone-aware calculations for global markets
• Customizable color schemes that work in any theme
USER SETTINGS OVERVIEW
MASTER CONTROLS
• Global line style, width, and label sizing
• Master extension behavior setting
• Timezone configuration
DAILY 50% SETTINGS
• Enable/disable daily calculations
• Custom start time (HHMM format)
• Individual color and style overrides
• Label text and positioning options
SESSION 50% SETTINGS (Per Session)
• Enable/disable each session independently
• Custom session times for each market
• Individual styling for easy identification
• Session-specific labels and colors
VISIBILITY CONTROLS
• Maximum timeframe for session visibility (default M15)
• Maximum timeframe for daily visibility (default 1D)
• Automatic cleanup preferences
This indicator provides clear, actionable visual signals that enhance your day trading precision across all market conditions and timeframes.
DISCLAIMER
This indicator is provided for educational and informational purposes only. It is designed to assist in technical analysis and should not be considered as financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Users are solely responsible for their own trading decisions and should consult with a qualified financial advisor before making any investment decisions. The creator of this indicator assumes no responsibility for any losses that may result from the use of this tool.
MM Hunter PRO [v1.1]💥 MM Hunter PRO v1.1 — Precision-Level Entry & Retest Engine
MM Hunter PRO v1.1 is a powerful and intuitive technical indicator built for traders who seek clean entries, tight risk management, and structured decision-making. Designed especially for scalpers and intraday traders, this tool transforms how you identify actionable setups on any chart.
🔍 What It Does
MM Hunter PRO automatically detects potential reversal points based on key market behavior. Once a valid signal appears, it doesn’t immediately force entry — instead, it waits for a retest confirmation, ensuring your entry is backed by real market intent.
Once the retest occurs:
A trade setup is validated.
Dynamic levels for Take Profit and Stop Loss are plotted.
The system visually tracks the outcome of each signal — Win (TP), Loss (SL), or Canceled (no retest).
No guessing. No overtrading. Just disciplined, rule-based trade planning.
⚙️ Key Features
🔁 Retest Logic: Enters only when price retests the key level.
🎯 TP/SL Levels: Automatically sets risk-reward targets based on your settings.
🕐 Retest Timeout: If a setup isn’t confirmed within a certain number of candles — it’s canceled.
🧠 Visually Clean: Focused, minimal design that marks only the most relevant zones.
✅ Who It's For
This indicator is perfect for:
Traders using Smart Money Concepts or structure-based trading.
Scalpers on lower timeframes (3m–15m) and intraday strategists (up to 1h).
Anyone tired of emotional decisions and looking for systematic, repeatable setups.
📊 Visualization
Each signal includes:
📍 Entry marker after confirmation
🎯 Target and Stop lines
✅ Result labels: ENTRY, TP, SL
The interface is clean and focused — only valid, well-formed trades are shown.
📌 Important Note
MM Hunter PRO is not a magic buy/sell button — it's a decision support tool. Combine it with proper market structure analysis, volume zones, and your preferred trend filters for best results.
SNC Lite AssistantThis indicator only works on 5m or 15m.
It gives calls when a higher volume is detected than usual. And also tries to detect whales where high volume + cvd opposition happened.
Its mainly and especially built for Bitcoin. However, it also works fine on Nasdaq or indices, less likely to be talkative on commodities or forex.
It doesn't give TRADING SIGNALS, it only warns you about key areas or volumes or possible whale areas where price is moving fast and volume is increasing. If you don't have price action knowledge you will not understand if price will go up or down. It's better to watchout for few candles after calls or whales are detected so you may clearly see if price is shifting or most likely to continue. With help of whales, you can try to catch knife more precisely. Times when markets are less volatile and out of session times like weekends, assistant can go 'off' to create avoid false-positive signals on less volatile times.
It also informs you about if market is ranging, downtrend or uptrend in chatbox.
Gold War Risk AlertThis indicator helps gold traders identify potential war, geopolitical risks, or panic-driven market movements by detecting:
✅ Sudden volatility spikes (ATR surge)
✅ Abnormal trading volume (2x+ average)
✅ Sharp price movements (0.5%+ in one candle)
Gold often rallies during geopolitical crises, military conflicts, or economic instability. This tool flags high-probability setups where gold may surge due to safe-haven demand.
Features:
🔹 ATR Spike Detection – Identifies unusual volatility (common in panic selling/buying).
🔹 Volume Surge Alert – Flags institutional or panic-driven trading activity.
🔹 Price Momentum Confirmation – Filters noise by requiring a fast move.
🔹 Customizable Alerts – Get notified when all conditions align.
How to Use:
Apply to XAU/USD (Gold) chart.
Look for red triangles below candles (signals potential risk events).
Confirm with news (check Bloomberg/Reuters for geopolitical triggers).
Trade breakouts with proper risk management (stop-loss recommended).
Black Box Trading Measuring Tool (BlackBox - BBT)Overview
The Black Box Trading Indicator is a comprehensive technical analysis tool that combines multiple trading concepts into a single, powerful indicator. It displays custom session ranges, Average Daily Range (ADR) projections, support/resistance levels, and order blocks to help traders identify key market levels and potential trading opportunities.
Key Features
1. Custom Session Ranges
Define and visualize any trading session with customizable start and end times
Automatically calculates session high, low, and midpoint
Displays quarter levels (25% and 75% of range)
Shows range projections at 100%, 150%, 200%, and 250% extensions
2. Average Daily Range (ADR) Analysis
Calculates and displays ADR for daily, weekly, monthly, and custom timeframes
Shows projected high and low targets based on ADR
Includes "hash" levels at 50% ADR from session midpoint
Visual range boxes highlight potential support/resistance zones
3. Market Structure Levels
Daily and weekly opening prices with dynamic coloring
Previous daily and weekly center mass (50% of previous period's range)
Real-time range statistics displayed in an information table
4. Order Block Detection
Automatically identifies bullish and bearish order blocks
Visual representation with customizable colors and transparency
Mitigation tracking to remove invalidated blocks
Alert system for price interaction with order blocks
Parameter Guide
Display Settings
Show Blocks
Enables/disables order block visualization
Useful for cleaner charts when focusing on other elements
Show Previous Daily/Weekly Center Mass
Displays the midpoint of the previous period's range
Helps identify potential support/resistance from prior price acceptance areas
Show Daily/Weekly Open
Shows opening prices with color coding (blue for bullish, orange for bearish)
Important reference points for intraday trading
Show ADR Targets
Displays projected highs and lows based on Average Daily Range
Essential for setting realistic profit targets and stop losses
Show Range Projection
Extends the session range by multiples (1x, 1.5x, 2x, 2.5x)
Helps identify potential price targets during trending moves
Show Average Daily Range
Displays the ADR statistics table
Shows current range metrics for multiple timeframes
Display range in pips
Converts range values to pips for forex traders
Provides standardized measurement across different instruments
ADR Configuration
ADR Days
Number of days to include in current ADR calculation
Default: 1 (shows today's developing range)
ADR Period
Lookback period for calculating average range
Default: 14 days (standard period for volatility measurement)
Custom Range
Select between 60-minute or 240-minute timeframes
Allows analysis of intermediate timeframes
Session Time Settings (EST)
Start Hour/Minute
Define when your custom session begins
Default: 19:00 EST (Asian session open)
End Hour/Minute
Define when your custom session ends
Default: 02:45 EST (London session approach)
Extend To Hour/Minute
How far to extend the horizontal lines
Default: 19:00 EST (full 24-hour extension)
Visual Customization
Color Settings
Top Color: Used for upper levels and bullish projections
Bottom Color: Used for lower levels and bearish projections
Range Outline Color: Main session range boundaries
Center Range Line Color: Session midpoint visualization
Line Settings
Range Outline Width: Thickness of range box borders
Session Line Width: Thickness of horizontal level lines
Line Styles: Choose between solid, dashed, or dotted
Text Settings
Text Color: Color for all labels
Text Size: AUTO, tiny, small, normal, or large
Order Block Settings
Sensitivity
Percentage threshold for order block detection (1-100)
Higher values = fewer but stronger blocks
Default: 25 (detects 25% price movements)
OB Mitigation Type
Close: Block is mitigated when price closes beyond it
Wick: Block is mitigated when price wicks beyond it
Color Configuration
Separate colors for bullish and bearish blocks
Border and background colors can be customized independently
Trading Applications
1. Session-Based Trading
Identify the initial balance (first hour of trading)
Trade breakouts from defined session ranges
Use range projections for profit targets
Monitor for range-bound vs trending conditions
2. ADR-Based Strategies
Set daily profit targets based on ADR projections
Identify overextended moves when price exceeds ADR
Use ADR levels for position sizing and risk management
Compare current range to average for volatility assessment
3. Support/Resistance Trading
Use previous period center mass as dynamic S/R
Trade bounces from daily/weekly opens
Combine multiple timeframe levels for confluence
Monitor order blocks for potential reversal zones
4. Order Block Trading
Enter trades when price returns to unmitigated blocks
Use blocks as stop loss placement guides
Look for confluence with other indicator levels
Monitor block mitigation for trend confirmation
Best Practices
1. Multi-Timeframe Analysis
Use higher timeframe blocks for major levels
Combine with lower timeframe entries
Monitor weekly levels on daily charts
2. Confluence Trading
Look for areas where multiple levels align
Combine order blocks with ADR targets
Use session ranges with center mass levels
3. Risk Management
Use ADR for realistic daily profit targets
Place stops beyond order blocks or range extremes
Size positions based on distance to key levels
4. Alert Usage
Set alerts for ADR target hits
Monitor order block interactions
Track range breakouts and hash level tests
Tips for Effective Use
Start Simple: Begin with basic session ranges and ADR before adding all features
Color Coding: Use consistent colors across your trading setup
Time Zones: Ensure session times match your trading schedule
Clean Charts: Toggle off unused features for clarity
Backtesting: Study how price respects these levels historically
Journaling: Document which levels work best for your traded instruments
Common Trading Scenarios
Range Trading
Enter longs at session low or lower projections
Enter shorts at session high or upper projections
Target the session midpoint or opposite extreme
Breakout Trading
Wait for clear breaks of session range
Use range width for measuring targets
Monitor ADR to gauge breakout potential
Trend Following
Use order blocks as pullback entries
Trail stops using range projections
Scale out at ADR targets
Reversal Trading
Look for price rejection at ADR extremes
Monitor order block mitigation failures
Use center mass as reversal confirmation
DR/iDR BarhamThis indicator has been developed for educational and testing purposes only.
It functions by detecting the 1-hour range of the algorithm during each trading session (London, New York, and Tokyo). Once this range is established, and if the price moves in alignment with the algorithm, a break of either the high or low may signal potential target levels the price could reach.
• Designed exclusively for use on the 5-minute timeframe
• Intended for XAU/USD and USD/JPY pairs (occasionally applicable to BTC/USD on weekends only)
SHYY-TFC-HorizontalStay ahead of the market with SHYY-TFC-Horizontal – a powerful, clean, and efficient multi-timeframe table built for serious traders.
This smart overlay gives you instant visual insight across multiple timeframes, showing:
Candle direction (bullish, bearish, neutral)
Strat candle type (1, 2U, 2D, 3)
Live countdown to bar close
Covers all key timeframes – from 5 min to Monthly
All displayed in a sleek, horizontal layout that saves space and enhances clarity.
Perfect for Strat traders, price action pros, and anyone who values multi-timeframe awareness
Fully customizable table position for your chart layout
Zero clutter – maximum information
Upgrade your trading view. Analyze faster. Trade smarter.
EMA 1 Cross EMA 30 Alertswith this indicator you can create alert for the ema 1 crossing ema 30 if the crossing is up word you can go for long trade. if the crossing is down word you can go for short trade
VWAP ORB StrategyPlots the 15-min Opening Range for NY (9:30–9:45 AM ET) and London (3:00–3:15 AM ET), with breakout levels and range-based targets. Includes VWAP and EMA for trend confirmation.
MTF Pivot Fib Speed Resistance FansOverview
This Pine Script indicator, titled "MTF Pivot Fib Speed Resistance Fans", is a multi-timeframe tool that automatically plots Fib Speed Resistance Fan lines based on pivot structures derived from higher timeframes. It mirrors the functionality of TradingView’s built-in “Fib Speed Resistance Fan” drawing tool, but in a dynamic, programmatic way. It uses pivot highs and lows to anchor fan projections, drawing forward-facing trend lines that align with well-known Fibonacci ratios and their extensions.
Pivot Detection Logic
The script identifies pivots by comparing the current bar’s high and low against the highest and lowest prices over a user-defined pivot period. This pivot detection occurs on a higher timeframe of your choice, giving a broader and more strategic view of price structure. The script tracks direction changes in the pivot trend and stores only the most recent few pivots to maintain clean and meaningful fan drawings.
Fan Direction Control
The user can select whether to draw fans for "Buys", "Sells", or "Both". The script only draws fan lines when a new directional move is detected based on the pivot structure and the selected bias. For example, in “Buys” mode, a rising pivot followed by another higher low will trigger upward fan projections.
Fib Speed Resistance Levels
Once two pivots are identified, the script draws multiple fan lines from the first pivot outward, at angles defined by a preset list of Fibonacci levels. These fan lines help visualize speed and strength of a price move.
The script also draws a horizontal line from the pivot for additional confluence at the base level (1.0).
Price Level Plotting
In addition to drawing fan lines, the indicator also plots their price levels on the right-hand price scale. This makes it easier for users to visually reference the projected support and resistance levels without needing to trace the lines manually across the chart.
Mapping to TradingView’s "Fib Speed Resistance Fan"
The expanded set of values used in this script is not arbitrary—they closely align with the default and extended levels available in TradingView's built-in "Fib Speed Resistance Fan" tool.
TradingView’s Fib Fan tool offers several levels by default, including traditional Fibonacci ratios like 0.382, 0.5, 0.618, and 1. However, if you right-click the tool and open its settings, you’ll find additional toggles for levels like 1.618, 2.000, 2.618, and even 4.000. These deeper levels are used to project stronger trend continuations beyond the standard retracement zones.
The inclusion of levels such as 0.25, 0.75, and 1.34 reflects configurations that are available when you manually add or customize levels in TradingView’s fan tool. While 1.34 is not a canonical Fibonacci ratio, it is often found in hybrid Gann/Fib methods and is included in some preset templates in TradingView’s drawing tool for advanced users.
By incorporating these levels directly into the Pine Script, the indicator faithfully reproduces the fan structure users would manually draw using TradingView’s graphical Fib Fan tool—but does so programmatically, dynamically, and with multi-timeframe control. This eliminates manual errors, allows for responsive updating, and adds custom visual tracking via the price scale.
These values are standardized within the context of TradingView's Fib Fan tool and not made up. This script automates what the manual drawing tool achieves, with added precision and flexibility.
EMA Crossover + RSI + NY ORBOnly signal trades when both EMA+RSI and ORB breakout align.
Add alert conditions.
Auto time detection (for global markets).
Optional premarket filtering.
Golden Crossover Momentum Check📊 Golden Cross Momentum Screener — Summary
🔍 What It Does
This indicator identifies Golden Cross events — where the 50 EMA crosses above the 200 EMA, signaling a potential long-term trend reversal — and evaluates the momentum strength to help determine whether price is likely to:
Surge immediately (Group B), or
Retrace first (Group A)
It uses 5 momentum-confirming conditions to score the quality of the breakout and display a single label on the chart with a classification.
✅ Momentum Conditions Validated
RSI > 60 and rising – Indicates bullish buying pressure
MACD Histogram > 0 and rising – Confirms increasing momentum
Volume > 2× 20-day average – Validates participation on the breakout
ADX > 25 – Measures trend strength
Price is >5% above 200 EMA – Confirms price extension above long-term trend
Each passing condition adds 1 point to the momentum score (0–5).
📈 How to Use
Watch for a Golden Cross signal (triangle appears below candle)
If momentum score ≥ 4, the script labels the setup as:
"🚀 Surge Likely (Group B)" — consider immediate breakout entries
If score is 2–3, labeled:
"🔄 Pullback Likely (Group A)" — expect retest/consolidation before continuation
If score < 2, labeled:
"❌ No Momentum Confirmed" — avoid or wait for confirmation
Buy and Sell Suggested by ThienlovvThis indicator of Buy and Sell signals is just for suggestions. You need to use your strategy for your bias. I don't take any blames for this.
Any suggestion to add for the script If I think it's possible. Welcome to leave a comment.
Alerts are available when you use indicator alert which TradingView newly installed this function.
Credit to owner who created this code: LonesomeThecolor.blue
Editor for my own way: Thienlovv
IU Liquidity Flow TrackerDESCRIPTION
The IU Liquidity Flow Tracker is a powerful market analysis tool designed to visualize hidden buying and selling activity by analyzing price action, volume behavior, market pressure, and depth. It provides a composite view of liquidity dynamics to help traders identify accumulation, distribution, and neutral phases with high clarity.
This indicator is ideal for traders who want to gauge the flow of market participants and make informed entry/exit decisions based on the underlying liquidity structure.
USER INPUTS:
* Flow Analysis Period: Length used for analyzing price spread and volume flow.
* Pressure Sensitivity: Adjusts the sensitivity of threshold detection for flow classification.
* Flow Smoothing: Controls the smoothing applied to raw flow data.
* Market Depth Analysis: Sets the depth range for rejection and wick analysis.
* Colors: Customize colors for accumulation, distribution, neutral zones, and pressure visualization.
INDICATOR LOGIC:
The IU Liquidity Flow Tracker uses a multi-factor model to evaluate market behavior:
1. Liquidity Pressure: Combines price spread, price efficiency, and volume imbalance.
2. Flow Direction: Weighted momentum using short, medium, and long-term price changes adjusted for volume.
3. Market Depth: Wick-based rejection scoring to estimate buying/selling aggressiveness at price extremes.
4. Composite Flow Index: Blended value of flow direction, pressure, and depth—smoothed for clarity.
5. Dynamic Thresholds: Automatically adjusts based on volatility to classify the market into:
* Accumulation: Strong buying signals.
* Distribution: Strong selling signals.
* Neutral: No significant flow dominance.
6. Entry Signals: Long/Short signals are generated when flow state shifts, supported by momentum, volume surge, and depth strength.
WHY IT IS UNIQUE:
Unlike typical indicators that rely solely on price or volume, this tool combines spread behavior, volume polarity, momentum weighting, and price rejection zones into a single visual interface. It dynamically adjusts sensitivity based on market volatility, helping avoid false signals during sideways or low-volume periods.
It is not based on any traditional indicator (RSI, MACD, etc.), making it ideal for traders looking for an original and data-driven market read.
HOW USER CAN BENEFIT FROM IT:
* Understand Market Context: Know whether the market is being accumulated, distributed, or ranging.
* Improve Entries/Exits: Use flow transitions combined with volume confirmation for high-probability setups.
* Spot Institutional Activity: Detect subtle shifts in liquidity that precede major price moves.
* Reduce Whipsaws: Dynamic thresholds and multi-factor confirmation help filter noise.
* Use with Any Style: Whether you're a swing trader, day trader, or scalper, this tool adapts to different timeframes and strategies.
DISCLAIMER:
This indicator is created for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. All trading involves risk, and users should conduct their own analysis or consult with a qualified financial advisor before making any trading decisions. The creator is not responsible for any losses incurred through the use of this tool. Use at your own discretion.
Liquidation Heatmap ║ BullVision 🧠Overview
The Liquidation Heatmap ║ BullVision 💥 is a high-precision visualization tool engineered to highlight probable liquidation levels in crypto markets. It leverages multi-exchange Open Interest data, real-time volume dynamics, and structure-aware volatility signals to reveal where leveraged traders are most at risk of forced position closures.
📖 What Are Liquidations?
In leveraged derivatives markets, a liquidation occurs when a trader’s margin becomes insufficient to maintain their position, triggering an automatic force-close by the exchange. These events are typically clustered around price levels where large volumes of overleveraged positions accumulate. When breached, they often result in sharp, aggressive price movements — also known as liquidation cascades.
This indicator is designed to detect and project such high-risk zones before they trigger, giving traders an edge in visualizing hidden pressure points in the market.
🧠 How It Works
The core engine aggregates real-time ∆OI (Open Interest delta) data from multiple major exchanges and applies a layered filtering system that considers:
Relative Open Interest shifts, normalized against an adaptive moving average baseline
Volume acceleration patterns, compared to a rolling historical benchmark
Market structure context, identifying meaningful directional breaks and failed retests
Leverage-tier modeling, using probabilistic distance rules to simulate where liquidations from 5x to 100x positions would be triggered
Each qualifying liquidation level is rendered using dynamic gradient lines and optional glow-enhanced zone visuals. The display adapts in real time to structural confirmation, volatility regime, and liquidity depth.
Exemple of Liquidation cascades
Exemple of Liquidation rejection
🔍 Key Features
🔗 Multi-Exchange OI Aggregation: Binance, OKX, BitMEX, Kraken (toggleable)
📊 Leverage-Tier Mapping: 5x, 10x, 25x, 50x, 100x projections
🎨 Gradient Zones: Custom color ramps reflect level significance
🧱 Structure-Sensitive Filtering: Noise reduction via multi-condition confirmation logic
🧠 Contextual Directional Bias: Zones filtered based on recent bullish/bearish transitions
⚙️ Fully Customizable: User-defined intensity thresholds, color palette, and range filtering
🧩 Why It’s Worth Paying For
This is not a mashup of public indicators. The script introduces an original, multi-layered architecture combining real-time Open Interest dynamics, structural analysis, and custom liquidation modeling.
Unlike speculative support/resistance plots or volume-only heatmaps, this tool is built to:
Detect liquidation zones before they cascade
React dynamically to market shifts
Filter noise through structural confirmation
Retain historical zones for visual learning and backtesting
✅ Compliance & Originality
This script was developed entirely in-house with original detection logic. No reused open-source components are included. Data requests are made through TradingView’s native .P_OI feeds, and all calculations, signal conditions, and visual logic were coded from scratch for this script.
⚠️ Risk Disclaimer & Access Policy
This script is a visual risk-awareness tool, not a signal generator or financial advice mechanism. No guarantee is made regarding future price action, liquidation triggers, or trading performance.
Use at your own discretion, with proper position sizing, risk management, and awareness of the market's inherent uncertainty.
🔒 Why This Script Is Invite-Only and Closed-Source
To protect its proprietary detection engine, this script is both closed-source and invite-only. The algorithm uses original methods to:
Aggregate real-time Open Interest delta across exchanges
Simulate leverage-based liquidation zones
Dynamically filter zones using structure and volatility layers
Opening the source would expose core detection logic to copycats or misuse. Likewise, access is limited to ensure the tool is used responsibly by serious traders and not distributed or repackaged unethically.
This model preserves the script’s quality, originality, and intended value.
Stop Hunt Indicator ║ BullVision 🧠 Overview
The Stop Hunt Indicator (SmartTrap Radar) is an original tool designed to identify potential liquidity traps caused by institutional stop hunts. It visually maps out historically significant levels where price has repeatedly reversed or rejected — and dynamically detects real-time sweep patterns based on volume, structure, and candle rejection behavior.
This script does not repurpose existing public indicators, nor does it use default TradingView built-ins such as RSI, MACD, or MAs. Its core logic is fully proprietary and was developed from scratch to support discretionary and data-driven traders in visualizing volatility risks and manipulation zones.
🔍 What the Indicator Does
This indicator identifies and visualizes potential stop hunt zones using:
Historical structure analysis: Swing highs/lows are identified via a configurable lookback period.
Liquidity level tracking: Once detected, levels are monitored for touches, age, and volume strength.
Proprietary scoring model: Each level receives a real-time significance score based on:
Age (how long the level has held)
Number of rejections (touches)
Relative volume strength
Proximity to current price
The glow intensity of plotted levels is dynamically mapped based on this score. Bright glow = higher institutional interest probability.
⚙️ Stop Hunt Detection Logic
A stop hunt is flagged when all of the following are met:
Price sweeps through a high/low beyond a user-defined penetration threshold
Wick rejection occurs (i.e., candle closes back inside the level)
Volume spikes above the average in a recent window
The script automatically:
Detects bullish stop hunts (below support) and bearish ones (above resistance)
Marks detected sweeps on-chart with optional 🔰/🚨 signals
Adjusts glow visuals based on score even after the sweep occurs
These sweeps often precede local reversals or high-volatility zones — this is not predictive, but rather a reactive mapping of market manipulation behavior.
📌 Why This Is Not Just Another Liquidity Tool
Unlike typical liquidity heatmaps or S/R indicators, this script includes:
A proprietary significance score instead of fixed rules
Multi-layer glow rendering to reflect level importance visually
Real-time scoring updates as new volume and touches occur
Combined volume × rejection × structure logic to validate stop hunts
Fully customizable detection logic (lookback, wick %, volume filters, max bars, etc.)
This indicator provides a specialized view focused solely on visualizing trap setups — not generic trend signals.
🧪 Usage Recommendations
To get started:
Add the indicator to your chart (volume-enabled instruments only)
Customize detection:
Lookback Period for structure
Penetration % for how far price must sweep
Volume Spike Multiplier
Wick rejection strength
Enable/disable features:
Glow effects
Hunt markers
Score labels
Volume highlights
Watch for:
🔰 Bullish Sweeps (below support)
🚨 Bearish Sweeps (above resistance)
Bright glowing zones = high-liquidity targets
This tool can be used for both confluence and risk assessment, especially around high-impact sessions, liquidation events, or range extremes.
📊 Volume Dependency Notice
⚠️ This indicator requires real volume data to function correctly. On instruments without volume (e.g., synthetic pairs), certain features like spike detection and scoring will be disabled or inaccurate.
🔐 Closed-Source Disclosure
This script is published as invite-only to protect its proprietary scoring, glow mapping, and detection logic. While the full implementation remains confidential, this description outlines all key mechanics and configurable logic for user transparency.
Mavericks ORBMavericks ORB – Opening Range Breakout Zones
Overview:
Mavericks ORB is a fully customizable Opening Range Breakout (ORB) indicator designed for serious intraday traders. It dynamically plots the ORB range for your chosen session and timeframe (5 min, 15 min, or any custom range), projects powerful price zones above and below the range, and automatically includes key midpoints—giving you actionable levels for breakouts, reversals, and dynamic support/resistance.
How It Works:
Configurable Session & Duration:
Choose any session start time and range length (e.g., 5 or 15 minutes) to define your personal ORB window.
Automatic Range Detection:
The indicator marks the high, low, and midpoint of the ORB range as soon as your defined period completes.
Dynamic Zones & Midpoints:
Three replicated price zones are projected both above and below the initial ORB, each calculated using the original ORB’s range and evenly spaced. Each zone includes its own midpoint for nuanced trade management and target planning.
Pre-Market Levels:
Tracks pre-market high and low (with fully customizable colors), giving you crucial context as the regular session opens.
Session Range Visualization:
Highlights the defined trading session with an adjustable background color for easy visual tracking.
Real-Time Info Table:
Displays a summary of all key levels—ORB range, highs, lows, and pre-market levels—right on your chart.
Full Customization:
Adjust all colors, enable/disable session range shading, show/hide labels, and tweak all session settings to fit your trading style.
Key Features:
Select any ORB start time and duration (fully customizable)
Plots ORB High, Low, and Midpoint in real time
Automatically projects 3 zones above and 3 zones below, each with its own midpoint
Pre-market high/low detection and labeling
Configurable session shading for visual clarity
At-a-glance info table with all major levels
Multiple color customizations for all zones and lines
Ready-to-use alert conditions for session and pre-market events
How to Use:
Set your preferred ORB start time and duration (e.g., 9:30 AM, 5 min for US equities).
Watch as the ORB forms and updates in real time.
Once complete, the high, low, and midpoint are plotted.
Monitor the projected zones above and below.
Use these for breakouts, targets, or support/resistance.
Reference the info table for all levels and pre-market context.
Customize as you go: Adjust colors, shading, and session settings to your needs.
Who is this for?
Intraday traders who trade the opening range breakout strategy (stocks, futures, forex, crypto)
Price action traders who want clean, actionable levels
Anyone looking for a reliable, highly visual ORB framework on TradingView
Short Description (for TradingView):
Mavericks ORB is a customizable Opening Range Breakout indicator that plots your session’s high, low, midpoint, and projects three dynamic zones above and below the range including midpoints for powerful trade planning. Includes pre-market levels, session highlights, and a real-time info table. Perfect for intraday price action traders.
What Makes Mavericks ORB Unique?
Flexible: Works with any timeframe or session.
Visual: Clean, uncluttered, and fully customizable.
Strategic: Automatic zone and midpoint projection, not just lines.
Practical: At-a-glance info table and real pre-market context.
Alert-ready: Triggers for session and pre-market events.
If you want to include any tips or a personal note (some script publishers do), you could add:
Tip: Use the midpoints for partial profit-taking or to gauge momentum strength. Adjust your ORB window for different asset classes or volatility environments.
Mariam Ichimoku DashboardPurpose
The Mariam Ichimoku Dashboard is designed to simplify the Ichimoku trading system for both beginners and experienced traders. It provides a complete view of trend direction, strength, momentum, and key signals all in one compact dashboard on your chart. This tool helps traders make faster and more confident decisions without having to interpret every Ichimoku element manually.
How It Works
1. Trend Strength Score
Calculates a score from -5 to +5 based on Ichimoku components.
A high positive score means strong bullish momentum.
A low negative score shows strong bearish conditions.
A near-zero score indicates a sideways or unclear market.
2. Future Cloud Bias
Looks 26 candles ahead to determine if the future cloud is bullish or bearish.
This helps identify the longer-term directional bias of the market.
3. Flat Kijun / Flat Senkou B
Detects flat zones in the Kijun or Senkou B lines.
These flat areas act as strong support or resistance and can attract price.
4. TK Cross
Identifies Tenkan-Kijun crosses:
Bullish Cross means Tenkan crosses above Kijun
Bearish Cross means Tenkan crosses below Kijun
5. Last TK Cross Info
Shows whether the last TK cross was bullish or bearish and how many candles ago it happened.
Helps track trend development and timing.
6. Chikou Span Position
Checks if the Chikou Span is above, below, or inside past price.
Above means bullish momentum
Below means bearish momentum
Inside means mixed or indecisive
7. Near-Term Forecast (Breakout)
Warns when price is near the edge of the cloud, preparing for a potential breakout.
Useful for anticipating price moves.
8. Price Breakout
Shows if price has recently broken above or below the cloud.
This can confirm the start of a new trend.
9. Future Kumo Twist
Detects upcoming twists in the cloud, which often signal potential trend reversals.
10. Ichimoku Confluence
Measures how many key Ichimoku signals are in agreement.
The more signals align, the stronger the trend confirmation.
11. Price in or Near the Cloud
Displays if the price is inside the cloud, which often indicates low clarity or a choppy market.
12. Cloud Thickness
Shows whether the cloud is thin or thick.
Thick clouds provide stronger support or resistance.
Thin clouds may allow easier breakouts.
13. Recommendation
Gives a simple trading suggestion based on all major signals.
Strong Buy, Strong Sell, or Hold.
Helps simplify decision-making at a glance.
Features
All major Ichimoku signals summarized in one panel
Real-time trend strength scoring
Detects flat zones, crosses, cloud twists, and breakouts
Visual alerts for trend alignment and signal confluence
Compact, clean design
Built with simplicity in mind for beginner traders
Tips
Best used on 15-minute to 1-hour charts for short-term trading
Avoid entering trades when price is inside the cloud because the market is often indecisive
Wait for alignment between trend score, TK cross, cloud bias, and confluence
Use the dashboard to support your trading strategy, not replace it
Enable alerts for major confluence or upcoming Kumo twists
Futures vs CFD Price Display
🎯 Trading the same asset in CFDs and Futures but tired of switching charts to compare prices? This is your indicator!
Stop the constant chart hopping! This live price comparison shows you instantly where the better conditions are.
✨ What you get:
Bidirectional: Works in both Futures AND CFD charts
Live prices: Real-time comparison of both markets
Spread calculation: Automatic difference in points and percentage
Fully customizable: Colors, position, size to your liking
Professional design: Clean display with symbol header
🎯 Perfect for:
Gold traders (Futures vs CFD)
Arbitrage strategies
Spread monitoring
Multi-broker comparisons
⚙️ Customization:
3 sizes (Small/Normal/Large) for all screens
4 positions available
Individual color schemes
Toggle features on/off
💡 Simply enter the symbol and keep both markets in sight!
Notice: "Co-developed with Claude AI (Anthropic) - because even AI needs to pay the server bills! 😄"
Fair Value Trend Model [SiDec]ABSTRACT
This pine script introduces the Fair Value Trend Model, an on-chart indicator for TradingView that constructs a continuously updating "fair-value" estimate of an asset's price via a logarithmic regression on historical data. Specifically, this model has been applied to Bitcoin (BTC) to fully grasp its fair value in the cryptocurrency market. Symmetric channel bands, defined by fixed percentage offsets around this central fair-value curve, provide a visual band within which normal price fluctuations may occur. Additionally, a short-term projection extends both the fair-value trend and its channel bands forward by a user-specified number of bars.
INTRODUCTION
Technical analysts frequently seek to identify an underlying equilibrium or "fair value" about which prices oscillate. Traditional approaches-moving averages, linear regressions in price-time space, or midlines-capture linear trends but often misrepresent the exponential or power-law growth patterns observable in many financial markets. The Fair Value Trend Model addresses this by performing an ordinary least squares (OLS) regression in log-space, fitting ln(Price) against ln(Days since inception). In practice, the primary application has been to Bitcoin, aiming to fully capture Bitcoin's underlying value dynamics.
The result is a curved trend line in regular (price-time) coordinates, reflecting Bitcoin's long-term compounding characteristics. Surrounding this fair-value curve, symmetric bands at user-specified percentage deviations serve as dynamic support and resistance levels. A simple linear projection extends both the central fair-value and its bands into the immediate future, providing traders with a heuristic for short-term trend continuation.
This exposition details:
Data transformation: converting bar timestamps into days since first bar, then applying natural logarithms to both time and price.
Regression mechanics: incremental (or rolling-window) accumulation of sums to compute the log-space fit parameters.
Fair-value reconstruction: exponentiation of the regression output to yield a price-space estimate.
Channel-band definition: establishing ±X% offsets around the fair-value curve and rendering them visually.
Forecasting methodology: projecting both the fair-value trend and channel bands by extrapolating the most recent incremental change in price-space.
Interpretation: how traders can leverage this model for trend identification, mean-reversion setups, and breakout analysis, particularly in Bitcoin trading.
Analysing the macro cycle on Bitcoin's monthly timeframe illustrates how the fair-value curve aligns with multi-year structural turning points.
DATA TRANSFORMATION AND NOTATION
1. Timestamp Baseline (t0)
Let t0 = timestamp of the very first bar on the chart (in milliseconds). Each subsequent bar has a timestamp ti, where ti ≥ t0.
2. Days Since Inception (d(t))
Define the “days since first bar” as
d(t) = max(1, (t − t0) / 86400000.0)
Here, 86400000.0 represents the number of milliseconds in one day (1,000 ms × 60 seconds × 60 minutes × 24 hours). The lower bound of 1 ensures that we never compute ln(0).
3. Logarithmic Coordinates:
Given the bar’s closing price P(t), define:
xi = ln( d(ti) )
yi = ln( P(ti) )
Thus, each data point is transformed to (xi, yi) in log‐space.
REGRESSION FORMULATION
We assume a log‐linear relationship:
yi = a + b·xi + εi
where εi is the residual error at bar i. Ordinary least squares (OLS) fitting minimizes the sum of squared residuals over N data points. Define the following accumulated sums:
Sx = Σ for i = 1 to N
Sy = Σ for i = 1 to N
Sxy = Σ for i = 1 to N
Sx2 = Σ for i = 1 to N
N = number of data points
The OLS estimates for b (slope) and a (intercept) are:
b = ( N·Sxy − Sx·Sy ) / ( N·Sx2 − (Sx)^2 )
a = ( Sy − b·Sx ) / N
All‐Time Versus Rolling‐Window Mode:
All-Time Mode:
Each new bar increments N by 1.
Update Sx ← Sx + xN, Sy ← Sy + yN, Sxy ← Sxy + xN·yN, Sx2 ← Sx2 + xN^2.
Recompute a and b using the formulas above on the entire dataset.
Rolling-Window Mode:
Fix a window length W. Maintain two arrays holding the most recent W values of {xi} and {yi}.
On each new bar N:
Append (xN, yN) to the arrays; add xN, yN, xN·yN, xN^2 to the sums Sx, Sy, Sxy, Sx2.
If the arrays’ length exceeds W, remove the oldest point (xN−W, yN−W) and subtract its contributions from the sums.
Update N_roll = min(N, W).
Compute b and a using N_roll, Sx, Sy, Sxy, Sx2 as above.
This incremental approach requires only O(1) operations per bar instead of recomputing sums from scratch, making it computationally efficient for long time series.
FAIR‐VALUE RECONSTRUCTION
Once coefficients (a, b) are obtained, the regressed log‐price at time t is:
ŷ(t) = a + b·ln( d(t) )
Mapping back to price space yields the “fair‐value”:
F(t) = exp( ŷ(t) )
= exp( a + b·ln( d(t) ) )
= exp(a) · ^b
In other words, F(t) is a power‐law function of “days since inception,” with exponent b and scale factor C = exp(a). Special cases:
If b = 1, F(t) = C · d(t), which is an exponential function in original time.
If b > 1, the fair‐value grows super‐linearly (accelerating compounding).
If 0 < b < 1, it grows sub‐linearly.
If b < 0, the fair‐value declines over time.
CHANNEL‐BAND DEFINITION
To visualise a “normal” range around the fair‐value curve F(t), we define two channel bands at fixed percentage offsets:
1. Upper Channel Band
U(t) = F(t) · (1 + α_upper)
where α_upper = (Channel Band Upper %) / 100.
2. Lower Channel Band
L(t) = F(t) · (1 − α_lower)
where α_lower = (Channel Band Lower %) / 100.
For example, default values of 50% imply α_upper = α_lower = 0.50, so:
U(t) = 1.50 · F(t)
L(t) = 0.50 · F(t)
When “Show FV Channel Bands” is enabled, both U(t) and L(t) are plotted in a neutral grey, and a semi‐transparent fill is drawn between them to emphasise the channel region.
SHORT‐TERM FORECAST PROJECTION
To extend both the fair‐value and its channel bands M bars into the future, the model uses a simple constant‐increment extrapolation in price space. The procedure is:
1. Compute Recent Increments
Let
F_prev = F( t_{N−1} )
F_curr = F( t_N )
Then define the per‐bar change in fair‐value:
ΔF = F_curr − F_prev
Similarly, for channel bands:
U_prev = U( t_{N−1} ), U_curr = U( t_N ), ΔU = U_curr − U_prev
L_prev = L( t_{N−1} ), L_curr = L( t_N ), ΔL = L_curr − L_prev
2. Forecasted Values After M Bars
Assuming the same per‐bar increments continue:
F_future = F_curr + M · ΔF
U_future = U_curr + M · ΔU
L_future = L_curr + M · ΔL
These forecasted values produce dashed lines on the chart:
A dashed segment from (bar_N, F_curr) to (bar_{N+M}, F_future).
Dashed segments from (bar_N, U_curr) to (bar_{N+M}, U_future), and from (bar_N, L_curr) to (bar_{N+M}, L_future).
Forecasted channel bands are rendered in a subdued grey to distinguish them from the current solid bands. Because this method does not re‐estimate regression coefficients for future t > t_N, it serves as a quick visual heuristic of trend continuation rather than a precise statistical forecast.
MATHEMATICAL SUMMARY
Summarising all key formulas:
1. Days Since Inception
d(t_i) = max( 1, ( t_i − t0 ) / 86400000.0 )
x_i = ln( d(t_i) )
y_i = ln( P(t_i) )
2. Regression Summations (for i = 1..N)
Sx = Σ
Sy = Σ
Sxy = Σ
Sx2 = Σ
N = number of data points (or N_roll if using rolling‐window)
3. OLS Estimator
b = ( N · Sxy − Sx · Sy ) / ( N · Sx2 − (Sx)^2 )
a = ( Sy − b · Sx ) / N
4. Fair‐Value Computation
ŷ(t) = a + b · ln( d(t) )
F(t) = exp( ŷ(t) ) = exp(a) · ^b
5. Channel Bands
U(t) = F(t) · (1 + α_upper)
L(t) = F(t) · (1 − α_lower)
with α_upper = (Channel Band Upper %) / 100, α_lower = (Channel Band Lower %) / 100.
6. Forecast Projection
ΔF = F_curr − F_prev
F_future = F_curr + M · ΔF
ΔU = U_curr − U_prev
U_future = U_curr + M · ΔU
ΔL = L_curr − L_prev
L_future = L_curr + M · ΔL
IMPLEMENTATION CONSIDERATIONS
1. Time Precision
Timestamps are recorded in milliseconds. Dividing by 86400000.0 yields days with fractional precision.
For the very first bar, d(t) = 1 ensures x = ln(1) = 0, avoiding an undefined logarithm.
2. Incremental Versus Sliding Summation
All‐Time Mode: Uses persistent scalar variables (Sx, Sy, Sxy, Sx2, N). On each new bar, add the latest x and y contributions to the sums.
Rolling‐Window Mode: Employs fixed‐length arrays for {x_i} and {y_i}. On each bar, append (x_N, y_N) and update sums; if array length exceeds W, remove the oldest element and subtract its contribution from the sums. This maintains exact sums over the most recent W data points without recomputing from scratch.
3. Numerical Robustness
If the denominator N·Sx2 − (Sx)^2 equals zero (e.g., all x_i identical, as when only one day has passed), then set b = 0 and a = Sy / N. This produces a constant fair‐value F(t) = exp(a).
Enforcing d(t) ≥ 1 avoids attempts to compute ln(0).
4. Plotting Strategy
The fair‐value line F(t) is plotted on each new bar. Its color depends on whether the current price P(t) is above or below F(t): a “bullish” color (e.g., green) when P(t) ≥ F(t), and a “bearish” color (e.g., red) when P(t) < F(t).
The channel bands U(t) and L(t) are plotted in a neutral grey when enabled; otherwise they are set to “not available” (no plot).
A semi‐transparent fill is drawn between U(t) and L(t). Because the fill function is executed at global scope, it is automatically suppressed if either U(t) or L(t) is not plotted (na).
5. Forecast Line Management
Each projection line (for F, U, and L) is created via a persistent line object. On successive bars, the code updates the endpoints of the same line rather than creating a new one each time, preserving chart clarity.
If forecasting is disabled, any existing projection lines are deleted to avoid cluttering the chart.
INTERPRETATION AND APPLICATIONS
1. Trend Identification
The fair‐value curve F(t) represents the best‐fit long‐term trend under the assumption that ln(Price) scales linearly with ln(Days since inception). By capturing power‐law or exponential patterns, it can more accurately reflect underlying compounding behavior than simple linear regressions.
When actual price P(t) lies above U(t), it may be considered “overextended” relative to its long‐term trend; when price falls below L(t), it may be deemed “oversold.” These conditions can signal potential mean‐reversion or breakout opportunities.
2. Mean‐Reversion and Breakout Signals
If price re‐enters the channel after touching or slightly breaching L(t), some traders interpret this as a mean‐reversion bounce and consider initiating a long position.
Conversely, a sustained move above U(t) can indicate strong upward momentum and a possible bullish breakout. Traders often seek confirmation (e.g., price remaining above U(t) for multiple bars, rising volume, or corroborating momentum indicators) before acting.
3. Rolling Versus All‐Time Usage
All‐Time Mode: Captures the entire dataset since inception, focusing on structural, long‐term trends. It is less sensitive to short‐term noise or volatility spikes.
Rolling‐Window Mode: Restricts the regression to the most recent W bars, making the fair‐value curve more responsive to changing market regimes, sudden volatility expansions, or fundamental shifts. Traders who wish to align the model with local behaviour often choose W so that it approximates a market cycle length (e.g., 100–200 bars on a daily chart).
4. Channel Percentage Selection
A wider band (e.g., ±50 %) accommodates larger price swings, reducing the frequency of breaches but potentially delaying actionable signals.
A narrower band (e.g., ±10 %) yields more frequent “overbought/oversold” alerts but may produce more false signals during normal volatility. It is advisable to calibrate the channel width to the asset’s historical volatility regime.
5. Forecast Cautions
The short‐term projection assumes that the last single‐bar increment ΔF remains constant for M bars. In reality, trend acceleration or deceleration can occur, rendering the linear forecast inaccurate.
As such, the forecast serves as a visual guide rather than a statistically rigorous prediction. It is best used in conjunction with other momentum, volume, or volatility indicators to confirm trend continuation or reversal.
LIMITATIONS AND CONSIDERATIONS
1. Power‐Law Assumption
By fitting ln(P) against ln(d), the model posits that P(t) ≈ C · ^b. Real markets may deviate from a pure power‐law, especially around significant news events or structural regime changes. Temporary misalignment can occur.
2. Fixed Channel Width
Markets exhibit heteroskedasticity: volatility can expand or contract unpredictably. A static ±X % band does not adapt to changing volatility. During high‐volatility periods, a fixed ±50 % may prove too narrow and be breached frequently; in unusually calm periods, it may be excessively broad, masking meaningful variations.
3. Endpoint Sensitivity
Regression‐based indicators often display greater curvature near the most recent data, especially under rolling‐window mode. This can create sudden “jumps” in F(t) when new bars arrive, potentially confusing users who expect smoother behaviour.
4. Forecast Simplification
The projection does not re‐estimate regression slope b for future times. It only extends the most recent single‐bar change. Consequently, it should be regarded as an indicative extension rather than a precise forecast.
PRACTICAL IMPLEMENTATION ON TRADINGVIEW
1 Adding the Indicator
In TradingView’s “Indicators” dialog, search for Fair Value Trend Model or visit my profile, under "scripts" add it to your chart.
Add it to any chart (e.g., BTCUSD, AAPL, EURUSD) to see real‐time computation.
2. Configuring Inputs
Show Forecast Line: Toggle on or off the dashed projection of the fair‐value.
Forecast Bars: Choose M, the number of bars to extend into the future (default is often 30).
Forecast Line Colour: Select a high‐contrast colour (e.g., yellow).
Bullish FV Colour / Bearish FV Colour: Define the colour of the fair‐value line when price is above (e.g., green) or below it (e.g., red).
Show FV Channel Bands: Enable to display the grey channel bands around the fair‐value.
Channel Band Upper % / Channel Band Lower %: Set α_upper and α_lower as desired (defaults of 50 % create a ±50 % envelope).
Use Rolling Window?: Choose whether to restrict the regression to recent data.
Window Bars: If rolling mode is enabled, designate W, the number of bars to include.
3. Visual Output
The central curve F(t) appears on the price chart, coloured green when P(t) ≥ F(t) and red when P(t) < F(t).
If channel bands are enabled, the chart shows two grey lines U(t) and L(t) and a subtle shading between them.
If forecasting is active, dashed extensions of F(t), U(t), and L(t) appear, projecting forward by M bars in neutral hues.
CONCLUSION
The Fair Value Trend Model furnishes traders with a mathematically principled estimate of an asset’s equilibrium price curve by fitting a log‐linear regression to historical data. Its channel bands delineate a normal corridor of fluctuation based on fixed percentage offsets, while an optional short‐term projection offers a visual approximation of trend continuation.
By operating in log‐space, the model effectively captures exponential or power‐law growth patterns that linear methods overlook. Rolling‐window capability enables responsiveness to regime shifts, whereas all‐time mode highlights broader structural trends. Nonetheless, users should remain mindful of the model’s assumptions—particularly the power‐law form and fixed band percentages—and employ the forecast projection as a supplemental guide rather than a standalone predictor.
When combined with complementary indicators (e.g., volatility measures, momentum oscillators, volume analysis) and robust risk management, the Fair Value Trend Model can enhance market timing, mean‐reversion identification, and breakout detection across diverse trading environments.
REFERENCES
Draper, N. R., & Smith, H. (1998). Applied Regression Analysis (3rd ed.). Wiley.
Tsay, R. S. (2014). Introductory Time Series with R (2nd ed.). Springer.
Hull, J. C. (2017). Options, Futures, and Other Derivatives (10th ed.). Pearson.
These references provide background on regression, time-series analysis, and financial modeling.