FVG + Inversion + MidlineThis is a rough version. Still in works.
Off Mode - Shows bullish and bearish FVGS
Only Mode - Only shows inverted FVGs in white (those above price are usually resistance zones and below tend to be support with the more recent and higher timeframe ones being most relevant)
Blended - Shows Both
You can adjust the amount of zones to be shown to modify the lookback period.
You can also adjust the price range by a standard deviation of 100% to only cover a specific price range.
Rest of the features are still being cleaned or irrelevant for the most part.
밸류
POWER INDICATOR PREMIUM WITH MANY FUNCTIONS BY OeZkAn
👑 POWER INDICATOR PRO PREMIUM V24: Predictive Intelligence Meets Precision ExecutionThe POWER INDICATOR PRO PREMIUM V24 is the pinnacle of algorithmic trading intelligence. This system transcends traditional indicators by utilizing a sophisticated framework of advanced mathematical equations to predict the impending trend direction before the market moves. It combines Smart Money Concepts (SMC), Multi-Timeframe (MTF) convergence, and Dynamic Risk Management to deliver unparalleled clarity and execution confidence.If you seek a trading partner that provides leading, predictive signals and high-probability entries, this system is your definitive solution.
🧠 The Core Element: Predictive Market Context & Directional ForecastThe foundational strength of the POWER INDICATOR is its ability to forecast the market's bias through advanced quantification:
🚀 Directional Pre-Cognition (LRC & Mathematical Models):The system utilizes the Linear Regression Curve (LRC) and proprietary statistical models as its core mathematical engine. This process extrapolates the probable trend path and generates a Directional Forecast for the coming bars, enabling you to anticipate moves rather than react to them. This forecast serves as the ultimate bias filter.
🧠 The Convictional Filter: Quantifying Probability ($60\%$ Confidence):This filter is our proprietary Probability Brain. It eliminates market noise by forcing convergence across multiple high-level factors (MTF agreement, Momentum, SMC levels).High-Conviction Threshold: Independent analysis confirms that the Conviction Filter provides an exceptionally high win rate and signal quality starting at just $60\%$. Setting your threshold at this level ensures you only consider trades where the predictive mathematical components are in strong alignment.
🌊 FVG & GP Predictive Zones:The system automatically identifies and projects critical Fair Value Gaps (FVG/LSOB) and the Golden Pocket (GP) Re-Test Zone. These zones are algorithmically identified as high-probability targets for pullbacks and reversals, providing a clear map of where liquidity will be sought.
💡 The Convictional Trading Workflow: A 3-Step Guide to ExecutionContext Check: Confirm the LRC Directional Forecast aligns with your trade and the Conviction Score Meter is above your desired threshold (minimum $60\%$).Optimal Entry: Wait for the signal to trigger at a high-R:R entry point (GP, FVG, or Aggressive Impulse), guided by your chosen trading mode.Dynamic Management: Let the system handle risk, utilizing Structural SL and automatic Multi-Method Trailing Stops post-TP1.
🎯 Mode Selection: Matching Strategy to MarketThe indicator's power lies in its Modularity. Selecting the correct mode is crucial for optimizing your results.Trading StyleRecommended ModesPrimary Rationale & Entry LogicHigh-Frequency ScalpingCT Scalp-OnlyDesigned for counter-trend entries in a pullback towards the Golden Pocket (GP). Uses tighter SL/TP multipliers for quick profit-taking. (Fast, high-R:R)ATR Channel Scalp (ACS)Utilizes volatility channels (ATR bands) for quick mean-reversion trades when price overextends.Strategic Day Trading / Swing TradingUltimate Fusion Mode (UFM)The highest probability mode. Best for catching major shifts confirmed by SMC (LRC, GP, FVG, MSS). Waits for a deep, high-R:R Re-Test Entry.Haupttrend & Scalp (Kombi)Excellent general-purpose mode. Focuses on trend continuation but allows for high-R:R pullback entries at key levels (GP/FVG). (Balanced)FVG Mitigation Entry (FME)Ideal for SMC traders. Waits for the price to precisely re-test and mitigate an unmitigated Fair Value Gap (FVG) or Liquidity Sweep (LSOB) zone before entry.Breakout & Momentum TradingBand Breakout-OnlyTriggers an entry only when price decisively breaks outside the SMA Volatility Bands (configurable). Filtered by momentum requirements.Dynamic Range Expansion (DRE)Specifically detects low-volatility consolidation before an anticipated high-momentum expansion phase.
🔔 The Master Alert System: Your Execution EdgeThe powerful Alert functionality ensures you can monitor multiple assets and timeframes without being glued to the screen.1.
✅ Dynamic MASTER ALARM (Compact Text)The core alert uses a compact, dynamic JSON/text message that contains all necessary information for quick execution:Action: BUY / SELLMode Used: Conviction Score: Key Level: 2. LRC/GP Combo-Alert (High-R:R)This is the most valuable alert for strategic traders. It triggers only when the LRC direction is confirmed and the price enters the Golden Pocket (GP) Re-Test Zone, indicating an optimal high-R:R pullback opportunity.Final Note: To maximize the predictive power, ensure the useConvictionFilter is set to a minimum of $60\%$ and the useStructureSL is activated to protect your capital with intelligent stop placement.Stop reacting. Start predicting. Activate the POWER INDICATOR PRO PREMIUM V24 and lead the market today!
⚠️ IMPORTANT NOTICE: Full Version vs. Public Release
This current version, the POWER INDICATOR PRO PREMIUM V24 (Full Feature Test Release), is publicly available only for demonstration and testing purposes to showcase the system's full potential (including all 12 Dynamic Modes and the advanced Convictional Filter).
A slightly streamlined Public Version will remain permanently free and accessible to the community. However, the Full Premium Version—featuring the complete 12-Mode selection, all predictive functionalities, and crucial additions such as enhanced, precise Entry/Exit Labels and Dynamic Stop Loss/Take Profit Labels directly calculated by the algorithm—will soon be available exclusively for subscribers.
Test the power now and be ready for the subscription launch!
Relative Value & Risk Analytics DashboardThis is your risk-adjusted alpha analysis tool - exactly what hedge fund and insurance company clients want to see.
Attractiveness Score | Composite score combining RV and Risk (0-100)
Relative Performance | vs Benchmark (SET/SPY), RS Ratio Trend, 52W Position, Spread Z-Score
Risk Metrics | Beta, Alpha, Sharpe, Sortino, Information Ratio, Volatility
Correlation | Benchmark Correlation, R-Squared, Regime Change Detection
Pair Trade | Peer Correlation, Pair Z-Score, Long/Short Signals
Factor Exposure | Momentum (1/3/6M), Mean Reversion Signal, Distance from SMA50
Drawdown | Current DD, Max DD, Recovery Needed, Ulcer Index, Calmar, VaR
Key Features:
Benchmark-Relative Analysis: Compare any stock vs SET Index or any other benchmark
Pair Trade Signals: Automatically generates long/short signals based on Z-score
Risk-Adjusted Returns: Sharpe, Sortino, Information Ratio - what your clients actually care about
Regime Change Detection: Alert when correlation dynamics shift
Drawdown Risk: VaR, Ulcer Index, Calmar Ratio for risk-conscious clients
FAIRPRICE_VWAP_RDFAIRPRICE_VWAP_RD
This script plots an **anchored VWAP (Volume Weighted Average Price)** that resets
based on the user-selected anchor period. It acts as a dynamic “fair value” line
that reflects where the market has actually transacted during the chosen period.
FEATURES
- Multiple anchor options: Session, Week, Month, Quarter, Year, Decade, Century,
Earnings, Dividends, or Splits.
- Intelligent handling of the “Session” anchor so it works correctly on both 1m
(resets each new day) and 1D (continuous, non-resetting VWAP).
- Manual VWAP calculation using cumulative(price * volume) and cumulative(volume),
ensuring the line is stable and works on all timeframes.
- Optional hiding of VWAP on daily or higher charts.
- Offset input for horizontal shifting if desired.
- VWAP provides a true “fair price” reference for trend, mean-reversion,
and institutional-level analysis.
PURPOSE
This indicator solves the common problem of VWAP behaving incorrectly on higher
timeframes, on synthetic data, or with unusual anchors. By implementing VWAP
manually and allowing flexible reset conditions, it functions reliably as
an institutional-style fair value benchmark across any timeframe.
Deviaton Tracker - QuantSyDeviation Tracker - QuantSy
An adaptive volatility band system that maps price behavior across statistical deviation zones. Provides visual context for market extremes and tracks duration patterns for probabilistic mean reversion analysis.
What it offers:
Dynamic bands that adjust to current volatility conditions, creating clear visual zones for price action. The system continuously monitors time spent in each zone and builds a statistical profile of typical duration patterns, helping identify when price may be overextended.
Best for:
Spotting potential reversal areas at volatility extremes
Understanding current price positioning relative to recent behavior
Timing entries and exits based on statistical probabilities
Risk management and position sizing decisions
Clean gradient visualization provides immediate context while the underlying statistical engine tracks behavioral patterns across all market conditions.
**⚠️ Disclaimer**
Educational tool only - does not constitute investment advice. The developer assumes no liability for any trading profits or losses incurred through the use/misuse of this indicator.
This indicator does not include any features related to interest, leverage, or gambling. Users are fully responsible for making sure their assets and trading practices align with Islamic guidelines.
Universal Heatmap - QuantSyUniversal Heatmap - QuantSy
A sophisticated market valuation tool that synthesizes multiple on-chain and technical metrics into a single, intuitive heat-mapped visualization. Provides probabilistic assessment of market extremes through dynamic gradient coloring.
What it does:
Analyzes various dimensions of market behavior including value metrics, profit/loss ratios, momentum signals, and risk-adjusted performance. Converts complex data into a simple visual spectrum where blue indicates undervalued conditions and red signals overvalued territory.
Best for:
Identifying potential reversal zones
Gauging relative market positioning
Risk management and allocation decisions
Multi-timeframe valuation analysis
The percentile-based color scaling adapts to each asset's unique history, making it applicable across different markets and timeframes. Get an at-a-glance read on where current conditions stand relative to historical norms.
**⚠️ Disclaimer**
Educational tool only - does not constitute investment advice. The developer assumes no liability for any trading profits or losses incurred through the use/misuse of this indicator.
This indicator does not include any features related to interest, leverage, or gambling. Users are fully responsible for making sure their assets and trading practices align with Islamic guidelines.
Universal Valuation 4.0 - QuantSyUniversal Valuation 4.0 - Market Extremes Detector
A professional-grade indicator designed to identify extreme market conditions and potential reversal zones with high precision.
📊 WHAT IT DOES:
Measures market valuation extremes to help investors identify optimal entry and exit points. The indicator displays a score that signals when markets are significantly overbought or oversold.
📈 HOW TO USE:
- Values above +1.5: Overbought territory (purple background)
- Values below -1.5: Oversold territory (aqua background)
- Values near 0: Neutral market conditions
🎯 VISUAL FEATURES:
- Clean oscillator display with dynamic color coding
- Real-time readings table for quick assessment
- Background highlighting for extreme zones
- Neon pink/blue gradient for easy interpretation
Perfect for swing traders and investors looking to identify accumulation and distribution zones.
**⚠️ Disclaimer**
Educational tool only - does not constitute investment advice. The developer assumes no liability for any trading profits or losses incurred through the use/misuse of this indicator.
This indicator does not include any features related to interest, leverage, or gambling. Users are fully responsible for making sure their assets and trading practices align with Islamic guidelines.
ICT Fair Value Gap (FVG) Detector │ Auto-Mitigated │ 2025Accurate ICT / Smart Money Concepts Fair Value Gap (FVG) detector
Features:
• Detects both Bullish (-FVG) and Bearish (+FVG) using strict 3-candle rule
• Boxes automatically extend right until price mitigates them
• Boxes auto-delete when price closes inside the gap (true mitigation)
• No repainting – 100% reliable
• Clean, lightweight, and works on all markets & timeframes
• Fully customizable colors and transparency
How to use:
– Bullish FVG (green) = potential support / buy zone in uptrend
– Bearish FVG (red) = potential resistance / sell zone in downtrend
Exactly matches The Inner Circle Trader (ICT) methodology used by thousands of SMC traders in 2024–2025.
Enjoy and trade safe!
GVI – Guendogan Valuation IndexGlobalization-adjusted valuation indicator modeling rising international revenue exposure since 1990. Includes a long-term fair-value framework.
Stock Valuation & Analysis (Zeiierman)█ Overview
Stock Valuation & Analysis (Zeiierman) is a hybrid fundamental–technical framework that delivers a complete company valuation system directly inside TradingView. Instead of manually digging through years of financial statements, the system automates the full valuation process, allowing traders and investors to understand a stock’s true value, fair price, and risk-adjusted opportunity at a glance.
The script projects intrinsic value zones directly onto the price chart, then layers trend structure, signals, and exhaustion regimes around them to create a unified decision-making environment.
At its core, the system builds a quantitative valuation backbone using several coordinated models:
an adaptive DCF engine that updates fair value based on changing fundamentals
sector-aligned valuation models that compare earnings, sales, enterprise value, and book metrics
smart handling for unusual balance-sheet structures such as cash-heavy or early-stage companies
stabilized value floors based on liquidity and cash-per-share dynamics
an automated financial processor that organizes multi-year statements into a consistent valuation framework
On top of this valuation, the script overlays:
visual valuation zones (Premium, Fair, Discounted, Undervalued)
a rolling ZVWAP line showing where trading activity is anchored
a multi-mode adaptive trend engine
a non-linear signal generator
an overbought and oversold regime detector
an analyst-consensus summary panel
Note: This tool is designed specifically for stocks on the daily timeframe. If used on unsupported markets or timeframes, it will display a clear warning.
⚪ Why This One Is Unique
Most valuation tools stop at static multiples or a single DCF pass. This script instead uses a more intelligent, multi-layered valuation architecture that adapts to the underlying asset and market context.
It:
Uses multiple forms of discounted cash flow analysis and automatically selects the most suitable valuation approach for the stock. When traditional DCF is not optimal, the system applies alternative but comparable valuation methods. This adaptive behavior is the basis for the “Intelligent” designation.
Uses valuation multiples as the basis for fair value assessments.
Projects valuation into dynamic chart zones that expand or contract relative to your chosen margin of safety, producing premium, fair, discounted, and deeply undervalued bands that evolve as conditions change.
Adds a Rolling ZVWAP that adjusts to shifting volume distributions and recent price drift, helping to identify where aggregate positioning and cost basis may be clustering.
Includes an adaptive trend core capable of self-tuning across a range of sensitivities, selecting the configuration that historically performed most reliably, and using that as a live trend intelligence layer.
Wraps everything in a regime-aware OB/OS engine and a unified alert router, enabling valuation, positioning, trend, and signal events to flow through one consolidated alert stream for simpler automation.
█ Main Features
⚪ 1. Dual Valuation Engine With Intelligent Chart Projection
The indicator evaluates a company’s fair value using two coordinated valuation models, then projects the result directly onto the price chart as adaptive valuation zones.
Intelligent DCF Valuation Engine
Builds a forward-looking free-cash-flow profile using earnings power, cash generation, capital intensity, working-capital behavior, and tax structure. It then projects these flows, applies terminal adjustments, and converts the result into an equity fair value.
Adaptive Multiples-Based Valuation
Tracks the most commonly used valuation metrics. Each metric provides its own fair-value projection, and the engine identifies the one most consistent with the company’s fundamental profile — delivering the best match to intrinsic value.
Margin of Safety Control
A dedicated slider widens or tightens valuation outcomes based on your preferred risk profile, enabling more conservative or aggressive interpretations with a single adjustment.
Dynamic Valuation Zones (Premium → Undervalued)
Once the valuation is finalized, the script constructs four intelligent price regions:
Premium, Fair Value, Discounted, and Undervalued. These zones scale with your Margin of Safety and are drawn as translucent, forward-projected price bands. The result is a clear, evolving valuation map that updates with each new bar and visually anchors price within its current fundamental context.
⚪ 2. ZVWAP — Zeiierman Volume-Weighted Anchor Price
This enhanced VWAP model distinguishes between institutional-style flows and retail-style activity, offering a deeper look into capital positioning. It adapts continuously, revealing where dominant buying or selling pressure may be anchored. Depending on your setting, it can emphasize institutional-style flows or a blend of retail and institutional movement. This line helps you quickly see whether the price is trading above or below the dominant executed volume over the recent window.
⚪ 3. Trend and Price-Movement Intelligence
A multi-mode trend engine ensures flexibility and robustness across different trading styles:
Intelligent Trend: Runs a series of internal trend models, gauges their historical stability and responsiveness, and automatically promotes the best-performing configuration as the trend line.
Percentage Trend: Flips trend when price moves a fixed percentage from a reference, ideal for swing-style regime detection.
MA Trend: A classic moving-average trend line that switches bias on crossovers.
⚪ 4. Signal Framework (Buy / Sell / Trend Signals)
A dedicated signal engine analyzes price extremes and internal oscillations to produce actionable signals. Frequency settings (Frequent, Quick, Fast, Moderate, Long-Term) determine how selective the engine becomes. Signals can operate independently or in alignment with the active trend filter.
⚪ 5. Overbought / Oversold Regime Zones
A volatility-aware OB/OS engine transforms price movement into a smooth internal oscillator. It highlights extended regimes using semi-transparent zones labeled “Overbought” or “Oversold,” expanding and contracting with volatility. Zones automatically clear once conditions normalize, avoiding stale signals.
⚪ 6. Analyst Ratings & Price Target Panel
A structured table displays external analyst expectations, including:
Highest and lowest price targets
Average or consensus rating (Buy, Sell, Weak Buy, Weak Sell, Neutral)
Color-graded rating and target fields for immediate clarity
This adds an external benchmark to complement the internal valuation system.
█ How to Use
⚪ Intrinsic Value Estimation
Quickly determine whether a stock is undervalued or overvalued based on DCF and Multiple models.
Valuation Models
Intelligent DCF: Best for fundamentally driven companies where earnings quality, cash flow, and balance sheet strength matter.
Multiple Valuation: Ideal for faster, relative pricing using sector-aware multiples.
Risk-Adjusted Investing: Apply the Margin of Safety to find entries that match your preferred risk level.
Valuation Zones
Premium: Price is above intrinsic value. Common area to lock in gains, tighten stops, or avoid new longs.
Fair Value: Neutral territory. Suitable for monitoring or gradual accumulation.
Discounted: Below fair value. Potential opportunity zone when trend and technical conditions begin to improve.
Undervalued: Deep discount. High-interest area when valuation, trend improvement, oversold conditions, and signals start aligning.
⚪ Professional-Level Price Analysis
Use ZVWAP and trend tools to time entries with institutional buying pressure by visualizing where the majority of recent trading volume is anchored.
Price above ZVWAP + bullish trend → strong institutional support, trend continuation setups.
Price below ZVWAP + bearish trend → strong institutional selling pressure, trend continuation.
Price crossings relative to ZVWAP often act as:
pullback completion points.
early signs of shifting value zones.
⚪ Timing Your Entries
1. Choose a Trend Mode
Intelligent Trend: Runs several trend configurations, evaluates their past stability, and selects the most reliable one as the active trend.
Percentage Trend: Flips trend only when price moves by a defined percentage.
MA Trend: Classic moving average for straightforward trend mapping.
2. Use Signals in Sync With the Trend
Set Trend Signals to ensure entries match the active trend:
In an uptrend → Long signals highlight continuation setups.
In a downtrend → Short signals highlight continuation setups.
Adjust frequency based on style:
Frequent / Quick for active traders
Moderate / Longterm for swing and position traders
⚪ Overbought / Oversold Zones
Overbought zones identify where upside movement is stretched, often aligning with Premium or upper Fair Value regions. These areas can signal trend maturity, potential pullbacks, or moments where taking partial profits becomes prudent.
Oversold zones highlight areas where downside momentum is becoming exhausted, especially when price is already trading within Discounted or Undervalued valuation regions. These zones can mark early stages of a potential reversal or simply the lower boundary of a strong trend where buyers might step back in.
Because both conditions can appear during strong trends, investors should monitor price behavior closely:
In strong uptrends, overbought zones can indicate trend strength rather than immediate reversal. Traders may choose to ride the trend while managing risk.
In downtrends, oversold zones can serve as continuation points or emerging reversal signals depending on how the price reacts.
Both zones can be used as entry or exit timing aids, especially when combined with valuation zones, ZVWAP behavior, and trend direction.
⚪ A nalyst Comparison
Use the built-in analyst ratings and target prices to validate or challenge your valuation. When your intrinsic estimate aligns with analyst consensus, conviction strengthens; when it diverges, it highlights potential opportunities or risks worth investigating.
█ How It Works
⚪ Intelligent Valuation
Uses multiple forms of discounted cash flow analysis and automatically selects the most appropriate valuation approach for each stock. When a traditional DCF is not the best fit, the system switches to alternative but comparable valuation models. This adaptive process is what defines it as an “Intelligent” system.
⚪ Multiples Framework
When using multiple-based valuation, the engine evaluates a set of evolving market multiples and aligns them with sector expectations. Historical ranges, peer context, and balance-sheet components help anchor each metric, allowing identical ratios to be interpreted differently across industries. The system then chooses the estimate that best reflects the company and how the market has recently valued similar conditions.
⚪ ZVWAP
The Rolling ZVWAP line acts as a dynamic, volume-weighted anchor that reacts to shifts in participation intensity. It highlights where capital is clustering, whether flows lean toward institutional or retail, and how price behaves around these anchor points. This produces a clearer view of positioning pressure and trend strength than traditional VWAP lines.
⚪ Adaptive Trend Framework
The trend system provides three complementary modes:
Percentage Mode reacts to meaningful percentage-based displacements,
MA Mode tracks equilibrium through a moving-average backbone, and
Intelligent Trend evaluates multiple internal configurations, promotes the historically most stable one, and uses it as the active trend reference. This multi-engine design ensures that trend direction reflects the most reliable behavior for the current market environment.
⚪ Signal Engine
The signal layer continuously interprets price structure, curvature, and momentum to identify high-quality long and short opportunities. Signals can run independently or be filtered through the active trend for cleaner, regime-aligned entries. Frequency modes allow you to tune selectivity from rapid responses to high-conviction, slower-moving signals.
⚪ Overbought / Oversold Regime Zones
The OB/OS engine identifies volatility-adjusted exhaustion zones that highlight where price is stretched or depleted. These regions can mark early reversal points, continuation areas in strong trends, or places where investors monitor price closely to decide whether to hold, trim, or add exposure. They integrate naturally with valuation, trend, ZVWAP, and signals to refine timing and risk management.
⚪ Analyst Sentiment
The Analyst Ratings layer collects analyst recommendations and target prices, normalizes them into a weighted sentiment index, and displays the result as a color-graded panel. This gives you an immediate sense of how professional research is positioning itself relative to the system’s intrinsic valuation baseline.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Scalper Pro Pattern Recognition & Price Action📘 Scalper Pro Pattern Recognition & Price Action
Overview
Scalper Pro is a dynamic multi-layer trend recognition and price action strategy that integrates Supertrend, Smart Money Concepts (SMC), and volatility-based risk control.
It adapts to market volatility in real time to enhance entry precision and optimize risk.
⚠️ This script is for educational and research purposes only.
Past performance does not guarantee future results.
🎯 Strategy Objectives
Detect structural market shifts (BOS / CHoCH) automatically.
Identify Order Blocks (OB), Fair Value Gaps (FVG), and key liquidity zones.
Plot dynamic Take-Profit (TP) and Stop-Loss (SL) levels based on ATR.
Avoid low-volatility (sideways) conditions using ADX filtering.
Combine trend-following signals with structural confirmation.
✨ Key Features
Supertrend Entry Signals — Generates precise buy/sell markers based on price crossovers with the Supertrend line.
Order Block Detection — Automatically plots both Internal and Swing Order Blocks for smart money insights.
Fair Value Gap Visualization — Highlights inefficiency zones in bullish or bearish structures.
Market Structure Labels — Marks Break of Structure (BOS) and Change of Character (CHoCH) points for clear trend shifts.
Dynamic Risk Levels — Automatically generates TP/SL lines and price labels using ATR-based distance.
📊 Trading Rules
Long Entry:
• Price crosses above the Supertrend (ta.crossover(close, supertrend))
• ADX above sideways threshold (trend condition confirmed)
• Optional confirmation from a bullish BOS or CHoCH
Short Entry:
• Price crosses below the Supertrend (ta.crossunder(close, supertrend))
• ADX above threshold
• Optional confirmation from a bearish BOS or CHoCH
Exit (or Reverse):
• Opposite Supertrend crossover
• Price hits TP/SL lines
• Trend shift confirmed by internal BOS/CHoCH
💰 Risk Management Parameters
Stop Loss & Take Profit based on ATR × risk multiplier
ATR Length: 14 (default)
Risk %: 3% per trade
Sideways Filter: ADX < 15 → no trade zone
TP1–TP3 = Entry ± (ATR × 1~3)
⚙️ Indicator Settings
Supertrend Module:
ATR Length: 10
Factor: nsensitivity × 7
ADX Module:
ADX Length: 15
Sideways Threshold: 15
EMA Set:
EMA (5, 9, 13, 34, 50) × Volatility Factor (3)
SMA Filter:
SMA(8) & SMA(9) for short-term trend confirmation
Smart Money Concepts Module:
Displays BOS/CHoCH, Order Blocks, FVGs, Equal Highs/Lows, and Premium/Discount zones
🔧 Improvements & Uniqueness
Integrates Supertrend momentum with Smart Money Concepts (SMC) structural analysis.
Dual detection layers: Internal (micro) and Swing (macro) structures.
ATR-driven auto labeling for entry, stop, and profit targets.
Premium/Discount and Equilibrium zones visualized on the chart.
Built-in ADX filter to skip low-trend market conditions.
✅ Summary
Scalper Pro Pattern Recognition & Price Action merges classical trend-following with modern market structure analytics.
It combines momentum detection, volatility control, and smart money mapping into one cohesive framework.
Unified trend, structure, and risk visualization.
Auto-marked BOS/CHoCH, OB, FVG, and liquidity zones.
Usable for scalping, intraday, or swing trading setups.
⚠️ This strategy is based on historical data and designed for educational use only.
Always apply sound risk management and forward testing before live trading.
Multi-Asset % Performance Table | v2.1 | TCP Multi-Asset % Performance Table | v2.1 | TCP
ESSENTIAL SUMMARY:
Multi-Asset % Performance Table eliminates the need to manually draw and manage individual "Price Range" tools for every asset. It automatically tracks up to 15 tickers independently in a single dashboard, calculating a TOTAL SCORE (Portfolio Average) for you. Unlike manual drawings, it supports a Global Range while allowing Custom Dates for specific assets, ensuring each ticker is calculated based on its own precise entry/exit. The Smart Visuals dynamically draw the correct date lines only for the ticker you are currently viewing, keeping your chart automatic, accurate, and clutter-free.
FUL DESCRIPTION:
📊 What is this tool?
The Multi-Asset % Performance Table is a powerful portfolio dashboard designed to track the percentage performance of up to 15 different assets simultaneously.
Instead of checking tickers one by one or manually drawing price ranges, this indicator aggregates everything into a single, clean table. It allows you to compare the ROI (Return on Investment) of a basket of coins or stocks over a specific time period and calculates an aggregate TOTAL SCORE (Average %) for your selection.
🚀 Key Features
15 Asset Slots: Monitor up to 15 different tickers (Crypto, Stocks, Forex, etc.) in one view.
Global vs. Custom Dates: Set a "Global" start/end date for the whole portfolio, but override specific assets with Custom Dates if they entered the portfolio at a different time.
Smart Visuals: Automatically draws vertical dashed lines on your chart representing the start and end dates of the ticker you are currently viewing.
Total Score Calculation: Calculates the average percentage change of your portfolio. You can dynamically include or exclude specific assets from this average using the settings.
Status Column: A quick visual reference (✔ or ✘) in the table showing which assets are currently included in the Total Score calculation.
⚙️ How it Works
Data Fetching: The script pulls "Close" prices from the Daily timeframe to ensure accuracy across long periods.
Smart Matching: The visual lines automatically detect which asset you are viewing. For example, if you are looking at BTCUSDT and have custom dates set for it, the vertical lines will jump to those specific dates. If you view a ticker not in your list, it defaults to the Global dates.
Visual Protection: The script uses advanced logic to ensure only one set of range lines appears on the chart at a time, keeping your workspace clean.
🛠️ Instructions & Settings
1. Setting up your Assets
Open the Settings (Cogwheel icon).
Under ASSET 1 through ASSET 15, enter the tickers you want to track (e.g., BINANCE:BTCUSDT).
Include in Avg?: Uncheck this if you want to see the asset in the table but exclude it from the "TOTAL SCORE" average.
2. Defining Time Ranges
Global Settings: Set the Global Start and Global End dates at the top. This applies to all assets by default.
Custom Dates: If a specific asset (e.g., Asset 4) was bought on a different day, check the "Custom Dates?" box for that asset and enter its specific Start/End time.
3. Reading the Table
The table appears on the chart (default: Bottom Right) with three columns:
Asset: The name of the ticker.
% Change: The percentage move from Start Date to End Date. (Green = Positive, Red = Negative).
Inc: Shows a ✔ if the asset is included in the Total Score average, or a ✘ if excluded.
4. The Visual Lines
Two vertical dashed lines will appear on your chart.
Note: These lines are visual references only. You cannot drag them to change the dates. To change the dates, you must use the Settings menu.
💡 Tips
Hover for Details: Hover your mouse over the % Change value in the table to see a tooltip showing the exact Start Price and End Price used for the calculation.
Resolution: The script defaults to 1 Day resolution for optimal accuracy on historical data.
v2.1 | TCP - Custom Built for Precision Performance Tracking
Market Extreme Zones IndexThe Market Extreme Zones Index is a new mean reversion (valuation) tool focused on catching long term oversold/overbought zones. Combining an enhanced RSI with a smoothed Z-score this indicator allows traders to find oppurtunities during highly oversold/overbought zones.
I will separate the explanation into the following parts:
1. How does it work?
2. Methodologies & Concepts
3. Use cases
How does it work?
The indicator attempts to catch highly unprobable events in either direction to capture reversal points over the long term. This is done by calculating the Z-Score of an enhanced RSI.
First we need to calculate the Enhanced RSI:
For this we need to calculate 2 additional lengths:
Length1 = user defined length
Length2 = Length1/2
Length3 = √Length
Now we need to calculate 3 different RSIs:
1st RSI => uses classic user defined source and classic user defined length.
2nd RSI => uses classic user defined source and Length 2.
3rd RSI => uses RSI 2 as source and Length 2
Now calculate the divergence:
RSI_base => 2nd RSI * 3 - 1st RSI - 3rd RSI
After this we need to calculate the median of the RSI_base over √Length and make a divergence of these 2:
RSI => RSI_base*2 - median
All that remains now is the Z-score calculations:
We need:
Average RSI value
Standard Deviation = a measure of how dispersed or spread out a set of data values are from their average
Z-score = (Current Value - Average Value) / Standard Deviation
After this we just smooth the Z-score with a Weighted Moving average with √Length
Methodology & Concepts
Mean Reversion Methodology:
The methodology behind mean reversion is the theory that asset prices will eventually return to their long-term average after deviating significantly, driven by the belief that extreme moves are temporary.
Z-Score Methodology:
A Z-score, or standard score, is a statistical measure that indicates how many standard deviations a data point is from the mean of a dataset. A positive z-score means the value is above the mean, a negative score means it's below, and a score of zero means the value is equal to the mean.
You might already be able to see where I am going with this:
Z-Score could be used for the extreme moves to capture reversal points.
By applying it to the RSI rather than the Price, we get a more accurate measurement that allow us to get a banger indicator.
Use Cases
Capturing reversal points
Trend Direction
- while the main use it for mean reversion, the values can indicate whether we are in an uptrend or a downtrend.
Advantages:
Visualization:
The indicator has many plots to ensure users can easily see what the indicator signals, such as highlighting extreme conditions with background colors.
Versatility:
This indicator works across multiple assets, including the S&P500 and more, so it is not only for crypto.
Final note:
No indicator alone is perfect.
Backtests are not indicative of future performance.
Hope you enjoy Gs!
Good luck!
ATHENS Gold ICT + Smart Money [Advanced Signals]🎯 ADVANCED ICT + SMART MONEY CONFLUENCE INDICATOR
This indicator combines Inner Circle Trader (ICT) concepts with Smart Money theory to deliver high-probability trading signals based on institutional order flow and market structure.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ KEY FEATURES:
✅ ICT CONFLUENCE SYSTEM (0-4 Score)
• Order Blocks (Institutional Entry Zones)
• Fair Value Gaps (Price Imbalances)
• Liquidity Sweeps (Stop Hunt Detection)
• Market Structure (BOS & ChoCh)
✅ SMART SIGNALS
• Signals only trigger with minimum confluence
• Customizable requirements (OB/FVG/Liquidity)
• Filters out low-quality setups
• Higher win rate potential (65-85%)
✅ VISUAL COMPONENTS
• Order Blocks (OB+ / OB-)
• Fair Value Gaps (FVG↑ / FVG↓)
• Liquidity Zones (💧 markers)
• Break of Structure (BOS)
• Change of Character (ChoCh)
✅ PERSISTENT TP/SL LINES
• Entry, Stop Loss, TP1, TP2
• Automatically calculated from OB levels
• Lines extend across chart canvas
• Clear risk:reward visualization
✅ SMART DASHBOARD
• Real-time confluence score
• Component status (OB/FVG/Liquidity)
• Trend direction & RSI
• Signal strength indicator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 HOW IT WORKS:
The indicator scores each setup based on 4 key components:
1️⃣ ORDER BLOCK PRESENCE
• Bullish OB = Last bearish candle before strong move up
• Bearish OB = Last bullish candle before strong move down
• Price must be in OB zone
2️⃣ FAIR VALUE GAP (FVG)
• Gap between 3 candles indicating imbalance
• Price tends to fill these gaps
• Bounce from FVG = high probability entry
3️⃣ LIQUIDITY SWEEP
• Price sweeps recent high/low
• Retail stop losses triggered
• Smart money enters opposite direction
4️⃣ MARKET STRUCTURE
• Bullish = HH + HL
• Bearish = LH + LL
• Confirms trend direction
CONFLUENCE SCORE:
- 4/4 = Excellent (75-85% win rate)
- 3/4 = Good (65-75% win rate)
- 2/4 = Moderate (55-65% win rate)
- 1/4 = Weak (avoid)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CUSTOMIZABLE SETTINGS:
SIGNAL REQUIREMENTS:
- Require Order Block (ON/OFF)
- Require FVG (ON/OFF)
- Require Liquidity Sweep (ON/OFF)
- Minimum Confluence (1-4)
VISUAL SETTINGS:
- Show/Hide OB, FVG, BOS, ChoCh
- Adjustable lookback periods
- Customizable colors
- Line extension length
RISK MANAGEMENT:
- Risk:Reward ratio (1:1 to 5:1)
- Stop Loss buffer (%)
- Auto TP/SL calculation
- Clear old lines option
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 RECOMMENDED SETTINGS:
CONSERVATIVE (High Quality):
- Require OB: ON
- Require FVG: ON
- Min Confluence: 3/4
- Result: 1-2 signals/day, 70-80% win rate
BALANCED (Recommended):
- Require OB: ON
- Require FVG: OFF
- Min Confluence: 2/4
- Result: 2-4 signals/day, 60-70% win rate
AGGRESSIVE (More Signals):
- Require OB: OFF
- Require FVG: OFF
- Min Confluence: 2/4
- Result: 3-6 signals/day, 55-65% win rate
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 BEST PRACTICES:
✅ Trade 3/4 or 4/4 confluence signals only
✅ Confirm with higher timeframe (H4/Daily)
✅ Trade during kill zones (London/NY open)
✅ Use proper position sizing (1-2% risk)
✅ Wait for all components to align
✅ Respect stop losses
✅ Take partial profits at TP1
❌ Don't trade 1/4 confluence signals
❌ Don't ignore liquidity sweeps
❌ Don't trade against higher TF trend
❌ Don't overtrade (quality > quantity)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ SIGNAL TYPES:
🟢 BUY SIGNAL (Green Triangle)
- Appears when bullish confluence met
- Label shows "BUY ICT"
- Blue entry line + Red SL + Green/Lime TPs
- Long opportunity
🔴 SELL SIGNAL (Red Triangle)
- Appears when bearish confluence met
- Label shows "SELL ICT"
- Blue entry line + Red SL + Green/Lime TPs
- Short opportunity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 SUITABLE FOR:
- Gold (XAUUSD) - Optimized
- Forex pairs (Major pairs)
- Indices (US30, NAS100, SPX500)
- Crypto (BTC, ETH - adjust settings)
Recommended Timeframes:
- 15M - Primary for scalping
- 5M - Entry refinement
- 1H - Swing trading
- H4/Daily - Trend confirmation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER:
This indicator is for educational purposes only. Past performance does not guarantee future results. Always:
- Practice on demo account first
- Use proper risk management
- Never risk more than you can afford to lose
- Seek professional financial advice
- Understand that trading carries risk
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 BASED ON:
- ICT (Inner Circle Trader) Concepts
- Smart Money Theory
- Order Flow Analysis
- Institutional Trading Zones
- Market Structure Theory
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📢 FEATURES SUMMARY:
✅ Confluence-based signals (not random)
✅ Order Blocks + FVG + Liquidity integration
✅ Persistent TP/SL lines (scroll-friendly)
✅ Smart dashboard (real-time info)
✅ Customizable requirements
✅ High-probability setups
✅ Professional trading approach
✅ Works on multiple assets
✅ Clean visual presentation
✅ Beginner to advanced friendly
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Trade smart. Trade with confluence. 🎯
#ICT #SmartMoney #OrderBlocks #FVG #Gold #Forex #TradingStrategy #Confluence
PE Fair ValueIn short, it’s an automated fair value estimator based on the price-to-earnings model, with full manual control if TradingView’s fundamental data is missing.
Summary:
1. Lets the user choose the EPS source – either automatically from TradingView fundamentals (EPS TTM) or a manual value.
2. Attempts to fetch the stock’s P/E ratio (TTM) automatically; if unavailable, it uses a manual fallback P/E.
3. Calculates:
Actual P/E = current price ÷ EPS
Fair Value = EPS × chosen (auto/manual) P/E
Percentage difference between market price and fair value
4. Plots the fair-value line on the chart for visual comparison.
5. Displays a table in the top-right corner showing:
EPS used
Target P/E
Actual P/E
Fair value
Current price
Difference vs fair value (colored green or red)
6. Creates alerts when the stock is trading above or below the calculated fair value.
7. Also plots the current closing price for reference.
Ben's BTC Macro Fair Value OscillatorBen's BTC Macro Fair Value Oscillator
Overview
The **BTC Macro Fair Value Oscillator** is a non-crypto fair value framework that uses macro asset relationships (equities, dollar, gold) to estimate Bitcoin's "macro-driven fair value" and identify mean-reversion opportunities.
"Is BTC cheap or expensive right now?" on the 4 Hour Timeframe ONLY
### Key Features
✅ **Macro-driven**: Uses QQQ, DXY, XAUUSD instead of on-chain or crypto metrics
✅ **Dynamic weighting**: Assets weighted by rolling correlation strength
✅ **Mean-reversion signals**: Identifies when BTC is cheap/expensive vs macro
✅ **Validated parameters**: Optimized through 5-year backtest (Sharpe 6.7-9.9)
✅ **Visual transparency**: Live correlation panel, fair value bands, statistics
✅ **Non-repainting**: All calculations use confirmed historical data only
### What This Indicator Does
- Builds a **synthetic macro composite** from traditional assets
- Runs a **rolling regression** to predict BTC price from macro
- Calculates **deviation z-score** (how far BTC is from macro fair value)
- Generates **entry signals** when BTC is extremely cheap vs macro (dev < -2)
- Generates **exit signals** when BTC returns to fair value (dev > 0)
### What This Indicator Is NOT
❌ Not a high-frequency trading system (sparse signals by design)
❌ Not optimized for absolute returns (optimized for Sharpe ratio)
❌ Not suitable as standalone trading system (best as overlay/confirmation)
❌ Not predictive of short-term price movements (mean-reversion timeframe: days to weeks)
---
## Core Concept
### The Premise
Bitcoin doesn't trade in a vacuum. It's influenced by:
- **Risk appetite** (equities: QQQ, SPX)
- **Dollar strength** (DXY - inverse to risk assets)
- **Safe haven flows** (Gold: XAUUSD)
When macro conditions are "good for BTC" (risk-on, weak dollar, strong equities), BTC should trade higher. When macro conditions turn against it, BTC should trade lower.
### The Innovation
Instead of looking at BTC in isolation, this indicator:
1. **Measures how strongly** BTC currently correlates with each macro asset
2. **Builds a weighted composite** of those macro returns (the "D" driver)
3. **Regresses BTC price on D** to estimate "macro fair value"
4. **Tracks the deviation** between actual price and fair value
5. **Signals mean reversion** when deviation becomes extreme
### The Edge
The validated edge comes from:
- **Extreme deviations predict future returns** (dev < -2 → +1.67% over 12 bars)
- **Monotonic relationship** (more negative dev → higher forward returns)
- **Works out-of-sample** (test Sharpe +83-87% better than training)
- **Low correlation with buy & hold** (provides diversification value)
---
## Methodology
### Step 1: Macro Composite Driver D(t)
The indicator builds a weighted composite of macro asset returns:
**Process:**
1. Calculate **log returns** for BTC and each macro reference (QQQ, DXY, XAUUSD)
2. Compute **rolling correlation** between BTC and each reference over `corrLen` bars
3. **Weight each asset** by `|correlation|` if above `minCorrAbs` threshold, else 0
4. **Sign-adjust** weights (+1 for positive corr, -1 for negative) to handle inverse relationships
5. **Z-score normalize** each reference's returns over `fvWindow`
6. **Composite D(t)** = weighted sum of sign-adjusted z-scores
**Formula:**
```
For each reference i:
corr_i = correlation(BTC_returns, ref_i_returns, corrLen)
weight_i = |corr_i| if |corr_i| >= minCorrAbs else 0
sign_i = +1 if corr_i >= 0 else -1
z_i = (ref_i_returns - mean) / std
contrib_i = sign_i * z_i * weight_i
D(t) = sum(contrib_i) / sum(weight_i)
```
**Key Insight:** D(t) represents "how good macro conditions are for BTC right now" in a normalized, correlation-weighted way.
---
### Step 2: Fair Value Regression
Uses rolling linear regression to predict BTC price from D(t):
**Model:**
```
BTC_price(t) = α + β * D(t)
```
**Calculation (Pine Script approach):**
```
corr_CD = correlation(BTC_price, D, fvWindow)
sd_price = stdev(BTC_price, fvWindow)
sd_D = stdev(D, fvWindow)
cov = corr_CD * sd_price * sd_D
var_D = variance(D, fvWindow)
β = cov / var_D
α = mean(BTC_price) - β * mean(D)
fair_value(t) = α + β * D(t)
```
**Result:** A time-varying "macro fair value" line that adapts as correlations change.
---
### Step 3: Deviation Oscillator
Measures how far BTC price has deviated from fair value:
**Calculation:**
```
residual(t) = BTC_price(t) - fair_value(t)
residual_std = stdev(residual, normWindow)
deviation(t) = residual(t) / residual_std
```
**Interpretation:**
- `dev = 0` → BTC at fair value
- `dev = -2` → BTC is 2 standard deviations **cheap** vs macro
- `dev = +2` → BTC is 2 standard deviations **rich** vs macro
---
### Step 4: Signal Generation
**Long Entry:** `dev` crosses below `-2.0` (BTC extremely cheap vs macro)
**Long Exit:** `dev` crosses above `0.0` (BTC returns to fair value)
**No shorting** in default config (risk management choice - crypto volatility)
---
## How It Works
### Visual Components
#### 1. Price Chart (Main Panel)
**Fair Value Line (Orange):**
- The estimated "macro-driven fair value" for BTC
- Calculated from rolling regression on macro composite
**Fair Value Bands:**
- **±1σ** (light): 68% confidence zone
- **±2σ** (medium): 95% confidence zone
- **±3σ** (dark, dots): 99.7% confidence zone
**Entry/Exit Markers:**
- **Green "LONG" label** below bar: Entry signal (dev < -2)
- **Red "EXIT" label** above bar: Exit signal (dev > 0)
#### 2. Deviation Oscillator (Separate Pane)
**Line plot:**
- Shows current deviation z-score
- **Green** when dev < -2 (cheap)
- **Red** when dev > +2 (rich)
- **Gray** when neutral
**Histogram:**
- Visual representation of deviation magnitude
- Green bars = negative deviation (cheap)
- Red bars = positive deviation (rich)
**Threshold lines:**
- **Green dashed at -2.0**: Entry threshold
- **Red dashed at 0.0**: Exit threshold
- **Gray solid at 0**: Fair value line
#### 3. Correlation Panel (Top-Right)
Shows live correlation and weighting for each macro asset:
| Asset | Corr | Weight |
|-------|------|--------|
| QQQ | +0.45 | 0.45 |
| DXY | -0.32 | 0.32 |
| XAUUSD | +0.15 | 0.00 |
| Avg \|Corr\| | 0.31 | 0.77 |
**Reading:**
- **Corr**: Current rolling correlation with BTC (-1 to +1)
- **Weight**: How much this asset contributes to fair value (0 = excluded)
- **Avg |Corr|**: Average correlation strength (should be > 0.2 for reliable signals)
**Colors:**
- Green/Red corr = positive/negative correlation
- White weight = asset included, Gray = excluded (below minCorrAbs)
#### 4. Statistics Label (Bottom-Right)
```
━━━ BTC Macro FV ━━━
Dev: -2.34
Price: $103,192
FV: $110,500
Status: CHEAP ⬇
β: 103.52
```
**Fields:**
- **Dev**: Current deviation z-score
- **Price**: Current BTC close price
- **FV**: Current macro fair value estimate
- **Status**: CHEAP (< -2), RICH (> +2), or FAIR
- **β**: Current regression beta (sensitivity to macro)
---
## Installation & Setup
### TradingView Setup
1. Open TradingView and navigate to any **BTC chart** (BTCUSD, BTCUSDT, etc.)
2. Open **Pine Editor** (bottom panel)
3. Click **"+ New"** → **"Blank indicator"**
4. **Delete** all default code
5. **Copy** the entire Pine Script from `GHPT_optimized.pine`
6. **Paste** into the editor
7. Click **"Save"** and name it "BTC Macro Fair Value Oscillator"
8. Click **"Add to Chart"**
### Recommended Chart Settings
**Timeframe:** 4h (validated timeframe)
**Chart Type:** Candlestick or Heikin Ashi
**Overlay:** Yes (indicator plots on price chart + separate pane)
**Alternative Timeframes:**
- Daily: Works but slower signals
- 1h-2h: May work but not validated
- < 1h: Not recommended (too noisy)
### Symbol Requirements
**Primary:** BTC/USD or BTC/USDT on any exchange
**Macro References:** Automatically fetched
- QQQ (Nasdaq 100 ETF)
- DXY (US Dollar Index)
- XAUUSD (Gold spot)
**Data Requirements:**
- At least **90 bars** of history (warmup period)
- Premium TradingView recommended for full historical data
---
## Reading the Indicator
### Identifying Signals
#### Strong Long Signal (High Conviction)
- ✅ Deviation < -2.0 (extreme undervaluation)
- ✅ Avg |Corr| > 0.3 (strong macro relationships)
- ✅ Price touching or below -2σ band
- ✅ "LONG" label appears below bar
**Interpretation:** BTC is extremely cheap relative to macro conditions. Historical data shows +1.67% average return over next 12 bars (48 hours at 4h timeframe).
#### Moderate Long Signal (Lower Conviction)
- ⚠️ Deviation between -1.5 and -2.0
- ⚠️ Avg |Corr| between 0.2-0.3
- ⚠️ Price approaching -2σ band
**Interpretation:** BTC is cheap but not extreme. Consider as confirmation for other signals.
#### Exit Signal
- 🔴 Deviation crosses above 0 (returns to fair value)
- 🔴 "EXIT" label appears above bar
**Interpretation:** Mean reversion complete. Close long positions.
#### Strong Short/Avoid Signal
- 🔴 Deviation > +2.0 (extreme overvaluation)
- 🔴 Avg |Corr| > 0.3
- 🔴 Price touching or above +2σ band
**Interpretation:** BTC is expensive vs macro. Historical data shows -1.79% average return over next 12 bars. Consider exiting longs or reducing exposure.
### Regime Detection
**Strong Regime (Reliable Signals):**
- Avg |Corr| > 0.3
- Multiple assets weighted > 0
- Fair value line tracking price reasonably well
**Weak Regime (Unreliable Signals):**
- Avg |Corr| < 0.2
- Most weights = 0 (grayed out)
- Fair value line diverging wildly from price
- **Action:** Ignore signals until correlations strengthen
Crypto Futures Basis Tracker (Annualized)🧩 What is Basis Arbitrage
Basis arbitrage is a market-neutral trading strategy that exploits the price difference between a cryptocurrency’s spot and its futures markets.
When futures trade above spot (called contango), traders can buy spot and short futures, locking in a potential yield.
When futures trade below spot (backwardation), the reverse applies — short spot and go long futures.
The yield earned (or cost paid) by holding this position until expiry is called the basis. Expressing it as an annualized percentage allows comparison across different contract maturities.
⚙️ How the Indicator Works
This tool calculates the annualized basis for up to 10 cryptocurrency futures against a chosen spot price.
You select one spot symbol (e.g., BITSTAMP:BTCUSD) and up to 10 futures symbols (e.g., DERIBIT:BTCUSD07X2025, DERIBIT:BTCUSD14X2025, etc.).
The script automatically computes the days-to-expiry (DTE) and the annualized basis for each future.
A table displays for each contract: symbol, expiry date, DTE, last price, and annualized basis (%) — making it easy to compare the forward curve across maturities.
⚠️ Risks and Limitations
While basis arbitrage is often considered low-risk, it’s not risk-free:
Funding and financing costs can erode returns, especially when borrowing or using leverage.
Exchange or counterparty risk — if one leg of the trade fails (e.g., exchange default, margin liquidation), the hedge breaks.
Execution and timing risk — the basis can tighten or invert before both legs are opened.
Liquidity differences — thin futures may have large bid-ask spreads or slippage.
Use this indicator for analysis and monitoring, not as an automated trading signal.
Disclaimer: Please remember that past performance may not be indicative of future results. Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting. This post and the script don't provide any financial advice.
Purchasing Power vs Gold, Stocks, Real Estate, BTC (1971 = 100)Visual comparison of U.S. dollar purchasing power versus major assets since 1971, when the U.S. ended the gold standard. Each asset is normalized to 100 in 1971, showing how real value has shifted across gold, real estate, stocks, and Bitcoin over time.
Source: FRED (CPIAUCSL, SP500, MSPUS) • OANDA (XAUUSD) • TradingView (INDEX:BTCUSD/BLX)
Visualization by 3xplain
EV/FCFThis script in the 6 version of Pine brings you the most accurate multiple of "fundamental valuation" in my opinion. EV/FCF gives you a real metric of how profitable is the company in this exact moment and also if the company is overvaluated or undervaluated.
💰 Position Size Table Compact Quickly see how many shares you can buy for preset investment amounts at the current price. This compact, customizable table is perfect for traders who want to calculate position sizes instantly without manual math.
Features
- Pre-set investment amounts: $500, $1000, $2000, $3000, $5000, $10000
- Per-row toggle: Show or hide specific investment amounts
- Live updates: Table recalculates as the stock price changes
- Customizable colors: Background, header, text, and border
- Master toggle: Hide or show the entire table on demand
Use it to
- Quickly calculate position sizes for multiple investment levels
- Plan trades efficiently and reduce manual calculation errors
- Keep your chart clean with a compact, flexible table
FX vs Yield-Spread OscillatorFollow me at for more guidance on how to use the indicator:
www.instagram.com
The FX vs Yield-Spread Oscillator measures how an exchange rate’s movement compares with changes in its corresponding interest-rate differential. It quantifies whether a currency pair is moving in line with, or diverging from, the bond-market forces that normally drive it.
At its core, the indicator tracks the relative performance between:
The price change of the selected FX pair, and
The change in the yield spread between the base country’s and quote country’s government bonds (e.g., US02Y − JP02Y for USDJPY).
Concept of Indicator
Currencies tend to strengthen when their domestic yields rise faster than their counterpart’s—reflecting higher expected returns or tighter monetary policy. This indicator visualizes that relationship dynamically.
When the oscillator rises, the FX pair is outperforming what the yield spread implies (the currency is stronger than rates alone justify).
When it falls, the pair is underperforming the spread (rates are favorable, but the currency lags).
Key Features
Auto-mapping: Detects the chart’s base and quote currencies and automatically selects their corresponding bond yields from TradingView’s TVC database.
Tenor Control: Choose bond maturity (1-month to 10-year) to match your trading horizon.
Mode Selection: Compare moves using percentage change or basis-point (bps) spread delta.
Rescaled Oscillator: Normalized between −100 and +100, highlighting relative extremes over a chosen look-back window.
Visual Alerts: Shaded background marks strong positive (overperformance) and negative (underperformance) zones.
Manual Override: Manually specify yield symbols if your data plan uses different tickers (e.g., DE02Y for EUR).
Alerts: Optional signals when the oscillator crosses zero or predefined upper/lower thresholds.
Interpretation
Above +75 / below −75: FX price has deviated sharply from yield-spread behavior—potential exhaustion or continuation zone.
Crossing 0: Realignment between FX movement and yield differential; often coincides with regime or sentiment shifts.
Persistent divergence: May indicate risk-sentiment decoupling (safe-haven flows, intervention expectations, or commodity-price effects).
Typical Uses
Intraday or swing-trading confirmation of rate-driven impulses.
Identifying when currencies are over- or under-reacting to bond-market repricing.
Cross-checking macro trades (e.g., carry trades, policy-expectation trades).
Early warning when price diverges from fundamental yield direction.






















