Gösterge

Labeled EMA Ribbon + VWAP#Labeled EMA Ribbon + VWAP
## Overview
Custom Labeled EMA Ribbon + VWAP is a Pine Script v6 overlay indicator that combines five customizable exponential moving averages with a session VWAP and places clearly identified labels beside each line.
The indicator was created to solve a simple but persistent charting problem: when several moving averages are displayed at the same time, it can be difficult to remember which colored line represents which EMA.
This becomes especially challenging when traders use several averages with similar values, frequently change their EMA settings, or view charts where the lines are compressed closely together.
Rather than forcing the user to memorize a color scheme, open the indicator settings, or move the cursor over each line, this script places the name of each EMA directly beside its current value on the right side of the chart.
For example, when an EMA slot is set to a length of 21, its label displays “EMA 21.” If that same slot is changed to a length of 20, the label automatically updates to “EMA 20.”
The primary purpose of the indicator is to make a multi-EMA chart easier to read, customize, and interpret without changing the underlying meaning of the moving averages or VWAP.
## What the Indicator Displays
The default configuration includes:
* 8 EMA
* 21 EMA
* 34 EMA
* 50 EMA
* 200 EMA
* Daily VWAP
All five EMA lengths can be changed by the user.
Each line includes independent controls for:
* Visibility
* Length
* Color
* Line width
* Label visibility
* Label size
VWAP also has separate visibility, color, line-width, source, and label controls.
The indicator therefore functions as a customizable charting framework rather than a fixed moving-average template.
## Why the Labels Are Important
Most moving-average indicators identify their lines through color alone.
That approach can work when only one or two averages are displayed, but it becomes less practical when several EMAs are grouped together. During consolidation or strong directional movement, multiple averages may overlap or remain only a few ticks apart.
The right-side labels allow the user to immediately identify each line without relying exclusively on color.
This can be especially useful for traders who:
* Use several moving averages on one chart
* Frequently switch between different EMA combinations
* Analyze charts on different screens or devices
* Have difficulty remembering which color belongs to each average
* Share charts with traders who do not know their personal color system
* Want the chart itself to explain what each line represents
The labels are attached to the current EMA or VWAP value and update as the chart changes.
Users may also display the current numerical price beside each label. When this option is enabled, a label can show both the moving-average name and its present value.
## Custom EMA Slots
The indicator contains five EMA slots instead of permanently locking the user into one specific combination.
The default lengths are 8, 21, 34, 50, and 200, but each slot can be changed independently.
For example, a trader could change the default configuration to:
* 5 EMA
* 10 EMA
* 20 EMA
* 50 EMA
* 200 EMA
The labels automatically use the selected length. The user does not need to modify the script or manually rename anything after changing an input.
This dynamic labeling is one of the indicator’s main practical features. It allows the chart to remain accurate even when the user experiments with different moving-average combinations.
## Moving-Average Source
The EMA source is customizable.
The default source is the closing price, but users may select another available price source from the indicator settings.
All five EMA calculations use the selected source while retaining their individually selected lengths.
## VWAP
The script includes a daily anchored Volume Weighted Average Price calculation.
By default, VWAP resets at the beginning of each new trading day and uses HLC3 as its source.
The VWAP source can be changed by the user.
There is also an option to display VWAP only on intraday charts. This helps prevent a daily session VWAP from appearing on timeframes where the user may not find it relevant.
VWAP includes its own:
* Visibility control
* Source setting
* Color
* Line width
* Right-side label
* Label size
When current values are enabled, the VWAP label can also display its current price.
## Right-Side Labels
The indicator creates persistent labels for all five EMAs and VWAP.
The labels are positioned beyond the most recent candle so they do not cover the active price bar.
Users can control:
* Whether all labels are shown
* Which individual labels are visible
* How far labels appear from the current candle
* Whether labels are horizontally staggered
* The amount of spacing between staggered labels
* Label text color
* The size of each individual label
* Whether current price values appear inside the labels
The master label control allows all labels to be hidden without turning off the underlying EMA and VWAP lines.
Individual label controls allow a line to remain visible while its label is hidden.
## Staggered Label Placement
When multiple moving averages are close together, their labels may overlap.
The optional stagger feature moves each label progressively farther to the right. This creates horizontal separation between labels even when their underlying EMA values are nearly identical.
The stagger distance is adjustable.
This feature is especially useful during:
* Consolidation
* Moving-average compression
* Low-volatility periods
* EMA crossovers
* Strong trends where several averages remain tightly grouped
Staggering changes only the horizontal position of the labels. It does not alter the moving-average calculations or their actual price levels.
## Individual Label Sizes
Each EMA and the VWAP has its own label-size setting.
Available sizes include:
* Tiny
* Small
* Normal
* Large
* Huge
This allows the user to emphasize certain reference lines.
For example, a trader may use larger labels for the 200 EMA and VWAP while keeping faster moving-average labels smaller.
The sizing controls can also improve readability across different chart layouts and screen sizes.
## Optional EMA Ribbon
The indicator includes optional shading between the first four EMA slots.
The ribbon fills the areas between:
* EMA Slot 1 and EMA Slot 2
* EMA Slot 2 and EMA Slot 3
* EMA Slot 3 and EMA Slot 4
The shading changes according to the relative position of the two averages.
When the faster EMA is above the slower EMA, the selected bullish ribbon color is used.
When the faster EMA is below the slower EMA, the selected bearish ribbon color is used.
The bullish and bearish ribbon colors are customizable, and the user can adjust the ribbon transparency.
For the most intuitive ribbon display, faster EMA lengths should generally be placed in the lower-numbered slots and slower EMA lengths in the higher-numbered slots.
For example:
* Slot 1: 8 EMA
* Slot 2: 21 EMA
* Slot 3: 34 EMA
* Slot 4: 50 EMA
The ribbon is optional and is turned off by default so users can choose between a clean line-based chart and a shaded moving-average structure.
## Practical Uses
The indicator can support several types of chart analysis.
### Trend Context
Traders may use the position and slope of the EMAs to observe whether price is trading above, below, or between important moving averages.
A faster EMA remaining above a slower EMA may support a bullish trend interpretation, while the opposite arrangement may support a bearish interpretation.
### Dynamic Support and Resistance
Some traders use moving averages as areas where price may pause, react, reject, or continue.
The labels make it easier to identify which moving average price is approaching without having to remember its color.
### Pullback Analysis
A trader may observe whether price pulls back toward a faster EMA, a middle EMA, or a slower trend average.
For example, a shallow pullback may react near the 8 or 21 EMA, while a deeper pullback may reach the 34 or 50 EMA.
The script does not determine whether those reactions will succeed. It makes the relevant averages easier to identify.
### Long-Term Trend Reference
The 200 EMA is commonly used as a broader trend reference.
The default larger label and thicker line make it easier to distinguish the 200 EMA from the shorter averages, although both settings remain customizable.
### VWAP Context
Intraday traders may compare price with VWAP to evaluate whether price is trading above or below the session’s volume-weighted average.
VWAP can also be compared with the EMA structure.
For example, a trader may observe whether:
* Price is above both VWAP and the EMA group
* Price is below both VWAP and the EMA group
* VWAP is positioned inside the EMA ribbon
* Price is repeatedly crossing VWAP and the EMAs during consolidation
These observations provide context but are not automatic trade signals.
## Original Contribution
The formulas used for exponential moving averages and VWAP are standard technical-analysis calculations.
This script does not claim to create a new type of moving average or a new VWAP formula.
Its contribution is the combination of these familiar tools into a customizable chart-reading system that includes:
* Five independently adjustable EMA slots
* Labels that automatically display the selected EMA lengths
* Optional current-value labels
* Individually controlled line and label visibility
* Individual label sizes
* Adjustable right-side label placement
* Horizontal label staggering
* An optional multi-layer EMA ribbon
* A daily VWAP with its own label and settings
* A structured settings menu designed for easy customization
The main objective is usability and chart clarity.
## What the Indicator Does Not Do
This indicator is not a trading strategy.
It does not automatically determine:
* Trade entries
* Trade exits
* Stop-loss placement
* Profit targets
* Trend reversals
* Breakout validity
* Support or resistance strength
* Position size
* Risk-to-reward
* Market volatility
* Volume confirmation
* Whether price is overextended
An EMA or VWAP touch does not guarantee that price will reverse or continue.
Moving averages are calculated from historical price information and will react after price changes. Faster EMAs generally respond more quickly, while slower EMAs generally respond more gradually.
VWAP reflects the session’s volume-weighted average price, but trading above or below VWAP does not guarantee future direction.
## Recommended Use
The indicator is best used as a chart-organization and market-context tool.
Traders should combine it with their own methods for:
* Market structure
* Price action
* Support and resistance
* Volume
* Liquidity
* Entry confirmation
* Stop placement
* Position sizing
* Risk management
Its purpose is to help the trader clearly identify the moving averages and VWAP already being used in that analysis.
## Summary
Custom Labeled EMA Ribbon + VWAP was designed for traders who want the benefits of several moving averages without the confusion of trying to remember which line is which.
The indicator places dynamically updated labels beside five customizable EMAs and a daily VWAP. It also provides independent line controls, individual label sizes, optional price values, adjustable label spacing, horizontal staggering, and optional ribbon shading.
Its primary value is not generating signals. Its value is making a multi-average chart easier to read, modify, and use consistently.
Gösterge

Sniper FVGThis Pine Script indicator, Sniper FVG, is designed to highlight Fair Value Gaps (FVGs) within a defined trading session based on India Standard Time (IST). The user specifies a session window (default 19:00–01:40 IST), and the script automatically shades the chart background outside this range to keep focus on active trading hours. It also draws dashed vertical lines at session start and end for clear visual boundaries.
To filter signals, the script references higher‑timeframe EMA values (15m, 30m, 1h). At the first candle of each session, a bias is set: bullish if price is below all EMAs, bearish if price is above all EMAs, and neutral otherwise. Only FVGs aligned with this bias are drawn. The detection logic checks for gaps between the high of candle 1 and the low of candle 3 (bullish) or the low of candle 1 and the high of candle 3 (bearish). Boxes are extended a few bars forward, with customizable transparency, color, and minimum size percentage to avoid insignificant gaps.
Overall, the script combines session management, bias filtering, and gap visualization to help traders focus on meaningful FVG setups during their chosen trading hours. Gösterge

RSI Divergence Indicator with Custom LevelsHere's a publish-ready description you can paste into TradingView's publishing form:
---
**RSI Divergence Indicator with Custom Levels**
This indicator combines a standard RSI oscillator with automatic divergence detection, plus fully customizable horizontal reference lines.
**Core Features:**
- **RSI Oscillator** — configurable period and source, plotted with standard 30/50/70 reference lines and an overbought/oversold shaded zone.
- **Automatic Divergence Detection** — identifies and labels four types of divergence directly on the RSI:
- Regular Bullish (price makes a lower low, RSI makes a higher low)
- Hidden Bullish (price makes a higher low, RSI makes a lower low)
- Regular Bearish (price makes a higher high, RSI makes a lower high)
- Hidden Bearish (price makes a lower high, RSI makes a higher high)
- **Built-in Alerts** — alert conditions are included for all four divergence types, so you can get notified the moment a new divergence forms.
**New: Custom Horizontal Lines**
Beyond the default 30/50/70 levels, you can now add up to 10 additional horizontal reference lines anywhere on the RSI scale — useful for marking your own thresholds, historical pivot levels, or extreme readings. Each line is fully independent and configurable:
- Enable/disable individually
- Set the exact level
- Choose the color and opacity
- Choose the line style (solid, dashed, dotted)
- Set the line width
This makes it easy to tailor the indicator to your own trading strategy without cluttering the chart with lines you don't need.
**How to Use:**
Add the indicator, then open its settings to adjust RSI period/source, toggle divergence types, and turn on any custom lines you want under "Custom Line 1" through "Custom Line 10."
Gösterge

Moneyball MTF Trend Databox [VinnieTheFish]📊 Moneyball MTF Trend Databox
The Moneyball MTF Trend Databox is a powerful, lightweight companion dashboard designed specifically to complement the core Moneyball EMA-MACD indicator ecosystem.
When trading with the Moneyball strategy, keeping track of higher and lower timeframe market structures is vital. Instead of manually flipping through charts, this utility aggregates a comprehensive multi-timeframe (MTF) trend analysis across 8 critical timeframes simultaneously and packs them into a clean, customizable HUD directly on your current chart.
🔍 How It Works
The engine dynamically evaluates the current asset’s trend alignment using a single master trend filter of your choice. A timeframe is marked as BULLISH if the price is trading above your selected Moving Average, and BEARISH if it falls below.
By looking at the dashboard, you can instantly see if your lower-timeframe execution aligns with the higher-timeframe "macro" trend.
⚙️ Key Features:
8 Timeframe Coverage: Scans the 2m, 5m, 15m, 30m, 1h, 4h, Daily, and Weekly intervals concurrently.
4-in-1 Trend Filters: Choose your preferred trend line directly from the settings:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
DEMA (Double EMA - for faster response time)
TEMA (Triple EMA - ultra-low lag trend tracking)
Fully Customizable Display: Position the dashboard anywhere on your chart (Top Right, Bottom Left, etc.) and fine-tune the background opacity so it never obstructs your price action or candlesticks.
Optimized Execution (Pine Script v6): Built natively on TradingView's newest engine version. The table updates strictly on the live bar (barstate.islast), completely protecting your charts from browser lag or slow calculation times.
📈 How to Use This in Your Trading
Macro-Trend Alignment: Before taking a Moneyball buy or sell signal on your execution chart (e.g., the 5-minute), check the Databox. If the 1H, 4H, and Daily rows are screaming BULLISH, you have massive high-probability wind at your back for long positions.
Confluence Clustering: Look for moments when all (or most) timeframes switch to a single color. A full grid alignment often signals a massive breakout or a strong continuation wave.
Counter-Trend Warning: If you see a buy signal on your lower timeframe but the higher timeframes are strictly BEARISH, the dashboard acts as an early warning system to either pass on the trade or take quick, conservative profits.
🛠️ Recommended Setup
For the truest "Moneyball" alignment, set your configuration input to:
MA Length: 200
MA Type: EMA or DEMA
Pair this dashboard on your layout with the primary Moneyball EMA-MACD indicator oscillator to experience the full synergy of the trend-following system. Gösterge

FTA Daily Pro v4FTA Daily Pro v4 — Full Technical Analyzer
A comprehensive daily-timeframe dashboard that combines trend, momentum, volume, volatility, relative strength, and divergence analysis into a single panel.
WHAT'S NEW IN V4
- Graded trend scoring — instead of an all-or-nothing trend flag, each condition (price vs EMA20, EMA20 vs EMA50, EMA50 vs EMA200, price vs EMA200) contributes points. A stock above its short-term EMAs but still below EMA200 now receives a partial score rather than zero.
- Momentum measures direction only — RSI and Stochastic no longer lose their points when readings run hot. Overbought/oversold is surfaced separately as an Exhaustion warning instead of silently reducing the score.
- Volume and volatility act as a quality gate — signals require meaningful relative volume and ATR expansion, not just a small score deduction.
- RRG (Relative Rotation) row — shows where the symbol sits versus a benchmark: Leading, Weakening, Lagging, or Improving, with RS-Ratio / RS-Momentum values and a direction arrow.
- Higher-timeframe confirmation row — displays the weekly (configurable) trend state to help avoid counter-trend setups.
- Clearer scoring scale — Bull/Bear score is now out of 10.
FEATURES
- EMA 10 / 20 / 50 / 200 — trend direction and structure
- MACD — momentum regime and fresh crossovers
- RSI (14) — zone reading with overbought/oversold background
- Stochastic K/D — momentum confirmation
- Relative Volume — participation filter
- ATR % — volatility filter
- RRG — relative strength quadrant versus a configurable benchmark (default SPY)
- HTF confirmation — higher-timeframe trend state
- Exhaustion flag — warns when momentum readings are stretched
- RSI Divergence — bull/bear divergence labels on chart
- Scoring system — Bull/Bear score out of 10
SIGNALS
Buy triggers on an EMA10/EMA20 crossover or a fresh MACD crossover, provided the score threshold and quality gate are met. Sell is symmetric. Score thresholds are adjustable in settings.
Dashboard displays real-time status of all components in one panel (top right). Alerts available for Buy, Strong Buy, Sell, Strong Sell, Bullish Divergence, Bearish Divergence, and RRG quadrant entries.
Best used on the Daily timeframe. Works across stocks, forex, crypto, and commodities, though the volume filter is most meaningful on symbols with reliable volume data.
NOTE
This is a technical analysis and visualization tool. It has not been backtested as a standalone trading system, and the scoring reflects current conditions rather than a validated edge. It does not constitute financial advice — always do your own research before making trading decisions. Gösterge

Multi-Timeframe ATR Stop & Contract Risk TableSummary
The Multi-Timeframe ATR Stop & Contract Risk Table is an educational risk-management tool that displays Average True Range (ATR) values from multiple lower timeframes in a single table. It converts ATR into points, ticks, and estimated dollar values to help traders compare current market volatility across intraday timeframes.
The indicator is intended to assist with trade planning and position sizing. It does not generate trade signals or recommend entries or exits.
Description
Average True Range (ATR) is a widely used volatility measurement that estimates the average movement of price over a specified lookback period.
This script displays ATR values from the following timeframes:
1 Minute
2 Minute
3 Minute
5 Minute
For each timeframe the table displays:
ATR in Points
ATR converted to Ticks
Estimated Full-Size Contract Dollar Value
Estimated Micro Contract Dollar Value
The calculations can use the chart symbol's point value automatically or a manually specified value when desired.
The indicator is designed to reduce mental calculations when comparing potential stop distances across multiple intraday timeframes.
Features
Multi-timeframe ATR calculations
Independent ATR length
Multiple ATR smoothing methods
RMA
SMA
EMA
WMA
Automatic symbol point-value detection
Optional manual point-value override
Estimated dollar risk for full-size contracts
Estimated dollar risk for micro contracts
Adjustable ATR multiplier
Adjustable contract quantities
Compact table positioned on the chart
Tooltips throughout the settings and table
How to Use
Select an ATR length appropriate for your market.
Choose the desired ATR smoothing method.
Confirm or manually enter the contract point value if necessary.
Adjust the ATR multiplier if your trading plan uses stops based on a fraction or multiple of ATR.
Use the table to compare recent volatility between the 1-, 2-, 3-, and 5-minute timeframes.
The displayed values may be useful when estimating stop distances and approximate monetary exposure before entering a trade.
Educational Notes
Average True Range measures recent volatility.
ATR does not indicate:
market direction
trend strength
probability of success
optimal entry locations
ATR should be interpreted together with the user's own market analysis and risk-management methodology.
Intended Use
This script is intended for educational and informational purposes.
It assists traders by presenting volatility information in a compact format that may reduce manual calculations during trade planning.
Limitations
Dollar values are estimates based on the selected point value and contract quantity.
Actual fills, slippage, commissions, and execution costs are not included.
Different markets may use different contract specifications.
ATR is a lagging volatility measure and should not be interpreted as a predictive indicator.
Originality Statement
This indicator was developed as an original implementation using Pine Script® v6.
The calculations use publicly documented ATR methodology available within TradingView's Pine Script® environment. The implementation, table layout, user interface, conversion logic, and visualization were written specifically for this script and are not copied from another published TradingView indicator. Gösterge

Gösterge

SPY Position Helper v1SPY Scalp Position Helper is a decision-support indicator designed for short-duration SPY trades on the one-minute chart. It combines higher-timeframe structure, momentum, trend strength, volatility, and nearby support or resistance to identify potential CALL and PUT setups.
Each setup receives a score based on:
* Confirmed four-hour market direction
* One-hour and intraday price structure
* VWAP and 200 EMA confluence
* RSI momentum
* MACD direction
* ADX trend strength
* Candle confirmation
* Available room before opposing structure
The indicator waits for the one-minute candle to close before producing a signal. When a qualifying setup appears, it displays a CALL or PUT marker with suggested SPY entry, invalidation, and target levels. It then monitors the position guide for structural failure, momentum deterioration, target completion, session expiration, or the maximum holding period.
Blue background shading indicates a developing setup that is close to qualifying but still requires confirmation. The dashboard displays the current market bias, CALL and PUT scores, nearby support and resistance, active stop and target levels, and time spent in the position guide.
This indicator does not execute trades or calculate option premiums. All entry, stop, and target values refer to SPY itself. Actual 0DTE option performance will also depend on strike selection, spread, liquidity, implied volatility, gamma, theta, and execution quality.
Designed for discretionary use, chart preparation, alerts, and process discipline. It should not replace independent judgment or risk management.
Gösterge

Cross Asset Sentiment Extremes OscillatorCross Asset Sentiment Extremes Oscillator (XSEO)
WHAT IT IS
XSEO is a composite sentiment oscillator that scores market emotion on a 0 to 100 scale and flags the extremes where mean reversion setups cluster. Readings near the bottom of the scale mark washed out fear of the kind that tends to appear near lows. Readings near the top mark crowded greed of the kind that tends to appear near highs. One script covers stocks, indices, and crypto.
TWO BASKETS, ONE ENGINE
The script reads the symbol type and loads the matching basket of external data automatically. A manual override is available in the settings.
Stocks and indices basket:
VIX implied volatility (inverted, high VIX means fear)
NYSE TRIN (inverted, heavy selling pressure means fear)
CBOE equity put/call ratio, ranked in daily context (inverted)
High yield credit spread (inverted, wide spreads mean risk aversion)
Percent of S&P 500 stocks above their 200 day average (breadth strength)
Percent of S&P 500 stocks above their 50 day average (faster breadth)
Crypto basket:
Perp to spot basis on BTC (a funding and leverage proxy, a rich premium means greed)
Coinbase premium versus Binance (US spot demand)
USDT dominance (inverted, cash parked in stables means fear)
ETH/BTC momentum (alt risk appetite)
DXY (inverted, a strong dollar means risk aversion)
Chart internals, active in both modes:
RSI percentile rank (momentum extreme)
Extension from the 200 bar mean
Realized volatility rank, inverted (calm means complacency, spikes mean fear)
HOW IT IS BUILT
Every component is converted to a percentile rank over a lookback window so that different units blend cleanly, and fear oriented series are inverted so that high always means greed. Feeds that only publish daily (put/call, credit spreads, breadth) are ranked inside a daily request and held between updates. Live feeds and the chart internals are ranked on the chart timeframe, so the line keeps moving intraday. Feeds that are unavailable on a given bar (weekends, holidays, closed sessions) are skipped from the average rather than zeroed, which keeps the oscillator honest on 24/7 crypto charts. The external basket and the internals are then blended with an adjustable weight and smoothed.
READING IT
Above the upper threshold (default 80) the market is in the extreme greed zone. Below the lower threshold (default 20) it is in the extreme fear zone. The line colors itself red when hot, green when cold, and gray in the middle, and the background tints inside the zones.
SIGNALS AND ALERTS
Two trigger styles are available.
Zone Exit (default): the buy fires when the oscillator crosses back up out of the fear zone, and the sell fires when it crosses back down out of the greed zone. This waits for the turn and avoids some knife catching.
Zone Entry: fires the moment an extreme zone is entered. Earlier and more aggressive.
Alert conditions are included for both long and short.
SETTINGS
Fear and greed thresholds. Lookback for chart timeframe ranks (in bars) and a separate lookback for daily feeds (in days). External data weight percent, with the remainder going to the chart internals. Smoothing length. An optional display of the external and internal subscores so you can see what is driving a reading.
DATA SOURCES
CBOE:VIX, USI:TRIN.NY, USI:PCCE, FRED:BAMLH0A0HYM2, INDEX:S5TH, INDEX:S5FI, BINANCE:BTCUSDT.P, BINANCE:BTCUSDT, COINBASE:BTCUSD, CRYPTOCAP:USDT.D, BINANCE:ETHBTC, TVC:DXY
TIMEFRAMES AND NOTES
Built for higher timeframe charts but usable intraday. On intraday charts the daily feeds step once per day while everything else updates live. Consider raising the chart timeframe lookback on fast charts, for example 300 to 700 bars on 15 minute charts. Values drawn from the developing daily bar update in real time until that bar closes, which is standard higher timeframe behavior. XSEO is a timing and context tool, not a complete system. It works best as a filter for mean reversion entries at levels you already care about. Nothing here is financial advice.
Concept credit: builds on the classic composite fear and greed approach of blending volatility, positioning, breadth, and credit data into a single gauge.
Gösterge

Gösterge

Gösterge

Gösterge

Gösterge

MTF Trend Context
MTF Trend Context is a decision-support panel that answers one question before you trade: does the current context allow a trade at all? It does not generate entry signals — it tells you when trend alignment, trend strength, distance from value, volatility and time of day justify looking for one, and tells you to stand aside the rest of the time.
WHAT IT DOES
It reads the trend on your chart timeframe plus two higher timeframes and condenses everything into a single verdict at the bottom of the panel:
🟢 LONGS ONLY — all three timeframes aligned up and the market is trending
🔴 SHORTS ONLY — all three timeframes aligned down and the market is trending
🟡 STRETCHED — WAIT PULLBACK — aligned, but price is too far from VWAP to chase
🟡 CONFLICT — WAIT — timeframes disagree
⛔ RANGE — NO TRADE — ADX below threshold
⛔ OFF HOURS — NO TRADE — outside your personal trading window (optional filter)
HOW IT WORKS
Trend score per timeframe: three conditions worth ±1 each — price vs fast EMA (20), fast EMA vs slow EMA (50), and price vs session VWAP. A full score on the chart timeframe plus agreement on both higher timeframes is required for alignment. Higher timeframes are picked automatically (5m → 15m + 1h, 15m → 1h + 4h, etc.) or set manually. On daily and higher timeframes the VWAP component is excluded automatically and the maximum score adjusts accordingly.
Range filter: when ADX on the chart timeframe is below the threshold (default 20) the verdict is forced to RANGE regardless of alignment. Trend strength is shown as a 5-block bar (ADX 10 → empty, ADX 40 → full).
Stretched price (anti-FOMO): the session VWAP is anchored to the daily session open (on CME futures, the 18:00 ET Globex open) with ±1σ and ±2σ bands. Beyond 2σ the price is considered stretched and the verdict switches to WAIT PULLBACK.
Volatility with a time-of-day baseline: the current ATR is compared against its own average at the same time of day over the last N sessions (default 10), not against a flat rolling average. Intraday volatility is strongly seasonal — a flat average would make quiet sessions such as Asia read "low" permanently. 100% = normal for this time of day. It needs roughly N sessions of chart history to fill in.
Daily levels: previous day high, low, close and the current session open, drawn only for the current session with optional name labels. The panel shows the nearest level, its distance and direction, and warns when a level sits in the way of a trade.
Trend age: bars since the current alignment started, classified as young / mature / late, so you know whether you are early or chasing.
Trading-hours filter (optional): define your own window and timezone; outside it the verdict is NO TRADE and all alerts are muted.
Session row: shows whether Asia, London or New York is active.
NON-REPAINTING
Higher-timeframe readings use the last CONFIRMED higher-timeframe bar (request.security with a offset and lookahead), so the values shown on historical bars are exactly what you would have seen live. The cost is one higher-timeframe bar of lag; the benefit is an honest history.
ALERTS
Three alert conditions — traffic light GREEN (longs), traffic light RED (shorts), and entering RANGE — plus matching alert() events, so a single alert with "Any alert() function call" covers everything. Recommended trigger: "Once per bar close".
SETTINGS
Every chart element (EMAs, EMA cloud, VWAP line and bands, stretched-zone fill, level lines and labels) has its own visibility toggle, color and width. Panel rows can be hidden one by one; panel position and text size are configurable.
NOTES AND LIMITATIONS
Designed with CME index futures on intraday charts in mind; works on any symbol, but on 24/7 markets the "day" follows the exchange's daily bar.
Defaults are tuned for 5-minute charts. On quiet sessions consider lowering the ADX threshold to 17–18.
This is a context filter, not a strategy. It does not tell you where to enter or exit, and a green or red verdict is not a prediction about any individual trade. Gösterge

Gösterge

Gösterge

Gösterge

Gösterge

Gösterge

SwingTrades-Long-30Mins
// =====================================================================================
// SwingTrades-Long-30Mins — WHAT THIS INDICATOR DOES AND HOW (read this first)
// =====================================================================================
// THIS IS HALF OF A PAIR
// SwingTrades-Long used to be one script covering 4 categories (MT, 3Q, TR, R). It
// has been split into two independent indicators so each runs on the timeframe that
// actually fits its checks:
// - SwingTrades-Long-Daily (companion script) — Category 1 (MT) + Category 2 (3Q).
// Runs on the DAILY chart. Answers: "is this stock structurally set up to buy,
// and is the trade worth the reward vs. risk?" Updates once per day.
// - SwingTrades-Long-30Mins (THIS script) — Category 3 (TR) + Category 4 (R).
// Runs on the 30-MINUTE chart. Answers: "right now, intraday, is this a safe
// moment to pull the trigger, and how big should the position be?" Updates
// every 30 minutes throughout the session.
// The two scripts are fully independent — each computes and displays its OWN 0-10
// score. There is no shared/combined score across the pair. Run both side by side
// (Daily chart + 30-min chart): use Daily to decide whether to even be watching a
// stock, and this 30-Min script to decide whether right now is the moment to act.
//
// PURPOSE OF THIS SCRIPT
// Scores a stock 0-10 on: (3) Trend Reading — is the stock overextended, and is the
// long bias ("innocent") still intact — and (4) Risk — does the reward-vs-risk still
// hold up live, is there room left to run today, and how big should the position be.
//
// WHERE DATA COMES FROM / DESIGN NOTE
// - Runs on a 30-MINUTE chart. Native 30-min `close` is used everywhere as the
// "current live price" — this is what makes the dashboard refresh in real time
// throughout the session instead of only once at the daily close.
// - Most of the actual THRESHOLDS (5-Day SMA, 20/50-Day SMA trend, ATR, prior-day
// R2 pivot, N-bar daily high for target, daily swing-low for stop) are still
// DAILY concepts, so they are pulled from the Daily timeframe in a single bundled
// request.security() call and reused throughout.
// - VWAP and "minutes since the session open" are computed natively/from real time
// since this script already runs on an intraday chart — no extra security() pull
// needed for those two.
// - The "minutes since open" and live-price checks are only meaningful while the
// market is open and bars are updating in real time; on closed historical bars
// they reflect that bar's snapshot, not true intrabar behavior.
//
// STEP-BY-STEP LOGIC
// STEP A — Inputs, grouped by category (plus a "Daily Reference" group for the
// lengths/lookbacks used to pull Daily-timeframe data).
// STEP B — One bundled request.security() call to the Daily timeframe for every
// daily-scale value this script needs (5/20/50 SMA + slopes, ATR, prior-day
// H/L/C, N-bar high, swing-low, today's open, close N days ago (extension
// check), today's running high/low, day-start timestamp).
// STEP C — Native intraday values: VWAP (resets each session) and "current price"
// (= native 30-min close).
// STEP D — 3. TREND READING (TR) — 5 scored checks + 2 unscored caution flags:
// a. Not overextended vs the Daily 5-SMA (distance measured in daily ATRs),
// also check to make sure price > Daily 5-SMA
// b. Not overextended vs summed daily true range over the last 2-5 days, to
// clarify: if price went too far in the last 2-3 days when compared to
// the summed ATR for those days, then avoid — measured as the NET price
// move over the last `extDays` days against that period's ATR budget
// c. Not too close to / above the prior day's classic R2 pivot
// d. Gap/VWAP OK — no gap today, OR price has returned near session VWAP
// after a gap
// e. Innocent bias — live price > daily 5-SMA and daily 20 & 50 SMA rising
// f. Guilty bias — live price < daily 5-SMA and daily
// 20 & 50 SMA both declining. VETOES the entire TR score to 0.
// g. First-5-minutes-after-open — separate WATCH
// warning, not folded into the score (temporary, not structural).
// STEP E — 4. RISK (R) — 3 checks + sizing outputs, category score /10:
// a. RvR >= minimum, computed live (daily N-bar high target vs. a stop =
// the wider of a daily structural swing-low and a daily-ATR-multiple
// stop, measured against the current live price)
// b. Room left in today's ATR range (today's running high-low, so far, as
// % of daily ATR)
// c. Adequate stop distance — stop is placed at least N daily ATRs away
// (enforced by construction, shown as an explicit check)
// + Suggested share size, $ position value, and $ stop level, sized off
// account equity and max risk % per trade (informational, not scored)
// STEP F — Overall score: TR and Risk category scores (0-10 each) are weighted
// (wTR/wR, auto-normalized) into one 0-10 score. There is no broader-market
// cap here — that safeguard lives in the companion Daily script.
// STEP G — Plots native VWAP and the pulled Daily 5-SMA.
// STEP H — Draws three configurable horizontal lines (+ optional price labels)
// projecting the current potential trade plan to the right of the chart:
// Entry (live 30-min close), Exit/Target (dTargetHigh from Step B), and
// Stop (stopLevel from Step E). Color, width, style, labels, and how far
// back the visible line segment starts are all inputs.
// STEP I — Builds the dashboard table.
// ===================================================================================== Gösterge

Ladder Levels
The Dynamic 100s & 20pt Increment Grid System is a purely mechanical, price-tracking visualizer that automatically surrounds the current price action with a highly structured, institutional-style number grid.
Instead of manually drawing horizontal levels for psychological numbers, this engine mathematically locks onto the nearest 100-point level and dynamically projects a 2,000-point grid (1,000 points above and 1,000 points below) that moves with the market in real-time.
Core Features
Major Psychological Levels (100s): The script automatically identifies the nearest whole 100-point boundary (e.g., 4100, 4200, 4300) and plots prominent, solid red lines to mark these heavy institutional and psychological barriers.
Minor Increments (20s): Within every 100-point block, the engine generates four minor sub-levels (20, 40, 60, and 80) drawn as subtle, dotted gray lines. These act as high-probability reaction zones for intraday scalps and lower-timeframe liquidity sweeps.
Dynamic Price Tracking: As the price trends upward or downward, the grid automatically shifts to ensure you are always framed perfectly in the center of the 1000-point range, preventing lines from rendering completely off-screen.
Memory Optimized: To prevent TradingView from lagging or collapsing under the weight of hundreds of drawings, the indicator utilizes a strict array-based cleanup function (barstate.islast). It only draws the grid on the live, active bar—constantly deleting and redrawing the lines without polluting your chart's history.
Best Used For:
Indices & Futures: Excellent for assets like NQ, ES, US30, or SPX where 100-point boundaries act as major support/resistance, and 20-point increments act as intraday structural steps.
ICT / Smart Money Concepts: Provides a rigid framework to anticipate liquidity sweeps (e.g., price sweeping a 20-point increment line before reversing back to the 100-point baseline).
Options Trading: Visually mapping out heavy strike price clusters which typically land on whole or 20-point increment numbers. Gösterge

SwingTrades-Long-Daily
// =====================================================================================
// SwingTrades-Long-Daily — WHAT THIS INDICATOR DOES AND HOW (read this first)
// =====================================================================================
// THIS IS HALF OF A PAIR
// SwingTrades-Long used to be one script covering 4 categories (MT, 3Q, TR, R). It
// has been split into two independent indicators so each runs on the timeframe that
// actually fits its checks:
// - SwingTrades-Long-Daily (THIS script) — Category 1 (MT) + Category 2 (3Q).
// Runs on the DAILY chart. Answers: "is this stock structurally set up to buy,
// and is the trade worth the reward vs. risk?" Updates once per day.
// - SwingTrades-Long-30Mins (companion script) — Category 3 (TR) + Category 4 (R).
// Runs on the 30-MINUTE chart. Answers: "right now, intraday, is this a safe
// moment to pull the trigger, and how big should the position be?" Updates
// every 30 minutes throughout the session.
// The two scripts are fully independent — each computes and displays its OWN 0-10
// score. There is no shared/combined score across the pair. Run both side by side
// (Daily chart + 30-min chart): use Daily to decide whether to even be watching a
// stock, and 30-Min to decide whether right now is the moment to act.
//
// PURPOSE OF THIS SCRIPT
// Scores a stock 0-10 on: (1) Multi-Timeframe Price Action — is price aligned with
// higher timeframes, the broader market, and in an uptrend structure — and (2) 3Q —
// where has it come from, where can it go, and is the reward-vs-risk worth it. Every
// threshold is a configurable input.
//
// WHERE DATA COMES FROM
// - Runs on a DAILY chart. Daily Fast/Mid/Slow SMA (defaults 20/50/200), a separate
// Daily 5-SMA (used only for the 30-min pattern check), ATR, and volume are native.
// - Weekly data (HTF alignment) uses its OWN independently configurable Fast/Mid/Slow
// SMA lengths (defaults 10/20/50) — Daily and Weekly lengths are no longer tied
// together. The benchmark symbol (broader market alignment) is also pulled via
// request.security(), on "D", reusing the Daily Mid SMA length.
// - The 30-minute timeframe is pulled via request.security() purely to help confirm
// the "pattern" check (1.b.i) — the Trend Reading / Risk checks that used to also
// reference intraday data now live entirely in the companion 30-min script.
//
// STEP-BY-STEP LOGIC
// STEP A — Inputs, grouped by category.
// STEP B — Daily-native series: Daily Fast/Mid/Slow SMA, a separate Daily 5-SMA, ATR,
// and their "rising" slope flags.
// STEP C — Multi-timeframe pulls: Weekly (HTF, using its own Fast/Mid/Slow lengths),
// Benchmark (broader market), 30-min (just the close, for the pattern check).
// STEP D — 1. MULTI-TIMEFRAME PRICE ACTION (MT) — 9 checks, category score /10:
// a. HTF Aligned (Weekly) — weekly close > rising Weekly Fast SMA, AND
// Weekly Fast SMA > Weekly Mid SMA > Weekly Slow
// SMA (a full weekly SMA-stack check, mirroring
// the Daily stack checks below)
// b. Broader Market Aligned — benchmark close > rising benchmark Daily Mid
// SMA
// c. Pattern Confirmed — Daily price above a rising Daily Fast SMA, AND
// the current 30-min close is above the Daily
// 5-SMA AND that Daily 5-SMA is sloped up (see
// pattern-recognition note below)
// d. Price > Daily Fast SMA
// e. Price > Daily Mid SMA
// f. Daily Fast SMA > Daily Mid SMA
// g. Daily Mid SMA > Daily Slow SMA
// h. Volume > configured minimum
// i. Daily Fast, Mid, AND Slow SMA all sloped up
// NOTE: true chart-pattern recognition (flags, H&S, triangles, etc.) can't
// be reliably automated in Pine. The Daily side of "pattern confirmed" is
// approximated as price trading above a rising short-term SMA; the 30-min
// side checks that the live 30-min price is above the Daily 5-SMA AND that
// the Daily 5-SMA itself is sloped up — not a full trend-structure test.
// STEP E — 2. 3Q — BASE / TARGET / RvR — 3 checks, category score /10:
// a. Good Base Position — where close sits (%) within the recent N-bar
// high/low range ("where has it come from?")
// b. Reward Potential — % distance from close to the recent M-bar high
// ("where can it go?")
// c. RvR >= minimum — reward (target - close) vs risk (close - a local
// ATR/swing-low stop) ("is it worth it?"). NOTE: this stop is only used
// to size the RvR ratio here; the companion 30-min script computes its
// own live stop / position size for actual order placement.
// STEP F — Overall score: MT and 3Q category scores (0-10 each) are weighted
// (wMT/wQ, auto-normalized) and averaged into one 0-10 score. If the
// broader market is NOT aligned (Step D.b failed), the score is hard-capped
// (default 3) regardless of how good everything else looks — "go with the
// market, very little tolerance against it."
// STEP G — Optionally plots the Daily Fast/Mid/Slow SMAs (off by default — toggle in
// "Chart Display") and builds the dashboard table.
// =====================================================================================
Gösterge
