Crash Survival Indicator (SPX, Weekly/Daily)Short description
SPX-focused risk context tool using 30WMA/ATR/ADX and distance to 30WMA, with optional Hindenburg-Omen breadth and macro add-ons. Weekly is primary; Daily provides early-warning. Educational only.
Full description (English first)
What it is
Crash Survival Indicator (CSI) is a rules-based risk context indicator for the S&P 500 index (SPX). It helps keep decisions data-driven during stress by combining four weekly conditions into a weighted risk score and presenting them in a readable dashboard. Optional breadth (Hindenburg Omen cluster proxy) and macro add-ons give additional context. This is not a buy/sell system.
Why it’s original and useful
Weekly core with confirmation: Four classic conditions (30WMA regime, ATR(14) trend, ADX(14) > 20 & rising, and % distance from 30WMA) feed a 0–100 score. A 2-of-3 gate (WMA down / ATR up / ADX>20↑) must confirm before “Danger,” reducing false spikes.
Daily Early-Warning: A separate daily preview flags conditions approaching the Danger threshold (with a streak filter). It’s a heads-up only, not a timeframe switch.
Scope control to avoid confusion: Signals (labels/alerts) are restricted to SPX on Weekly/Daily by design. The dashboard can be shown SPX-only or on all symbols (configurable).
Clarity for all users: Beginner card view (plain badges) and Pro table view (detailed chips) improve readability without hiding logic.
How it works (mechanics)
Weekly core (primary frame)
30WMA regime: price vs 30-week WMA; IN/OUT labels on crosses.
ATR(14): rising ATR counts as volatility stress.
ADX(14): risk weight when ADX > 20 and rising.
Distance to 30WMA: % deviation flags potential overheat.
Scoring & thresholds: Weighted sum → Caution ≥ 40, Danger ≥ 60 (defaults). Danger also requires the 2-of-3 gate above.
Daily Early-Warning: Uses daily versions of the same ideas to detect near-Danger conditions with a streak requirement (heads-up only).
Optional breadth (Hindenburg Omen proxy): Elevated new highs and new lows while the NYSE Composite is above its 50DMA, with deteriorating breadth momentum; requires cluster confirmation to reduce noise.
Optional macro add-ons: VIX regime, DXY strength, credit stress (HYG/LQD vs MA), and TNX trend each add adjustable weights.
Inputs (overview)
Scope & Mode: SPX primary/alt tickers; signal restriction to SPX + Weekly/Daily; dashboard visibility (SPX-only vs all symbols); Beginner or Pro display.
Label Policy: Weekly-only / Weekly-core + Daily-early (default) / All (W/D); lookback windows and minimum bar gaps to prevent clutter.
Scoring: Weights for 30WMA down, ATR up, ADX>20↑, Overheat; Caution/Danger thresholds; Overheat % (distance).
Hindenburg Omen (optional): NYSE Composite and High/Low/AD series; cluster requirement.
Macro add-ons (optional): Symbols + weights for VIX, DXY, HYG, LQD, TNX.
Early Warning (Daily): Near-Danger buffer and streak length.
Visuals & Alerts: Background shading, labels on/off, font size, dashboard position, runtime
alerts.
Alerts (contextual; not trade signals)
OUT — 30WMA Down Break (Weekly)
IN — 30WMA Reclaim (Weekly)
Risk ≥ Danger + 2-of-3 Gate
Hindenburg Omen Cluster detected
Early Warning (Daily near Danger, streak)
Alerts provide context only. They are not buy/sell instructions.
Intended use and limitations
Use the Weekly panel for decisions; treat Daily Early-Warning as a heads-up.
Best used as risk framing alongside your own process (position sizing, liquidity, event risk).
Breadth/macro inputs depend on your data source; if unavailable, keep add-ons off.
No forward-looking data or lookahead; designed to avoid repainting.
Disclaimer
For educational purposes only. Not financial advice, not an investment recommendation, and not a solicitation to buy or sell any security. Past performance does not guarantee future results. Users are solely responsible for their decisions and regulatory compliance.
Optional Korean addendum (append after English)
한국어 안내 요약: 본 지표는 위기 상황에서 감정보다 데이터를 우선할 수 있도록 리스크 맥락을 제공합니다. 주봉이 핵심, 일봉은 조기경보(Heads-up)이며, 매수/매도 신호가 아닙니다. 심프님의 프로토타입 철학을 살리되 SPX 한정 신호, 라벨/알림 정책, 선택형 오멘/매크로 기능, 초보/프로 대시보드 등 가독성을 개선했습니다. 투자 판단과 책임은 전적으로 사용자에게 있습니다.
Privacy & format
Visibility: Public
Source: Protected (no source disclosure), compliant with Publishing Rules
Language: English title & description first; Korean addendum optional
Screenshot guidance (for your gallery)
Weekly SPX showing dashboard at “Danger” with an OUT label.
Weekly SPX with Hindenburg Omen Cluster label and shaded background.
Daily SPX with Early-Warning label as weekly approaches Danger.
Beginner vs Pro dashboard comparison on SPX.
Author certification (paste if needed)
I certify this publication contains no promotions, links, or solicitations, complies with TradingView House Rules and Script Publishing Rules, uses Pine v5, and is intended solely for educational purposes with no performance claims.
Indicadores y estrategias
RSI VWAP v1 [JopAlgo]RSI VWAP v1.1 made stronger by volume-aware!
We know there's nothing new and the original RSI already does an excellent job. We're just working on small, practical improvements – here's our take: The same basic idea, clearer display, and a single, specially developed rolling line: a VWAP of the RSI that incorporates volume (participation) into the calculation.
Do you prefer the pure classic?
You can still use Wilder or Cutler engines –
but the star here is the VW-RSI + rolling line.
This RSI also offers the possibility of illustrating a possible
POC (Point of Control - or the HAL or VAL) level.
However, the indicator does NOT plot any of these levels itself.
We have included an illustration in the chart for this!
We hope this version makes your decision-making easier.
What you’ll see
The RSI line with a 50 midline and optional bands: either static 70/30 or adaptive μ±k·σ of the Rolling Line.
One smoothing concept only: the Rolling Line (light blue) = VWAP of RSI.
Shadow shading between RSI and the Rolling Line (green when RSI > line, red when RSI < line).
A lighter tint only on the parts of that shadow that sit above the upper band or below the lower band (quick overbought/oversold context).
Simple divergence lines drawn from RSI pivots (green for regular bullish, red for regular bearish). No labels, no buy/sell text—kept deliberately clean.
What’s new, and why it helps
VW-RSI engine (default):
RSI can be computed from volume-weighted up/down moves, so momentum reflects how much traded when price moved—not just the direction.
Rolling Line (VWAP of RSI) with pure VWAP adaptation:
Low volume: blends toward a faster VWAP so early, thin starts aren’t missed.
Volume spikes: blends toward a slower VWAP so a single heavy bar doesn’t whip the curve.
You can reveal the Base Rolling (pre-adaptation) line to see exactly how much adaptation is happening.
Adaptive bands (optional):
Instead of fixed 70/30, use mean ± k·stdev of the Rolling Line over a lookback. Levels breathe with the market—useful in strong trends where static bounds stay pinned.
Minimal, readable panel:
One smoothing, one story. The shadow tells you who’s in control; the lighter highlight shows stretch beyond your lines.
How to read it (fast)
Bias: RSI above 50 (and a rising Rolling Line) → bullish bias; below 50 → bearish bias.
Trigger: RSI crossing the Rolling Line with the bias (e.g., above 50 and crossing up).
Stretch: Near/above the upper band, avoid chasing; near/below the lower band, avoid panic—prefer a cross back through the line.
Divergence lines: Use as context, not as standalone signals. They often help you wait for the next cross or avoid late entries into exhaustion.
Settings that actually matter
RSI Engine: VW-RSI (default), Wilder, or Cutler.
Rolling Line Length: the VWAP length on RSI (higher = calmer, lower = earlier).
Adaptive behavior (pure VWAP):
Speed-up on Low Volume → blends toward fast VWAP (factor of your length).
Dampen Spikes (volume z-score) → blends toward slow VWAP.
Fast/Slow Factors → how far those fast/slow variants sit from the base length.
Bands: choose Static 70/30 or Adaptive μ±k·σ (set the lookback and k).
Visuals: show/hide Base Rolling (ref), main shadow, and highlight beyond bands.
Signal gating: optional “ignore first bars” per day/session if you dislike open noise.
Starter presets
Scalp (1–5m): RSI 9–12, Rolling 12–18, FastFactor ~0.5, SlowFactor ~2.0, Adaptive on.
Intraday (15m–1H): RSI 10–14, Rolling 18–26, Bands k = 1.0–1.4.
Swing (4H–1D): RSI 14–20, Rolling 26–40, Bands k = 1.2–1.8, Adaptive on.
Where it shines (and limits)
Best: liquid markets where volume structure matters (majors, indices, large caps).
Works elsewhere: even with imperfect volume, the shadow + bands remain useful.
Limits: very thin/illiquid assets reduce the benefit of volume-weighting—lengthen settings if needed.
Attribution & License
Based on the concept and baseline implementation of the “Relative Strength Index” by TradingView (Pine v6 built-in).
Released as Open-source (MPL-2.0). Please keep the license header and attribution intact.
Disclaimer
For educational purposes only; not financial advice. Markets carry risk. Test first, use clear levels, and manage risk. This project is independent and not affiliated with or endorsed by TradingView.
Anchored VWAP Polyline [CHE] Anchored VWAP Polyline — Anchored VWAP drawn as a polyline from a user-defined bar count with last-bar updates and optional labels
Summary
This indicator renders an anchored Volume-Weighted Average Price as a continuous polyline starting from a user-selected anchor point a specified number of bars back. It accumulates price multiplied by volume only from the anchor forward and resets cleanly when the anchor moves. Drawing is object-based (polyline and labels) and updated on the most recent bar only, which reduces flicker and avoids excessive redraws. Optional labels mark the anchor and, conditionally, a delta label when the current close is below the historical close at the anchor offset.
Motivation: Why this design?
Anchored VWAP is often used to track fair value after a specific event such as a swing, breakout, or session start. Traditional plot-based lines can repaint during live updates or incur overhead when frequently redrawn. This implementation focuses on explicit state management, last-bar rendering, and object recycling so the line stays stable while remaining responsive when the anchor changes. The design emphasizes deterministic updates and simple session gating from the anchor.
What’s different vs. standard approaches?
Baseline: Classic VWAP lines plotted from session open or full history.
Architecture differences:
Anchor defined by a fixed bar offset rather than session or day boundaries.
Object-centric drawing via `polyline` with an array of `chart.point` objects.
Last-bar update pattern with deletion and replacement of the polyline to apply all points cleanly.
Conditional labels: an anchor marker and an optional delta label only when the current close is below the historical close at the offset.
Practical effect: You get a visually continuous anchored VWAP that resets when the anchor shifts and remains clean on chart refreshes. The labels act as lightweight diagnostics without clutter.
How it works (technical)
The anchor index is computed as the latest bar index minus the user-defined bar count.
A session flag turns true from the anchor forward; prior bars are excluded.
Two persistent accumulators track the running sum of price multiplied by volume and the running sum of volume; they reset when the session flag turns from false to true.
The anchored VWAP is the running sum divided by the running volume whenever both are valid and the volume is not zero.
Points are appended to an array only when the anchored VWAP is valid. On the most recent bar, any existing polyline is deleted and replaced with a new one built from the point array.
Labels are refreshed on the most recent bar:
A yellow warning label appears when there are not enough bars to compute the reference values.
The anchor label marks the anchor bar.
The delta label appears only when the current close is below the close at the anchor offset; otherwise it is suppressed.
No higher-timeframe requests are used; repaint is limited to normal live-bar behavior.
Parameter Guide
Bars back — Sets the anchor offset in bars; default two hundred thirty-three; minimum one. Larger values extend the anchored period and increase stability but respond more slowly to regime changes.
Labels — Toggles all labels; default enabled. Disable to keep the chart clean when using multiple instances.
Reading & Interpretation
The polyline represents the anchored VWAP from the chosen anchor to the current bar. Price above the line suggests strength relative to the anchored baseline; price below suggests weakness.
The anchor label shows where the accumulation starts.
The delta label appears only when today’s close is below the historical close at the offset; it provides a quick context for negative drift relative to that reference.
A yellow message at the current bar indicates the chart does not have enough history to compute the reference comparison yet.
Practical Workflows & Combinations
Trend following: Anchor after a breakout bar or a swing confirmation. Use the anchored VWAP as dynamic support or resistance; look for clean retests and holds for continuation.
Mean reversion: Anchor at a local extreme and watch for approaches back toward the line; require structure confirmation to avoid early entries.
Session or event studies: Re-set the anchor around earnings, macro releases, or session opens by adjusting the bar offset.
Combinations: Pair with structure tools such as swing highs and lows, or with volatility measures to filter chop. The labels can be disabled when combining multiple instances to maintain chart clarity.
Behavior, Constraints & Performance
Repaint and confirmation: The line is updated on the most recent bar only; historical values do not rely on future bars. Normal live-bar movement applies until the bar closes.
No higher timeframe: There is no `security` call; repaint paths related to higher-timeframe lookahead do not apply here.
Resources: Uses one polyline object that is rebuilt on the most recent bar, plus two labels when conditions are met. `max_bars_back` is two thousand. Arrays store points from the anchor forward; extremely long anchors or very long charts increase memory usage.
Known limits: With very thin volume, the VWAP can be unavailable for some bars. Very large anchors reduce responsiveness. Labels use ATR for vertical placement; extreme gaps can place them close to extremes.
Sensible Defaults & Quick Tuning
Starting point: Bars back two hundred thirty-three with Labels enabled works well on many assets and timeframes.
Too noisy around the line: Increase Bars back to extend the accumulation window.
Too sluggish after regime changes: Decrease Bars back to focus on a shorter anchored period.
Chart clutter with multiple instances: Disable Labels while keeping the polyline visible.
What this indicator is—and isn’t
This is a visualization of an anchored VWAP with optional diagnostics. It is not a full trading system and does not include entries, exits, or position management. Use it alongside clear market structure, risk controls, and a plan for trade management. It does not predict future prices.
Inputs with defaults
Bars back: two hundred thirty-three bars, minimum one.
Labels: enabled or disabled toggle, default enabled.
Pine version: v6
Overlay: true
Primary outputs: one polyline, optional labels (anchor, conditional delta, and a warning when insufficient bars).
Metrics and functions: volume, ATR for label offset, object drawing via polyline and chart points, last-bar update pattern.
Special techniques: session gating from the anchor, persistent state, object recycling, explicit guards against unavailable values and zero volume.
Compatibility and assets: Designed for standard candlestick or bar charts across liquid assets and common timeframes.
Diagnostics: Yellow warning label when history is insufficient.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Swiftmap CVD Bubbles & HeatmapSession CVD Indicator is a powerful tool designed for traders analyzing market activity across major trading sessions: Asian (00:00–09:00), London (09:00–17:00), and New York (15:30–22:30) in CEST (UTC+2). It calculates Cumulative Volume Delta (CVD) for each session, providing insights into net buying or selling pressure. The indicator features a customizable heatmap inspired by Bookmap, with a gradient effect to visualize significant trades, along with optional bubbles and a session-based CVD table
Session-Based CVD: Tracks CVD separately for Asian, London, and New York sessions, with values frozen at the end of each session for easy comparison.
Gradient Heatmap: Displays buy-side (green) and sell-side (red) activity with a gradient effect, fading from intense color at the center to transparent edges, mimicking Bookmap’s visual style.
Lot Size Filter: Filters out small trades using a percentile-based threshold (bubble_percentile) to focus on significant market moves.
Bubbles for Big Trades: Visualizes large trades with customizable bubble sizes (tiny, small, normal, large, huge) based on delta strength.
Customizable Contrast: Adjusts heatmap visibility with a heatmap_contrast setting to filter out low-volume zones.
CEST Timezone: Hardcoded for CEST (UTC+2), ensuring accurate session timing for European traders.
CVD Table: Displays live or frozen CVD values in a table at the top-right of the chart, with green/red colors for positive/negative CVD.
How to Use
Add to Chart: Apply the indicator to a chart with volume data (e.g., EURUSD or BTCUSD on 1min–15min timeframes).
Set Timezone: Ensure your chart’s timezone is set to “Europe/Copenhagen” (CEST) for accurate session alignment.
Adjust Settings:
Session Times: Customize start/end times for Asian, London, and New York sessions (default: 00:00–09:00, 09:00–17:00, 15:30–22:30 CEST).
ATR Settings: Modify ATR Length (default 14) and ATR Threshold (default 0.5) to filter out small candles.
Lot Size Filter: Enable/disable with Use Lot Size Filter and adjust Big Trades Volume/Delta Percentile (default 50) to focus on significant trades.
Visuals: Toggle Show Bubbles, Minimal Mode (tiny dots only), Show Heatmap, and Show Debug Labels. Adjust Heatmap Contrast (default 0.3) to filter low-volume zones.
Warnings: Enable Show No Heatmap Zones Warning to display alerts if filters are too strict.
Interpret Results:
Table: View live CVD during a session or frozen CVD after it ends.
Heatmap: Green (buy-side) or red (sell-side) boxes (20 bars wide, 10 left/right) with gradient fading, indicating significant trades.
Bubbles: Circles above (buy) or below (sell) candles, sized by delta strength.
Debug Labels: Show volume and delta for each heatmap zone if enabled.
Settings
Session Times: Configure start/end times for each session in CEST.
ATR Length/Threshold: Filter neutral candles based on ATR (Average True Range).
Big Trades Volume/Delta Percentile: Set the threshold for significant trades (default 50).
Use Delta Filter: Choose between delta-based or volume-based filtering.
Use Aggressive Factor: Weight large price movements higher (default enabled).
Show Bubbles: Toggle bubbles for big trades.
Minimal Mode: Display only tiny bubbles if enabled.
Show Heatmap: Toggle the gradient heatmap.
Heatmap Contrast: Adjust (0–5) to filter out low-volume zones (lower = more zones).
Show Debug Labels: Display volume/delta for heatmap zones.
Show No Heatmap Zones Warning: Toggle warning for overly strict filters.
TrendShield Pro | DinkanWorldSmart Trailing Trend System Powered by EMA + ATR
TrendShield Pro is a powerful trend detection and trailing stop indicator designed for traders who rely on pure price movement and volatility tracking.
It dynamically adapts to market conditions using a combination of EMA (Exponential Moving Average) and ATR (Average True Range) to identify the active trend and place a visual trailing stop line.
🔍 How It Works
TrendShield Pro combines trend direction and volatility to create a self-adjusting trailing system:
EMA (Exponential Moving Average):
Smooths price fluctuations and identifies the overall market bias.
ATR (Average True Range):
Measures volatility to determine how far the trailing stop should follow the trend.
Dynamic Bands:
Two invisible thresholds are formed — up and down — around the EMA using the ATR and your chosen Factor value.
Trailing Logic:
When the EMA is rising, the Trailing Stop (TUp) locks in higher lows.
When the EMA is falling, the Trailing Stop (TDown) locks in lower highs.
The indicator switches trend automatically based on price crossing these trailing levels.
🧭 Visuals & Features
Green Trailing Line (Demand Trend): Indicates an active bullish trend.
Red Trailing Line (Supply Trend): Indicates an active bearish trend.
Arrow Signals:
🟢 Up Arrow → Bullish Trend Reversal
🔴 Down Arrow → Bearish Trend Reversal
Diamond Markers: Show points where the trailing line shifts, marking dynamic volatility changes.
⚙️ Inputs
Input Description
EMA Period Length of the Exponential Moving Average
ATR Period Period used for Average True Range calculation
Factor Multiplier for ATR-based volatility expansion
[Fune]-Trend Technology🌊 - Trend Technology
“Flow with the trend — read every wave.”
🎯 Concept
Micro EMA (White) – Short-term pulse
Mid EMA (Aqua) – Medium-term direction
Macro EMA (Orange) – Long-term flow
Mid- to long-term references:
100 EMA = Yellow (trend balance)
300 EMA = Blue (structural anchor)
In addition, the PLR (Periodic Linear Regression) reveals the cyclical rhythm of the market trend — a recurring regression curve that reflects the underlying heartbeat of price movement.
📊 Trend Logic Summary
Condition Color Meaning Action
Mid > Macro 🟢 Green background Bullish trend Look for long opportunities
Mid < Macro 🔴 Red background Bearish trend Look for short opportunities
PLR slope > 0 📈 Upward bias Confirms bullish momentum
PLR slope < 0 📉 Downward bias Confirms bearish momentum
Micro EMA (White) dominant ⚪ White background Neutral / Resting phase Stand aside and wait
🧭 Trading Guidance
🟢 Long Setup: Green background + PLR slope upward + price above 100/300 EMA
🔴 Short Setup: Red background + PLR slope downward + price below 100/300 EMA
⚪ No Trade: White background, EMAs converging, or PLR slope flattening
⚓ Philosophy of
“ (The Boat) is a vessel sailing across the ocean of the market.
The EMAs are its sails, the PLR its compass.
The trader holds the helm, while the divine wind guides the waves.
Only those who move with the current — not against it —
will one day reach the state of ‘mindless clarity.’”
Fish OrbThis indicator marks and tracks the first 15-minute range of the New York session open (default 9:30–9:45 AM ET) — a critical volatility period for futures like NQ (Nasdaq).
It helps you visually anchor intraday price action to that initial opening range.
Core Functionality
1. Opening Range Calculation
It measures the High, Low, and Midpoint of the first 15 minutes after the NY market opens (default 09:30–09:45 ET).
You can change the window or timezone in the inputs.
2. Visual Overlays
During the 15-minute window:
A teal shaded box highlights the open range period.
Live white lines mark the current High and Low.
A red line marks the midpoint (mid-range).
These update in real-time as each bar forms.
3. Post-Window Behavior
When the 15-minute window ends:
The High, Low, and Midpoint are locked in.
The indicator draws persistent horizontal lines for those values.
4. Historical Days
You can keep today + a set number of previous days (configurable via “Previous Days to Keep”).
Older days automatically delete to keep charts clean.
5. Line Extension Control
Each day’s lines extend to the right after they form.
You can toggle “Stop Lines at Next NY Open”:
ON: Yesterday’s lines stop exactly at the next NY session open (09:30 ET).
OFF: Lines extend indefinitely across the chart.
Seasonality Forecast 4H A seasonality indicator shows recurring patterns in data that occur at the same time each year, such as retail sales peaking during the holidays or demand for ice cream rising in the summer. These indicators are used in fields like business, economics, and finance to identify predictable, time-based fluctuations, allowing for better forecasting and strategic planning, like adjusting inventory or staffing levels. In trading, a seasonality indicator can show historical patterns, like an asset's tendency to rise or fall in a specific month, to provide additional context for decision-making.
Seasonality reasoning basically seasonality works most stably on the daily frame with the input parameter being trading day 254 or calendar day 365, ..
Use seasonal effects such as sell in May, buy Christmas season, or exploit factors such as sell on Friday, ... to track the price movement.
The lower the time frame, the more parameters need to be calculated and the more complicated. I have tried to code the version with 1 hour, 15 minutes and 4 hours time frames
On the statistical language R and Python, Pine script
Tradingview uses the exclusive and unique Pine language. There is a parameter limit, just need to change the number of forecast days or calculate shorter or only calculate the basic end time value, we seasonality still works
but the overall results are easily noisy and related to controlling the number of orders per week/month and risk management.
The 4-hour frame version works well because we exploit the seasonal factor according to the 4-hour trading session as a trading session
Every 4 hours we have an input value that corresponds to the Asian, European, and American trading sessions
4 hours - half a morning Asian session.4 hours - half an afternoon Asian session, 4 hours - half a morning European session, 4 hours - half an afternoon European session, similar to the US and repeat the cycle.
Input Parameter Declaration
Tradingview does not exist declaration form day_of_year = dayofyear(time) Pine Script v5:
Instead of using dayofyear, we manually calculate the number of days in a year from the time components.
// Extract year, month, day, hour
year_now = year(time)
month_now = month(time)
day_now = dayofmonth(time)
hour_now = hour(time)
// Precomputed cumulative days per month (non-leap year)
days_before_month = array.from(0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334)
// Calculate day-of-year
day_of_year = array.get(days_before_month, month_now - 1) + day_now
Input parameter customization window
Lookback period years default is 10, max - the number of historical bars we have, should only be 5 years, 10 years, 15 years, 20 years, 30 years.
Future project bar default is 180 bars - 1 month. We can adjust arbitrarily 6*24*254 - day/month/year
smoothingLength Smooth the data (1 = no smoothing)
offsetBars Move the forecast line left/right to check the past
How to use
Combine seasonality with Supply Demand, Footprint volume profile to find long-term trends or potential reversal points
day_of_year := day_of_year + ((is_leap and month_now > 2) ? 1 : 0)
// Compute bin index
binIndex = (day_of_year * sessionsPerDay) + math.floor(hour_now / 4)
binIndex := binIndex % binsPerYear // Keep within array bounds
The above is the manual code to replace day of year
Lorentzian Harmonic Flow - Temporal Market Dynamic Lorentzian Harmonic Flow - Temporal Market Dynamic (⚡LHF)
By: DskyzInvestments
What this is
LHF Pro is a research‑grade analytical instrument that models market time as a compressible medium , extracts directional flow in curved time using heavy‑tailed kernels, and consults a history‑based memory bank for context before synthesizing a final, bounded probabilistic score . It is not a mashup; each subsystem is mathematically coupled to a single clock (time dilation via gamma) and a single lens (Lorentzian heavy‑tailed weighting). This script is dense in logic (and therefore heavy) because it prioritizes rigor, interpretability, and visual clarity.
Intended use
Education and research. This tool expresses state recognition and regime context—not guarantees. It does not place orders. It is fully functional as published and contains no placeholders. Nothing herein is financial advice.
Why this is original and useful
Curved time: Markets do not move at a constant pace. LHF Pro computes a Lorentz‑style gamma (γ) from relative speed so its analytical windows contract when the tape accelerates and relax when it slows.
Heavy‑tailed lens: Lorentzian kernels weight information with fat tails to respect rare but consequential extremes (unlike Gaussian decay).
Memory of regimes: A K‑nearest‑neighbors engine works in a multi‑feature space using Lorentz kernels per dimension and exponential age fade , returning a memory bias (directional expectation) and assurance (confidence mass).
One ecosystem: Squeeze, TCI, flow, acceleration, and memory live on the same clock and blend into a single final_score —visualized and documented on the dashboard.
Cognitive map: A 2D heat map projects memory resonance by age and flow regime, making “where the past is speaking” visible.
Shadow portfolio metaphor: Neighbor outcomes act like tiny hypothetical positions whose weighted average forms an educational pressure gauge (no execution, purely didactic).
Mathematical framework (full transparency)
1) Returns, volatility, and speed‑of‑market
Log return: rₜ = ln(closeₜ / closeₜ₋₁)
Realized vol: rv = stdev(r, vol_len); vol‑of‑vol: burst = |rv − rv |
Speed‑of‑market (analog to c): c = c_multiplier × (EMA(rv) + 0.5 × EMA(burst) + ε)
2) Trend velocity and Lorentz gamma (time dilation)
Trend velocity: v = |close − close | / (vel_len × ATR)
Relative speed: v_rel = v / c
Gamma: γ = 1 / √(1 − v_rel²), stabilized by caps (e.g., ≤10)
Interpretation: γ > 1 compresses market time → use shorter effective windows.
3) Adaptive temporal scale
Adaptive length: L = base_len / γ^power (bounded for safety)
Harmonic horizons: Lₛ = L × short_ratio, Lₘ = L × mid_ratio, Lₗ = L × long_ratio
4) Lorentzian smoothing and Harmonic Flow
Kernel weight per lag i: wᵢ = 1 / (1 + (d/γ)²), d = i/L
Horizon baselines: lw_h = Σ wᵢ·price / Σ wᵢ
Z‑deviation: z_h = (close − lw_h)/ATR
Harmonic Flow (HFL): HFL = (w_short·zₛ + w_mid·zₘ + w_long·zₗ) / (w_short + w_mid + w_long)
5) Flow kinematics
Velocity: HFL_vel = HFL − HFL
Acceleration (curvature): HFL_acc = HFL − 2·HFL + HFL
6) Squeeze and temporal compression
Bollinger width vs Keltner width using L
Squeeze: BB_width < KC_width × squeeze_mult
Temporal Compression Index: TCI = base_len / L; TCI > 1 ⇒ compressed time
7) Entropy (regime complexity)
Shannon‑inspired proxy on |log returns| with numerical safeguards and smoothing. Higher entropy → more chaotic regime.
8) Memory bank and Lorentzian k‑NN
Feature vector (5D):
Outcomes stored: forward returns at H5, H13, H34
Per‑dimension similarity: k(Δ) = 1 / (1 + Δ²), weighted by user’s feature weights
Age fading: weight_age = mem_fade^age_bars
Neighbor score: sᵢ = similarityᵢ × weight_ageᵢ
Memory bias: mem_bias = Σ sᵢ·outcomeᵢ / Σ sᵢ
Assurance: mem_assurance = Σ sᵢ (confidence mass)
Normalization: mem_bias normalized by ATR and clamped into band
Shadow portfolio metaphor: neighbors behave like micro‑positions; their weighted net forward return becomes a continuous, adaptive expectation.
9) Blended score and breakout proxy
Blend factor: α_mem = 0.45 + 0.15 × (γ − 1)
Final score: final_score = (1−α_mem)·tanh(HFL / (flow_thr·1.5)) + α_mem·tanh(mem_bias_norm)
Breakout probability (bounded): energy = cap(TCI−1) + |HFL_acc|×k + cap(γ−1)×k + cap(mem_assurance)×k; breakout_prob = sigmoid(energy). Caps avoid runaway “100%” readings.
Inputs — every control, purpose, mechanics, and tuning
🔮 Lorentz Core
Auto‑Adapt (Vol/Entropy): On = L responds to γ and entropy (breathes with regime), Off = static testing.
Base Length: Calm‑market anchor horizon. Lower (21–28) for fast tapes; higher (55–89+) for slow.
Velocity Window (vel_len): Bars used in v. Shorter = more reactive γ; longer = steadier.
Volatility Window (vol_len): Bars used for rv/burst (c). Shorter = more sensitive c.
Speed‑of‑Market Multiplier (c_multiplier): Raises/lowers c. Lower values → easier γ spikes (more adaptation). Aim for strong trends to peak around γ ≈ 2–4.
Gamma Compression Power: Exponent of γ in L. <1 softens; >1 amplifies adaptation swings.
Max Kernel Span: Upper bound on smoothing loop (quality vs CPU).
🎼 Harmonic Flow
Short/Mid/Long Horizon Ratios: Partition L into fast/medium/slow views. Smaller short_ratio → faster reaction; larger long_ratio → sturdier bias.
Weights (w_short/w_mid/w_long): Governs HFL blend. Higher w_short → nimble; higher w_long → stable.
📈 Signals
Squeeze Strictness: Threshold for BB1 = compressed (coiled spring); <1 = dilated.
v/c: Relative speed; near 1 denotes extreme pacing. Diagnostic only.
Entropy: Regime complexity; high entropy suggests caution, smaller size, or waiting for order to return.
HFL: Curved‑time directional flow; sign and magnitude are the instantaneous bias.
HFL_acc: Curvature; spikes often accompany regime ignition post‑squeeze.
Mem Bias: Directional expectation from historical analogs (ATR‑normalized, bounded). Aligns or conflicts with HFL.
Assurance: Confidence mass from neighbors; higher → more reliable memory bias.
Squeeze: ON/RELEASE/OFF from BB
Squeeze Momentum with ADX Filter and Multi-Cycle WavesTitle:
Squeeze Momentum with ADX Filter and Multi-Cycle Waves
Description:
This indicator integrates three well-established technical analysis methodologies into a single oscillator to help traders assess volatility compression, trend strength, and cyclical momentum alignment:
Squeeze Momentum (TTM-style) – Based on Bollinger Bands and Keltner Channels, it identifies periods of low volatility ("the squeeze") followed by directional breakouts. The histogram reflects momentum using linear regression relative to a dynamic centerline. Positive values indicate upward momentum; negative values indicate downward momentum.
ADX with DI+/DI- (Welles Wilder, 1978) – The Average Directional Index is dynamically scaled to match the visual range of the Squeeze histogram. A user-defined Key Level (default: 32) serves as a reference threshold: when ADX rises above this level, it suggests a strong trend is present. DI+ (green) and DI- (red) show directional bias.
Multi-Cycle Waves (55/144/233) – Inspired by adaptive cycle analysis and MACD-style oscillators, these smoothed momentum waves help identify confluence across multiple timeframes. They are optional and appear as shaded areas when enabled.
Key Features:
The Squeeze Momentum Line appears as black/gray crosses at the zero level, indicating momentum polarity without visual clutter.
The Key Level is shown as a thick gray horizontal line, representing the ADX threshold in the scaled oscillator space.
ADX is plotted with increased line width (3) for better visibility.
All components are dynamically scaled to share the same vertical axis, enabling direct visual comparison.
Attribution:
Bollinger Bands: John Bollinger
Keltner Channels: Chester Keltner
Squeeze concept popularized by Linda Raschke and John Carter
ADX/DI system: J. Welles Wilder Jr.
Multi-cycle wave logic: inspired by John Ehlers’ work on market cycles
Integration, scaling logic, and visualization: © Carlos Mauricio Vizcarra (2025)
This script is published under the Mozilla Public License v2.0. It is open-source, non-promotional, and designed for educational and analytical use only. No investment advice is provided.
Proteus EMA SystemInstitutional-Grade EMA System
Overview and Originality
The Institutional-Grade EMA System is an advanced, multi-layered Exponential Moving Average (EMA) overlay indicator designed to provide institutional-level trend analysis, market regime identification, and trade signal generation. Unlike standard multi-EMA scripts that simply plot averages and basic crossovers, this indicator introduces a proprietary integration of features tailored for professional traders: customizable presets that dynamically adjust EMA lengths for specific trading styles (e.g., scalping vs. position trading), multiple selectable trend detection algorithms (including a unique multi-bar slope analysis with percentage-based strength thresholding), EMA alignment and confluence detection for spotting high-conviction trends and reversal zones, volume-based signal filtering, and a comprehensive statistics dashboard for real-time market insights.
What makes this script original and worthy of closed-source protection is the bespoke combination of these elements into a cohesive system. For instance, while basic EMA ribbons or trend coloring exist in other indicators, this script's trend detection goes beyond simple comparisons by incorporating a normalized slope percentage calculation (detailed below) to quantify trend strength on a 0-100% scale, integrated with EMA stacking checks and confluence thresholds. This proprietary logic—refined through extensive backtesting on diverse assets—allows for nuanced market regime classification (e.g., "Strong Uptrend" only when alignment, slope strength, and volume align), which isn't replicated in open-source alternatives. The closed-source format protects the exact orchestration of these algorithms, including custom threshold derivations and dashboard computations, preventing direct replication while allowing users full access to the tool's outputs. If published open-source, the unique mathematical formulations (e.g., slope-to-strength mapping) could be easily copied, diminishing its edge in competitive trading environments.
This indicator draws conceptual inspiration from institutional trend-following systems (e.g., those using multiple time-horizon EMAs like in hedge fund models), but enhances them with modern Pine Script capabilities for visual and analytical depth. It's particularly useful for traders seeking to reduce false signals in volatile markets by requiring multi-factor confluence.
What It Does
Core EMA Plotting and Visualization: Plots up to 7 EMAs (5 primary + 2 optional) with dynamic coloring based on detected trend direction and strength (strong bullish: bright green; weak: faded green; neutral: gray; etc.). Includes EMA ribbons (fills between consecutive EMAs) and clouds (broader fills between non-consecutive EMAs) to visualize trend expansion/contraction.
Trend Detection and Strength: Classifies trends as strong/weak bullish/bearish or neutral using user-selectable methods, with optional volume confirmation to filter low-conviction moves.
Advanced Analytics:
Detects EMA alignment (all EMAs stacked in ascending/descending order for bullish/bearish trends).
Identifies EMA confluence zones (tight clustering of EMAs, signaling potential reversals or consolidations).
Draws dynamic support/resistance lines from the nearest EMAs relative to price.
Signals and Alerts: Generates buy/sell signals on customizable EMA crossovers, only if volume thresholds are met. Includes alerts for crossovers, alignments, confluences, and regime shifts.
User Interface Enhancements: Background coloring for quick trend bias (e.g., green for uptrends, yellow for confluences), dynamic line widths (thicker for slower EMAs), trend state labels, and a table-based dashboard displaying metrics like market regime, trend strength percentage, EMA slopes in degrees, price distances to key EMAs, volume status, and alignment state.
Customization Presets: Pre-configured EMA lengths for Scalping (short, reactive: e.g., 5/8/13), Day Trading (balanced: 9/21/50), Swing Trading (medium-term: 20/50/100), Position Trading (long-term: 50/100/150), or fully custom.
The result is a versatile tool that adapts to any timeframe or asset, helping traders identify high-probability setups by combining trend momentum, volume, and EMA dynamics.
How It Works: Underlying Concepts and Calculations
Without revealing the full implementation, here's a transparent overview of the key concepts and methodologies to help users understand the indicator's logic:
EMA Calculation and Presets: EMAs are computed using standard exponential smoothing (weighting recent prices more heavily). Presets optimize lengths based on trading horizon—shorter for scalping to capture quick reversals, longer for position trading to filter noise. For example, Swing preset uses 20/50/100/150/200 to balance short-term pullbacks with long-term trends, derived from Fibonacci-inspired progressions for natural market rhythm alignment.
Trend Detection Methods: Users select from four algorithms for flexibility:
Multi-Bar Slope (Default): Calculates the average slope over a lookback period (e.g., 3 bars) as (current EMA value - EMA value ) / lookback. Normalizes to a percentage relative to the EMA value: slope_percent = (slope / EMA) * 100. Thresholds classify trends (e.g., >0.05% = strong bullish; 0.01-0.05% = weak; symmetric for bearish). This method draws from linear regression concepts but simplifies for real-time use, providing robust trend quantification over simple bar-to-bar changes.
Previous Bar: Compares current EMA to the prior bar's, with percentage change thresholds (e.g., >0.1% = strong) for quick momentum shifts.
EMA vs EMA: Measures the percentage difference between fast and slow EMAs (e.g., >2% = strong bullish), inspired by MACD-like divergence but applied directly to EMAs.
Price Position: Gauges price's percentage distance from the EMA (e.g., >1% above = strong bullish), similar to envelope channels but integrated into trend coloring.
Trend strength is further scored (0-100%) by averaging absolute slopes of key EMAs, scaled for dashboard display.
Volume Confirmation: Uses a simple moving average of volume over a user-defined length (default 20), requiring current volume to exceed it by a multiplier (default 1.2x) for signal validation. This filters out low-volume fakeouts, akin to institutional volume-weighted strategies.
EMA Alignment: Checks if all visible EMAs are in strict order (fastest highest in uptrends, lowest in downtrends) by iterating through active EMAs and verifying sequential relationships. Signals "ALIGNED" shapes when true, indicating stacked trends like in ribbon strategies but with programmatic validation.
EMA Confluence: Computes the average of active EMAs, then measures the maximum percentage deviation of any EMA from this average. If below a threshold (default 0.5%), marks a "CONFLUENCE ZONE" box, conceptually similar to Bollinger Band squeezes but applied to EMA clusters for reversal anticipation.
Market Regime Classification: Combines alignment, trend score (>30% for "strong"), and price position relative to slowest EMA. For example, bullish alignment + high score = "Strong Uptrend"; close clustering = "Consolidation". This heuristic draws from regime-switching models in quantitative finance.
Signals and Visuals: Crossovers between user-selected EMAs (e.g., fast #1 over slow #2) plot "BUY/SELL" shapes only if volume-confirmed. Ribbons use color fills (green/red) based on EMA order; background shades reflect regime; S/R lines extend from max/min EMAs below/above price over a lookback (default 50 bars).
These calculations ensure the indicator provides actionable, multi-confirmed insights rather than generic plots.
How to Use It
Setup: Add to your chart and select a preset (e.g., "Swing Trading" for 1H-4H charts). Customize trend method (start with "Multi-Bar Slope" for accuracy), enable volume filter for reliability, and toggle visuals like ribbons or dashboard.
Trend Following: In a "Strong Uptrend" (green background, upward slopes >30%, bullish alignment), go long above the fastest EMA. Use S/R lines for stops (below nearest support EMA).
Swing Trading Example: On a daily SPX chart with Swing preset:
Wait for "Weak Uptrend" transition to "Strong" (trend score >50%, positive slopes, volume spike).
Enter long on EMA1 (20) crossing EMA2 (50), confirmed by "BUY" signal.
Target next resistance EMA (e.g., 150), exit on bearish crossover or confluence zone (yellow box signaling potential top).
Risk: Stop below EMA3 (100); aim for 2:1 reward:risk on multi-day holds.
Scalp Trading Example: On a 5-min BTCUSD chart with Scalping preset:
Focus on quick "Weak Bullish" shifts (faded green EMAs, slope >0.01%).
Buy on EMA1 (5) crossing EMA3 (13) with high volume (>1.5x avg).
Scalp 0.2-0.5% gains, exit at slope flattening (dashboard shows <30% strength) or nearest resistance.
Avoid confluences (chop); use 1-min for entries, 15-min for bias.
General Tips:
Combine with price action (e.g., candlestick patterns at confluence zones).
Backtest presets on your asset—adjust thresholds for volatility (e.g., tighter confluence for forex).
Use alerts for hands-off monitoring; multi-timeframe analysis enhances accuracy (higher TF for regime, lower for signals).
For ranging markets ("Neutral" regime), fade extremes near S/R zones.
Examples for Swing Trading
Swing trading focuses on capturing medium-term moves (days to weeks) in trending markets. Use the "Swing Trading" preset, which sets EMAs to 20, 50, 100, 150, 200, 75, 125—balancing sensitivity and smoothness.
Bullish Setup Example: On a daily chart of AAPL, wait for a "Strong Uptrend" regime (green background, bullish alignment label, trend strength >50%). Enter long on a valid bullish crossover (green "BUY" circle) between EMA1 (20) and EMA2 (50), confirmed by high volume. Set stop below nearest support EMA (e.g., EMA3 at 100), target 2-3x risk or next resistance. Hold until bearish crossover or alignment breaks.
Bearish Setup Example: On a 4H chart of EURUSD, spot a "Strong Downtrend" (red background, bearish alignment). Short on a bearish crossover (red "SELL") between EMA1 and EMA3, with volume confirmation. Stop above nearest resistance EMA, exit on confluence zone (yellow) signaling potential reversal.
Tip: Focus on alignments for trend confirmation—avoid trading against them. Use confluence zones as profit-taking areas in ranging markets.
Examples for Scalp Trading
Scalping targets quick, short-term trades (minutes to hours) on lower timeframes. Select the "Scalping" preset for shorter EMAs (5, 8, 13, 21, 34, 55, 89) to catch rapid moves.
Bullish Setup Example: On a 1-min chart of BTCUSD, look for "Weak Uptrend" (faded green background, positive slopes). Enter long on a fast crossover (e.g., EMA1 over EMA2) with high volume and no confluence (avoid chop). Scalp for 0.5-1% gain, exit on slope flattening or bearish cross. Use tight stops below the fastest EMA.
Bearish Setup Example: On a 5-min chart of TSLA, identify "Weak Downtrend" (faded red). Short on a crossover between EMA2 and EMA3, confirmed by volume spike. Target small moves (e.g., 10-20 pips), exit at nearest support EMA or if trend strength drops below 30%.
Tip: Prioritize "Multi-Bar Slope" detection for quick trend shifts. Disable background if it's distracting; focus on crossovers and volume for high-frequency entries. Avoid during confluences, as they signal choppy conditions.
This detailed approach ensures traders can replicate setups while appreciating the indicator's original value. Feedback welcome—let's refine trading edges together!
Session Opens by TradeSeekersIt doesn't get much simpler than this indicator for futures traders wanting to track four key session open prices.
Sessions
1. ETH open - extended hours starts
2. Midnight open - new calendar day starts
3. CME open - Chicago exchange opens, data releases
4. RTH open - regular trading hours, volume cometh
Usage
All four of these prices / areas are important for futures traders to pay attention to.
RTH opens far below ETH sometimes will retrace, CME and RTH together can act as a powerful range.
Midnight open sometimes has little importance for the day, but then again it's provided beautiful bounces. Again each level I find to be impactful nearly every session, so I like to keep them close by in an understated manner.
Timezone
If you're not EST, adjust the timezone string accordingly (refer to TradingView docs for string formats).
Proximity Detection
Also, I added proximity detection that aims to keep level collisions from occurring. If a particular session open isn't shown it may be due to being exactly the same price as another open or it's too close to another open.
The proximity sensitivity can be adjusted in settings. The on chart appearance doesn't impact the alerting capability.
Aesthetics
I don't like boring charts so I added a fun "glow" effect, I went with a palette that reminded me of clear sky colors at those times of day (if you're EST).
Alerting
Alerting can be done with just a single alert, first open the indicator config and uncheck any session opens you don't want to be alerted on (why!?), and then use the standard alert menus in TradingView to set the alert on "Any alert() function call".
Why does this beautiful indicator exist?
While there are a handful of indicators that plot open prices with some overlap to this one, I didn't see any that alerted automatically without much fuss.
iFVG Ultimate+ | DodgysDDOVERVIEW
iFVG Ultimate+ | DodgysDD is a professional-grade visualization framework that automates the identification and management of Inversion Fair Value Gaps (IFVGs)
It is designed for analysts and educators studying institutional price behavior, liquidity dynamics, and displacement-based imbalances.
This indicator does not provide trading signals or forecasts.
All logic serves educational and analytical purposes only.
A Fair Value Gap (FVG) appears when strong directional displacement prevents candle bodies from overlapping.When a liquidity sweep occurs and price later closes through that gap, the imbalance is considered inverted. This often marks a shift in order-flow.
iFVG Ultimate+ tracks these transitions using a rule-based sequence:
Liquidity Sweep – Price sweeps a previous swing high or low.
Displacement – Body-to-body gap forms as price accelerates away.
Inversion – Full candle body closes through the gap after raid.
Validation and Tracking – Confirmed inversions are stored and managed until completion or invalidation.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
The framework serves as a research tool to document and analyze IFVG behavior within liquidity and session contexts.
It is commonly used to:
-Record and journal IFVG formations for back-testing and model study.
-Assess how often gaps complete or invalidate after sweeps.
-Evaluate session-based patterns (London, Asia, New York).
-Overlay HTF PD Arrays to observe inter-timeframe delivery.
-Receive custom alerts to your phone
-----------------------------------------------------------------------------------------------
LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ runs a five-stage validation process to ensure sequential, non-repainting behavior.
Liquidity Framework:
• Detects swing highs and lows on aligned timeframes (automatic or manual selection).
• Logs session highs/lows for Asia (20:00–00:00 NY) and London (02:00–05:00 NY).
• Includes data wicks around 08:30 NY for event reference.
FVG Detection and Displacement Filter:
• Identifies body-based imbalances using ATR-scaled sensitivity modes (Sensitive / Normal / Strict).
• Supports “Single” or “Series” modes to merge adjacent gaps.
• Excludes weak displacements using minimum ATR thresholds.
Inversion Validation:
• Confirms only when a complete candle body closes through a qualifying FVG within a user-defined window (6 or 15 bars).
• Duplicate detections are ignored; mitigation states are recorded.
HTF Context Integration:
• Maps higher-time-frame PD Arrays and tracks their delivery status.
• Labels active zones (e.g. “H4 PDA”) and updates on HTF close.
Model Lifecycle and Limits:
• Plots the inversion line and derives educational limit levels: Break-Even and Stop-Loss.
• Tracks until opposing liquidity is swept (model complete) or an invalidation event occurs.
-----------------------------------------------------------------------------------------------
COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------
-IFVG Line — Marks confirmed inversion at close.
-Break-Even / Stop-Loss Lines — Calculated retrospectively for journal grading.
-Session High/Low Markers — London and Asia reference levels.
-Data Wicks — 8:30 NY “DATA.H/L” labels for event volatility.
-SMTs — Compares current symbol to correlated instrument for divergence confirmation.
-Checklist Panel — Tracks liquidity, momentum, HTF delivery, and SMT conditions.
-Setup Grade Display — Computes qualitative score (A+ to C) based on met conditions.
-----------------------------------------------------------------------------------------------
INPUT CATEGORIES
-----------------------------------------------------------------------------------------------
General — Detection mode, ATR strictness, bias filter, long/short window.
Liquidity — Automatic or manual timeframe alignment, session visuals.
FVG — Color themes, label sizes, inversion color change, HTF inclusion.
Entry / Limits — Enable or hide Entry, Break-Even, and Stop-Loss levels.
Alerts — Individual toggles for IFVG formation, session sweeps, multi-TF inversions, and invalidations.
Display — Info Box, relationship table, and grade styling.
All alerts output plain text messages only and do not execute orders.
-----------------------------------------------------------------------------------------------
ALERT FRAMEWORK
-----------------------------------------------------------------------------------------------
When enabled, alerts may notify for:
-Potential inversion detected.
-Confirmed IFVG formation.
-Liquidity sweeps (high/low or session).
-Multi-time-frame inversion.
-Invalidation or close warning.
-Alerts serve as educational markers only, not trade triggers.
The user will have the ability to create custom messages for each of these alert events.
-----------------------------------------------------------------------------------------------
USAGE GUIDELINES
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ is suited for review and documentation of displacement-based price behavior.
Recommended educational workflows:
-Annotate IFVG events and review delivery into PD Arrays.
-Analyze frequency by session or timeframe.
-Assess how often IFVGs complete versus invalidate.
-Teach ICT-style liquidity mechanics in mentorship or training contexts.
-The indicator works across forex, futures, and crypto markets.
-----------------------------------------------------------------------------------------------
OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------
-HTF calculations finalize on bar close (no look-ahead).
-ATR filter strength affects small-gap visibility.
-Session windows use New York time.
-Break-Even and Stop-Loss lines are visual aids only.
-Performance depends on chart density and bar count.
-No strategy module or backtest engine is included.
-----------------------------------------------------------------------------------------------
ORIGINALITY AND PROTECTION
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ | DodgysDD integrates multiple independent systems into a single engine:
-PD Array context alignment with liquidity tracking.
-Dynamic session detection and macro data integration.
-Sequential IFVG validation pipeline with grade assignment.
-Multi-time-frame SMT confirmation module.
-Structured alerts and mitigation tracking.
The logic is entirely original, written in Pine v6, and protected as invite-only to preserve methodology integrity.
-----------------------------------------------------------------------------------------------
ATTRIBUTION
-----------------------------------------------------------------------------------------------
Core concepts such as Fair Value Gaps, Liquidity Sweeps, PD Arrays, and SMT Divergence are publicly taught within ICT-style market education. This implementation was designed and engineered by TakingProphets as iFVG Ultimate+ | DodgysDD, authored for TradingView publication by TakingProphets.
-----------------------------------------------------------------------------------------------
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is for educational and informational use only. It does not provide financial advice or predictive output. Historical patterns do not guarantee future results. All users remain responsible for their own decisions.Use of this script implies agreement with TradingView’s Vendor Requirements and Terms of Use.
-----------------------------------------------------------------------------------------------
ACCESS INSTRUCTIONS
-----------------------------------------------------------------------------------------------
Access is managed through TradingView’s invite-only framework. Users request access via private message to TakingProphets or access link
Moving Averages PowerMoving Averages Power — Trend + Normalized Strength
Lightweight indicator that plots up to 15 SMAs (5 → 4320) and shows a compact table with each MA’s:
Slope % (per-bar)
Trend (Bullish/Bearish/Neutral)
Normalized “Strength” bars comparable across MA lengths and, optionally, across timeframes via ATR%
Not financial advice. For research/education only.
What it does
Plots 15 SMA lines on the price chart
Colors match trend: Bullish (green), Bearish (red), Neutral (gray)
Bottom-right table: MA, Slope %, Trend, Strength bars
Strength normalization modes:
None: raw |slope%|
Length: scales by length relative to a reference length
ATR%: scales by volatility (ATR as % of price)
Length+ATR%: combines both for better cross-timeframe comparability
How it works (concepts)
Slope % per bar: 100 × (MA − MA ) / MA
Normalization:
None: S = |slope%|
Length: S = |slope%| × (length / normRefLen)
ATR%: S = |slope%| / ATR%, where ATR% = 100 × ATR(atrLen) / close
Length+ATR%: S = (|slope%| × (length / normRefLen)) / ATR%
Bars: floor(S / strengthStep), clamped to Max bars (default 10)
Notes:
normRefLen (default 240) keeps Length scaling stable across very short and very long MAs
In ATR modes, Strength shows blank until there’s enough history for ATR
How to use
Add the indicator to your chart (Indicators → search this title → Add).
Open Settings:
Show/hide any of the 15 SMAs
Choose Strength normalization mode
Tune Strength step, Max bars, Reference length, and ATR Length
Read the table:
MA: period
Slope %: per-bar percent change of the MA
Trend: green (bullish), red (bearish), gray (neutral)
Strength: more bars = stronger trend under the chosen normalization
Inputs (quick reference)
Display:
15 toggles: Show SMA 5 … Show SMA 4320
Strength Settings:
Strength normalization: None | Length | ATR% | Length+ATR%
Strength step (normalized units): sensitivity of bar count
Max bars: clamp for the bar count (default 10)
Normalization reference length: baseline for Length scaling (default 240)
ATR Length (for ATR%): ATR lookback used for ATR%
Text:
Label font size, Table font size
Line + label colors
Bullish (slope > 0): green
Bearish (slope < 0): red
Neutral (otherwise): gray
The MA lines, end-of-series labels, and table trend cell use the same colors
Recommended presets (examples)
Intraday (e.g., BTCUSD, 1h):
Strength normalization: Length+ATR%
normRefLen: 240
Strength step: 0.02–0.05
Max bars: 10
ATR Length: 14
Daily (e.g., AAPL, 1D):
Strength normalization: Length
normRefLen: 240–480
Strength step: 0.01–0.03
Max bars: 10
Calibration tips
Bars often at max (pegged)?
Increase Strength step (e.g., 0.01 → 0.03 → 0.05)
Or increase normRefLen (e.g., 240 → 480 → 720)
Bars too few?
Decrease Strength step (e.g., 0.02 → 0.01 → 0.005)
Or decrease normRefLen (e.g., 240 → 120)
Cross-timeframe comparability:
Prefer Length+ATR%; start with Strength step ≈ 0.02–0.05 and tune
Limitations
SMA only (no EMA/WMA/etc.)
Per-bar slope is inherently timeframe-sensitive; use ATR% or Length+ATR% for better cross-timeframe comparisons
ATR modes require atrLen bars; Strength shows blank until ready
The longest SMA (4320) needs sufficient chart history
Troubleshooting
Strength always looks maxed:
You might be on Length mode with a very small step; increase Strength step and/or use Length+ATR%; review normRefLen
Strength blank cells:
In ATR modes, wait for enough history (atrLen) or switch to Length mode
Table bounds:
The script manages rows internally; if you customize periods, ensure the total rows fit the 4×16 table
Compatibility
Pine Script v6
Works on most symbols/timeframes with adequate history
If you find this useful, consider leaving feedback with your preferred defaults (symbol/timeframe) so I can provide better presets.
NSR FVG High Time FramesIndicator Name : NSR FVG High Time Frames
Short Title : NSR FVGHTF
Description :The NSR FVG High Time Frames indicator identifies and visualizes Fair Value Gaps (FVGs) on higher timeframes (4-hour, Daily, and Weekly) directly on your chart. FVGs are price gaps formed between the high and low of non-consecutive candles, often indicating areas of market inefficiency that price may revisit. This indicator is designed for traders who incorporate multi-timeframe analysis into their strategies, providing a clear visual representation of bullish and bearish FVGs with customizable settings.
Unique Feature :Unlike traditional FVG indicators that mark a gap as closed when the current candle’s close crosses the gap’s boundaries, NSR FVG High Time Frames employs a distinctive closure logic. It allows an additional candle to determine whether the price re-enters the gap or continues beyond it. This approach provides a more nuanced assessment of gap closure, potentially reducing false signals by giving the market an extra candle to confirm its direction. This feature makes the indicator particularly suitable for traders seeking to validate FVG interactions with greater precision.
Key Features :
Multi-Timeframe Support : Detects FVGs on 4-hour, Daily, and Weekly timeframes, with options to enable or disable each timeframe.
Customizable Appearance : Users can adjust the visual style (Line, Dotted, Dashed) and colors for bullish and bearish FVGs, as well as enable/disable extension of FVG boxes to the right.
Flexible Lookback : Configurable lookback periods for entry (up to 10,000 candles) and FVG detection (up to 70 FVGs), allowing users to tailor the indicator to their trading style.
Minimum FVG Size : Set a minimum gap size (in ticks) to filter out insignificant FVGs, ensuring only meaningful gaps are displayed.
Closed FVG Removal : Option to automatically remove closed FVGs from the chart for a cleaner view.
Alert Integration : Generates alerts for new FVGs and changes in their status (e.g., verified, partial, closed), enabling traders to set up custom notifications.
How to Use :
Add to Chart : Apply the indicator to any chart. It works best on lower timeframes (e.g., 1H, 4H) to visualize higher-timeframe FVGs.
Configure Settings : Adjust the inputs in the settings panel:
Enable/disable 4-hour, Daily, or Weekly FVGs based on your analysis needs.
Set the lookback periods and minimum FVG size to match your trading strategy.
Customize colors and line styles for better chart readability.
Interpret FVGs :
Bullish FVGs (green boxes): Represent gaps where price may act as support, potentially attracting price back to the gap.
Bearish FVGs (red boxes): Represent gaps where price may act as resistance.
Boxes are drawn between the relevant high and low of the candles forming the FVG, with text labels indicating the timeframe (e.g., "4H", "D", "Weekly").
Monitor Closure : Watch for price interaction with FVGs. The indicator considers an FVG closed only after an additional candle confirms the price has moved beyond the gap or failed to re-enter it, unlike standard FVG indicators.
Set Alerts : Use the alert feature to receive notifications when new FVGs form or their status changes (e.g., "partial" or "closed").
Settings :
Entry Lookback (candles) : Number of candles to look back for FVG detection (default: 10,000).
Number of FVG to Lookback : Maximum number of FVGs to display (default: 70).
Minimum FVG Size : Minimum gap size in ticks (default: 5).
Remove Closed : Toggle to remove closed FVGs from the chart (default: true).
Show/Extend 4Hour/Daily/Weekly : Enable/disable FVGs for each timeframe and choose whether to extend boxes to the right.
Color and Style Options : Customize fill and border colors, and select line styles (Line, Dotted, Dashed) for each timeframe.
Use Cases :
Swing Trading : Identify potential support/resistance zones on higher timeframes for entry or exit points.
Price Action Analysis : Use FVGs to confirm market inefficiencies or reversal zones.
Multi-Timeframe Strategies : Combine with lower-timeframe indicators to align entries with higher-timeframe FVGs.
Notes :
The indicator is optimized for lower timeframes to display higher-timeframe FVGs. Avoid using it on Weekly or Monthly charts for Daily/Weekly FVGs to prevent overlap issues.
The unique closure logic may delay FVG closure signals compared to other indicators, which can help filter out premature closures but requires patience for confirmation.
Performance may vary on very low timeframes with large lookback periods due to the number of FVGs processed.
Disclaimer :This indicator is for informational purposes only and does not constitute financial advice. Always conduct your own analysis and test the indicator thoroughly before using it in live trading.
ILM Checklist [Nix]ILM Checklist and Ratings Indicator!
This is a checklist type guide for those that trade the ILM model and are having trouble rating setups on their own.
You can double click on the checklist to open its settings where you can select all the confluences you see on the chart while a setup is forming.
Then the checklist will give you a mechanical estimate of what rating would Nix give it.
Obviously discretion is important as an A+ mechanical setup if still an F setup if you are executing it during a news event.
I have also added a dark / light mode theme toggle to suit your chart.
LEGEND IsoPulse Fusion Universal Volume Trend Buy Sell RadarLEGEND IsoPulse Fusion • Universal Volume Trend Buy Sell Radar
One line summary
LEGEND IsoPulse Fusion reads intent from price and volume together, learns which features matter most on your symbol, blends them into a single signed Fusion line in a stable unit range, and emits clear Buy Sell Close events with a structure gate and a liquidity safety gate so you act only when the tape is favorable.
What this script is and why it exists
Many traders keep separate windows for trend, volume, volatility, and regime filters. The result can feel fragmented. This script merges two complementary engines into one consistent view that is easy to read and simple to act on.
LEGEND Tensor estimates directional quality from five causally computed features that are normalized for stationarity. The features are Flow, Tail Pressure with Volume Mix, Path Curvature, Streak Persistence, and Entropy Order.
IsoPulse transforms raw volume into two decaying reservoirs for buy effort and sell effort using body location and wick geometry, then measures price travel per unit volume for efficiency, and detects volume bursts with a recency memory.
Both engines are mapped into the same unit range and fused by a regime aware mixer. When the tape is orderly the mixer leans toward trend features. When the tape is messy but a true push appears in volume efficiency with bursts the mixer allows IsoPulse to speak louder. The outcome is a single Fusion line that lives in a familiar range with calm behavior in quiet periods and expressive pushes when energy concentrates.
What makes it original and useful
Two reservoir volume split . The script assigns a portion of the bar volume to up effort and down effort using body location and wick geometry together. Effort decays through time using a forgetting factor so memory is present without becoming sticky.
Efficiency of move . Price travel per unit volume is often more informative than raw volume or raw range. The script normalizes both sides and centers the efficiency so it becomes signed fuel when multiplied by flow skew.
Burst detection with recency memory . Percent rank of volume highlights bursts. An exponential memory of how recently bursts clustered converts isolated blips into useful context.
Causal adaptive weighting . The LEGEND features do not receive static weights. The script learns, causally, which features have correlated with future returns on your symbol over a rolling window. Only positive contributions are allowed and weights are normalized for interpretability.
Regime aware fusion . Entropy based order and persistence create a mixer that blends IsoPulse with LEGEND. You see a single line rather than two competing panels, which reduces decision conflict.
How to read the screen in seconds
Fusion area . The pane fills above and below zero with a soft gradient. Deeper fill means stronger conviction. The white Fusion line sits on top for precise crossings.
Entry guides and exit guides . Two entry guides draw symmetrically at the active fused entry level. Two exit guides sit inside at a fraction of the entry. Think of them as an adaptive envelope.
Letters . B prints once when the script flips from flat to long. S prints once when the script flips from flat to short. C prints when a held position ends on the appropriate side. T prints when the structure gate first opens. A prints when the liquidity safety flag first appears.
Price bar paint . Bars tint green while long and red while short on the chart to mirror your virtual position.
HUD . A compact dashboard in the corner shows Fusion, IsoPulse, LEGEND, active entry and exit levels, regime status, current virtual position, and the vacuum z value with its avoid threshold.
What signals actually mean
Buy . A Buy prints when the Fusion line crosses above the active entry level while gates are open and the previous state was flat.
Sell . A Sell prints when the Fusion line crosses below the negative entry level while gates are open and the previous state was flat.
Close . A Close prints when Fusion cools back inside the exit envelope or when an opposite cross would occur or when a gate forces a stop, and the previous state was a hold.
Gates . The Trend gate requires sufficient entropy order or significant persistence. The Avoid gate uses a liquidity vacuum z score. Gates exist to protect you from weak tape and poor liquidity.
Inputs and practical tuning
Every input has a tooltip in the script. This section provides a concise reference that you can keep in mind while you work.
Setup
Core window . Controls statistics across features. Scalping often prefers the thirties or low fifties. Intraday often prefers the fifties to eighties. Swing often prefers the eighties to low hundreds. Smaller responds faster with more noise. Larger is calmer.
Smoothing . Short EMA on noisy features. A small value catches micro shifts. A larger value reduces whipsaw.
Fusion and thresholds
Weight lookback . Sample size for weight learning. Use at least five times the horizon. Larger is slower and more confident. Smaller is nimble and more reactive.
Weight horizon . How far ahead return is measured to assess feature value. Smaller favors quick reversion impulses. Larger favors continuation.
Adaptive thresholds . Entry and exit levels from rolling percentiles of the absolute LEGEND score. This self scales across assets and timeframes.
Entry percentile . Eighty selects the top quintile of pushes. Lower to seventy five for more signals. Raise for cleanliness.
Exit percentile . Mid fifties keeps trades honest without overstaying. Sixty holds longer with wider give back.
Order threshold . Minimum structure to trade. Zero point fifteen is a reasonable start. Lower to trade more. Raise to filter chop.
Avoid if Vac z . Liquidity safety level. One point two five is a good default on liquid markets. Thin markets may prefer a slightly higher setting to avoid permanent avoid mode.
IsoPulse
Iso forgetting per bar . Memory for the two reservoirs. Values near zero point nine eight to zero point nine nine five work across many symbols.
Wick weight in effort split . Balance between body location and wick geometry. Values near zero point three to zero point six capture useful behavior.
Efficiency window . Travel per volume window. Lower for snappy symbols. Higher for stability.
Burst percent rank window . Window for percent rank of volume. Around one hundred to three hundred covers most use cases.
Burst recency half life . How long burst clusters matter. Lower for quick fades. Higher for cluster memory.
IsoPulse gain . Pre compression gain before the atan mapping. Tune until the Fusion line lives inside a calm band most of the time with expressive spikes on true pushes.
Continuation and Reversal guides . Visual rails for IsoPulse that help you sense continuation or exhaustion zones. They do not force events.
Entry sensitivity and exit fraction
Entry sensitivity . Loose multiplies the fused entry level by a smaller factor which prints more trades. Strict multiplies by a larger factor which selects fewer and cleaner trades. Balanced is neutral.
Exit fraction . Exit level relative to the entry level in fused unit space. Values around one half to two thirds fit most symbols.
Visuals and UX
Columns and line . Use both to see context and precise crossings. If you present a very clean chart you can turn columns off and keep the line.
HUD . Keep it on while you learn the script. It teaches you how the gates and thresholds respond to your market.
Letters . B S C T A are informative and compact. For screenshots you can toggle them off.
Debug triggers . Show raw crosses even when gates block entries. This is useful when you tune the gates. Turn them off for normal use.
Quick start recipes
Scalping one to five minutes
Core window in the thirties to low fifties.
Horizon around five to eight.
Entry percentile around seventy five.
Exit fraction around zero point five five.
Order threshold around zero point one zero.
Avoid level around one point three zero.
Tune IsoPulse gain until normal Fusion sits inside a calm band and true squeezes push outside.
Intraday five to thirty minutes
Core window around fifty to eighty.
Horizon around ten to twelve.
Entry percentile around eighty.
Exit fraction around zero point five five to zero point six zero.
Order threshold around zero point one five.
Avoid level around one point two five.
Swing one hour to daily
Core window around eighty to one hundred twenty.
Horizon around twelve to twenty.
Entry percentile around eighty to eighty five.
Exit fraction around zero point six zero to zero point seven zero.
Order threshold around zero point two zero.
Avoid level around one point two zero.
How to connect signals to your risk plan
This is an indicator. You remain in control of orders and risk.
Stops . A simple choice is an ATR multiple measured on your chart timeframe. Intraday often prefers one point two five to one point five ATR. Swing often prefers one point five to two ATR. Adjust to symbol behavior and personal risk tolerance.
Exits . The script already prints a Close when Fusion cools inside the exit envelope. If you prefer targets you can mirror the entry envelope distance and convert that to points or percent in your own plan.
Position size . Fixed fractional or fixed risk per trade remains a sound baseline. One percent or less per trade is a common starting point for testing.
Sessions and news . Even with self scaling, some traders prefer to skip the first minutes after an open or scheduled news. Gate with your own session logic if needed.
Limitations and honest notes
No look ahead . The script is causal. The adaptive learner uses a shifted correlation, crosses are evaluated without peeking into the future, and no lookahead security calls are used. If you enable intrabar calculations a letter may appear then disappear before the close if the condition fails. This is normal for any cross based logic in real time.
No performance promises . Markets change. This is a decision aid, not a prediction machine. It will not win every sequence and it cannot guarantee statistical outcomes.
No dependence on other indicators . The chart should remain clean. You can add personal tools in private use but publications should keep the example chart readable.
Standard candles only for public signals . Non standard chart types can change event timing and produce unrealistic sequences. Use regular candles for demonstrations and publications.
Internal logic walkthrough
LEGEND feature block
Flow . Current return normalized by ATR then smoothed by a short EMA. This gives directional intent scaled to recent volatility.
Tail pressure with volume mix . The relative sizes of upper and lower wicks inside the high to low range produce a tail asymmetry. A volume based mix can emphasize wick information when volume is meaningful.
Path curvature . Second difference of close normalized by ATR and smoothed. This captures changes in impulse shape that can precede pushes or fades.
Streak persistence . Up and down close streaks are counted and netted. The result is normalized for the window length to keep behavior stable across symbols.
Entropy order . Shannon entropy of the probability of an up close. Lower entropy means more order. The value is oriented by Flow to preserve sign.
Causal weights . Each feature becomes a z score. A shifted correlation against future returns over the horizon produces a positive weight per feature. Weights are normalized so they sum to one for clarity. The result is angle mapped into a compact unit.
IsoPulse block
Effort split . The script estimates up effort and down effort per bar using both body location and wick geometry. Effort is integrated through time into two reservoirs using a forgetting factor.
Skew . The reservoir difference over the sum yields a stable skew in a known range. A short EMA smooths it.
Efficiency . Move size divided by average volume produces travel per unit volume. Normalization and centering around zero produce a symmetric measure.
Bursts and recency . Percent rank of volume highlights bursts. An exponential function of bars since last burst adds the notion of cluster memory.
IsoPulse unit . Skew multiplied by centered efficiency then scaled by the burst factor produces the raw IsoPulse that is angle mapped into the unit range.
Fusion and events
Regime factor . Entropy order and streak persistence form a mixer. Low structure favors IsoPulse. Higher structure favors LEGEND. The blend is convex so it remains interpretable.
Blended guides . Entry and exit guides are blended in the same way as the line so they stay consistent when regimes change. The envelope does not jump unexpectedly.
Virtual position . The script maintains state. Buy and Sell require a cross while flat and gates open. Close requires an exit or force condition while holding. Letters print once at the state change.
Disclosures
This script and description are educational. They do not constitute investment advice. Markets involve risk. You are responsible for your own decisions and for compliance with local rules. The logic is causal and does not look ahead. Signals on non standard chart types can be misleading and are not recommended for publication. When you test a strategy wrapper, use realistic commission and slippage, moderate risk per trade, and enough trades to form a meaningful sample, then document those assumptions if you share results.
Closing thoughts
Clarity builds confidence. The Fusion line gives a single view of intent. The letters communicate action without clutter. The HUD confirms context at a glance. The gates protect you from weak tape and poor liquidity. Tune it to your instrument, observe it across regimes, and use it as a consistent lens rather than a prediction oracle. The goal is not to trade every wiggle. The goal is to pick your spots with a calm process and to stand aside when the tape is not inviting.
Breakdown or Buyable Dip? Pullback Depth Can HelpAs a common adage says, “the market doesn’t move in a straight line.” But when prices have fallen, it’s not always clear whether buying makes sense. That’s where today’s script may help.
Most traditional indicators judge movement based on price. That’s obviously important, but time can also be helpful. After all, there’s a big difference between probing a low from 2-3 weeks ago versus a low from months or even years in the past.
Pullback Depth clearly illustrates this by answering the question: “Today’s low is the lowest in how many bars?”
The resulting integer is plotted in a simple histogram. Values are always negative because bars with higher absolute values (meaning more negative, or further below zero) are potentially more bearish.
The study also has a maximum lookback period to avoid overwhelming the study with too many bars. Its default setting of 125 bars includes enough history to illustrate the trend.
The stock market’s recent run has seen only shallow pullbacks. Most dips have probed 1-2 weeks in the past, while Friday’s selloff only turned back the clock a month.
Consider two other previous moments.
First, the great bull run of 1995 saw only shallow pullbacks. (None exceeded 50 days.):
In contrast, early 2022 saw the S&P 500 test levels more than 100 candles into the past. It soon fell into an official “bear market:”
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. If you're born to trade, we could be for you. See our Overview for more.
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options or futures); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission and a futures commission merchant licensed with the Commodity Futures Trading Commission). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association, and a number of exchanges.
TradeStation Securities, Inc. and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., both operating, and providing products and services, under the TradeStation brand and trademark. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
Composite Stochastic Oscillator (CSO) [SharpStrat]Composite Stochastic Oscillator (CSO)
The Composite Stochastic Oscillator (CSO) is a refined momentum tool designed to improve on the limitations of the traditional stochastic indicator. Standard stochastics are often too sensitive, producing choppy signals and frequent false turns. CSO tackles this problem by combining multiple stochastic calculations, each with different lengths and smoothing settings, into a single, balanced output.
The goal of combining these stochastic variants is to create a more stable and reliable reading of market momentum. Each version of the stochastic captures different aspects of price behavior like shorter ones react faster, while longer ones filter noise. CSO brings them together mathematically to form a composite oscillator that reacts smoothly and consistently across varying market conditions. This makes it a useful improvement over the standard stochastic, providing traders with a more dependable signal while retaining the familiar interpretation framework.
How It Works
Calculates five independent stochastic oscillators with customizable K, D, and slowing parameters.
Each stochastic contributes to the final composite value according to its assigned weight, allowing the user to emphasize faster or slower reactions.
The resulting composite K is then smoothed into a D line using a chosen moving average method (SMA, EMA, WMA, or RMA).
The oscillator is plotted along with optional overbought/oversold levels and a color fill to enhance visual interpretation.
A compact on-chart table displays the current K and D readings for quick reference.
Comparison with normal Stochastic
Compared to a standard stochastic, the CSO generally produces smoother lines and fewer false flips. As evident in the comparison chart, this improves upon the normal stochastic by reducing noise and making signals more reliable, although results depend on parameter settings too.
How To Use It
Use the CSO exactly like a normal stochastic: look for crossovers, overbought/oversold zones, and divergences.
In practice, CSO should provides smoother and more consistent signals than the regular stochastic, especially in sideways or volatile markets.
When plotted beside a standard stochastic, you’ll notice CSO avoids many of the false reversals that clutter traditional readings.
Customization Options
Choice of smoothing method (SMA, EMA, WMA, RMA).
Full control over each stochastic component’s parameters and weights.
Adjustable overbought/oversold levels and display preferences.
Option to enable or disable the on-chart table and zone fills.
Note
This indicator is shared purely for educational and research purposes. It is not financial advice and should not be treated as a ready-made trading system.
I encourage you to experiment with different parameter values (periods, weights, smoothing) to explore how the behavior changes and to learn from the results.
SGM Gold Day Trading EMAsWhat it does
This tool plots four Exponential Moving Averages (EMAs) with practical default periods for gold intraday analysis: 9 (Momentum), 21 (Pullback), 50 (Trend Filter), and 200 (Macro). The goal is to provide a clear, multi-horizon structure so traders can quickly assess momentum, pullbacks, intermediate trend, and long-term bias on the same chart.
How it works (method)
Each line is a standard EMA computed on the close price.
The defaults map to common roles:
EMA 9 – Momentum: immediate changes in short-term flow.
EMA 21 – Pullback: typical retracement area within ongoing trends.
EMA 50 – Trend Filter: medium-term confirmation of direction.
EMA 200 – Macro: long-term bias and market context.
Optional dynamic color for EMA9/EMA21 highlights whether EMA9 ≥ EMA21 (green) or not (red). This is a visual aid only; it does not generate signals.
Originality & usefulness
The script focuses on clarity and control rather than automation. It combines a neutral, high-contrast palette with independent line thickness per EMA and an optional visual crossover mode. The configuration encourages disciplined analysis across time horizons without embedding opaque entry/exit logic.
Inputs & customization:
Periods: 9, 21, 50, 200 (all adjustable).
Colors: fully customizable for each EMA; optional crossover color mode for 9/21.
Line thickness: set individually per EMA to emphasize your primary reference.
How to use:
Add the script on any timeframe/asset (gold defaults are provided but not required).
Use EMA 200 for long-term bias; trade with caution against it.
Use EMA 50 to filter intermediate trend; prefer setups aligned with it.
Watch EMA 21 as a pullback reference within trends.
Use EMA 9 to gauge momentum around pullbacks/breakouts.
(Optional) Enable the crossover color to quickly see when momentum (9) is above/below pullback (21).
Notes & limitations:
This script does not produce buy/sell signals or alerts.
It is intended as a visual framework to support analysis and risk management.
Always validate with your own rules, risk controls, and market conditions.
Billionaire Gold ClubBillionaire Gold Club — Long-Term Gold Trend Follower
Overview
The Billionaire Gold Club indicator is designed for traders who follow the long-term bullish bias of Gold (XAU/USD).
It focuses only on BUY opportunities and encourages patience during market pullbacks.
The goal is to trade with the main trend, not against it.
Instructions
1. The script automatically plots 7MA (fast) and 200MA (slow).
2. When 7MA crosses above 200MA, a BUY signal appears.
3. When 7MA crosses below 200MA, a Standby signal appears — do not sell, just wait for the next BUY.
Usage Rules
• Recommended timeframe: 15-minute or higher.
• If used below 15 minutes, treat it as day trading — close trades within the same day.
• Focus on long-term holding and small lot sizes to protect your capital.
Signal Guide
🟢 BUY → Enter the trend direction.
🟠 Standby → Pause new entries and wait patiently.
Alerts
Set alerts to "Once per bar close":
• BUY Signal → Golden Cross confirmed.
• Standby Signal → Death Cross confirmed.
Philosophy
"Obey the rules, and your probability of success increases."
This system rewards patience, discipline, and long-term trend following.
Follow me for more TradingView scripts and updates.
Billionaire Gold Clubは、ゴールド(XAU/USD)の長期上昇トレンドに沿って取引するためのインジケーターです。
基本的にBUYのみを狙い、デッドクロス時はStandby(待機)状態として次のBUYを待ちます。
推奨時間軸:15分足以上。
15分未満で使用する場合はデイトレードとして同日中にクローズすることを推奨します。
ロットを小さく保ち、長期保有で安定した運用を目指してください。
Tweezer & Kangaroo Zones [WavesUnchained]Tweezer & Kangaroo Zones
Pattern Recognition with Supply/Demand Zones
Indicator that detects tweezer and kangaroo tail (pin bar) reversal patterns and creates supply and demand zones. Includes volume validation, trend context, and confluence scoring.
What You See on Your Chart
Pattern Labels:
"T" (Red) - Tweezer Top detected above price → Bearish reversal signal
"T" (Green) - Tweezer Bottom detected below price → Bullish reversal signal
"K" (Red) - Kangaroo Bear (Pin Bar rejection from top) → Bearish signal
"K" (Green) - Kangaroo Bull (Pin Bar rejection from bottom) → Bullish signal
Label Colors Indicate Pattern Strength:
Dark Green/Red - Strong pattern (score ≥8.0)
Medium Green/Red - Good pattern (score ≥6.0)
Light Green/Red - Valid pattern (score <6.0)
Zone Boxes:
Red Boxes - Supply Zones (resistance, potential short areas)
Green Boxes - Demand Zones (support, potential long areas)
White Border - Active zone (fresh, not tested yet)
Gray Border - Inactive zone (expired or invalidated)
Pattern Detection
Tweezer Patterns (Classic Double-Top/Bottom):
Flexible Lookback - Detects patterns up to 3 bars apart (not just consecutive)
Precision Matching - 0.2% level tolerance for high-quality signals
Wick Similarity Check - Both candles must show similar rejection wicks
Volume Validation - Second candle requires elevated volume (0.8x average)
Pattern Strength Score - 0-1 quality rating based on level match + wick similarity
Optional Trend Context - Can require trend alignment (default: OFF for more signals)
Kangaroo Tail / Pin Bar Patterns:
No Pivot Delay - Instant detection without waiting for pivot confirmation
Body Position Check - Body must be at candle extremes (30% tolerance)
Volume Spike - Rejection must occur with volume (0.9x average)
Rejection Strength - Scores based on wick length (0.5-0.9 of range)
Optional Trend Context - Bearish in uptrends, Bullish in downtrends (default: OFF)
Zone Management
Auto-Created Zones - Every valid pattern creates a supply/demand zone
Overlap Prevention - Zones too close together (50% overlap) are not duplicated
Lifetime Control - Zones expire after 400 bars (configurable)
Smart Invalidation - Zones invalidate when price closes through them
Styling Options - Choose between Solid, Dashed, or Dotted borders
Border Width - 2px width for better visibility
Confluence Scoring System
Multi-factor confluence scoring (0-10 scale) with configurable weights:
Regime (EMA+HTF) - Trend alignment across timeframes (Weight: 2.0)
HTF Stack - Multi-timeframe trend confluence (Weight: 3.0)
Structure - Higher lows / Lower highs confirmation (Weight: 1.0)
Relative Volume - Volume surge validation (Weight: 1.0)
Chop Advantage - Favorable market conditions (Weight: 1.0)
Zone Thinness - Tight zones = better R/R (Weight: 1.0)
Supertrend - Trend indicator alignment (Weight: 1.0)
MOST - Moving Stop alignment (Weight: 1.0)
Pattern Strength - Quality of detected pattern (Weight: 1.5)
Zone Retest Signals
Signals generated when zones are retested:
BUY Signal - Price retests demand zone from above (score ≥4.5)
SELL Signal - Price retests supply zone from below (score ≥5.5)
Normalized Score - Displayed as 0-10 for easy interpretation
Optional Trend Gate - Require trend alignment for signals (default: OFF)
Alert Ready - Built-in alertconditions for automation
Additional Features
Auto-Threshold Tuning - Adapts to ATR and Choppiness automatically
Session Profiles - Different settings for RTH vs ETH sessions
Organized Settings - 15+ input groups for easy configuration
Optional Panels - HTF Stack overview and performance metrics (default: OFF)
Data Exports - Hidden plots for strategy/library integration
RTA Health Monitoring - Built-in performance tracking
Setup & Configuration
Quick Start:
1. Apply indicator to any timeframe
2. Patterns and zones appear automatically
3. Adjust pattern detection sensitivity if needed
4. Configure zone styling (Solid/Dashed/Dotted)
5. Set up alerts for zone retests
Key Settings to Adjust:
Pattern Detection:
• Min RelVolume: Lower = more signals (0.8 Tweezer, 0.9 Kangaroo)
• Require trend context: Enable for stricter, higher-quality patterns
• Check wick similarity: Ensures proper rejection structure
Zone Management:
• Zone lifetime: How long zones remain active (default: 400 bars)
• Invalidate on close-through: Remove zones when price breaks through
• Max overlap: Prevent duplicate zones (default: 50%)
Scoring:
• Min Score BUY/SELL: Higher = fewer but better signals (default: 4.5/5.5)
• Component weights: Customize what factors matter most
• Signals require trend gate: OFF = more signals, ON = higher quality
Visual Customization
Zone Colors - Light red/green with 85% transparency (non-intrusive)
Border Styles - Solid, Dashed, or Dotted
Label Intensity - Darker greens for better readability
Clean Charts - All panels OFF by default
Understanding the Zones
Supply Zones (Red):
Created from bearish patterns (Tweezer Tops, Kangaroo Bears). Price made a high attempt to push higher, but was rejected. These become resistance areas where sellers may step in again.
Demand Zones (Green):
Created from bullish patterns (Tweezer Bottoms, Kangaroo Bulls). Price made a low with strong rejection. These become support areas where buyers may step in again.
Zone Quality Indicators:
• White border = Fresh zone, not tested yet
• Gray border = Zone expired or invalidated
• Thin zones (tight range) = Better risk/reward ratio
• Thick zones = Less precise, wider stop required
Trading Applications
Reversal Trading - Enter at pattern detection with tight stops
Zone Retest Trading - Wait for retests of established zones
Trend Confluence - Trade only when patterns align with trend
Risk Management - Use zone boundaries for stop placement
Target Setting - Opposite zones become profit targets
Pro Tips
Best signals occur when pattern + zone retest + trend all align
Lower timeframes = more signals but more noise
Higher timeframes = fewer but more reliable signals
Start with default settings, adjust based on your market
Combine with other analysis (structure, key levels, etc.)
Use alerts to avoid staring at charts all day
Important Notes
Not all patterns will lead to successful trades
Use proper risk management and position sizing
Patterns work best in trending or range-bound markets
Very choppy conditions may produce lower-quality signals
Always confirm with your own analysis before trading
Technical Specifications
• Pine Script v6
• RTA-Core integration
• RTA Core Library integration
• Maximum 200 boxes, 500 labels
• Auto-tuning based on ATR and Choppiness
• Session-aware threshold adjustments
• Memory-optimized zone management
What's Included
Tweezer Top/Bottom detection
Kangaroo Tail / Pin Bar detection
Automatic supply/demand zone creation
Volume validation system
Pattern strength scoring
Zone retest signals
Multi-factor confluence scoring
Optional HTF Stack panel
Optional performance metrics
Session profile support
Auto-threshold tuning
Alert conditions
Data exports for strategies
Author Waves Unchained
Version 1.0
Status Public Indicator
Summary
Reversal pattern detection with zone management, volume validation, and confluence scoring for tweezer and kangaroo tail patterns.
---
Disclaimer: This indicator is for educational and informational purposes only. Trading involves risk. Past performance does not guarantee future results. Always practice proper risk management.
CB Charts - GEX NQ/MNQ
Last Updated: 2025-10-14 12:59:34 PST
*DISCLAIMER: Only intended for NQZ2025/MNQZ2025 charts.
This indicator plots horizontal levels based on batched GEX levels for NQZ2025/MNQZ2025. The batched data is derived from contracts expiring: 0DTE, 1DTE, EoW, EoM, Next Week, Next Month and 3-months out. Labels are available for a high-level view of which levels are which. Hovering (or long-pressing on mobile TV) over the labels will display the nominal values and Rank. This script is manually updated and may not be always updated.
When and what to use:
- Most respected levels come from 1DTE, EoW and EoM.
- 0DTE is included for when this script becomes intraday updated. (CURRENTLY NOT UPDATED INTRADAY)
- Next Week setting is best used only for Friday and Sunday trading
- Next Month setting is best for weeks close to the end of the current month
Powered by the Camels of Wallstreet