USDT.D Precision USDT.D Candles: overlays candle OHLC for CRYPTOCAP:USDT.D using request.security, renders real candles via plotcandle() on the main chart (overlay=true). Precision configurable (3–4 dp), optional last-value readout. Hide the base symbol to view only the candles.
אינדיקטורים ואסטרטגיות
Bitcoin Gold Fair Value Model | FREEBitcoin Gold Fair Value Model | FREE
This script presents a quantitative model that explores the historical relationship between Bitcoin (BTCUSD) and Gold (TVC:GOLD).
It estimates Bitcoin’s fair value projection based on the price of gold, using a rolling regression model calculated over a user-defined lookback period (default: 1000 days).
📘 How It Works
The model fits a simple linear regression of Bitcoin’s daily close price versus Gold’s daily close price.
From this relationship, it computes a projected Bitcoin price based on today’s gold value, plotted forward by a chosen number of days (default: 65).
Confidence ranges (±1 standard deviation and 95% interval) help visualize the uncertainty around the projection.
A statistical panel displays the projected price, range estimates, and R² value, indicating the strength of correlation between the two assets.
⚙️ Features
Rolling regression using historical BTC and Gold data.
Forward fair-value projection line (customizable projection period).
1σ (standard deviation) and 95% confidence bands.
On-chart statistical summary with current model values.
Real-time updates when new daily data becomes available.
📊 How to Use
Recommended for use on the daily timeframe with the INDEX:BTCUSD symbol.
The model provides a statistical estimate of Bitcoin’s price relative to gold trends, not a trading signal.
The R² value can be used to assess the current strength of correlation - higher R² suggests a more stable relationship, while lower values indicate weaker or changing dynamics.
⚠️ Important Notes
This indicator is intended for educational and analytical purposes only.
It does not predict prices or provide financial advice.
Relationships between assets can and do change over time.
Always perform your own research and use additional tools for confirmation.
智能资金概念-NEWSmart Fund Concept-NEW
Smart Fund Concept-NEW
Smart Fund Concept-NEW
Smart Fund Concept-NEW
Smart Fund Concept-NEW
[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.’”
SFC Bollinger Band and Bandit StrategySFC Bollinger Band and Bandit Strategy
概述 (Overview)
SFC 布林通道與海盜策略 (SFC Bollinger Band and Bandit Strategy) 是一個基於 Pine Script™ v6 的技術分析指標,結合布林通道 (Bollinger Bands)、移動平均線 (Moving Averages) 以及布林海盜 (Bollinger Bandit) 交易策略,旨在為交易者提供多時間框架的趨勢分析與進出場訊號。該腳本支援風險管理功能,並提供視覺化圖表與交易訊號提示,適用於多種金融市場。
This script, written in Pine Script™ v6, combines Bollinger Bands, Moving Averages, and the Bollinger Bandit strategy to provide traders with multi-timeframe trend analysis and entry/exit signals. It includes risk management features and visualizes data through charts and trading signals, suitable for various financial markets.
Bollinger Breakout with RSI and RVI ConfirmationThe K stick breaks through the upper and lower rails of the Bollinger Band,
At the same time, the RSI is overbought or oversold.
Then add the RVI (RVGI) double cross-reversal confirmation.
With these three indicators, you can be more certain about whether to enter the market long or short.
Triple Supertrend (7,3) + (7,2) + (10,4)it gives 3 kind of supertrend collectively together and also give signals when all supertrend change colors in a single candle
MTP Pro — Fixed (v6)Forecast price by using some statistic
this project is not finished yet and all of my project are unfinished please refrain from using them.
do visit my project and once it is finish i will update a new one.
i focus mainly on scalping
☸Gap Detector [NHP]🔶This is a Pine Script code for a “Gap Detector” study in TradingView. The script scans for gaps in the price chart and labels them as either ‘🟢Bull gap’ or ‘🔴Bear gap’. Here’s a brief explanation of the code:
🔶Length and Width are user inputs that define the number of bars to look back and the width of the lines drawn, respectively.
➡️Gap_start and gap_end are variables that store the start and end of a gap.
➡️Gap_bull and gap_bear are boolean variables that indicate whether a bull or bear gap has been detected.
🔶Inf_gap and sup_gap are variables that store the lower and upper bounds of a gap.
The script then iterates over the specified length of bars. If a gap is detected (a high price that is lower than the previous bar’s low price for a bull gap, or a low price that is higher than the previous bar’s high price for a bear gap), it calculates the size of the gap and draws lines and labels on the chart if the gap is larger than 5 pips. ( pips meaning percentage in point)
🔶All content provided is for informational & educational purposes only. Past performance does not guarantee future results.
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.
Trend Flow Trend Flow — by Volume Hub
A clean momentum-based trend map built around EMA 21, EMA 50, and EMA 200.
TrendFlow helps you instantly see whether price is flowing with the trend or fighting against it.
When price trades above the short-term EMAs, momentum is bullish — when it falls below, the flow reverses.
🟢 How to use
Buy bias: when price is above EMA 21 & EMA 50 and both are aligned above the EMA 200.
The green zone between 21 & 50 acts as a dynamic support channel — ideal for pullback entries.
Sell bias: when price is below EMA 21 & EMA 50 and both are under the EMA 200.
The red zone highlights a resistance channel — look for rejection or continuation setups.
Neutral zone: when EMAs are tangled or flat — stay patient until structure expands again.
⚙️ Features
Soft, low-opacity EMA 21 & 50 for clear channel view
Dynamic EMA 200 color shift (green = bullish / red = bearish / gray = neutral)
Automatic color fill between EMA 21 & 50 for instant trend-strength feedback
🎯 Purpose
Designed for traders who prefer clean price structure and disciplined trend confirmation.
Use TrendFlow as your core directional filter — pair it with your own entry logic, liquidity zones, or volume confirmations.
📈 Created by: Volume Hub
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
Combined Multi MAs with Floor Pivots and CPR ramlakshmanCombined Multi MAs with Floor Pivots and CPR ramlakshman das
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
CRT Efficiency Backtester (Romeo Style)30 day look back period CRT Efficiency Backtester (Romeo Style)
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
🏆 GoldTradePro AutoCycle v5.0To trigger my alerts, this script is brilliant, a sensational indicator. Ask me for more if you're interested.
WRSignalsTimeframe ADX Smoothing DI Length ADX Threshold
1–5 min 1–2 7–10 20–25
15m–1h 2–3 10–14 25–30
4h–1d 3–5 14–20 20–25