Stockbee ComboBullCustom indicator for identifying stocks that meet the ComboBull criteria. This can be used as a standalone indicator or use it to screen for stocks in Pine Screener.
อินดิเคเตอร์และกลยุทธ์
Bar NumbersBar Numbers is a simple utility indicator that helps traders keep track of bar counts during the Regular Trading Hours (RTH) or any intraday session.
🔹 Key Features:
Automatically numbers candles/bar counts starting fresh each new trading day.
Option to display numbers at custom intervals (e.g., every 1, 2, 3, 5 bars, etc.) via the “Display every X bars” input.
The first bar of each new day is always labeled, making it easy to reset visual tracking.
Adjustable label size (Tiny → Huge) for better readability.
Clean design: black numbers, transparent background, fixed below the bars for stability when zooming or scrolling.
🔹 How to Use:
Add the indicator to your chart.
Adjust the “Display every X bars” setting to control the spacing of numbers.
Change label size from the settings to fit your chart style.
Works best on intraday charts for bar-counting strategies, session analysis, or training purposes.
This tool is especially useful for:
Bar-by-bar analysis.
Practicing candle counting strategies.
Structuring setups where bar sequence matters (e.g., breakout bars, inside bars, or timed entries).
🟥 Synthetic 10Y Real Yield (US10Y - Breakeven)This script calculates and plots a synthetic U.S. 10-Year Real Yield by subtracting the 10-Year Breakeven Inflation Rate (USGGBE10) from the nominal 10-Year Treasury Yield (US10Y).
Real yields are a core macro driver for gold, crypto, growth stocks, and bond pricing, and are closely monitored by institutional traders.
The script includes key reference lines:
0% = Below zero = deeply accommodative regime
1.5% = Common threshold used by macro desks to evaluate gold upside breakout conditions
📈 Use this to monitor macro shifts in real-time and front-run capital flows during major CPI, NFP, and Fed events.
Update Frequency: Daily (based on Treasury market data)
SAPSAN TRADE: Retail Power ProfileSAPSAN TRADE: Retail Power Profile
Description:
The Retail Power Profile indicator visualizes retail buying and selling activity over a fixed analysis period. It calculates the cumulative Retail Power (RP) based on volume and price movement, highlighting areas of strong bullish or bearish activity.
Key Features:
Displays Retail Power Profile on the chart with customizable resolution.
Highlights Point of Control (POC) — the price level with the highest retail activity.
Adjustable analysis period for flexible historical data observation.
Color-coded for bullish (green) and bearish (red) retail power.
Optional labels for profile levels to quickly identify significant zones.
Dynamic visualization that updates with each new bar.
Settings:
Show Retail Power Profile: Toggle the profile display on or off.
Analysis Period (bars): Set the number of bars to calculate the profile.
Resolution: Choose the number of price levels in the profile.
Bull/Bear Colors: Customize colors for positive (bullish) and negative (bearish) RP.
Show POC / POC Color: Display the Point of Control and customize its color.
Use Cases:
Identify price levels with strong retail buying or selling pressure.
Detect potential support and resistance zones based on retail activity.
Enhance trading decisions by visualizing retail behavior within a fixed range.
Notes:
This indicator is suitable for intraday and swing trading.
The RP values are calculated based on volume and price direction.
Momentum+This script provides a colored histogram of recent price action with the price derivative method for finding momentum.
BTC Sigma CloudOverview
The BTC Sigma Cloud indicator calculates and displays 1, 2, and 3 sigma price movements for Bitcoin (BTC) on a rolling basis, visualized as a cloud. It shows historical volatility bands and projects them forward for the next 7 days.
Settings:
Vol Lookback: Default is 20 periods. Adjust to change the volatility calculation window.
Interpretation:
Cloud Bands: The cloud consists of three shaded layers representing 1σ, 2σ, and 3σ moves above and below the current price.
1σ (Innermost): 68% probability of price staying within this range.
2σ (Middle): 95% probability.
3σ (Outermost): 99.7% probability.
Historical View: The cloud tracks past price movements based on volatility.
Projection: The cloud extends 7 days forward, indicating potential price ranges based on current volatility.
Labels: Subtle labels (1σ, -1σ, 2σ, -2σ, 3σ, -3σ) mark the upper and lower bounds of each sigma level on the latest bar for clarity.
Trading Use:
Use the cloud to gauge potential support/resistance zones.
Monitor price behavior near sigma levels for breakout or reversal signals.
The projected cloud helps anticipate future price ranges for planning trades.
Notes
Best used on daily charts for Bitcoin.
Adjust the lookback period to suit shorter or longer-term analysis.
Combine with other indicators for confirmation.
crypto_billionairesss 5min BTC ETH BNBThis indicator is based on a Moving Average Baseline and Heikin Ashi candles, optimized mainly for the 5-minute timeframe on Bitcoin, Ethereum and BNB.
It has shown around 45% win rate with a 1:2 risk-to-reward ratio.
Depending on market conditions, it can also be applied to other timeframes and assets.
From the settings panel, you can experiment with optional filters such as RSI or Body-Cross, which may provide better performance in certain market environments.
This tool is designed for traders who want a simple yet effective system for capturing the start of trend movements.
Price Action[BreakOut] InternalSupport & Resistance (S/R): The script automatically identifies and draws support and resistance lines based on a user-defined "swing period." These lines are drawn from recent pivot points, and users can customize their appearance, including color, line style (solid, dashed, dotted), and extension (left, right, or both). The indicator can also display the exact price of each S/R level.
Trendlines: It draws trendlines connecting pivot highs and pivot lows. This feature helps visualize the current trend direction. Users can choose to show only the newest trendlines, customize their length and style, and select the source for the pivot points (e.g., candle close or high/low shadow).
Price Action Pivots: This is a core component that identifies and labels different types of pivots based on price action: Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL). These pivots are crucial for understanding market structure and identifying potential trend changes. The script marks these pivots with shapes and can display their price values.
Fractal Breakouts: The script identifies and signals "fractal breakouts" and "breakdowns" when the price closes above a recent high pivot or below a recent low pivot, respectively. These signals are visually represented with up (⬆) and down (⬇) arrow symbols on the chart.
Customization and Alerts: The indicator is highly customizable. You can toggle on/off various features (S/R, trendlines, pivots, etc.), adjust colors, line styles, and text sizes. It also includes an extensive list of alert conditions, allowing traders to receive notifications for:
Price Crossovers: When the close price crosses over or under a support or resistance level.
Trendline Breaks: When the price breaks above an upper trendline or below a lower trendline.
Fractal Breaks: When a fractal breakout or breakdown occurs.
In essence, this script is a powerful tool for price action traders who rely on key levels and market structure to make trading decisions. It automates the process of identifying and drawing crucial technical elements, providing clear visual signals and alerts.
SAPSAN TRADE: Cumulative Delta - Japanese candlesticksSAPSAN TRADE: Cumulative Delta - Japanese Candlesticks
This indicator visualizes the cumulative delta of trading volume using Japanese candlestick representation. It provides a clear view of buying and selling pressure over time, helping traders analyze market sentiment and momentum.
Features:
Displays cumulative delta as candlesticks with shadows, reflecting the volume-driven price movements.
Green candles indicate net buying pressure, red candles indicate net selling pressure.
Approximates delta for wicks to provide a more accurate visual representation of intrabar activity.
Useful for spotting trends, reversals, and potential entry/exit points based on market delta dynamics.
Usage:
Ideal for traders looking to understand the imbalance between buyers and sellers, monitor momentum, and enhance trading decisions with volume-based insights.
Golden Duck Runner With TargetsGolden Duck Runner With Targets
Overview
The Golden Duck Runner is a comprehensive trend-following indicator designed for intraday and swing trading. It combines dual EMA analysis with pullback detection to identify high-probability entry points in trending markets.
Key Features
Core Signal Logic
Dual EMA System: Uses a fast EMA (default 18) and trend filter EMA (default 111)
Pullback Detection: Identifies when price pulls back to the fast EMA while staying above/below the trend filter
Trend Confirmation: Only generates signals in the direction of the overall trend
Visual Elements
Dynamic EMA Colors: Golden fast EMA, with trend filter changing from teal (uptrend) to orange (downtrend)
Entry Signals: Clear golden arrows marking buy/sell opportunities
Target Levels: Displays three take profit levels and stop loss with visual confirmation
Professional Dashboard: Real-time position and trend information
Risk Management
Fixed Tick-Based Targets: Consistent risk/reward ratios across all instruments
Multiple Take Profits: Three progressive profit-taking levels (30, 50, 75 ticks)
Stop Loss Protection: 36-tick stop loss with visual tracking
Position Duration Limit: Automatic closure after 20 bars if targets not reached
Alert System
Comprehensive alert notifications for:
Long and short entry signals
Individual take profit level hits (TP1, TP2, TP3)
Stop loss activation
Combined alerts for any entry or profit-taking event
How It Works
Entry Conditions
Long Signal:
Market in uptrend (Fast EMA > Trend Filter EMA)
Price pulls back below fast EMA but stays above trend filter EMA
Price closes back above fast EMA with momentum
Short Signal:
Market in downtrend (Fast EMA < Trend Filter EMA)
Price pulls back above fast EMA but stays below trend filter EMA
Price closes back below fast EMA with momentum
Exit Strategy
TP1: 30 ticks from entry (partial profit)
TP2: 50 ticks from entry (partial profit)
TP3: 75 ticks from entry (final target)
Stop Loss: 36 ticks against entry
Time Exit: 20 bars maximum hold time
Customization Options
Adjustable EMA periods for different timeframes
Configurable stop loss and take profit levels
Toggle visibility of EMAs, signals, and visual elements
Professional color scheme optimized for all chart backgrounds
Best Use Cases
Futures Trading: ES, NQ, YM, RTY with tick-based precision
Forex Pairs: Major and minor currency pairs
Crypto Markets: Bitcoin, Ethereum, and altcoins
Stock Indices: SPY, QQQ, and sector ETFs
Recommended Timeframes
Scalping: 1m, 3m, 5m charts
Intraday: 15m, 30m, 1H charts
Swing Trading: 4H, 1D charts
Educational Value
This indicator teaches traders:
Trend identification and confirmation
Pullback trading strategies
Proper risk management techniques
Multi-target profit-taking approaches
Important Notes
Not Financial Advice: This indicator is for educational and analysis purposes only
Backtesting Recommended: Test on historical data before live trading
Risk Management: Always use proper position sizing and risk controls
Market Conditions: Performance may vary in different market environments
Technical Specifications
Version: Pine Script v5
Overlay: True (plots on price chart)
Alerts: Full alert integration for automated trading systems
Performance: Optimized for real-time data processing
Compatibility: Works on all TradingView subscription levels
Disclaimer: Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Always trade with proper risk management and never risk more than you can afford to lose.
Gain Alarm (tijd + prijs gain)Gain Alarm (time + price)
This script triggers an alert once the price stays fully above a chosen line for a predefined period of time.
Select your own ticker, timeframe, and price level.
The alert is triggered only once per session.
A line is plotted on the chart with a label showing the selected timeframe, so you know which alert is active.
⚠️ Note: you must manually create a separate TradingView alert using the condition provided by the script.
Weekly VwapsThe Weekly Vwaps indicator lets you plot weekly Volume-Weighted Average Price (VWAP) lines for up to six months of your choosing, with years ranging from 2020 to 2050. It’s a focused tool pulled straight from the weekly VWAP section of the Advanced VWAP Calendar indicator, keeping all the same controls and look but expanded to handle more months. You can use it alongside the original indicator if you need extra weekly VWAPs (up to 30 lines total) or run it on its own for a clean, dedicated setup.
How It Works: Six Month Groups: Pick any six months (e.g., Jan 2020, Sep 2025, or Jul 2040) and enable up to five weekly VWAPs per month (W1–W5), starting from Monday midnight.
Default Setup: Loads with September 2025 VWAPs turned on, with other months (August–April 2025) off but ready to enable. All default to 2025.
Customization: Toggle all weeks in a month or pick specific ones. Adjust label sizes (tiny to huge) and line widths (1–5). Colors are teal, fuchsia, red, green, and yellow/orange for weeks 1–5, with clear labels like “W1 Sep 2025 123.45”.
Label Control: A “Show All Labels” switch lets you hide labels to keep your chart tidy.
Intraday Only: Works on intraday timeframes (e.g., 5-minute, 1-hour) for accurate VWAPs.
Why Use It: Add to Advanced VWAP Calendar: If the original’s two-month limit isn’t enough, this adds six more months of weekly VWAPs for deeper analysis.
Standalone Option: Perfect if you only want weekly VWAPs without other features, with flexibility to pick any months and years.
User-Friendly: Ready to go with September 2025 enabled, easy to tweak for past or future data.
Get Started: Add it to your TradingView chart, and September 2025 VWAPs will show up instantly. Adjust months, years, or toggles in the settings to focus on what you need. Test it on intraday charts and use the label toggle to manage clutter. Great for traders wanting precise, customizable weekly VWAPs!
Spiderlines BTCUSD - daily/weekly📘 Documentation – Daily and Weekly Spider Lines for Bitcoin
🔹 Purpose of the Script
This script draws dynamic “Spider Lines” in the Bitcoin chart.
The lines connect certain historical candles with a reference candle and extend to the right.
These act as guideline levels that can serve as potential support or resistance zones.
🔹 How It Works
The script operates in two modes, depending on the active chart timeframe:
Weekly Mode (timeframe.isweekly)
The reference date is July 1, 2019.
The number of weeks since that date is calculated.
This defines the connection candle (connection_candle).
Several predefined offsets (e.g., +32, +34, +36 …) are added to the reference to determine starting candles.
Lines are drawn from these candles toward the connection candle.
→ Line color: green
Daily Mode (timeframe.isdaily)
Same reference date: July 1, 2019.
The number of days since that date is calculated.
Again, a connection candle is set.
A different set of offsets (e.g., +224, +238, +252 …) defines the starting candles.
Lines are drawn accordingly.
→ Line color: red
🔹 Line Logic
Each line connects:
Start → bar_index at high
End → bar_index at close
Lines are extended indefinitely to the right (extend.right).
Appearance: dashed style, width 2.
🔹 Error Handling
If a calculated candle index does not exist in the chart history (e.g., chart data does not go back far enough),
a label is plotted in the chart showing the message:
"Daily idx out of range: 252"
This way, missing lines can be diagnosed easily.
🔹 Color Convention
Weekly Spider Lines → Green
Daily Spider Lines → Red
🔹 Use Cases
Visualization of historical cyclic line patterns.
Helps in technical chart analysis: spotting potential reaction zones in price movement.
Designed mainly for long-term traders and analysts observing Bitcoin in Daily or Weekly timeframes.
🔹 Limitations
Works only on Daily and Weekly charts.
Requires chart data going back to July 1, 2019.
Based purely on fixed offsets → not a classical indicator like Moving Averages or RSI.
SAPSAN TRADE: Delta of Buys and SellsSAPSAN TRADE: Delta of Buys and Sells
Description:
This indicator calculates and displays the delta between buy and sell volumes on each candle. It helps traders visualize market pressure by highlighting whether buyers or sellers dominate during a specific period.
Green bars indicate bullish delta (buy volume exceeds sell volume).
Red bars indicate bearish delta (sell volume exceeds buy volume).
Blue bars indicate neutral delta (buy and sell volumes are equal).
Use Cases:
Identify periods of strong buying or selling pressure.
Spot potential trend reversals or continuation points.
Combine with other indicators or price action analysis for more informed trading decisions.
Features:
Real-time calculation of buy/sell delta.
Clear visual representation using colored histogram bars.
Lightweight and easy to use on any timeframe.
Notes:
This indicator works on all markets that provide volume data, including crypto, stocks, and forex.
Valid Monthly LevelsValid Monthly Levels (No Sweeps) + Smart Labels
This tool automatically plots the highs and lows of each completed monthly candle and tracks their validity in real time. A level is considered valid until it has been swept (price trades strictly beyond that high or low). Once swept, the line and label can either be removed or dimmed depending on your settings.
Key features:
Monthly highs and lows: Each month’s range is marked with horizontal levels that extend forward.
Valid vs. swept logic: Levels are only valid until breached; swept levels can be hidden or kept as dotted/grey lines.
Smart labels: Each level is labeled with the month and year (e.g., Sep ’25 H/L). On higher timeframes, labels sit at the candle; on lower timeframes, labels automatically shift to the right edge so they don’t disappear off-screen.
Customizable appearance: Choose colors for highs, lows, and swept levels; adjust line styles; and limit how many past months are shown.
Clutter control: Cap the maximum number of labels, so your chart stays readable even on small intraday timeframes.
This indicator is useful for traders who track monthly supply/demand extremes, liquidity sweeps, and higher-timeframe context when executing on lower timeframes.
Perp Imbalance Zones • Pro (clean)USD Premium (perp vs spot) → (Perp − Spot) / Spot.
Imbalance (z-score of that premium) → how extreme the current premium is relative to its own history over lenPrem bars.
Hysteresis state machine → flips to a SHORT bias when perp-long pressure is extreme; flips to LONG bias when perp-short pressure is extreme. It exits only after the imbalance cools (prevents whipsaw).
Price stretch filter (±σ) → optional Bollinger check so signals only fire when price is already stretched.
HTF confirmation (optional) → require higher-timeframe imbalance to agree with the current-TF bias.
Gradient visuals → line + background tint deepen as |z| grows (more extreme pressure).
What you see on the pane
A single line (z):
Above 0 = perp richer than spot (perp longs pressing).
Below 0 = perp cheaper than spot (perp shorts pressing).
Guides: dotted levels at ±enterZ (entry) and ±exitZ (cool-off/exit).
Background tint:
Red when state = SHORT bias (perp longs heavy).
Blue when state = LONG bias (perp shorts heavy).
Tint intensity scales with |z| (via hotZ).
Labels (optional): prints when bias flips.
Alerts (optional): “Enter SHORT/LONG bias” and “Exit bias”.
How to use it (playbook)
Attach & set symbols
Put the script on your chart.
Set Spot symbol and Perp symbol to the venue you trade (e.g., BINANCE:BTCUSDT + BINANCE:BTCUSDTPERP).
Read the bias
SHORT bias (red background): perp longs over-extended. Look for short entries if price is at resistance, σ-stretched, or your PA system agrees.
LONG bias (blue background): perp shorts over-extended. Look for long entries at support/σ-stretched down.
Entries
Use the bias flip as a context/confirm. Combine with your structure trigger (OB/level sweep, rejection wick, micro-break in market structure, etc.).
If useSigma=true, only trade when price is already ≥ upper band (shorts) or ≤ lower band (longs).
Exits
Bias auto-exits when |z| falls below exitZ.
You can also take profits at your levels or when the line fades back toward 0 while price mean-reverts to the middle band.
Tuning (what each knob does)
enterZ / exitZ (signal strictness + hysteresis)
Higher enterZ → fewer, cleaner signals (e.g., 1.8–2.2).
exitZ should be lower than enterZ (e.g., 0.6–1.0) to prevent flicker.
lenPrem (context window for z)
Larger (50–100) = steadier baseline, fewer signals.
Smaller (20–30) = more reactive, more signals.
smoothLen (EMA on z)
2–3 = snappier; 5–7 = smoother/laggier but cleaner.
useSigma, bbLen, bbK (price-stretch filter)
On filters chop. Try bbLen=100, bbK=1.0–1.5.
Off if you want more frequent signals or you already gate with your own σ/Keltner.
useHTF, htfTF, htfZmin (trend/confirmation)
Turn on to require higher-TF imbalance agreement (e.g., trading 1H → confirm with 4H htfTF=240, htfZmin≈0.6–1.0).
hotZ (visual intensity)
Lower (2.0–2.5) heats up faster; higher (4.0) is more subtle.
Ready-made presets
Conservative swing (fewer, higher-conviction):
enterZ=2.0, exitZ=1.0, lenPrem=60–80, smoothLen=5, useSigma=true, bbK=1.5, useHTF=true (240/0.8).
Balanced intraday (default feel):
enterZ=1.6–1.8, exitZ=0.8–1.0, lenPrem=50, smoothLen=3–4, useSigma=true, bbK=1.0–1.25, useHTF=false/true depending on trendiness.
Aggressive scalping (more signals):
enterZ=1.2–1.4, exitZ=0.6–0.8, lenPrem=20–30, smoothLen=2–3, useSigma=false, useHTF=false.
Practical tips
Don’t trade the line in isolation. Use it to time trades into your levels: VWAP bands, Monday high/low, prior POC/VAH/VAL, order blocks, etc.
Perp-led reversals often snap—be ready to scale out quickly back to mid-bands.
Venue matters. Keep spot & perp from the same exchange family to avoid cross-venue quirks.
Alerts: enable after you’ve tuned thresholds for your timeframe so you only get high-quality pings.
FuTech : Preferential Price📌 First Ever Indicator : FuTech : Preferential Price
💡 What if you could instantly know the Preferential Price — as if the company announced a preferential issue in today’s meeting surprisingly?
Normally, you’d be stuck with tedious valuation spreadsheets and SEBI formula checks 🧮📑…
✨ But not anymore — this tool does the hard work for you!
With just one click, it auto-calculates the Preferential Issue Floor Price under SEBI ICDR Regulations, 2018 - Regulation 164 (as amended), directly from your chart symbol.
✅ How it works ?
📅 Relevant Date = 30 days prior to either:
• Today’s date (default mode)
• Or your chosen EGM date (user input)
📊 For the Relevant Date, the indicator automatically computes:
• VWAP (90 trading days preceding Relevant Date)
• VWAP (10 trading days preceding Relevant Date)
🔎 As per SEBI Reg.164, the higher of these two VWAPs is selected as the Minimum Issue Price (Preferential Price).
💰 Price is neatly formatted in Indian style (e.g. ₹1,00,000).
✅ Key Features:
⚡ Auto-calculates from chart symbol — no manual entry.
🎛️ Option to input EGM date for accurate floor price compliance.
🎨 Fully customizable: text color, size, background, position.
🪄 Clean display → shows only the final Preferential Price (Reg.164).
📌 Usage:
This indicator is built for analysts, fund managers, and corporate professionals dealing with Preferential Allotment pricing compliance.
It ensures quick visibility of the floor price under SEBI ICDR rules, directly on your chart.
⚠️ Disclaimer:
📌 The calculated Preferential Price is an approximation based on SEBI ICDR Reg.164 methodology.
📊 Actual price determined by the company / merchant banker may vary slightly (±5) due to rounding, data source differences, or timing adjustments.
📅 Ensure to verify with official exchange data and SEBI filings before relying on these numbers.
📝 This tool is meant for analytical and educational purposes only, not a substitute for regulatory or professional advice.
Higher Lows, Lower Highs & Failures (updated)Use the Big triangles bullish or bearish, stop at the previous bull or bear indication, hold until the opposite indication. Can't guarantee anything. This is built for the 1m chart
VWAP + EMA50 + EMA200 (with optional Anchored VWAP)VWAP + EMA50 + EMA200 (with optional Anchored VWAP)
Analyst Targets ProbabilityThis indicator calculates the probability of the current stock price reaching or exceeding the analyst-provided high, average, and low price targets within a one-year time horizon. It utilizes a geometric Brownian motion (GBM) model, a standard approach in financial modeling that assumes log-normal price distribution with constant volatility.
### Key Features:
- **Analyst Targets**: Automatically pulls the high, average, and low one-year price targets from TradingView's syminfo data.
- **Risk-Free Rate**: Fetched from the 1-year US Treasury yield (symbol: TVC:US01Y). Defaults to 4% if unavailable.
- **Dividend Yield**: Uses trailing twelve-month (TTM) dividends per share (DPS) from financial data, divided by current price. Defaults to 0% if unavailable.
- **Volatility**: Computed as annualized historical volatility based on 252 trading days of daily log returns. Falls back to a 20-day period if insufficient data, or defaults to 30% if still unavailable.
- **Probability Calculation**: Employs the barrier hitting probability formula under GBM:
- Drift (μ) = risk-free rate - dividend yield - (volatility² / 2)
- The formula for probability P of hitting target H from current price S₀ over time T is:
P = Φ(d₊) + (H / S₀)^p ⋅ Φ(d₋) for H > S₀ (or adjusted for H < S₀)
Where l = ln(max(H, S₀)/min(H, S₀)), ν = drift, p = -2ν / σ², d₊ = (-l + νT) / (σ√T), d₋ = (-l - νT) / (σ√T), and Φ is the standard normal CDF (approximated using a polynomial method for accuracy).
- **Output Display**: A table in the top-right corner shows each target type, its value, and the estimated probability (as a percentage). "N/A" appears if data is unavailable or calculations cannot proceed (e.g., zero volatility).
### Assumptions and Limitations:
- Assumes constant volatility and drift, no transaction costs, and continuous trading (real markets may deviate due to jumps, news events, or changing conditions).
- Probabilities are model-based estimates and not guarantees; they represent the likelihood under risk-neutral measure.
- Best suited for stocks with available analyst targets and historical data; may default to assumptions for less-liquid symbols.
- No user inputs required—fully automated using TradingView's data sources.
This script is provided under the Mozilla Public License 2.0. For educational and informational purposes only; not financial advice. Test on your charts and consider backtesting for validation.
通貨強弱メーター [DoN]This indicator is a tool that applies the Gann trend analysis method to multiple currency pairs, extracts the individual strength and weakness of each currency, and scores them. It helps you understand at a glance which currencies are being bought and which are being sold across the entire market. This allows you, for example, to identify the pair of the "strongest currency" and the "weakest currency" and utilize this as reference information when formulating your trading strategy.
このインジケーターは、Gann トレンド分析手法を複数の通貨ペアに適用し、そこから各通貨単体の強弱を抽出してスコア化するツールです。市場全体でどの通貨が買われていて、どの通貨が売られているのかを一目で把握するのに役立ちます。これにより、例えば「最も強い通貨」と「最も弱い通貨」のペアを見つけ出し、トレード戦略を立てる際の参考情報として活用できます。
TWAP OscillatorTWAP Oscillator (TOSC)
A powerful mean reversion oscillator that measures price deviation from Time-Weighted Average Price (TWAP) in standard deviations, automatically adapting to your chart timeframe.
How It Works:
The TWAP Oscillator calculates the distance between current price and TWAP, expressed in standard deviations. Unlike VWAP which weights by volume, TWAP gives equal weight to each time period, making it ideal for:
• Mean Reversion Trading - Identifies when price is statistically overextended from its time-weighted average
• Trend Strength Analysis - Shows how far price has deviated from the TWAP baseline
• Entry/Exit Timing - Provides objective levels for trade entries and exits
Automatic Timeframe Adaptation:
The indicator intelligently selects the appropriate TWAP period based on your chart timeframe:
1m Charts → 1D TWAP (intraday mean reversion)
3m-5m Charts → 7D TWAP (weekly perspective)
15m-1h Charts → 30D TWAP (monthly context)
4h-8h Charts → 90D TWAP (quarterly view)
Daily Charts → 365D TWAP (yearly reference)
Trading Days vs Calendar Days:
Toggle between trading days (5D, 22D, 66D, 252D) or calendar days (7D, 30D, 90D, 365D) to match your analysis style.
Divergence Analysis - High Probability Reversals:
The most powerful signals occur when price and oscillator diverge at extreme levels:
Bullish Divergence (Oversold):
• Price makes lower lows
• Oscillator makes higher lows
• Both at oversold levels (-2 or lower)
• Strong buy signal - price weakness not confirmed by TWAP
Bearish Divergence (Overbought):
• Price makes higher highs
• Oscillator makes lower highs
• Both at overbought levels (+2 or higher)
• Strong sell signal - price strength not confirmed by TWAP
Hidden Bullish Divergence:
• Price makes higher lows
• Oscillator makes lower lows
• At oversold levels
• Trend continuation signal - pullback in uptrend
Hidden Bearish Divergence:
• Price makes lower highs
• Oscillator makes higher highs
• At overbought levels
• Trend continuation signal - rally in downtrend
Divergence Confluence Zones:
Maximum Confluence Setup:
• Divergence at extreme levels (±2+ std dev)
• Multiple timeframe confirmation
• Key support/resistance levels
• Volume confirmation
• Highest probability reversal
Divergence Trading Rules:
• Wait for clear divergence formation
• Confirm at extreme oscillator levels
• Enter on divergence confirmation
• Stop loss beyond recent swing
• Target return to zero line or opposite extreme
Key Features:
• Zero Line - Neutral position where price equals TWAP
• Overbought/Oversold Levels - Default ±2 standard deviations (customizable)
• Smoothing - SMA filter to reduce noise
• Info Table - Shows current values and timeframe mapping
• Alerts - Zero line crosses and overbought/oversold conditions
Trading Applications:
Mean Reversion Strategy:
• Enter long when oscillator crosses above oversold level (-2)
• Enter short when oscillator crosses below overbought level (+2)
• Exit when returning to zero line
Trend Following:
• Stay long while oscillator remains above zero
• Stay short while oscillator remains below zero
• Use extreme readings as potential reversal signals
Risk Management:
• Use overbought/oversold levels as stop-loss references
• Scale position size based on oscillator magnitude
• Combine with other indicators for confirmation
Mathematical Foundation:
Oscillator = (Current Price - TWAP) / Standard Deviation
Where:
• TWAP = Time-weighted average price over selected period
• Standard Deviation = Statistical measure of price dispersion
• Result = Number of standard deviations from mean
Best Practices:
• Use on higher timeframes for trend analysis
• Use on lower timeframes for entry timing
• Combine with volume analysis for confirmation
• Adjust overbought/oversold levels based on market volatility
• Consider market structure and support/resistance levels
Perfect For:
• Scalping - 1m charts with 1D TWAP
• Day Trading - 5m-15m charts with 7D TWAP
• Swing Trading - 1h-4h charts with 30D TWAP
• Position Trading - Daily charts with 365D TWAP