US Presidents 1920–2024Description:
This indicator displays all U.S. presidential elections from 1920 to 2024 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Modern flag style: Presidents from 1900 onward are highlighted as modern, giving clear historical separation.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Useful for analyzing modern U.S. presidential cycles, market reactions to elections, or quickly referencing recent presidents directly on charts.
Forecasting
FED Rate Decisions (Cuts & Hikes)This indicator highlights key moments in U.S. monetary policy by plotting vertical lines on the chart for Federal Reserve interest rate decisions.
Features:
Rate Cuts (red): Marks dates when the Fed reduced interest rates.
Rate Hikes (green): Marks dates when the Fed increased interest rates.
Configurable view: Choose between showing all historical decisions or only those from 2019 onwards.
Labels: Each event is tagged with “FED CUT” or “FED HIKE” above or below the bar (adjustable).
Alerts: You can set TradingView alerts to be notified when the chart reaches a Fed decision day.
🔧 Inputs:
Show decisions: Switch between All or 2019+ events.
Show rate cuts / hikes: Toggle visibility separately.
Colors: Customize line and label colors.
Label position: Place labels above or below the bar.
📈 Usage:
This tool helps traders and investors visualize how Fed policy shifts align with market movements. Rate cuts often signal economic easing, while hikes suggest tightening monetary policy. By overlaying these events on price charts, you can analyze historical reactions and prepare for similar scenarios.
Dual 4/8 MTFInspired on multi-timeframe Murrey’s Math Lines Channel.
Using the 4/8 , 2 times with different fractal multipliers to follow the trend
Lines and fill in between then can be =
-dynamic :(turn green/red/grey depending on price)
-static : fixed colour that wont change depending on trend
Divergences v2.4 [LTB][SPTG]Open-source credit & license
Original author: LonesomeTheBlue.
This fork by: sirpipthegreat — with attribution to the original work.
License: Open-source, published under the MPL-2.0 (same license header in the code).
I am publishing this open-source in accordance with TradingView’s Open-source reuse rules.
What’s new:
- Fixes & stability (addresses “historical offset beyond buffer” errors)
- Capped and validated all historical indexing with guarded lookbacks (e.g., min(…, 200) style limits) to prevent referencing data beyond the buffer on shorter histories/thin symbols.
- Refactored highest/lowest bars scans to obey the cap and avoid cumulative overflows on long sessions.
- Added per-bar counters with safety clamps to ensure it never exceeds available history.
- Ensured HTF switching doesn’t create invalid offsets when the higher timeframe compresses history.
Modernization & user control:
- Pine v6 upgrade and re-organization of logic for clarity/performance.
- More predictable tops/bottoms detection.
What it does:
- Detects regular (trend-reversal) and optional hidden (trend-continuation) divergences between price swing tops/bottoms and the selected oscillator(s).
- Computes candidate pivots with a light HTF alignment to reduce micro-noise; validates divergence when oscillator and price move in opposite directions across those pivots.
- Plots colored lines/labels on price to highlight bearish (regular & hidden) and bullish (regular & hidden) patterns.
How to use:
- Choose the oscillator set you trust (start with RSI + MACD).
- Consider confluence (S/R, volume, trend filters). This tool only identifies conditions
Justin's MSTR Powerlaw Price PredictorJustin's MSTR Powerlaw Price Predictor is a Pine Script v6 indicator for TradingView that adapts Giovanni Santostasi’s Bitcoin power law model to forecast MicroStrategy (MSTR) stock prices. The price prediction is based on the the formula published in this article:
www.ccn.com
JessieOBS with MACD - The Evil MACD
中文版说明在后面
JessieOBS takes the classic MACD to the next level by clearly highlighting overbought and oversold zones.
While the traditional MACD works well for spotting uptrends and downtrends, it often struggles in sideways markets—producing false signals and useless crossovers that can trigger unnecessary stop losses. JessieOBS solves this problem, giving you cleaner, more reliable signals even when the market is moving sideways.
The thick white line signals an oversold area, hinting that a price reversal to an uptrend may happen soon.
The thick blue line signals an overbought area, hinting that a price reversal to a downtrend may happen soon.
JessieOBS helps you filter sideways trends, improving your win rate.
WARNING: JessieOBS is only an early WARNING, NOT A TRADE ENTRY SIGNAL.
When a warning appears, stay alert and wait for confirmation—through price action, divergences (HIGHLY RECOMMENDED with a win rate over 85%!), or the theory of entanglement (HIGHLY RECOMMENDED with a even higher win rate!).
With the right approach, JessieOBS can take your win rate to the next level!
中文版说明:
传统的MACD可以很明确识别出趋势,但有两个最大的缺点:第一是滞后性,第二是假信号。所以MACD在趋势行情里比较好用(不管是上升趋势还是下降趋势),但在横盘期间,就会产生很多的假信号。
JessieOBS就解决了MACD不准的问题,在MACD的信号线上,添加了白色和蓝色的粗线,白色粗线代表价格超卖,接下来很可能会反转上涨,蓝色粗线代表价格超买,接下来很可能会反转下跌。市场横盘期间,JessieOBS很少会给出超买或者超卖信号,从而有效过滤了MACD的假信号。
注意!JessieOBS只能作为一个提前的预警,一定不能把JessieOBS当做入场信号看待。因为JessieOBS只预警价格可能会反转,但并不能预测出价格发生反转的准确时间。
正确的做法是,一旦看见JessieOBS的预警信号,就应该重点关注,再用其他的方式找到准确的入场点。裸k交易法是有用的,找到反转的趋势k线作为入场点。
强烈推荐:出现预警信号之后根据背离点入场,这种方法的胜率可以超过85%。
强烈推荐:出现预警信号之后根据缠论分析入场,利用缠论分析出的入场点胜率可以更高。
MO and Stoch GOLD H4 Full – Kim TradingMO and Stoch GOLD H4 Full – Kim Trading
Slogan: “Trading Is a Profession, Trading Is Life”
Market: XAUUSD • Timeframe: H4
Regime Gate (strong-trend filter) – turn on to suppress noise during strong trends; trade-off: you may miss some opportunities.
Cut & Reverse – use when you prefer to disable the strong-trend filter and react fast (cut the losing side and reverse with the new signal).
Entry/Exit Rules. When B/B1★/B2★/B3★ (buy) or S/S1★/S2★/S3★ (sell) labels appear, follow the prevailing trend and consider DCA (scale-in) with the trend. Combine with other confluences (levels, candlesticks, volume, timing) to form an optimal setup.
Signal Confidence Tiers:
B — S
B1★ — S1★
B2★ — S2★
B3★ — S3★
Enter only when one of the four labels appears. Use Alerts → Once Per Bar Close.
Notes. Educational tool, not financial advice. Source code remains Protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#XAUUSD #Gold #H4 #MO #Stoch #KimTrading
MO and Stoch GOLD H4 V1 – Kim Trading (with Regime Gate ML)MO and Stoch GOLD H4 – Kim Trading (with Regime Gate ML)
Slogan: “Trading Is a Profession, Trading Is Life”
Market: XAUUSD (spot gold) • Timeframe: H4 (4 hours)
Overview. The script combines a Momentum Oscillator (MO) cross with Stochastic RSI context and evaluates signals on bar close to reduce repaint. An optional Regime Gate (ML) filter classifies market conditions (e.g., strong-trend vs. choppy) from historical patterns to suppress counter-trend noise and highlight powerful waves.
Entry/Exit Rules
When a B, B1★ … (buy) or S, S1★ … (sell) label appears, first reference the prevailing trend and consider applying DCA (scale-in) in the direction of that trend. You’re encouraged to combine this tool with other methods (price levels, candlesticks, volume/timing) to build an optimal setup.
Signal Confidence Tiers
B — S
B1★ — S1★
B2★ — S2★
B3★ — S3★
Enter trades only when one of the four signal types above is printed.
Notes. Use Once Per Bar Close alerts. This is an educational tool and not financial advice. Source code remains protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#XAUUSD #Gold #H4 #MO #Stoch #KimTrading
Economic Profit (Fixed & Labeled) — Rated + PeersFRAC (Fundamental-Rated-Asset-Calculate)
FRAC is a fundamentals-driven tool designed to measure whether a company is creating or destroying shareholder value. Unlike surface ratios, FRAC uses Economic Profit (ROIC – WACC) as its engine, showing whether a business truly outperforms its cost of capital.
🔹 What FRAC Does
Calculates ROIC (Return on Invested Capital) vs. WACC (Weighted Average Cost of Capital).
Shows whether a company is creating or destroying shareholder value.
Uses tiered color coding for clarity:
🔵 Superior (Aqua Blue) → Top tier; best of the best.
🟣 Elite (Purple) → Strong value creation.
🟢 Positive (Green) → Solid, creating shareholder value.
🟡 Marginal (Yellow) → Barely covering cost of capital.
🔴 Negative (Red) → Value destruction.
🔹 Composite Ranking System (1–4)
FRAC also assigns each company a Composite Rank so you can compare multiple names side by side. The rank works like this:
Rank 1 → Superior (🔵 Aqua Blue)
Best possible rating; wide gap between ROIC and WACC.
Rank 2 → Elite (🟣 Purple)
Strongly positive; above-average capital efficiency.
Rank 3 → Positive (🟢 Green)
Creating value but only moderately; not a top compounder.
Rank 4 → Marginal/Negative (🟡/🔴)
Weak or destructive; either barely covering WACC or losing money on capital.
✅ How to Use the Ranks
When comparing a set of peers (e.g., NVDA, AMD, INTC):
FRAC will display each company’s color rating + composite rank (1–4).
You can instantly see who is strongest vs. weakest in the group.
Best decisions = overweight Rank 1 & 2 companies, avoid Rank 4 names.
🔹 Key Inputs Explained
Risk-Free Asset → Typically the 10-Year US Treasury yield (US10Y).
Corporate Tax Rate → Effective tax rate for the company’s country (e.g., USCTR).
Expected Market Return → Historical average ~8–10%, adjustable.
Beta Lookback Period → Controls how far back Beta is calculated (longer = more stable, shorter = more reactive).
👉 These must be set correctly for FRAC to calculate WACC accurately.
🔹 Example Comparison
NVDA: ROIC 25% – WACC 7% = +18% → 🔵 Superior → Rank 1
AMD: ROIC 17% – WACC 8% = +9% → 🟣 Elite → Rank 2
INTC: ROIC 11% – WACC 9% = +2% → 🟢 Positive → Rank 3
FSLY: ROIC 5% – WACC 10% = –5% → 🔴 Negative → Rank 4
🔹 Why It Matters
Buffett said: “The best businesses are those that can consistently generate returns on capital above their cost of capital.”
FRAC turns that into a visual + numeric rating system (1–4), making comparisons across peers simple and actionable.
🔹 Credit
FRAC was created by Hunter Hammond (Elite x FineFir), inspired by corporate finance models of Economic Profit and Economic Value Added (EVA).
⚠️ Disclaimer: FRAC is a research framework, not financial advice. Always pair with full due diligence.
EMA indicatorEMA indicator showing 4 different moving indicators with VWAP as an extra added layer of confluence
Justin's Bitcoin Power Law Predictor (Santostasi Model)This indicator uses the Powerlaw to predict the BTC price.
Scalping Advisor [AlexSvet]Scalping script. I added a dashboard table: it shows the BB+RSI+ADX block and the final signal (BUY, SELL, WAIT)
QAIS Advanced Liquidity Hunter [HYBRID ALERT]I Qais Shah from Kalmeshwar, Nagpur. Have Unlock Institutional-Grade Strategies with the Advanced Liquidity Hunter
This powerful indicator is designed for serious traders seeking to capitalize on the same market mechanics used by institutional players. The Advanced Liquidity Hunter identifies high-probability reversal setups by detecting key market events: Liquidity Sweeps, Fair Value Gaps (FVG), and RSI Divergence, all filtered through a multi-timeframe analysis for maximum confluence.
🔍 What This Indicator Does:
Detects Liquidity Sweeps: Finds precise moments where price aggressively sweeps beyond a recent swing high or low to trigger stop orders (liquidity) and then rejects back into the range—a classic sign of institutional activity.
Identifies Fair Value Gaps (FVG): Highlights imbalanced areas on the chart where price is likely to return, providing excellent entry zones.
Multi-Timeframe RSI Divergence: Confirms momentum shifts by analyzing divergence not just on your current chart, but also on the higher 1-hour timeframe for stronger, more reliable signals.
Volume Spike Confirmation: Ensures the move is validated by a significant increase in trading volume, separating genuine moves from false breakouts.
Smart Alert System: Sends direct alerts to your phone or email when a perfect confluence of conditions is met, so you never miss a setup.
⚙️ How to Use It:
This is a Hybrid Quant-Discretionary tool. It does the heavy lifting of scanning the markets 24/7, but it requires your expert discretion for final execution.
Wait for the Alert: The indicator will send an alert when a high-quality setup is detected.
Confirm on Higher Timeframe (HTF): Open the chart. Check that the signal aligns with a major HTF support/resistance level, trend, or order block.
Execute Your Plan: Manually enter the trade using the provided logic, ensuring you implement strict risk management (1-2% of capital per trade).
🎯 Ideal For:
Swing Traders and Day Traders looking for high-quality, high-probability entries.
Those who understand and trade based on market structure, liquidity, and order flow.
Traders who prefer a disciplined, alert-based system over emotional decision-making.
📊 Key Features:
Fully Customizable: Adjust all parameters (ATR multiplier, RSI length, volume spike) to fit your trading style and the current market volatility.
Clear Visuals: Easy-to-see triangles and crosses plot the exact entry points and liquidity sweeps directly on your chart.
Non-Repainting: The logic uses confirmed closing prices to ensure signals do not repaint.
Disclaimer: This tool is designed to identify high-probability opportunities, not guaranteed wins. Always practice proper risk management and backtest the strategy before using real capital. Past performance is not indicative of future results.
Custom Volume + Buyer & Price %Title: Custom Volume + Buyer & Price %
Description:
This indicator helps you see who is controlling the market — buyers or sellers — using volume and price action. It works even if your chart is on a small timeframe (like 5-min or 15-min), by showing Daily, Weekly, and Monthly information from the higher timeframe volume charts.
Key Features & How It Works:
Buyer % (B%):
Measures where the closing price is within the high-low range of a candle.
Calculation:
\text{Buyer %} = \frac{\text{Close} - \text{Low}}{\text{High} - \text{Low}} \times 100
Interpretation:
> 50% → Buyers are stronger
< 50% → Sellers are stronger
50% → Balanced
Volume Coloring:
Volume bars are colored based on Buyer %, not price movement:
Green → Buyers dominate
Red → Sellers dominate
Yellow → Balanced day
Higher Timeframe Insight:
Displays Daily, Weekly, and Monthly volume & Buyer % even if your chart is on a smaller timeframe.
Lets you understand long-term buying or selling pressure while trading intraday.
21-Day Average:
Shows average Buyer % and average volume over the past 21 days for trend context.
Why It’s Useful:
Quickly visualize whether the market is buyer-driven or seller-driven.
Identify strong accumulation or distribution days.
Works on any chart timeframe while giving higher timeframe perspective.
Ideal for traders who want easy, visual insight into market sentiment.
⛓️ Scalping Fusion [AlexSvet]An indicator with a table that takes into account the trend for scalping trading.
A best Seasonality Monthly IndicatorSeasonality Monthly is a custom indicator designed for TradingView that calculates and displays monthly seasonality performance as a table overlay on the chart.
Key aspects and functionality:
It requires the timeframe to be either monthly or daily; otherwise, it throws an error.
The user can set the starting year (default 2015) from which the seasonality statistics begin.
It collects monthly percentage change data (close to close returns) for each month and year dynamically using request.security.
Data is stored in a two-dimensional matrix representing years by months, accumulating returns for each month over the years.
The table is drawn on the chart showing monthly returns for each year, with cells colored green for positive returns and red for negatives.
The bottom rows of the table show summary statistics per month:
AVG: Average monthly returns
SUM: Sum of returns
+ive: Count of months with positive returns over total counts
WR: Win rate (ratio of positive months)
Text sizes and colors are customizable via inputs.
Uses Pine Script v5 features like matrix, table API, and new runtime error handling.
This script is useful for visualizing historical monthly seasonality patterns for any symbol on TradingView.
------------------
The Seasonality Monthly Pine Script indicator is a powerful tool designed for TradingView that enables traders to analyze and visualize the historical seasonal performance of an asset on a monthly basis. This script focuses on identifying recurring monthly patterns by accumulating monthly percentage returns over multiple years, providing insights that help traders understand when certain months tend to perform better or worse historically.
The script requires the chart to be set to either a daily or monthly timeframe to ensure accurate calculations and data retrieval. It uses the request. security function to fetch monthly data, extracting each bar's year, month, and monthly price change percent based on close-to-close returns. These returns are then accumulated into a matrix data structure, organizing the percentage changes for each year and month to build a comprehensive historical dataset.
A dynamic table is constructed and displayed on the chart, showing a detailed breakdown of percentage changes each month for every year starting from a customizable start year (default is 2015). Each cell in the table is color-coded—green for positive monthly returns and red for negative—making it visually easy to interpret seasonal trends. This immediate visual feedback is valuable for traders looking to identify strong or weak months historically.
Beyond just the yearly data, the script calculates aggregate statistics for each month, which are displayed in summary rows at the bottom of the table. These include the average monthly return, the sum of returns, the count of positive-return months versus total months ("+ive"), and the win rate (WR), which is the proportion of positive months over the total number of months observed. These statistics assist traders in quantifying the strength and consistency of monthly seasonal effects.
The script also includes user customization options such as the starting year for seasonality analysis and adjustable text size for better readability. It incorporates modern Pine Script v5 features like runtime error handling, matrix operations, and the enhanced table API for efficient and clear display.
Overall, This is a practical indicator that helps traders incorporate seasonality insights into their decision-making process, potentially improving timing entries and exits by leveraging historical monthly market behaviors. It is particularly useful for spotting cyclic tendencies and planning strategies around historically strong or weak months, adding a valuable dimension to technical analysis.
----------------------------------------------
#Seasonality #TradingView #PineScript #TechnicalAnalysis #StockMarket #MonthlyPerformance #SeasonalTrends #MarketAnalysis #TradingStrategy #PricePatterns #Charting #DataVisualization #AlgorithmicTrading #FinancialMarkets #TradingIndicators #InvestmentStrategy #QuantitativeAnalysis #MarketSeasonality #StockTrading #TradingTools
Combined CE and PE Option Overlay with Time Targets for All TgsThe "Combined CE and PE Option Overlay with Time Targets for All Tgs" is a sophisticated TradingView Pine Script (v5) indicator designed for intraday options trading, focusing on Call (CE) and Put (PE) options. It overlays price levels and wick zones on the chart, using previous day's high, low, open, and close to define upper and lower wick areas, filled in red and green respectively. The indicator generates buy/sell signals based on EMA, SMA, or RSI crossovers, with customizable thresholds and signal line thickness. It calculates entry prices, stop losses (SL), and five target levels (TG1-TG5) for both CE and PE, adjusting for strikes and tick sizes (e.g., NIFTY 50, BANKNIFTY 100). Time targets are estimated using average price speed over a lookback period, accounting for market hours (9:15 AM to 3:30 PM IST). Labels display detailed info, including expiry dates (set by day) and time projections. Alerts trigger on signal crossovers and individual level breaches, with webhook support for automation. Features include adjustable risk-reward multipliers, line extensions, and debug tables, making it a comprehensive tool for options traders seeking precise entry/exit points and time-based targets.
Calculadora de posicion)Position Size Calculator is a simple tool that helps traders instantly know how many contracts or lots to use based on their risk.
Just set your account size, risk percentage, and stop loss distance — the calculator does the rest.
Stay disciplined, control your risk, and trade with confidence.
PSP Gyani Baba 9 Number [Good for all types of trading]The PSP Gyani Baba 9 Number indicator is a powerful tool based on the Gann Square of 9 methodology, designed to identify key support and resistance levels on your chart. This indicator calculates dynamic price levels using the square root of the current price, incorporating Gann's incremental adjustments to plot up to 10 customizable support and resistance lines. It features:
Support/Resistance Levels: Automatically displays bullish (green) and bearish (red) levels with adjustable line styles (solid, dashed, or dotted).
Cardinal Points: Highlights critical North, South, East, and West cardinal levels in orange for high-impact trading zones.
Trading Signals: Generates buy and sell signals based on price crossing cardinal East and West levels, with visual alerts and optional notifications.
Info Table: Provides a real-time summary of current price, square root, and next support/resistance levels.
Customization: Offers adjustable inputs for level count, colors, and alert preferences.
Ideal for traders seeking Gann-based insights, this indicator enhances decision-making with clear visual cues and actionable alerts. Perfect for all timeframes and markets!
Near New High ScreenerA simple indicator intended to be used in a pinescript scanner to find stocks that are re reaching highs after a pullback or base formation. To use add it as a favourite indicator so it can be selected in a pinescript scanner.
In the settings you can select whether to use the highest high or highest close for the previous high (defaults to close) and whether to use the all time high or the high from the last X days (defaults to 252 days).
Once opened in a pine scanner apply to a watchlist and scan. Stocks with a positive % have broken out from a previous high today, those with a negative % are that % away from the previous high.
You can sort by the “Pct from Prev High%” column or use the scanner filter to filter for stocks between two values, for example between 0 and -5% to find stocks near a new high, or >0 to find stocks that have broken out today.
Standard Deviations [MTRX]The standard deviations script identifies manipulation ranges and automatically draws standard deviation fibonacci retracements on the wicks of the candles. You can use the given deviation points to take high probability retracement or reversal trades.
ATAI Volume Pressure Analyzer V 1.0 — Pure Up/DownATAI Volume Pressure Analyzer V 1.0 — Pure Up/Down
Overview
Volume is a foundational tool for understanding the supply–demand balance. Classic charts show only total volume and don’t tell us what portion came from buying (Up) versus selling (Down). The ATAI Volume Pressure Analyzer fills that gap. Built on Pine Script v6, it scans a lower timeframe to estimate Up/Down volume for each host‑timeframe candle, and presents “volume pressure” in a compact HUD table that’s comparable across symbols and timeframes.
1) Architecture & Global Settings
Global Period (P, bars)
A single global input P defines the computation window. All measures—host‑TF volume moving averages and the half‑window segment sums—use this length. Default: 55.
Timeframe Handling
The core of the indicator is estimating Up/Down volume using lower‑timeframe data. You can set a custom lower timeframe, or rely on auto‑selection:
◉ Second charts → 1S
◉ Intraday → 1 minute
◉ Daily → 5 minutes
◉ Otherwise → 60 minutes
Lower TFs give more precise estimates but shorter history; higher TFs approximate buy/sell splits but provide longer history. As a rule of thumb, scan thin symbols at 5–15m, and liquid symbols at 1m.
2) Up/Down Volume & Derived Series
The script uses TradingView’s library function tvta.requestUpAndDownVolume(lowerTf) to obtain three values:
◉ Up volume (buyers)
◉ Down volume (sellers)
◉ Delta (Up − Down)
From these we define:
◉ TF_buy = |Up volume|
◉ TF_sell = |Down volume|
◉ TF_tot = TF_buy + TF_sell
◉ TF_delta = TF_buy − TF_sell
A positive TF_delta indicates buyer dominance; a negative value indicates selling pressure. To smooth noise, simple moving averages of TF_buy and TF_sell are computed over P and used as baselines.
3) Key Performance Indicators (KPIs)
Half‑window segmentation
To track momentum shifts, the P‑bar window is split in half:
◉ C→B: the older half
◉ B→A: the newer half (toward the current bar)
For each half, the script sums buy, sell, and delta. Comparing the two halves reveals strengthening/weakening pressure. Example: if AtoB_delta < CtoB_delta, recent buying pressure has faded.
[ 4) HUD (Table) Display /i]
Colors & Appearance
Two main color inputs define the theme: a primary color and a negative color (used when Δ is negative). The panel background uses a translucent version of the primary color; borders use the solid primary color. Text defaults to the primary color and flips to the negative color when a block’s Δ is negative.
Layout
The HUD is a 4×5 table updated on the last bar of each candle:
◉ Row 1 (Meta): indicator name, P length, lower TF, host TF
◉ Row 2 (Host TF): current ↑Buy, ↓Sell, ΔDelta; plus Σ total and SMA(↑/↓)
◉ Row 3 (Segments): C→B and B→A blocks with ↑/↓/Δ
◉ Rows 4–5: reserved for advanced modules (Wings, α/β, OB/OS, Top
5) Advanced Modules
5.1 Wings
“Wings” visualize volume‑driven movement over C→B (left wing) and B→A (right wing) with top/bottom lines and a filled band. Slopes are ATR‑per‑bar normalized for cross‑symbol/TF comparability and converted to angles (degrees). Coloring mirrors HUD sign logic with a near‑zero threshold (default ~3°):
◉ Both lines rising → blue (bullish)
◉ Both falling → red (bearish)
◉ Mixed/near‑zero → gray
Left wing reflects the origin of the recent move; right wing reflects the current state.
5.2 α / β at Point B
We compute the oriented angle between the two wings at the midpoint B:
β is the bottom‑arc angle; α = 360° − β is the top‑arc angle.
◉ Large α (>180°) or small β (<180°) flags meaningful imbalance.
◉ Intuition: large α suggests potential selling pressure; small β implies fragile support. HUD cells highlight these conditions.
5.3 OB/OS Spike
OverBought/OverSold (OB/OS) labels appear when directional volume spikes align with a 7‑oscillator vote (RSI, Stoch, %R, CCI, MFI, DeMarker, StochRSI).
◉ OB label (red): unusually high sell volume + enough OB votes
◉ OS label (teal): unusually high buy volume + enough OS votes
Minimum votes and sync window are user‑configurable; dotted connectors can link labels to the candle wick.
5.4 Top3 Volume Peaks
Within the P window the script ranks the top three BUY peaks (B1–B3) and top three SELL peaks (S1–S3).
◉ B1 and S1 are drawn as horizontal resistance (at B1 High) and support (at S1 Low) zones with adjustable thickness (ticks/percent/ATR).
◉ The HUD dedicates six cells to show ↑/↓/Δ for each rank, and prints the exact High (B1) and Low (S1) inline in their cells.
6) Reading the HUD — A Quick Checklist
◉ Meta: Confirm P and both timeframes (host & lower).
◉ Host TF block: Compare current ↑/↓/Δ against their SMAs.
◉ Segments: Contrast C→B vs B→A deltas to gauge momentum change.
◉ Wings: Right‑wing color/angle = now; left wing = recent origin.
◉ α / β: Look for α > 180° or β < 180° as imbalance cues.
◉ OB/OS: Note labels, color (red/teal), and the vote count.
◉Top3: Keep B1 (resistance) and S1 (support) on your radar.
Use these together to sketch scenarios and invalidation levels; never rely on a single signal in isolation.
[ 7) Example Highlights (What the table conveys) /i]
◉ Row 1 shows the indicator name, the analysis length P (default 55), and both TFs used for computation and display.
◉ B1 / S1 blocks summarize each side’s peak within the window, with Δ indicating buyer/seller dominance at that peak and inline price (B1 High / S1 Low) for actionable levels.
◉ Angle cells for each wing report the top/bottom line angles vs. the horizontal, reflecting the directional posture.
◉ Ranks B2/B3 and S2/S3 extend context beyond the top peak on each side.
◉ α / β cells quantify the orientation gap at B; changes reflect shifting buyer/seller influence on trend strength.
Together these visuals often reveal whether the “wings” resemble a strong, upward‑tilted arm supported by buyer volume—but always corroborate with your broader toolkit
8) Practical Tips & Tuning
◉ Choose P by market structure. For daily charts, 34–89 bars often works well.
◉ Lower TF choice: Thin symbols → 5–15m; liquid symbols → 1m.
◉ Near‑zero angle: In noisy markets, consider 5–7° instead of 3°.
◉ OB/OS votes: Daily charts often work with 3–4 votes; lower TFs may prefer 4–5.
◉ Zone thickness: Tie B1/S1 zone thickness to ATR so it scales with volatility.
◉ Colors: Feel free to theme the primary/negative colors; keep Δ<0 mapped to the negative color for readability.
Combine with price action: Use this indicator alongside structure, trendlines, and other tools for stronger decisions.
Technical Notes
Pine Script v6.
◉ Up/Down split via TradingView/ta library call requestUpAndDownVolume(lowerTf).
◉ HUD‑first design; drawings for Wings/αβ/OBOS/Top3 align with the same sign/threshold logic used in the table.
Disclaimer: This indicator is provided solely for educational and analytical purposes. It does not constitute financial advice, nor is it a recommendation to buy or sell any security. Always conduct your own research and use multiple tools before making trading decisions.