Indicator

Concordance Allocation Strategy [JOAT]Concordance Allocation Strategy
Introduction
Concordance Allocation Strategy is an open-source PulseWire strategy that integrates regime detection, directional bias, momentum alignment, value-location filtering, and ATR-based risk management into one non-repainting framework. It is designed to trade only when multiple independent layers agree on bar close.
The problem this strategy solves is isolated signal bias. A single good-looking signal can fail quickly if it appears in the wrong market regime, against the wrong directional structure, or in the wrong part of value. Concordance requires those layers to align before it enters a trade, then manages risk with fixed ATR targets and adaptive exits.
Core Concepts
1. Regime filter
The strategy uses a probability-based trend-versus-range classifier. Trades are only considered when the directional regime is confirmed on a closed bar.
2. Directional bias engine
An ATR-based bias band adapts to noisy conditions and recovery stress so long and short bias are not driven by a simple moving average cross.
3. Momentum confirmation
A centered adaptive stochastic spread must align with the directional side. This prevents entries based on trend context alone.
4. Value-location filter
The strategy requires price to be properly aligned with percentile-derived value rails before entries are allowed. This helps avoid chasing direction in poor location.
5. Structured risk management
Every position uses:
ATR stop loss
ATR take profit
Adaptive trailing behavior once price extends far enough
Context exits when regime or momentum deteriorates
Features
Multi-layer entry filter: Regime, bias, momentum, and value must agree
Bar-close confirmation: Entries are evaluated using confirmed-bar logic
ATR stop loss and take profit: Risk is defined from volatility, not fixed ticks
Adaptive exit behavior: Bias band can tighten once the move extends
No higher-timeframe dependency: Uses current-timeframe calculations only
Institutional dashboard: Shows exposure state, regime, momentum, bias band, and value rails
Non-repainting framework: No future references and no lookahead logic
Input Parameters
Regime Layer:
Return Lookback
Volatility Lookback
Efficiency Length
Regime Learning
Trend Gate
Directional Bias:
ATR Length
ATR Base Multiplier
Avoidance Expansion
Recovery Pull
Noise Threshold ATR
Momentum Layer:
Stochastic Length
Stochastic Smoothing
Price Presmoothing
Adaptive Attenuation
Momentum Spread Gate
Value Layer:
Value Lookback
Lower Rail Percentile
Upper Rail Percentile
Rail Smoothing
Risk Layer:
Stop ATR
Take Profit ATR
Trail Activation ATR
Trail Buffer ATR
How to Use This Strategy
Step 1: Read the regime
The strategy only acts when the directional regime is confirmed. If the regime is rotational, it stands down.
Step 2: Confirm directional bias
The ATR bias band must agree with the side of the trade. This avoids taking long momentum setups under bearish structure or the reverse.
Step 3: Check momentum and value together
Momentum must align with the side and price must be operating in the correct value location. Both filters are required.
Step 4: Review risk settings before use
Stop and target multiples should be adjusted to the market and timeframe being tested. The defaults are intended to be realistic rather than aggressively optimized.
Strategy Limitations
No strategy can eliminate false regime transitions or rapid reversals
Percentile value rails adapt to the sample window and may lag sudden structural changes
The strategy is designed for realism and context alignment, not maximum trade frequency
Originality Statement
Concordance Allocation Strategy is original in how it requires regime confirmation, directional bias, momentum agreement, and value-location agreement before allowing entries. It is published because:
The strategy avoids isolated indicator triggers and instead uses a layered confirmation model
Its risk logic combines fixed ATR objectives with adaptive context exits
The design is intentionally current-timeframe, bar-close confirmed, and non-repainting
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice, and backtest results do not guarantee future performance. Trading involves risk of loss, and any strategy can underperform or fail in changing market conditions. Always evaluate settings carefully and use proper risk management.
Strategy

Swing + Value Setup [Marcos]Swing + Value Setup — Descripción para PulseWire
Título sugerido
Swing + Value Setup — Multi-Filter Entry Signal
Descripción (inglés — recomendado para mayor alcance)
🎯 What is this indicator?
Swing + Value Setup is a multi-condition entry filter designed for swing traders looking for high-quality setups in stocks with strong technical and structural foundations. Instead of relying on a single signal, this indicator requires 6 simultaneous conditions to be met before printing an entry label — dramatically reducing false signals and noise.
It also features a real-time status panel that shows exactly which conditions are passing or failing on any given bar, so you always know how close a setup is to triggering.
⚙️ How it works
The indicator combines trend, momentum, volume, and structure analysis into a single unified signal:
✅ 6 Required Conditions (all must be true simultaneously):
Price above EMA 200 — confirms the stock is in a long-term uptrend
Supertrend bullish — active trend filter, eliminates choppy/sideways markets
RSI between 40–55 — entry during healthy pullback, not extreme oversold
MACD signal — bullish crossover OR histogram rising below zero (momentum recovering)
OBV above its EMA — confirms institutional accumulation behind the move
Pullback to EMA 21 or EMA 50 (±1.5%) — optimal entry zone, not chasing price
⭐ High Conviction Bonus:
When a bullish RSI divergence is also detected (price making lower lows while RSI makes higher lows), the label upgrades to a High Conviction signal — historically the strongest setups.
📊 Visual elements
EMA 21 / 50 / 200 plotted directly on price
Supertrend line changes color with trend direction
Green background shading when a valid setup is active
Brighter shading for high conviction entries
Labels printed at signal candles (standard ✅ or high conviction 🎯)
Status table (top-right corner) showing live ✅/❌ for each condition
🔔 Built-in Alerts (3 total)
AlertTriggerSetup Swing/ValueAll 6 conditions met for the first timeSetup ALTA CONVICCIÓN ⭐Full setup + RSI divergence confirmedDivergencia RSI BullishBullish divergence in uptrend (early warning)
Set alerts from the indicator menu → Add Alert → select the condition.
🕐 Recommended Timeframes
TimeframePurposeWeeklyOverall bias and macro structureDailyPrimary signal timeframe (recommended)4H / 1HEntry timing and fine-tuning
Best results on Daily charts for swing positions of 5–30 days.
📐 Trade Management (suggested)
Stop Loss: Below the signal candle low or EMA 50
Target 1: Prior resistance / VPVR high-volume node
Target 2: Fibonacci 1.272 or 1.618 extension
Minimum R:R: 1:2.5
⚠️ Disclaimer
This indicator is a technical analysis tool only. It does not constitute financial advice. Always manage your risk, use stop losses, and do your own research before entering any trade. Past performance of any indicator does not guarantee future results.
Descripción (español — versión alternativa)
🎯 ¿Qué es este indicador?
Swing + Value Setup es un filtro de entrada multi-condición diseñado para swing traders que buscan setups de alta calidad en acciones con estructura técnica sólida. En lugar de depender de una sola señal, el indicador exige que 6 condiciones se cumplan simultáneamente antes de generar una señal — reduciendo drásticamente las falsas entradas y el ruido del mercado.
Incluye un panel de estado en tiempo real que muestra exactamente qué condiciones están activas o fallando en cualquier vela, para que siempre sepas qué tan cerca está un setup de activarse.
⚙️ Cómo funciona
✅ 6 Condiciones obligatorias (todas deben cumplirse a la vez):
Precio sobre EMA 200 — confirma tendencia alcista de largo plazo
Supertrend alcista — filtra mercados laterales y tendencias bajistas
RSI entre 40 y 55 — entrada en pullback sano, sin sobreventa extrema
Señal MACD — cruce alcista O histograma subiendo bajo cero
OBV sobre su media — confirma acumulación institucional detrás del movimiento
Pullback a EMA 21 o EMA 50 (±1.5%) — zona de entrada óptima sin perseguir precio
⭐ Bonus Alta Convicción:
Cuando además se detecta una divergencia bullish en RSI (precio haciendo mínimos más bajos mientras el RSI hace mínimos más altos), la señal se convierte en Alta Convicción — históricamente los setups más fuertes.
🔔 Alertas incluidas
Setup Swing/Value — cuando se cumplen las 6 condiciones
Setup Alta Convicción ⭐ — setup completo + divergencia RSI
Divergencia RSI Bullish — aviso temprano de posible giro
⚠️ Aviso legal
Este indicador es únicamente una herramienta de análisis técnico. No constituye asesoramiento financiero. Gestiona siempre tu riesgo y realiza tu propio análisis antes de operar.
swing trading value ema supertrend rsi macd obv multi-condition stocks entry signal divergence trend following pullback screener alerts Indicator

Stratum Depth Profile [JOAT]Stratum Depth Profile
Introduction
The Stratum Depth Profile is an open-source volume profile indicator built in Pine Script v6. It calculates and displays a real-time Volume Profile histogram directly on the price chart, identifying the Point of Control (POC), Value Area High (VAH), Value Area Low (VAL), and classifying price zones as High Volume Nodes (HVN) or Low Volume Nodes (LVN). The indicator separates buying and selling volume within each price level, calculates a context score based on where price sits relative to the profile, and detects institutional signals like POC reclaims, Value Area breakouts, absorption events, and delta imbalances.
Unlike simple volume bars beneath the chart, this indicator maps volume across price levels to show where the most trading activity occurred. The POC represents the price level with the highest traded volume — a natural magnet for price. The Value Area contains the configurable percentage (default 70%) of total volume, defining the range where most participants agreed on value. Price outside the Value Area is in a statistical extreme and tends to revert or accelerate.
Why This Indicator Exists
Volume Profile is one of the most powerful tools in institutional trading, but most implementations on PulseWire either require paid subscriptions, lack delta separation, or do not provide context scoring. This indicator addresses those gaps:
Full Volume Profile Calculation: Bins volume across configurable price levels over a lookback period, producing a true histogram of volume by price
Bull/Bear Delta Separation: Each price level's volume is split into buying volume (close > open candles) and selling volume (close < open candles), revealing who controls each level
POC / VAH / VAL Detection: Automatically identifies the Point of Control and expands outward to find the Value Area boundaries containing the specified percentage of total volume
Context Scoring: A 0-100 score based on price position relative to the profile (above VAH, at POC, below VAL, etc.) combined with SMA alignment, giving a quick read on the current market context
Institutional Signal Detection: POC Reclaim, POC Rejection, VA Breakout, Absorption, Delta Imbalance, and Zone Shift events with anti-overlap cooldowns
HVN/LVN Classification: Identifies which price levels have concentrated volume (support/resistance) versus thin volume (fast-move zones)
How Volume Profile Calculation Works
The indicator divides the price range of the lookback period into a configurable number of rows (default 24). For each bar within the lookback, it determines which price bin the bar's activity falls into and accumulates volume. The calculation separates bullish and bearish volume:
// For each bar in the lookback, assign volume to the appropriate price bin
// Bullish volume: bars where close > open
// Bearish volume: bars where close < open
// POC = price bin with the highest total volume
// Value Area = expand from POC until cumulative volume >= vaPct% of total
The POC is the single price level where the most volume was traded — it acts as a magnet because it represents the price at which the most participants found value. The Value Area expands symmetrically from the POC, adding the next-highest adjacent bins until the specified percentage of total volume is captured.
Bull/Bear Delta at Each Level
What makes this profile unique is the delta separation within each price bin. Instead of just showing total volume, the histogram displays bullish volume (green/teal) and bearish volume (pink/red) side by side at each price level. This reveals:
A POC dominated by buying volume suggests buyers control the key level — bullish bias
A POC dominated by selling volume suggests distribution — bearish bias
VAH with heavy selling indicates resistance with institutional distribution
VAL with heavy buying indicates support with institutional accumulation
Levels where bull and bear volume are roughly equal indicate genuine two-way auction — balanced market
Context Scoring System
The context score (0-100) provides an at-a-glance assessment of the current market state relative to the volume profile:
Price Zone Component: Where price sits relative to POC, VAH, and VAL. Price above VAH or below VAL scores higher (trending/breakout conditions). Price near POC scores for mean-reversion potential.
SMA Alignment Component: Whether the 20, 50, and 200 SMAs are aligned in a trending configuration. Full bull alignment (20 > 50 > 200) or bear alignment adds to the score.
POC Proximity: How close price is to the POC level — useful for identifying mean-reversion opportunities or confirming that price is at a key decision point.
Delta Direction: Whether the current cumulative delta supports the price direction.
Institutional Signals
The indicator detects six types of institutional events, each with anti-overlap cooldowns to prevent label stacking:
POC Reclaim: Price crosses above the POC after being below it — indicates buyers are reclaiming the most-traded level, often a bullish continuation signal
POC Rejection: Price approaches the POC and reverses away — the POC is acting as resistance or support
VA Breakout: Price closes outside the Value Area — a statistical extreme that often leads to trend continuation or a sharp reversion
Absorption: High volume with small price range (Wyckoff Effort vs Result) — institutional orders are being filled without moving price, often preceding a directional move
Delta Imbalance: The buy/sell volume ratio at the current level is heavily skewed, indicating one-sided institutional flow
Zone Shift: The Value Area boundaries shift significantly between profile recalculations, indicating a change in the accepted value range
Visual Design
The indicator uses a "Midnight Neon" color theme with electric blues, hot pinks, neon violets, and lime accents on a dark background:
VP Histogram: Horizontal bars drawn as boxes, with bull volume in neon teal and bear volume in hot pink. A sin-based gradient provides smooth color transitions across the histogram.
POC Line: Bright electric blue line at the highest-volume price level, with a label showing the exact price
VAH/VAL Lines: Neon violet lines marking the Value Area boundaries
SMA Lines: 20/50/200 SMAs with neon glow effect for trend context
Signal Labels: Color-coded labels for each institutional signal type with cooldown-based anti-overlap
Context Score: Displayed in the HUD with color coding (green for high scores, amber for moderate, red for low)
HUD Dashboard
The real-time HUD displays key metrics:
POC price level and proximity state (At POC, Near POC, Away)
VAH and VAL price levels with current zone (Above VA, In VA, Below VA)
Context Score (0-100) with color coding
POC Delta direction (Buyers/Sellers/Balanced)
Current Delta value and direction
Effort/Result ratio (Wyckoff absorption detection)
SMA Alignment state (Bull Aligned, Bear Aligned, Mixed)
Volume Ratio (current vs 20-bar average)
Imbalance classification
Input Parameters
Volume Profile:
Lookback (bars): Number of bars to calculate the profile over (default: 100)
Price Levels: Number of horizontal bins to divide the price range into (default: 24)
Value Area %: Percentage of total volume to include in the Value Area (default: 70%)
Display:
Display Mode: Full (histogram + lines), Minimal (lines only), or Off
Histogram Width: How many bars wide the histogram extends (default: 12)
Show SMA Lines: Toggle 20/50/200 SMA overlay
Show Signals: Toggle institutional signal labels
Signal Cooldown: Minimum bars between signals (default: 5)
Show HUD Panel: Toggle the information dashboard
How to Use This Indicator
Step 1: Identify the Value Area
The area between VAH and VAL represents where 70% of volume was traded. Price inside this range is in "fair value." Price outside is in a statistical extreme.
Step 2: Watch the POC
The POC is the strongest magnet on the chart. If price is away from the POC, expect a pull back toward it unless strong momentum keeps price moving. If price is at the POC, watch for a directional break.
Step 3: Read the Delta
Check whether the POC is buyer-dominated or seller-dominated. A buyer-dominated POC in a bullish SMA alignment is a strong confluence for longs. A seller-dominated POC with bearish alignment favors shorts.
Step 4: Use Signals for Timing
POC Reclaim and VA Breakout signals provide timing for entries. Absorption signals warn that a move is being loaded. Delta Imbalance confirms directional conviction.
Step 5: Context Score for Quick Assessment
A context score above 70 suggests strong directional conditions. Below 30 suggests choppy or mean-reverting conditions. Use this to decide whether to trade aggressively or wait.
Best Practices
Volume Profile is most meaningful on instruments with reliable volume data — major forex pairs, large-cap equities, crypto majors
The lookback period should match your trading timeframe. Day traders might use 50-100 bars on a 5-minute chart. Swing traders might use 100-200 bars on a 1-hour chart.
More price levels (rows) give finer resolution but can make the histogram harder to read. 20-30 rows is a good balance.
The POC is not a guaranteed support/resistance level — it is a probability zone. Use it with other confluence factors.
VA Breakouts can be false. Confirm with volume and momentum before trading a breakout above VAH or below VAL.
The delta separation is estimated from candle direction (close vs open), which is an approximation. True tick-level delta requires exchange data not available in Pine Script.
During low-volume periods, the profile may be less representative of true institutional positioning.
Limitations
Volume Profile calculation is computationally intensive. Very large lookback periods (500+ bars) with many price levels may slow chart loading.
The profile is recalculated on each bar, so the POC and VA boundaries can shift as new volume data arrives. This is by design — the profile reflects the most current volume distribution.
Buy/sell volume separation uses candle direction as a proxy, not actual order flow data. This is the standard approximation available in Pine Script.
The indicator draws boxes for the histogram, which counts against PulseWire's drawing object limits. The max_boxes_count is set to 500.
On instruments with inconsistent volume reporting (some forex brokers, illiquid stocks), the profile may not accurately represent true volume distribution.
The context score is a heuristic, not a statistical model. It provides a useful summary but should not be the sole basis for trading decisions.
Technical Implementation
Built with Pine Script v6 using:
Custom volume profile calculation with configurable resolution and lookback
Bull/bear volume separation at each price bin
Value Area expansion algorithm (symmetric outward from POC)
Pre-allocated drawing objects updated via set() methods for performance
Sin-based gradient coloring for smooth histogram visual transitions
barstate.isconfirmed gating on all signal generation
Anti-overlap cooldown system for institutional signals
SMA alignment scoring integrated with profile-based context
Alert conditions for POC Reclaim, VA Breakout, Absorption, Delta Imbalance, and Zone Shift
Originality Statement
This indicator is original in its integration of volume profile analysis with institutional signal detection and context scoring. While volume profile calculation is a known concept, this indicator is justified because:
It combines VP histogram visualization with real-time bull/bear delta separation at each price level, revealing who controls each zone
The context scoring system synthesizes price position, SMA alignment, POC proximity, and delta direction into a single actionable metric
Institutional signal detection (POC Reclaim, Absorption, Delta Imbalance) is derived directly from the volume profile data rather than being a separate overlay
The sin-based gradient coloring and Midnight Neon theme provide clear visual hierarchy without the visual noise common in VP indicators
Pre-allocated drawing objects with set() updates provide significantly better performance than creating/deleting objects each bar
The HVN/LVN classification helps traders quickly identify where price will find support/resistance versus where it will move quickly
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Volume Profile analysis shows where volume was traded historically — it does not predict where price will go. The POC, VAH, and VAL are probability zones, not certainties. Past volume distributions do not guarantee future price behavior. Always use proper risk management and never risk more than you can afford to lose. The author is not responsible for any losses incurred from using this indicator.
-Made by officialjackofalltrades
Indicator

Indicator

Indicator

Intrinsic Value AnalyzerThe Intrinsic Value Analyzer is an all-in-one valuation tool that automatically calculates the fair value of a stock using industry-standard valuation techniques. It estimates intrinsic value through Discounted Cash Flow (DCF), Enterprise Value to Revenue (EV/REV), Enterprise Value to EBITDA (EV/EBITDA), and Price to Earnings (P/EPS). The model features adjustable parameters and a built-in alert system that notifies investors in real time when valuation multiples reach predefined thresholds. It also includes a comprehensive, color-coded table that compares the company’s historical average growth rates, valuation multiples, and financial ratios with the most recent values, helping investors quickly assess how current values align with historical averages.
The model calculates the historical Compounded Annual Growth Rates (CAGR) and average valuation multiples over the selected Lookback Period. It then projects Revenue, Earnings Before Interest, Taxes, Depreciation, and Amortization (EBITDA), Earnings per Share (EPS), and Free Cash Flow (FCF) for the selected Forecast Period and discounts their future values back to the present using the Weighted Average Cost of Capital (WACC) or the Cost of Equity. By default, the model automatically applies the historical averages displayed in the table as the growth forecasts and target multiples. These assumptions can be modified in the menu by entering custom REV-G, EBITDA-G, EPS-G, and FCF-G growth forecasts, as well as EV/REV, EV/EBITDA, and P/EPS target multiples. When new input values are entered, the model recalculates the fair value in real time, allowing users to see how changes in these assumptions affect the company’s fair value.
DCF = (Sum of (FCF × (1 + FCF-G) ^ t ÷ (1 + WACC) ^ t) for each year t until Forecast Period + ((FCF × (1 + FCF-G) ^ Forecast Period × (1 + LT Growth)) ÷ ((WACC - LT Growth) × (1 + WACC) ^ Forecast Period)) + Cash - Debt - Preferred Equity - Minority Interest) ÷ Shares Outstanding
EV/REV = ((Revenue × (1 + REV-G) ^ Forecast Period × EV/REV Target) ÷ (1 + WACC) ^ Forecast Period + Cash - Debt - Preferred Equity - Minority Interest) ÷ Shares Outstanding
EV/EBITDA = ((EBITDA × (1 + EBITDA-G) ^ Forecast Period × EV/EBITDA Target) ÷ (1 + WACC) ^ Forecast Period + Cash - Debt - Preferred Equity - Minority Interest) ÷ Shares Outstanding
P/EPS = (EPS × (1 + EPS-G) ^ Forecast Period × P/EPS Target) ÷ (1 + Cost of Equity) ^ Forecast Period
The discounted one-year average analyst price target (1Y PT) is also displayed alongside the valuation labels to provide an overview of consensus estimates. For the DCF model, the terminal long-term FCF growth rate (LT Growth) is based on the selected country to reflect expected long-term nominal GDP growth and can be modified in the menu. For metrics involving FCF, users can choose between reported FCF, calculated as Cash From Operations (CFO) - Capital Expenditures (CAPEX), or standardized FCF, calculated as Earnings Before Interest and Taxes (EBIT) × (1 - Average Tax Rate) + Depreciation and Amortization - Change in Net Working Capital - CAPEX. Historical average values displayed in the left column of the table are based on Fiscal Year (FY) data, while the latest values in the right column use the most recent Trailing Twelve Month (TTM) or Fiscal Quarter (FQ) data. The indicator displays color-coded price labels for each fair value estimate, showing the percentage upside or downside from the current price. Green indicates undervaluation, while red indicates overvaluation. The table follows a separate color logic:
REV-G, EBITDA-G, EPS-G, FCF-G = Green indicates positive annual growth when the CAGR is positive. Red indicates negative annual growth when the CAGR is negative.
EV/REV = Green indicates undervaluation when EV/REV ÷ REV-G is below 1. Red indicates overvaluation when EV/REV ÷ REV-G is above 2. Gray indicates fair value.
EV/EBITDA = Green indicates undervaluation when EV/EBITDA ÷ EBITDA-G is below 1. Red indicates overvaluation when EV/EBITDA ÷ EBITDA-G is above 2. Gray indicates fair value.
P/EPS = Green indicates undervaluation when P/EPS ÷ EPS-G is below 1. Red indicates overvaluation when P/EPS ÷ EPS-G is above 2. Gray indicates fair value.
EBITDA% = Green indicates profitable operations when the EBITDA margin is positive. Red indicates unprofitable operations when the EBITDA margin is negative.
FCF% = Green indicates strong cash conversion when FCF/EBITDA > 50%. Red indicates unsustainable FCF when FCF/EBITDA is negative. Gray indicates normal cash conversion.
ROIC = Green indicates value creation when ROIC > WACC. Red indicates value destruction when ROIC is negative. Gray indicates positive but insufficient returns.
ND/EBITDA = Green indicates low leverage when ND/EBITDA is below 1. Red indicates high leverage when ND/EBITDA is above 3. Gray indicates moderate leverage.
YIELD = Green indicates positive shareholder return when Shareholder Yield > 1%. Red indicates negative shareholder return when Shareholder Yield < -1%.
The Return on Invested Capital (ROIC) is calculated as EBIT × (1 - Average Tax Rate) ÷ (Average Debt + Average Equity - Average Cash). Shareholder Yield (YIELD) is calculated as the CAGR of Dividend Yield - Change in Shares Outstanding. The Weighted Average Cost of Capital (WACC) is displayed at the top left of the table and is derived from the current Market Cap (MC), Debt, Cost of Equity, and Cost of Debt. The Cost of Equity is calculated using the Equity Beta, Index Return, and Risk-Free Rate, which are based on the selected country. The Equity Beta (β) is calculated as the 5-year Blume-adjusted beta between the weekly logarithmic returns of the underlying stock and the selected country’s stock market index. For accurate calculations, it is recommended to use the stock ticker listed on the primary exchange corresponding to the company’s main index.
Cost of Debt = (Interest Expense on Debt ÷ Average Debt) × (1 - Average Tax Rate)
Cost of Equity = Risk-Free Rate + Equity Beta (β) × (Index Return - Risk-Free Rate)
WACC = (MC ÷ (MC + Debt)) × Cost of Equity + (Debt ÷ (MC + Debt)) × Cost of Debt
This indicator works best for operationally stable and profitable companies that are primarily valued based on fundamentals rather than speculative growth, such as those in the industrial, consumer, technology, and healthcare sectors. It is less suitable for early-stage, unprofitable, or highly cyclical companies, including energy, real estate, and financial institutions, as these often have irregular cash flows or distorted balance sheets. It is also worth noting that PulseWire’s financial data provider, FactSet, standardizes financial data from official company filings to align with a consistent accounting framework. While this improves comparability across companies, industries, and countries, it may also result in differences from officially reported figures.
In summary, the Intrinsic Value Analyzer is a comprehensive valuation tool designed to help long-term investors estimate a company’s fair value while comparing historical averages with the latest values. Fair value estimates are driven by growth forecasts, target multiples, and discount rates, and should always be interpreted within the context of the underlying assumptions. By default, the model applies historical averages and current discount rates, which may not accurately reflect future conditions. Investors are therefore encouraged to adjust inputs in the menu to better understand how changes in these key assumptions influence the company’s fair value. Indicator

P/S Ratio vs Median + Bollinger Band- 📝 This indicator highlights potential buying opportunities by analyzing the Price-to-Sales (P/S) ratio in relation to Bollinger Bands and its historical median.
- 🎯 The goal is to provide a visually intuitive signal for value-oriented entries, especially when valuation compression aligns with historical context.
- 💡 Vertical green shading is applied when the P/S ratio drops below the lower Bollinger Band, which is calculated directly from the P/S ratio itself — not price. This condition often signals the ticker may be oversold.
- 🟢 Lighter green appears when the ratio is below the lower band but above the median, suggesting a possible shorter-term entry with slightly more risk.
- 🟢 Darker green appears when the ratio is both below the lower band and below the median, pointing to a potentially stronger, longer-term value entry.
- ⚠️ This logic was tested using 1 and 2-day time frames. It may not be as helpful in longer time frames, as the financial data PulseWire pulls in begins in Q4 2017.
- ⚠️ Note: This script relies on financial data availability through PulseWire. It may not function properly with certain tickers — especially ETFs, IPOs, or thinly tracked assets — where P/S ratio data is missing or incomplete.
- ⚠️ This indicator will not guarantee successful results. Use in conjunction with other indicators and do your due diligence.
- 🤖 This script was iteratively refined with the help of AI to ensure clean logic, minimalist design, and actionable signal clarity.
- 📢 Idea is based on the script "Historical PE ratio vs median" by @haribotagada
- 💬 Questions, feedback, or suggestions? Drop a comment — I’d love to hear how you’re using it or what you'd like to see changed.
Indicator

Indicator

FA Dashboard: Valuation, Profitability & SolvencyFundamental Analysis Dashboard: A Multi-Dimensional View of Company Quality
This script presents a structured and customizable dashboard for evaluating a company’s fundamentals across three key dimensions: Valuation, Profitability, and Solvency & Liquidity.
Unlike basic fundamental overlays, this dashboard consolidates multiple financial indicators into visual tables that update dynamically and are grouped by category. Each ratio is compared against configurable thresholds, helping traders quickly assess whether a company meets certain value investing criteria. The tables use color-coded checkmarks and fail marks (✔️ / ❌) to visually signal pass/fail evaluations.
▶️ Key Features
Valuation Ratios:
Earnings Yield: EBIT / EV
EV / EBIT and EV / FCF: Enterprise value metrics for profitability
Price-to-Book, Free Cash Flow Yield, PEG Ratio
Profitability Ratios:
Return on Invested Capital (ROIC), ROE, Operating, Net & Gross Margins, Revenue Growth
Solvency & Liquidity Ratios:
Debt to Equity, Debt to EBITDA, Current Ratio, Quick Ratio, Altman Z-Score
Each of these metrics is calculated using request.financial() and can be viewed using either annual (FY) or quarterly (FQ) data, depending on user preference.
🧠 How to Use
Add the script to any stock chart.
Select your preferred data period (FY or FQ).
Adjust thresholds if desired to match your personal investing strategy.
Review the visual dashboard to see which metrics the company passes or fails.
💡 Why It’s Useful
This tool is ideal for traders or long-term investors looking to filter stocks using fundamental criteria. It draws inspiration from principles used by Benjamin Graham, Warren Buffett, and Joel Greenblatt, offering a fast and informative way to screen quality businesses.
This is not a repackaged built-in or autogenerated script. It’s a custom-built, interactive tool tailored for fundamental analysis using official financial data provided via Pine Script’s request.financial().
Indicator

Stock metrics and valueThis indicator shows:
- the valuation metrics for a stock on a table on top right: PE, EPS, dividend, ROIC, ROE, ROA, EPS growth, FCF growth, Equity growth, revenue Growth
- the fair value and the value with 50% margin of safety as chart lines
The lines will be red when they are above the current price and red when they are below the current price.
The colors on the table will be red when the values are below 10% and green when they are above, that means when everything is green the metrics for the stock are good. Indicator

Indicator

Best Buffett Ratio w/ Std-Dev Offset + Conditional PlotSummary:
This script provides a visually clear way to track the so-called “Buffett Ratio,”
a popular market valuation gauge which compares the total US stock market cap
to the country’s GDP. In addition, it plots a “hardcoded” long-term trend line,
along with fixed standard-deviation bands (in log space), and uses background colors
to signal potentially overvalued or undervalued zones.
What Is the Buffett Ratio?
Often credited to Warren Buffett, the Buffett Ratio (or Buffett Indicator) measures:
(Total US Stock Market Capitalization) / (US GDP)
• A higher ratio typically means equities are more expensive relative to the size of the economy.
• A lower ratio suggests equities may be more attractively valued compared to GDP.
Historically, the ratio has tended to drift upward over many decades,
as the US economy and stock markets grow, but it still oscillates around some trend over time.
How to Use
1) Add to Chart:
- In PulseWire, simply apply the indicator (it internally fetches CRSPTM1 & GDP data).
2) Tweak Inputs:
- Log Offset for 1σ: Adjust how wide the ±1σ/±2σ bands appear around the trend.
- Anchor Points: Edit startYear , endYear , startRatio , endRatio
if you want a different slope or different “fair value” anchors.
3) Interpretation:
- If the indicator is above +2σ (red line) , it’s historically “very expensive,”
often leading to lower future returns over the long term.
- If it’s below –2σ (green line) , it’s historically “deep undervaluation,”
often pointing to better future returns over time.
- The intermediate zones show degrees of mild over- or undervaluation.
How This Script Works
1) Buffett Ratio Calculation:
- The script requests data from PulseWire’s built-in CRSPTM1 index (total US market cap).
- It also requests US GDP data via request.economic("US", "GDP") .
- If GDP data is missing, the ratio becomes na on that bar.
2) Hardcoded Trend Line:
- Rather than a rolling average, the script uses two “anchors” (e.g. 1950 → 0.30 ratio, 2024 → 1.25 ratio)
and solves for a single log-growth rate to produce a steady upward slope.
3) Fixed Standard Deviations in Log Space:
- The script takes the log of the trend line, then applies a fixed offset for ±1σ and ±2σ,
creating proportional bands that do not “expand/contract” from a rolling window.
4) Conditional Plotting:
- The script only begins plotting once the Buffett Ratio actually has data (around 2011).
5) Color-Coded Zones:
- Above +2σ: red background (historically very expensive)
- Between +1σ and +2σ: yellow background (moderately expensive)
- Between –1σ and +1σ: no background color (around normal)
- Between –2σ and –1σ: aqua background (moderately undervalued)
- Below –2σ: green background (historically deep undervaluation)
Final Notes
• Data Limitations: US GDP data and CRSPTM1 only go back so far, so this starts around 2011.
• Long-Term vs. Short-Term: Best viewed on monthly/quarterly charts and interpreted over years.
• Tuning: If you believe structural changes have shifted the ratio’s fair slope,
adjust the code’s anchors or log offsets.
Enjoy, and use responsibly!
Indicator

Indicator

Stef's Enterprise Value CalculatorI have learned the hard way why Enterprise Value is far more superior than Market Cap. That's why I made this indicator, but more importantly, why I added several features that other similar indicators just don't have. The key thing is to not just show you Enterprise Value of a company (it's true worth) but also the capability to see that line colored in a specific way, with key stats as a neat table, and the ability to chart the key facts that go into Enterprise Value, which are debt and cash.
I'll say it again: Market Cap is not nearly as good as Enterprise Value. Don't get tricked by what Market Cap does NOT show you and instead focus on Enterprise Value. I hope my indicator, and the features you see below, help investors and traders all over the world better understand this.
Here are the key features:
Enterprise Value Indicator Features:
1. Real-Time Enterprise Value (EV) Display: Track the EV of a company directly on your chart, providing a comprehensive measure of its true market value.
2. Custom Color Trends: Customize the color of your EV line based on specific trends you’re monitoring, allowing for personalized and insightful visual analysis.
3. Debt & Cash Visualization: Plot both debt and cash & equivalents on the same chart, offering a clear and concise view of a company’s financial health.
4. Key Metrics Table: View a table displaying essential metrics including:
- Average EV
- Highest EV
- Lowest EV
- MC-EV (Market Cap minus Enterprise Value)
MC-EV Charting: Easily chart MC-EV to understand how much debt a company has relative to its market cap, providing insight into financial leverage and growth potential.
Why MC-EV Matters: This metric is crucial for evaluating a company’s financial risk and operational efficiency, giving you an edge in making informed investment decisions.
Thanks for reading and I hope you find some value in this! More updates to come. Indicator

Stef's Money Supply IndicatorI have been fascinated by the growth in the Money Supply. Well, I think we ALL have been fascinated by this and the corresponding inflation that followed. That's why I created my Money Supply Indicator because I always wanted to chart and analyze my symbols based on the Money Supply. This indicator gives you that capability in a way that no other indicator in this field currently offers. Let me explain:
How does the indicator work?
Chart any symbol, turn on this indicator, and instantly it will factor in the M2 money supply on the asset's underlying price. Essentially, you are seeing the price of the asset normalized for the corresponding rise in the money supply. In some ways, this is a rather unique inflation-adjusted view of a symbol's price.
More importantly, you can compare and contrast the symbol's price adjusted for the rise in the Money Supply vs. the symbol's price without that adjustment by indexing all lines to 100. This is essential for understanding if the asset is at all-time highs, lows, or possibly undervalued or overvalued based on the current money supply situation.
Why does this matter?
This tool provides a deeper understanding of how the overall money supply influences the value of assets over time. By adjusting asset prices for changes in the money supply, traders can see the true value of assets relative to the amount of money in circulation.
What features can you access with this indicator?
The ability to normalize all lines to a starting point of 100 allows traders to compare the performance of the Money Supply, the symbol price, and the symbol price adjusted for the money supply all on one readable chart. This feature is particularly useful for spotting divergences and understanding relative performance over time with a rising or falling Money Supply.
What else can you do?
This is just version 1, and so I'll be adding more features rather soon, but there are two other important features in the settings menu including the following:
• Get the capability to quickly spot the highest and lowest points on the Money Supply adjusted price of your asset.
• Get the capability to change the gradient colors of the line when going up or down.
• Turn on the Brrrrrrr printer text as a reminder of our Fed Overlord Jerome Powell... lol
• Drag this indicator onto your main chart to combine it with your candlesticks or other charting techniques.
Stef's Money Supply Indicator! I look forward to hearing your feedback. Indicator

Buffett Valuation Indicator [TradeDots]The Buffett Valuation Indicator (also known as the Buffett Index or Buffett Ratio) measures the ratio of the total United States stock market to GDP.
This indicator helps determine whether the valuation changes in US stocks are justified by the GDP level.
For example, the ratio is calculated based on the standard deviations from the historical trend line. If the value exceeds +2 standard deviations, it suggests that the stock market is overvalued relative to GDP, and vice versa.
This "Buffett Valuation Indicator" is an enhanced version of the original indicator. It applies a Bollinger Band over the Valuation/GDP ratio to identify overvaluation and undervaluation across different timeframes, making it efficient for use in smaller timeframes, e.g. daily or even hourly intervals.
HOW DOES IT WORK
The Buffett Valuation Indicator measures the ratio between US stock valuation and US GDP, evaluating whether stock valuations are overvalued or undervalued in GDP terms.
In this version, the total valuation of the US stock market is represented by considering the top 10 market capitalization stocks.
Users can customize this list to include other stocks for a more balanced valuation ratio. Alternatively, users may use S&P 500 ETFs, such as SPY or VOO, as inputs.
The ratio is plotted as a line chart in a separate panel below the main chart. A Bollinger Band with a default 100-period and multiples of 1 and 2 is used to identify overvaluation and undervaluation.
For instance, if the ratio line moves above the +2 standard deviation line, it indicates that stocks are overvalued, signaling a potential selling opportunity.
APPLICATION
When the indicator is applied to a chart, we observe the ratio line's movements relative to the standard deviation lines. The further the line deviates from the standard deviation lines, the more extreme the overvaluation or undervaluation.
We look for buying opportunities when the Buffett Index moves below the first and second standard deviation lines and sell opportunities when it moves above these lines. This indicator is used as a microeconomic confirmation tool, in combination with other indicators, to achieve higher win-rate setups.
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results. Indicator

Stock Value RainbowStock Valuation based on Book Value, Dividends, Cashflow, Earnings and Estimates and Money Multiplier
There are many ways to measure stock valuations: some methods are using book value, some are using dividends, some are using cashflow, some are using earnings and some using estimates data. Most of these valuation methods are based on multiplier effect which measure how many times the stock price could expand from their valuation base. This indicator attempts to unify all these measurements using just simple addition of all measurements such as: book value per share, dividend per share, cashflow per share, earning per share, and estimates of earning per share and then using multiplier effect to create beautiful rainbow to see how far the stock has growing up above or below their valuation base. The higher the stock price on rainbow spectrum means it is more expensive and the lower in the rainbow spectrum means it is cheaper. Here is the basic formula explanation:
SV = (BVPS + DPS + CFPS + EPS + EST) * MM
BVPS = Book Value Per Share (Asset - Liability)
DPS = Dividends Per Share
CFPS = Free Cash Flow Per Share
EPS = Earnings Per Share
EST = Estimates of EPS
MM = Money Multiplier (1x, 2x, ... ,10x)
- The gray line represents the stock value SV
- The rainbow above the gray line represents the multiplication factors from 1x, 2x, ..., 10x
- The rainbow below the gray line represents the division factors from 0.8x, 0.6x, ..., 0.2x
Check other script to value stock and index:
- Stock Value Rainbow: script to value stock based on book value, dividend, cash flow, earning and estimates.
- Index Value Rainbow: script to value index based on fed balance sheet and base money supply
- Gold Value Rainbow: script to value gold based on global money supply
- Stock Value US: script to check US stock value
- Stock Value EU: script to check EU stock value
- Stock Value JP: script to check JP stock value
- Stock Value CN: script to check CN stock value Indicator

Indicator

Stock's Intrinsic Value| DCF modelScript Description
This pine script is based on a YouTube video titled: Warren Buffett: How to Calculate the Intrinsic Value of a Stock. Warren Buffett is a famous value investor who follows the principles of his mentor Benjamin Graham. He looks for companies that have strong competitive advantages, consistent earnings, and low debt. He also considers the intrinsic value of a company, which is the present value of its future cash flows, and compares it to the market price. He prefers to buy stocks that are trading below their intrinsic value and hold them for a long time.
One of the methods that Buffett uses to estimate the intrinsic value of a company is the discounted cash flow (DCF) model. This involves projecting the free cash flow (FCF) of the company for several years and then discounting it back to the present using an appropriate discount rate. The discount rate is usually the weighted average cost of capital (WACC) of the company, which reflects its cost of equity and debt. The sum of the discounted FCFs and terminal value is the intrinsic value of the company.
Lastly, a margin of safety is included when using the DCF method for stock valuation because of uncertainty and error in estimating future cash flows and the intrinsic value of the company.
When the current price is below margin of safety, it means that the stock is currently undervalued and being price at significantly below its intrinsic value.
Guideline for determining each variable in this script
FCF growth rate: This is the annual rate at which the free cash flow (FCF) of the company is expected to grow over a forecast 10-year period. You can use historical FCF growth rates, industry averages, analyst estimates, or your assumptions to project the FCF growth rate. The higher the FCF growth rate, the higher the intrinsic value will be.
Discount rate: This is the rate of return that you require to invest in the company. It reflects the risk and opportunity cost of investing in the company. You can use the weighted average cost of capital (WACC) of the company, capital pricing model (CAPM), hurdle rate, or market rate as the discount rate. The lower the discount rate, the higher the intrinsic value.
The margin of safety: Provides a cushion against errors in the valuation or adverse events that may affect the company. The margin of safety depends on your personal preference and risk tolerance. Normally is at 15% - 30%, the higher the margin of safety you set, the lower the chance that the stock will hit that level.
How to use this script
Step 1: This script only works for stocks that have financial data of free cash flow and total common shares outstanding
Step 2: Please use a yearly chart (12-month chart)
Step 3: You are required to determine a growth rate that will grow the free cash flow 10 years into the future
Step 4: You are required to determine a discount rate for the calculations
Step 5: You are required to add a margin of safety (Accounting for uncertainty)
Step 6: The rest of the calculations will be done automatically.
Disclaimer when using this script
I'm not a financial advisor
This script is for education purposes only
There are risks involved with stock market investing and investors should not act upon the content or information found here without first seeking advice from an accountant, financial planner, lawyer or other professional.
I can’t guarantee that this script will be error-free as I still consider myself a Pinescript beginner
Before making any decisions, investors should always research companies individually
I'll not be liable for any loss incurred, arising from the use of, or reliance on, this script
Limitations of this script
This script only works on the yearly chart (12 monthly charts)
The intrinsic value of a company will be negative if the company have a negative forecasted free cash flow
You need to make an educated guess about the growth rate, discount rate and margin of safety
This script uses free cash flow instead of owner's earnings (Operating cash flow - Maintenance capital expenditure), therefore it can't accurately estimate the maintenance capital expenditure.
Need at least 6 years’ worth of financial data
Market capitalisation uses total common shares outstanding multiplied by the closing price instead of using company-level total outstanding shares multiplied by the closing price
Indicator

Indicator

Fundamental Value and Dividend Growth InvestingThis script is an original implementation of a Fundamental Value and Dividend Growth Investing Strategy for traders who want to incorporate these concepts in their trading decisions. The script uses technical indicators to determine buy and sell signals based on a set of criteria.
To use the script, traders can input various parameters, such as the length of the simple moving averages (SMA), the rate of change (ROC) length, and the dividend yield. The script calculates the SMA for the long and short periods, the ROC, and the dividend.
The buy signal is triggered when the current closing price is greater than the short-term SMA, the short-term SMA crosses above the long-term SMA, the ROC is positive, and the closing price is greater than the dividend. The sell signal is triggered when the current closing price is less than the long-term SMA, the long-term SMA crosses above the short-term SMA, and the ROC is negative.
The script plots the signals and the indicators, such as the SMA200, the SMS50, the dividend, and the ROC. The script also includes alert conditions for the buy and sell signals.
The concept underlying the calculations of this script is the Fundamental Value and Dividend Growth Investing Strategy. This strategy aims to identify stocks that are trading below their intrinsic value and have a history of increasing dividends. The SMA and ROC indicators help identify the trends in the stock price, while the dividend yield helps identify stocks with a history of dividend growth.
Overall, this script offers traders an original and useful tool for incorporating Fundamental Value and Dividend Growth Investing Strategy into their trading decisions. Indicator

Indicator
