Opening Times - Horizontal LinesThis indicator automatically plots the Nasdaq (NQ) session opening prices based on UK time — typically the 23:00 (Asia session) and 13:30 (New York session) opens.
It includes full customization options:
- Define custom open times (HH:MM) and session start
- Choose line color, style, thickness, and extension length
- Fully configurable labels (text color, size, alignment, price display, box visibility)
- Option to display only the current session or the last N sessions
- Lines and labels stay perfectly aligned to the right edge for clarity
Ideal for traders who follow ICT session concepts, liquidity models, or session-based setups (e.g., 13:30 NY open or 23:00 Asia open).
This script is timezone-aware (Europe/UK) and designed to keep your chart clean, precise, and consistent across sessions.
指标和策略
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 TradingView’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.
Composite Stochastic Oscillator (CSO) [SharpStrat]Composite Stochastic Oscillator (CSO)
The Composite Stochastic Oscillator (CSO) is a refined momentum tool designed to improve on the limitations of the traditional stochastic indicator. Standard stochastics are often too sensitive, producing choppy signals and frequent false turns. CSO tackles this problem by combining multiple stochastic calculations, each with different lengths and smoothing settings, into a single, balanced output.
The goal of combining these stochastic variants is to create a more stable and reliable reading of market momentum. Each version of the stochastic captures different aspects of price behavior like shorter ones react faster, while longer ones filter noise. CSO brings them together mathematically to form a composite oscillator that reacts smoothly and consistently across varying market conditions. This makes it a useful improvement over the standard stochastic, providing traders with a more dependable signal while retaining the familiar interpretation framework.
How It Works
Calculates five independent stochastic oscillators with customizable K, D, and slowing parameters.
Each stochastic contributes to the final composite value according to its assigned weight, allowing the user to emphasize faster or slower reactions.
The resulting composite K is then smoothed into a D line using a chosen moving average method (SMA, EMA, WMA, or RMA).
The oscillator is plotted along with optional overbought/oversold levels and a color fill to enhance visual interpretation.
A compact on-chart table displays the current K and D readings for quick reference.
Comparison with normal Stochastic
Compared to a standard stochastic, the CSO generally produces smoother lines and fewer false flips. As evident in the comparison chart, this improves upon the normal stochastic by reducing noise and making signals more reliable, although results depend on parameter settings too.
How To Use It
Use the CSO exactly like a normal stochastic: look for crossovers, overbought/oversold zones, and divergences.
In practice, CSO should provides smoother and more consistent signals than the regular stochastic, especially in sideways or volatile markets.
When plotted beside a standard stochastic, you’ll notice CSO avoids many of the false reversals that clutter traditional readings.
Customization Options
Choice of smoothing method (SMA, EMA, WMA, RMA).
Full control over each stochastic component’s parameters and weights.
Adjustable overbought/oversold levels and display preferences.
Option to enable or disable the on-chart table and zone fills.
Note
This indicator is shared purely for educational and research purposes. It is not financial advice and should not be treated as a ready-made trading system.
I encourage you to experiment with different parameter values (periods, weights, smoothing) to explore how the behavior changes and to learn from the results.
Breakdown or Buyable Dip? Pullback Depth Can HelpAs a common adage says, “the market doesn’t move in a straight line.” But when prices have fallen, it’s not always clear whether buying makes sense. That’s where today’s script may help.
Most traditional indicators judge movement based on price. That’s obviously important, but time can also be helpful. After all, there’s a big difference between probing a low from 2-3 weeks ago versus a low from months or even years in the past.
Pullback Depth clearly illustrates this by answering the question: “Today’s low is the lowest in how many bars?”
The resulting integer is plotted in a simple histogram. Values are always negative because bars with higher absolute values (meaning more negative, or further below zero) are potentially more bearish.
The study also has a maximum lookback period to avoid overwhelming the study with too many bars. Its default setting of 125 bars includes enough history to illustrate the trend.
The stock market’s recent run has seen only shallow pullbacks. Most dips have probed 1-2 weeks in the past, while Friday’s selloff only turned back the clock a month.
Consider two other previous moments.
First, the great bull run of 1995 saw only shallow pullbacks. (None exceeded 50 days.):
In contrast, early 2022 saw the S&P 500 test levels more than 100 candles into the past. It soon fell into an official “bear market:”
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. If you're born to trade, we could be for you. See our Overview for more.
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options or futures); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission and a futures commission merchant licensed with the Commodity Futures Trading Commission). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association, and a number of exchanges.
TradeStation Securities, Inc. and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., both operating, and providing products and services, under the TradeStation brand and trademark. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
Squeeze Momentum with ADX Filter and Multi-Cycle WavesTitle:
Squeeze Momentum with ADX Filter and Multi-Cycle Waves
Description:
This indicator integrates three well-established technical analysis methodologies into a single oscillator to help traders assess volatility compression, trend strength, and cyclical momentum alignment:
Squeeze Momentum (TTM-style) – Based on Bollinger Bands and Keltner Channels, it identifies periods of low volatility ("the squeeze") followed by directional breakouts. The histogram reflects momentum using linear regression relative to a dynamic centerline. Positive values indicate upward momentum; negative values indicate downward momentum.
ADX with DI+/DI- (Welles Wilder, 1978) – The Average Directional Index is dynamically scaled to match the visual range of the Squeeze histogram. A user-defined Key Level (default: 32) serves as a reference threshold: when ADX rises above this level, it suggests a strong trend is present. DI+ (green) and DI- (red) show directional bias.
Multi-Cycle Waves (55/144/233) – Inspired by adaptive cycle analysis and MACD-style oscillators, these smoothed momentum waves help identify confluence across multiple timeframes. They are optional and appear as shaded areas when enabled.
Key Features:
The Squeeze Momentum Line appears as black/gray crosses at the zero level, indicating momentum polarity without visual clutter.
The Key Level is shown as a thick gray horizontal line, representing the ADX threshold in the scaled oscillator space.
ADX is plotted with increased line width (3) for better visibility.
All components are dynamically scaled to share the same vertical axis, enabling direct visual comparison.
Attribution:
Bollinger Bands: John Bollinger
Keltner Channels: Chester Keltner
Squeeze concept popularized by Linda Raschke and John Carter
ADX/DI system: J. Welles Wilder Jr.
Multi-cycle wave logic: inspired by John Ehlers’ work on market cycles
Integration, scaling logic, and visualization: © Carlos Mauricio Vizcarra (2025)
This script is published under the Mozilla Public License v2.0. It is open-source, non-promotional, and designed for educational and analytical use only. No investment advice is provided.
4H Overlay (triss)Overlay of the 4 Hour candle, simple one color with a line inside the candle to show direction.
Chart Fusion Line SND Detection by TitikSona🧭 Overview
Fusion Line Momentum Analyzer is a momentum visualization tool that introduces a unified model of oscillator fusion.
It blends Fast and Slow Stochastics with RSI into one adaptive curve, designed to eliminate conflicting signals between different momentum sources.
Instead of reading three separate oscillators, the Fusion Line provides a consolidated view of strength and exhaustion zones in a single framework.
This approach helps analysts detect aligned momentum shifts with greater clarity and less noise, without repainting or lagging methods.
⚙️ Core Concept
Traditional oscillators often provide conflicting readings when volatility changes.
To solve this, the Fusion Line averages three normalized components:
Fast Stochastic (12,3,3) — reacts quickly to short-term momentum spikes.
Slow Stochastic (100,8,8) — filters long-term momentum context.
RSI (26) — measures internal strength between buying and selling pressure.
Each is rescaled to a 0–100 range, then averaged into a single curve called the Fusion Line.
A secondary Signal Line (SMA 9) is added to visualize directional confirmation.
This combination aims to preserve responsiveness from the fast components while maintaining structural stability from the slow and RSI layers.
🌈 Features
Unified momentum curve combining stochastic and RSI dynamics.
Automatic bias shading to highlight dominant trend direction.
Real-time percentage strength meter (visual intensity).
Configurable alert triggers on key momentum zones (20/80).
Clean chart display without unnecessary elements or overlays.
📘 Interpretation
Rising Fusion Line → indicates strengthening bullish momentum.
Falling Fusion Line → indicates strengthening bearish pressure.
Fusion values below 20 → potential oversold recovery.
Fusion values above 80 → possible exhaustion or reversal zone.
Mid-zone movement → reflects equilibrium or sideways momentum.
These readings should always be combined with higher timeframe structure or volume confirmation for context.
⚙️ Default Parameters
Fast Stochastic (12,3,3)
Slow Stochastic (100,8,8)
RSI Length (26)
Signal Line Smoothing (9)
All values can be adjusted to adapt to asset volatility or timeframe conditions.
⚠️ Disclaimer
This indicator is a research and visualization tool, not a signal generator.
It does not predict price movement or guarantee performance.
Use for analytical purposes only and combine with your own trading framework.
👨💻 Developer
Created by TitikSona — Research & Fusion Concept Designer
Built using Pine Script v6
Type: Open-source educational script
💬 Short Description
Fusion-based momentum visualization combining Double Stochastic and RSI into one adaptive line for clearer, noise-free momentum analysis.
Wyckoff Accumulation / Distribution Detector (v3)🌱 Spring (Bullish Wyckoff Signature)
🧠 Definition
A Spring happens when price dips below a well-defined support level, usually near the end of an accumulation phase, then quickly reverses back above support.
This is not ordinary volatility — it's usually intentional by large operators (“Composite Man”) to:
Trigger stop-losses of weak holders
Create the illusion of a breakdown to scare late sellers in
Absorb all remaining supply at low prices
Launch the next markup leg once weak hands are flushed out
🧭 Typical Spring Characteristics
Feature Behavior
Location Near the bottom of a trading range after a decline
Price Action Temporary breakdown below support, then sharp reversal above
Volume Usually low to average on the break, indicating lack of real selling pressure. Sometimes a volume surge on the reversal as strong hands step in
Candle Often shows a long lower wick, closes back inside the range
Intent Shakeout of weak holders, allow institutions to accumulate more quietly
📈 Why It's Bullish
Springs typically mark the final test of supply. If price can dip below support and immediately recover, it means:
Selling pressure is exhausted (no follow-through)
Strong hands are absorbing remaining shares
A bullish breakout is often imminent
🪤 Upthrust (Bearish Wyckoff Signature)
🧠 Definition
An Upthrust is the mirror image of a Spring. It happens when price pokes above a resistance level, usually near the end of a distribution phase, but then fails to hold above it and falls back inside the range.
This is typically smart money distributing to eager buyers:
Late breakout traders pile in
Institutions sell into that strength
Price collapses back into the range, trapping breakout buyers
🧭 Typical Upthrust Characteristics
Feature Behavior
Location Near the top of a trading range after a rally
Price Action Temporary breakout above resistance, then quick reversal down
Volume Frequently low on the breakout, suggesting a lack of real buying interest — or sometimes high but with no progress, showing hidden selling
Candle Often shows a long upper wick, closes back inside the range
Intent Trap breakout buyers, provide liquidity for institutional sellers to unload near highs
📉 Why It's Bearish
Upthrusts show demand failure and supply swamping:
Buyers cannot sustain the breakout.
The sharp reversal signals large players are exiting.
Typically precedes markdown phases or sharp declines.
📝 Trading Implications
Spring → Often followed by a sign of strength rally → good long entry if confirmed with volume expansion and follow-through.
Upthrust → Often followed by a sign of weakness → short setups, especially if the next rally fails at lower highs.
The script looks for:
🌱 Spring:
Price makes a low below recent pivot support,
Closes back above,
Does so on low volume → likely a shakeout.
🪤 Upthrust:
Price makes a high above recent pivot resistance,
Closes back below,
On low volume → likely a bull trap.
SAR e Bollinger Bands CombinateThis TradingView script combines the analytical power of the Parabolic SAR with Bollinger Bands (BB) for a comprehensive dual market analysis.
The Parabolic SAR tracks the trend's direction and momentum, plotting points as lime crosses (uptrend) or red crosses (downtrend), and clearly marks trend reversals with a small triangle at the bottom of the chart.
Bollinger Bands measure market volatility and provide dynamic support and resistance levels. The space between the upper and lower bands is filled for enhanced visual clarity.
The indicator is fully customizable, allowing users to fine-tune all key parameters, including the SAR's Acceleration Factor (AF) and the BB's Period/Standard Deviation. This makes it an ideal tool for simultaneously identifying trend momentum, potential reversals, and overbought/oversold market conditions.
1D Overlay (triss)Overlay of the Daily candle, simple one color with a line inside the candle to show direction.
karakas2.1Strategy Philosophy and Objective
This strategy is a high-probability Mean Reversion system. It is based on the principle that markets behave like a stretched rubber band: when the price moves too far away from its average value (the band is stretched), it has a high tendency to eventually snap back towards its mean.
The objective of this strategy is to identify these moments of "extreme extension" and to capture the highest probability move as the price reverts to its average. Rather than acting hastily, it employs a multi-layered confirmation system to trade only on the highest quality signals.
Strategy Profile
Strategy Name: Final Optimized Strategy
Type: Mean Reversion
Recommended Timeframe: Developed on M15 (15-Minute).
Suitable Markets: High-volume, volatile assets. Ideal for Indices (US100, S&P500), Major Forex Pairs (EUR/USD, GBP/USD), and Commodities (Gold).
Core Tools:
Bollinger Bands: Period: 20, Standard Deviation: 2.2
RSI (Relative Strength Index): Period: 14, Overbought/Oversold Levels: 75 / 25
Adaptive Trend & Momentum Composite (ATMC)This script combines two well-established technical concepts—adaptive moving averages and normalized momentum oscillators—into a single, cohesive system designed to identify high-probability trend continuations with reduced noise.
What it does:
The indicator dynamically adjusts its sensitivity based on market volatility (using an ATR-based filter) and overlays a smoothed momentum signal that highlights potential exhaustion points within the prevailing trend. Unlike generic "trend-following" scripts, this implementation uses the Kaufman Adaptive Moving Average (KAMA) for price filtering and a rate-of-change (ROC) oscillator normalized between -1 and +1 to gauge momentum strength.
How it works:
Trend Filter: KAMA adapts its smoothing factor based on market efficiency—reacting quickly in trending markets and slowing down in choppy conditions.
Momentum Confirmation: A 9-period ROC is scaled to a fixed range to avoid amplitude distortion across assets. When momentum aligns with the KAMA direction and exceeds a volatility-adjusted threshold, the script paints a colored background (green for long bias, red for short bias).
Noise Reduction: Signals are only displayed when the 14-period ATR is above its 50-period moving average, ensuring trades occur in sufficiently active markets.
How to use it:
Long setups: Look for green background zones after a pullback, ideally near dynamic support (e.g., previous swing low or KAMA line).
Short setups: Red zones after rallies near resistance.
Avoid trading when no background is shown—this indicates either low volatility or conflicting signals.
Why this mashup is useful:
Many traders combine trend and momentum indicators, but often without synchronization logic. Here, both components are interdependent: momentum must confirm the adaptive trend and pass a volatility gate. This reduces false signals common in sideways markets—a frequent pain point with standard MACD or EMA crossovers.
This script is not investment advice. Test it thoroughly in your own strategy before live use.
Cruce EMA 9 y EMA 55 v2EMA 9 and EMA 55 Crossover is a simple and effective indicator based on the crossover of exponential moving averages.
When the EMA 9 crosses above the EMA 55, a buy signal is generated, indicating a potential bullish trend.
When the EMA 9 crosses below the EMA 55, a sell signal is triggered, suggesting a possible bearish trend.
Ideal for spotting trend reversals and momentum changes in any market — Forex, indices, cryptocurrencies, or commodities.
Works perfectly for scalping, day trading, and swing trading strategies.
9:15-9:45 High-Low Rays (v6) - From High/Low Pointmarks high and low of first 30 min candle
marks high and low of first 30 min candle
marks high and low of first 30 min candle
marks high and low of first 30 min candle
marks high and low of first 30 min candle
marks high and low of first 30 min candle
marks high and low of first 30 min candle
marks high and low of first 30 min candle
marks high and low of first 30 min candle
marks high and low of first 30 min candle
Divergence for Many Indicators v5This indicator is an upgraded version of Divergence for Many Indicators v4. Currently, it supports v5. Other functions are the same. For more information, please refer to:
Bitcoin Gold Fair Value Model | FREEBitcoin Gold Fair Value Model | FREE
This script presents a quantitative model that explores the historical relationship between Bitcoin (BTCUSD) and Gold (TVC:GOLD).
It estimates Bitcoin’s fair value projection based on the price of gold, using a rolling regression model calculated over a user-defined lookback period (default: 1000 days).
📘 How It Works
The model fits a simple linear regression of Bitcoin’s daily close price versus Gold’s daily close price.
From this relationship, it computes a projected Bitcoin price based on today’s gold value, plotted forward by a chosen number of days (default: 65).
Confidence ranges (±1 standard deviation and 95% interval) help visualize the uncertainty around the projection.
A statistical panel displays the projected price, range estimates, and R² value, indicating the strength of correlation between the two assets.
⚙️ Features
Rolling regression using historical BTC and Gold data.
Forward fair-value projection line (customizable projection period).
1σ (standard deviation) and 95% confidence bands.
On-chart statistical summary with current model values.
Real-time updates when new daily data becomes available.
📊 How to Use
Recommended for use on the daily timeframe with the INDEX:BTCUSD symbol.
The model provides a statistical estimate of Bitcoin’s price relative to gold trends, not a trading signal.
The R² value can be used to assess the current strength of correlation - higher R² suggests a more stable relationship, while lower values indicate weaker or changing dynamics.
⚠️ Important Notes
This indicator is intended for educational and analytical purposes only.
It does not predict prices or provide financial advice.
Relationships between assets can and do change over time.
Always perform your own research and use additional tools for confirmation.
Money Noodle_HHMoney Noodle and emas for crypto and stocks.
Money Noodle and emas for crypto and stocks.
Money Noodle and emas for crypto and stocks.
VECTOR CODE V3.20 betait use for measuring volume and direction for nasdaq futures. this is just a test don't use.
Combined OP Lines and Daily High/Low
This Pine Script v6 indicator for TradingView ("Combined OP Lines and Daily High/Low") overlays the chart and visualizes in UTC+02:00 (manually adjust for DST):
OP Lines: At 0:00 (new day) and 6:00 AM, draws black horizontal lines at the opening price (extend right), vertical black markers, and labels ("OP 0:00"/"OP 6:00"). Old elements are deleted.
Previous Day High/Low: Blue thick horizontal lines (extend right) with labels ("Daily High/Low: "), based on request.security (daily TF, high/low ).
Useful for day trading: Marks intraday sessions and prior-day extremes as support/resistance. Purely visual, dynamically updated, efficient (resource management). Limitations: Fixed timezone, no alerts, colors could be optimized.
Anchored VWAP Polyline [CHE] Anchored VWAP Polyline — Anchored VWAP drawn as a polyline from a user-defined bar count with last-bar updates and optional labels
Summary
This indicator renders an anchored Volume-Weighted Average Price as a continuous polyline starting from a user-selected anchor point a specified number of bars back. It accumulates price multiplied by volume only from the anchor forward and resets cleanly when the anchor moves. Drawing is object-based (polyline and labels) and updated on the most recent bar only, which reduces flicker and avoids excessive redraws. Optional labels mark the anchor and, conditionally, a delta label when the current close is below the historical close at the anchor offset.
Motivation: Why this design?
Anchored VWAP is often used to track fair value after a specific event such as a swing, breakout, or session start. Traditional plot-based lines can repaint during live updates or incur overhead when frequently redrawn. This implementation focuses on explicit state management, last-bar rendering, and object recycling so the line stays stable while remaining responsive when the anchor changes. The design emphasizes deterministic updates and simple session gating from the anchor.
What’s different vs. standard approaches?
Baseline: Classic VWAP lines plotted from session open or full history.
Architecture differences:
Anchor defined by a fixed bar offset rather than session or day boundaries.
Object-centric drawing via `polyline` with an array of `chart.point` objects.
Last-bar update pattern with deletion and replacement of the polyline to apply all points cleanly.
Conditional labels: an anchor marker and an optional delta label only when the current close is below the historical close at the offset.
Practical effect: You get a visually continuous anchored VWAP that resets when the anchor shifts and remains clean on chart refreshes. The labels act as lightweight diagnostics without clutter.
How it works (technical)
The anchor index is computed as the latest bar index minus the user-defined bar count.
A session flag turns true from the anchor forward; prior bars are excluded.
Two persistent accumulators track the running sum of price multiplied by volume and the running sum of volume; they reset when the session flag turns from false to true.
The anchored VWAP is the running sum divided by the running volume whenever both are valid and the volume is not zero.
Points are appended to an array only when the anchored VWAP is valid. On the most recent bar, any existing polyline is deleted and replaced with a new one built from the point array.
Labels are refreshed on the most recent bar:
A yellow warning label appears when there are not enough bars to compute the reference values.
The anchor label marks the anchor bar.
The delta label appears only when the current close is below the close at the anchor offset; otherwise it is suppressed.
No higher-timeframe requests are used; repaint is limited to normal live-bar behavior.
Parameter Guide
Bars back — Sets the anchor offset in bars; default two hundred thirty-three; minimum one. Larger values extend the anchored period and increase stability but respond more slowly to regime changes.
Labels — Toggles all labels; default enabled. Disable to keep the chart clean when using multiple instances.
Reading & Interpretation
The polyline represents the anchored VWAP from the chosen anchor to the current bar. Price above the line suggests strength relative to the anchored baseline; price below suggests weakness.
The anchor label shows where the accumulation starts.
The delta label appears only when today’s close is below the historical close at the offset; it provides a quick context for negative drift relative to that reference.
A yellow message at the current bar indicates the chart does not have enough history to compute the reference comparison yet.
Practical Workflows & Combinations
Trend following: Anchor after a breakout bar or a swing confirmation. Use the anchored VWAP as dynamic support or resistance; look for clean retests and holds for continuation.
Mean reversion: Anchor at a local extreme and watch for approaches back toward the line; require structure confirmation to avoid early entries.
Session or event studies: Re-set the anchor around earnings, macro releases, or session opens by adjusting the bar offset.
Combinations: Pair with structure tools such as swing highs and lows, or with volatility measures to filter chop. The labels can be disabled when combining multiple instances to maintain chart clarity.
Behavior, Constraints & Performance
Repaint and confirmation: The line is updated on the most recent bar only; historical values do not rely on future bars. Normal live-bar movement applies until the bar closes.
No higher timeframe: There is no `security` call; repaint paths related to higher-timeframe lookahead do not apply here.
Resources: Uses one polyline object that is rebuilt on the most recent bar, plus two labels when conditions are met. `max_bars_back` is two thousand. Arrays store points from the anchor forward; extremely long anchors or very long charts increase memory usage.
Known limits: With very thin volume, the VWAP can be unavailable for some bars. Very large anchors reduce responsiveness. Labels use ATR for vertical placement; extreme gaps can place them close to extremes.
Sensible Defaults & Quick Tuning
Starting point: Bars back two hundred thirty-three with Labels enabled works well on many assets and timeframes.
Too noisy around the line: Increase Bars back to extend the accumulation window.
Too sluggish after regime changes: Decrease Bars back to focus on a shorter anchored period.
Chart clutter with multiple instances: Disable Labels while keeping the polyline visible.
What this indicator is—and isn’t
This is a visualization of an anchored VWAP with optional diagnostics. It is not a full trading system and does not include entries, exits, or position management. Use it alongside clear market structure, risk controls, and a plan for trade management. It does not predict future prices.
Inputs with defaults
Bars back: two hundred thirty-three bars, minimum one.
Labels: enabled or disabled toggle, default enabled.
Pine version: v6
Overlay: true
Primary outputs: one polyline, optional labels (anchor, conditional delta, and a warning when insufficient bars).
Metrics and functions: volume, ATR for label offset, object drawing via polyline and chart points, last-bar update pattern.
Special techniques: session gating from the anchor, persistent state, object recycling, explicit guards against unavailable values and zero volume.
Compatibility and assets: Designed for standard candlestick or bar charts across liquid assets and common timeframes.
Diagnostics: Yellow warning label when history is insufficient.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Sessions, Killzones & Macros🌟 A Very Special Thanks
To ChatGPT and Copilot for helping me put this together 🙏💻✨
🚀 Session Script Release by AnandaDivine
KitBashed with love & light ✨
⚠️ Disclaimer:
I take no credit for the original scripts used in this compilation, nor any responsibility for how it's used. Modify and explore at your own discretion!
💡 Inspired by Legends:
📊 Sessions on the Chart – by Aurocks_AIF
🧠 ICT KillZones Macros – by TFlab
💧 Watermark FX – by AGFXTRADING
🎯 Features Included:
🕒 Sessions:
🕒 Asia
🕒 London
🕒 New York
🔫 KillZones:
🧬 CBDR (for those who use it)
🕒 Asia
🕒 London
🕒 New York
🧩 Macros:
🕰️ London 1 & 2
🌅 NY AM1, AM2, AM3
🍽️ NY Lunch
🌆 NY PM
🕛 NY Last Hour
💦 Watermark – Clean and minimal branding
🎨 Color Palette:
Optimized for light theme users – crisp, clean, and easy on the eyes.
🔮 Future Features (if requested):
🧱 Dark theme support
🕯️ Candle coloring based on session zones
🧘 Philosophy:
I kept it fast & light – no clutter, no bloat.
Feel free to customize or extend it however you like.
If you add something cool, please share it with me! 🙌
🧪 I tried adding day-of-week and separators, but it looked messy on higher timeframes. Maybe someone else can crack that cleanly.