Alpha Hunter System [MTF + Risk Manager] by Amit NamdeoThis is a comprehensive, "Institutional-Grade" Trend Following System. It is designed not just to give signals, but to filter out bad trades, manage risk automatically, and help you exit at the right time.
Here is a breakdown of exactly how your script works:
1. The Core Engine (High/Low Channel)
The Foundation: Instead of a single line, the script creates a Channel using two Exponential Moving Averages (EMAs).
Green Line: 50 EMA calculated on the Highs of the candles.
Red Line: 50 EMA calculated on the Lows of the candles.
The Logic: This creates a "No-Trade Zone" in the middle.
BUY Signal: Generated when price forcefully breaks above the Green High band.
SELL Signal: Generated when price forcefully breaks below the Red Low band.
2. The "Smart Filters" (Safety Mechanisms)
To prevent false signals (whipsaws), the script checks three separate conditions before showing a Buy or Sell label:
A. Sensitivity Filter (ATR): The price must not just touch the line; it must break it by a specific margin (based on Volatility/ATR). This filters out small wicks.
B. Volume Filter: A breakout is ignored if the Volume is low. The script requires the breakout candle's volume to be higher than the recent average. This ensures "Smart Money" supports the move.
C. Sideways Filter (ADX): Uses the Average Directional Index (ADX). If the trend is weak (ADX < 20), the channel turns Gray and blocks all signals. This saves you from trading in choppy, flat markets.
D. Multi-Timeframe (MTF) Consensus: This is the "60% Rule." The script secretly checks the trend on the 5m, 15m, 1H, 4H, and Daily charts. It only allows a signal if the majority of these timeframes agree with the direction.
3. Automatic Risk Management
This feature automates the math that professional traders usually do in Excel:
Dynamic Stop Loss (SL):
On a Buy, the SL is set to the Red (Low) Band.
On a Sell, the SL is set to the Green (High) Band.
Why? This adapts the SL to the current market volatility.
Take Profit Targets (TP):
It calculates your Risk (Entry - SL).
TP1: 1.5x Risk.
TP2: 2.5x Risk.
TP3: 4.0x Risk.
Visuals: It draws these lines on the chart immediately when a signal appears, so you know exactly where to place your orders.
4. Trailing Stop (The Purple Line)
What it is: A dynamic Purple Line that appears behind the candles.
How it works: It acts like a "Chandelier Exit."
As price moves in your favor, the line moves up to lock in profit.
It never moves backward.
Exit Rule: If a candle closes across this purple line, the trend is likely over, and you should exit.
Live Label: A label follows the line showing the exact price (e.g., "Trail SL: 1950.2") so you can update your order easily.
5. Alerts & Dashboard
Dashboard (Top Right): A live status panel showing:
Current Trend (Bullish/Bearish/Sideways).
MTF Consensus (Are the other timeframes agreeing?).
Volume Status (Pass/Fail).
Alerts: You can set phone/desktop notifications for:
Entries: Buy/Sell.
Targets: TP1, TP2, TP3 Hit.
Safety: Trailing Stop Hit (Exit trade).
Summary of Visual Colors
🟢 Green Channel: Bullish Trend (Look for Buys).
🔴 Red Channel: Bearish Trend (Look for Sells).
⚪ Gray Channel: Sideways Market (Do Not Trade).
🟣 Purple Line: Your Trailing Stop Loss.
A-trend
Cumulative Volume Delta (CVD) Suite [QuantAlgo]🟢 Overview
The Cumulative Volume Delta (CVD) Suite is a comprehensive toolkit that tracks the net difference between buying and selling pressure over time, helping traders identify significant accumulation/distribution patterns, spot divergences with price action, and confirm trend strength. By visualizing the running balance of volume flow, this indicator reveals underlying market sentiment that often precedes significant price movements.
🟢 How It Works
The indicator begins by determining the optimal timeframe for delta calculation. When auto-select is enabled, it automatically chooses a lower timeframe based on your chart period, e.g., using 1-second bars for minute charts, 5-second bars for 5-minute charts, and progressively larger intervals for higher timeframes. This granular approach captures volume flow dynamics that might be missed at the chart level.
Once the timeframe is established, the indicator calculates volume delta for each bar using directional classification:
getDelta() =>
close > open ? volume : close < open ? -volume : 0
When a bar closes higher than it opens (bullish candle), the entire volume is counted as positive delta representing buying pressure. Conversely, when a bar closes lower than its open (bearish candle), volume becomes negative delta representing selling pressure. This classification is applied to every bar in the selected lower timeframe, then aggregated upward to construct the delta for each chart bar:
array deltaValues = request.security_lower_tf(syminfo.tickerid, lowerTimeframe, getDelta())
float barDelta = 0.0
if array.size(deltaValues) > 0
for i = 0 to array.size(deltaValues) - 1
barDelta := barDelta + array.get(deltaValues, i)
This aggregation process sums all the individual delta values from the lower timeframe bars that comprise each chart bar, capturing the complete volume flow activity within that period. The resulting bar delta then feeds into the various display calculations:
rawCVD = ta.cum(barDelta) // Cumulative sum from chart start
smoothCVD = ta.sma(rawCVD, smoothingLength) // Smoothed for noise reduction
rollingCVD = math.sum(barDelta, rollingLength) // Rolling window calculation
Note: This directional bar approach differs from exchange-level orderflow CVD, which uses tick data to separate aggressive buy orders (executed at the ask price) from aggressive sell orders (executed at the bid price). While this method provides a volume flow approximation rather than pure tape-reading precision, it offers a practical and accessible way to analyze buying and selling dynamics across all timeframes and instruments without requiring specialized data feeds on TradingView.
🟢 Key Features
The indicator offers five distinct visualization modes, each designed to reveal different aspects of volume flow dynamics and cater to various trading strategies and market conditions.
1. Oscillator (Raw): Displays the true cumulative volume delta from the beginning of chart history, accompanied by an EMA signal line that helps identify trend direction and momentum shifts. When CVD crosses above the signal line, it indicates strengthening buying pressure; crosses below suggest increasing selling pressure. This mode is particularly valuable for spotting long-term accumulation/distribution phases and identifying divergences where CVD makes new highs/lows while price fails to confirm, often signaling potential reversals.
2. Oscillator (Smooth): Applies a simple moving average to the raw CVD to filter out noise while preserving the underlying trend structure, creating smoother signal line crossovers. Use this when trading trending instruments where you need confirmation of genuine volume-backed moves versus temporary volatility spikes.
3. Oscillator (Rolling): Calculates cumulative delta over only the most recent N bars (configurable window length), effectively resetting the baseline and removing the influence of distant historical data. This approach focuses exclusively on current market dynamics, making it highly responsive to recent shifts in volume pressure and particularly useful in markets that have undergone regime changes or structural shifts. This mode can be beneficial for traders when they want to analyze "what's happening now" without legacy bias from months or years of prior data affecting the readings.
4. Histogram: Renders the per-bar volume delta as individual histogram bars rather than cumulative values, showing the immediate buying or selling pressure that occurred during each specific candle. Positive (green) bars indicate that bar closed higher than it opened with buying volume, while negative (red) bars show selling volume dominance. This mode excels at identifying sudden volume surges, exhaustion points where large delta bars fail to move price, and bar-by-bar absorption patterns where one side is aggressively consuming the other's volume.
5. Candles: Transforms CVD data into OHLC candlestick format, where each candle's open represents the CVD at the start of the bar and subsequent intra-bar delta changes create the high, low, and close values. This visualization reveals the internal volume flow dynamics within each time period, showing whether buying or selling pressure dominated throughout the bar's formation and exposing intra-bar reversals or sustained directional pressure. Use candle wicks and bodies to identify volume acceptance/rejection at specific CVD levels, similar to how price candles show acceptance/rejection at price levels.
▶ Built-in Alert System: Comprehensive alerts for all display modes including bullish/bearish momentum shifts (CVD crossing signal line), buying/selling pressure detection (histogram mode), and bullish/bearish CVD candle formations. Fully customizable with exchange and timeframe placeholders.
▶ Visual Customization: Choose from 5 color presets (Classic, Aqua, Cosmic, Ember, Neon) or create your own custom color schemes. Optional price bar coloring feature overlays CVD trend colors directly onto your main chart candles, providing instant visual confirmation of volume flow and making divergences immediately apparent. Optional info label with configurable position and size displays current CVD values, data source timeframe, and mode at a glance.
Multi Cycles Slope-Fit System MLMulti Cycles Predictive System : A Slope-Adaptive Ensemble
Executive Summary:
The MCPS-Slope (Multi Cycles Slope-Fit System) represents a paradigm shift from static technical analysis to adaptive, probabilistic market modeling. Unlike traditional indicators that rely on a single algorithm with fixed settings, this system deploys a "Mixture of Experts" (MoE) ensemble comprising 13 distinct cycle and trend algorithms.
Using a Gradient-Based Memory (GBM) learning engine, the system dynamically solves the "Cycle Mode" problem by real-time weighting. It aggressively curve-fits the Slope of component cycles to the Slope of the price action, rewarding algorithms that successfully predict direction while suppressing those that fail.
This is a non-repainting, adaptive oscillator designed to identify market regimes, pinpoint high-probability reversals via OB/OS logic, and visualize the aggregate consensus of advanced signal processing mathematics.
1. The Core Philosophy: Why "Slope" Matters:
In technical analysis, most traders focus on Levels (Price is above X) or Values (RSI is at 70). However, the primary driver of price action is Momentum, which is mathematically defined as the Rate of Change, or the Slope.
This script introduces a novel approach: Slope Fitting.
Instead of asking "Is the cycle high or low?", this system asks: "Is the trajectory (Slope) of this cycle matching the trajectory of the price?"
The Dual-Functionality of the Normalized Oscillator
The final output is a normalized oscillator bounded between -1.0 and +1.0. This structure serves two critical functions simultaneously:
Directional Bias (The Slope):
When the Combined Cycle line is rising (Positive Slope), the aggregate consensus of the 13 algorithms suggests bullish momentum. When falling (Negative Slope), it suggests bearish momentum. The script measures how well these slopes correlate with price action over a rolling lookback window to assign confidence weights.
Overbought / Oversold (OB/OS) Identification:
Because the output is mathematically clipped and normalized:
Approaching +1.0 (Overbought): Indicates that the top-weighted algorithms have reached their theoretical maximum amplitude. This is a statistical extreme, often preceding a mean reversion or trend exhaustion.
Approaching -1.0 (Oversold): Indicates the aggregate cycle has reached maximum bearish extension, signaling a potential accumulation zone.
Zero Line (0.0): The equilibrium point. A cross of the Zero Line is the most traditional signal of a trend shift.
2. The "Mixture of Experts" (MoE) Architecture:
Markets are dynamic. Sometimes they trend (Trend Following works), sometimes they chop (Mean Reversion works), and sometimes they cycle cleanly (Signal Processing works). No single indicator works in all regimes.
This system solves that problem by running 13 Algorithms simultaneously and voting on the outcome.
The 13 "Experts" Inside the Code:
All algorithms have been engineered to be Non-Repainting.
Ehlers Bandpass Filter: Extracts cycle components within a specific frequency bandwidth.
Schaff Trend Cycle: A double-smoothed stochastic of the MACD, excellent for cycle turning points.
Fisher Transform: Normalizes prices into a Gaussian distribution to pinpoint turning points.
Zero-Lag EMA (ZLEMA): Reduces lag to track price changes faster than standard MAs.
Coppock Curve: A momentum indicator originally designed for long-term market bottoms.
Detrended Price Oscillator (DPO): Removes trend to isolate short-term cycles.
MESA Adaptive (Sine Wave): Uses Phase accumulation to detect cycle turns.
Goertzel Algorithm: Uses Digital Signal Processing (DSP) to detect the magnitude of specific frequencies.
Hilbert Transform: Measures the instantaneous position of the cycle.
Autocorrelation: measures the correlation of the current price series with a lagged version of itself.
SSA (Simplified): Singular Spectrum Analysis approximation (Lag-compensated, non-repainting).
Wavelet (Simplified): Decomposes price into approximation and detail coefficients.
EMD (Simplified): Empirical Mode Decomposition approximation using envelope theory.
3. The Adaptive "GBM" Learning Engine
This is the "Machine Learning" component of the script. It does not use pre-trained weights; it learns live on your chart.
How it works:
Fitting Window: On every bar, the system looks back 20 days (configurable).
Slope Correlation: It calculates the correlation between the Slope of each of the 13 algorithms and the Slope of the Price.
Directional Bonus: It checks if the algorithm is pointing in the same direction as the price.
Weight Optimization:
Algorithms that match the price direction and correlation receive a higher "Fit Score."
Algorithms that diverge from price action are penalized.
A "Softmax" style temperature function and memory decay allow the weights to shift smoothly but aggressively.
The Result: If the market enters a clean sine-wave cycle, the Ehlers and Goertzel weights will spike. If the market explodes into a linear trend, ZLEMA and Schaff will take over, suppressing the cycle indicators that would otherwise call for a premature top.
4. How to Read the Interface:
The visual interface is designed for maximum information density without clutter.
The Dashboard (Bottom Left - GBM Stats)
Combined Fit: A percentage score (0-100%). High values (>70%) mean the system is "Locked In" and tracking price accurately. Low values suggest market chaos/noise.
Entropy: A measure of disorder. High entropy means the algorithms disagree (Neutral/Chop). Low entropy means the algorithms are unanimous (Strong Trend).
Top 1 / Top 3 Weight: Shows how concentrated the decision is. If Top 1 Weight is 50%, one algorithm is dominating the decision.
The Matrix (Bottom Right - Weight Table)
This table lifts the hood on the engine.
Fit Score: How well this specific algo is performing right now.
Corr/Dir: Raw correlation and Direction Match stats.
Weight: The actual percentage influence this algorithm has on the final line.
Cycle: The current value of that specific algorithm.
Regime: Identifies if the consensus is Bullish, Bearish, or Neutral.
The Chart Overlay
The Line: The Gradient-Colored line is the Weighted Ensemble Prediction.
Green: Bullish Slope.
Red: Bearish Slope.
Triangles: Zero-Cross signals (Bullish/Bearish).
"STRONG" Labels: Appears when the cycle sustains a value above +0.5 or below -0.5, indicating strong momentum.
Background Color: Changes subtly to reflect the aggregate Regime (Strong Up, Bullish, Neutral, Bearish, Strong Down).
5. Trading Strategies:
A. The Slope Reversal (OB/OS Fade)
Concept: Catching tops and bottoms using the -1/+1 normalization.
Signal: Wait for the Combined Cycle to reach extreme values (>0.8 or <-0.8).
Trigger: The entry is taken not when it hits the level, but when the Slope flips.
Short: Cycle hits +0.9, color turns from Green to Red (Slope becomes negative).
Long: Cycle hits -0.9, color turns from Red to Green (Slope becomes positive).
B. The Zero-Line Trend Join
Concept: Joining an established trend after a correction.
Signal: Price is trending, but the Cycle pulls back to the Zero line.
Trigger: A "Triangle" signal appears as the cycle crosses Zero in the direction of the higher timeframe trend.
C. Divergence Analysis
Concept: Using the "Fit Score" to identify weak moves.
Signal: Price makes a Higher High, but the Combined Cycle makes a Lower High.
Confirmation: Check the GBM Stats table. If "Combined Fit" is dropping while price is rising, the trend is decoupling from the cycle logic. This is a high-probability reversal warning.
6. Technical Configuration:
Fitting Window (Default: 20): The number of bars the ML engine looks back to judge algorithm performance. Lower (10-15) for scalping/quick adaptation. Higher (30-50) for swing trading and stability.
GBM Learning Rate (Default: 0.25): Controls how fast weights change.
High (>0.3): The system reacts instantly to new behaviors but may be "jumpy."
Low (<0.15): The system is very smooth but may lag in regime changes.
Max Single Weight (Default: 0.55): Prevents one single algorithm from completely hijacking the system, ensuring an ensemble effect remains.
Slope Lookback: The period over which the slope (velocity) is calculated.
7. Disclaimer & Notes:
Repainting: This indicator utilizes closed bar data for calculations and employs non-repainting approximations of SSA, EMD, and Wavelets. It does not repaint historical signals.
Calculations: The "ML" label refers to the adaptive weighting algorithm (Gradient-based optimization), not a neural network black box.
Risk: No indicator guarantees future performance. The "Fit Score" is a backward-looking metric of recent performance; market regimes can shift instantly. Always use proper risk management.
Author's Note
The MCPS-Slope was built to solve the frustration of "indicator shopping." Instead of switching between an RSI, a MACD, and a Stochastic depending on the day, this system mathematically determines which one is working best right now and presents you with a single, synthesized data stream.
If you find this tool useful, please leave a Boost and a Comment below!
Multi Asset & Multi Timeframe Trend DashboardOverview
The Multi-Asset & Multi-Timeframe Trend Dashboard is a comprehensive visual data terminal designed to provide a bird's-eye view of market sentiment across five different assets and seven distinct timeframes simultaneously. By consolidating 10 core technical indicators into a single table, it eliminates the need for "chart hopping" and helps traders identify high-probability trend alignment.
How It Works
The dashboard evaluates each asset based on a Scoring System ($-10$ to $+10$). For every timeframe, the script analyzes the following 10 conditions:
Trend: EMA 20 > EMA 50Macro
Trend: EMA 50 > EMA 200
Position: Price > EMA 200
MACD: MACD Line > Signal Line
MACD Momentum: MACD Histogram > 0
RSI Momentum: RSI(14) > RSI SMA(14)
RSI Level: RSI(14) > 50
Stochastics: Stoch K > D
CCI: Commodity Channel Index > 0
Awesome Oscillator: AO > 0
Visual Logic & Features
Indicator Dots (■): Represent the 10 individual technical conditions. Green indicates a bullish state; Red indicates a bearish state.
Trend Arrows (▲/▼): Displays the aggregate directional bias of a timeframe based on the sum of the 10 dots.
Neutral State (✖): If indicators are split 50/50 (Score of 0), a grey cross is displayed to indicate total market indecision.
"ALL" Column: A macro-summary that aggregates scores across all four primary timeframes.
Volatility Marker (•): A dot appearing next to the symbol name indicates that current ATR is higher than the historical average (user-defined threshold).
Market Status Color: The symbol name background turns Green if the market is currently open and active, and Red if it is closed or stagnant.
Technical Implementation
This script utilizes request.security calls to fetch data across timeframes. To ensure performance and prevent repainting issues, all security calls are handled using the barstate.islast flag to only render the dashboard on the most recent bar.
How to Use
Alignment Trading: Look for "Full House" scenarios where all arrows (15m through Daily) are the same color.
Scalping Bias: Use the "Mini Timeframes" (1m, 3m, 5m) to find entries that align with the higher timeframe trend shown in the main table.
Volatility Filter: Only take trades when the volatility marker (•) is active to ensure there is enough "power" in the move.
Angle-able Thick Linean options to get thicker/thick trendlines. personally i dont think 4 pixels is wide enough so i made this, here you go
EDUVEST Lorentzian ClassificationEDUVEST Lorentzian Classification - Machine Learning Signal Detection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator enhances the original Lorentzian Classification concept by jdehorty with EduVest's visual modifications and alert system integration. The core innovation is using Lorentzian distance instead of Euclidean distance for k-NN classification, providing more robust pattern recognition in financial markets.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates BUY/SELL signals using machine learning classification
- Displays kernel regression estimate for trend visualization
- Shows prediction values on each bar
- Provides trade statistics (Win Rate, W/L Ratio)
- Includes multiple filter options (Volatility, Regime, ADX, EMA, SMA)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【Lorentzian Distance Calculation】
Unlike Euclidean distance, Lorentzian distance uses logarithmic transformation:
d = Σ log(1 + |xi - yi|)
This provides:
- Better handling of outliers
- More stable distance measurements
- Reduced sensitivity to extreme values
【Feature Engineering】
The classifier uses up to 5 configurable features:
- RSI (Relative Strength Index)
- WT (WaveTrend)
- CCI (Commodity Channel Index)
- ADX (Average Directional Index)
Each feature is normalized using the n_rsi, n_wt, n_cci, or n_adx functions.
【k-Nearest Neighbors Classification】
1. Calculate Lorentzian distance between current bar and historical bars
2. Find k nearest neighbors (default: 8)
3. Sum predictions from neighbors
4. Generate signal based on prediction sum (>0 = Long, <0 = Short)
【Kernel Regression】
Uses Rational Quadratic kernel for smooth trend estimation:
- Lookback Window: 8
- Relative Weighting: 8
- Regression Level: 25
【Filters】
- Volatility Filter: Filters signals during extreme volatility
- Regime Filter: Identifies market regime using threshold
- ADX Filter: Confirms trend strength
- EMA/SMA Filter: Trend direction confirmation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 15M, 1H, 4H, Daily
- Neighbors Count: 8 (default)
- Feature Count: 5 for comprehensive analysis
【Signal Interpretation】
- Green BUY label: Long entry signal
- Red SELL label: Short entry signal
- Bar colors: Green (bullish) / Red (bearish) prediction strength
【Trade Statistics Panel】
- Winrate: Historical win percentage
- Trades: Total (Wins|Losses)
- WL Ratio: Win/Loss ratio
- Early Signal Flips: Premature signal changes
【Filter Recommendations】
- Enable Volatility Filter for ranging markets
- Enable Regime Filter for trend confirmation
- Use EMA Filter (200) for higher timeframes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
Original Lorentzian Classification concept and MLExtensions library by jdehorty.
Enhanced with visual modifications and alert integration by EduVest.
License: Mozilla Public License 2.0
EMA + PDH/PDL 2 Days [Scalping-Algo]🎯 Overview
A clean, focused scalping indicator designed for 2-minute and 4-minute stock charts. Combines trend-following EMAs with key daily support/resistance zones to identify high-probability scalp entries.
🛠️ What's Included
ComponentDescription🟡 EMA 13Fast momentum line🟣 EMA 48Medium trend filter🔴 EMA 200Major trend direction🔵 PDH/PDLPrevious day high & low zones🟠 PDH-2/PDL-22 days ago high & low zones
⏰ Session Filter
Only displays levels during regular trading hours (9:30 AM - 4:00 PM EST) to keep your chart clean during pre/post market.
📊 How to Use for Scalping
✅ Long Setup (2m/4m chart)
Price above EMA 200 (bullish bias)
Price pulls back to PDH/PDL zone or EMA 48
EMA 13 crosses above EMA 48
Enter on bounce from zone
Target: next resistance zone or 1:2 R/R
❌ Short Setup (2m/4m chart)
Price below EMA 200 (bearish bias)
Price rallies into PDH/PDL zone or EMA 48
EMA 13 crosses below EMA 48
Enter on rejection from zone
Target: next support zone or 1:2 R/R
💡 Pro Tips
TipWhy🔥 Trade the first hourMost volume & volatility🎯 Zone confluenceBest setups when PDH/PDL aligns with EMAs⚡ Quick exitsScalping = small gains, don't overstay🚫 Avoid chopSkip trades when price is stuck between zones📉 Respect EMA 200Don't long below it, don't short above it
🔵 Zone Colors Explained
Blue zones → Yesterday's high/low (stronger levels)
Orange zones → 2 days ago high/low (secondary levels)
Zone thickness → 20 ticks buffer for natural price noise
⚙️ Best Settings
TimeframeBest For2 minuteQuick scalps, 5-15 cent targets4 minuteSlightly larger moves, less noise
📌 Recommended Pairs
Works best on liquid stocks with tight spreads:
SPY, QQQ, AAPL, TSLA, AMD, NVDA, META, AMZN
⚠️ Risk Management
RuleSuggestion🛑 Stop lossBelow/above the zone (tight)🎯 Take profit1:2 or 1:3 risk/reward minimum📏 Position sizeMax 1-2% account risk per trade
🚀 Quick Start
Add indicator to 2m or 4m chart
Wait for price to reach a colored zone
Confirm trend direction with EMA 200
Look for EMA 13/48 alignment
Enter with tight stop, scale out at targets
LogTrend Retest EngineLogTrend Retest Engine (LTRE)
LogTrend Retest Engine (LTRE) is an advanced trend-continuation overlay designed to identify high-probability breakout retests using logarithmic regression , volatility-adjusted deviation bands , and market regime filtering .
Unlike traditional channels or moving averages, LTRE models price behavior in log space , allowing it to adapt naturally to exponential market moves common in crypto, indices, and long-term trends.
🔹 How It Works
Logarithmic Regression Core
Performs linear regression on log-transformed price and time
Produces a structurally accurate trend midline that scales with price growth
Volatility-Adjusted Deviation Bands
Dynamic upper and lower zones based on statistical deviation
ATR weighting expands or contracts bands as volatility changes
Adaptive Lookback (Optional)
Automatically adjusts regression length using volatility pressure
Faster response in high-volatility environments, smoother in consolidation
🔹 Market Regime Detection
LTRE actively filters conditions using:
R² trend strength (trend quality, not just slope)
Volatility compression vs expansion
User-defined minimum trend strength threshold
Signals are disabled during ranging or low-quality conditions .
🔹 Breakout → Retest Signal Logic
LTRE does not chase breakouts.
Signals trigger only when:
1. Price breaks cleanly outside the deviation band
2. Market regime is confirmed as trending
3. Price performs a controlled retest within a user-defined tolerance
BUY
Break above upper band → retest → trend confirmed
SELL
Break below lower band → retest → trend confirmed
This structure is designed to reduce false breakouts and late entries.
🔹 Visual & Projection Tools
Clean midline and deviation bands
Optional filled zones
Optional future trend projection for forward structure planning
On-chart statistics for trend strength and volatility compression
🔹 Best Use Cases
Trend continuation & pullback strategies
Crypto, Forex, Indices, and equities
Works best on 15m and higher timeframes
⚠️ Disclaimer
LTRE is a decision-support tool , not a complete trading system. Always use proper risk management and confirm signals with additional structure, volume, or higher-timeframe context.
Built for traders who wait for structure — not noise.
VTRADEVTRADE — это overlay-инструмент для графика, который объединяет сигнальные модули и контекст рынка в одном скрипте. Он создан для трейдеров, которым важны чистый график, наглядные подсказки и возможность быстро настроить отображение под свой стиль торговли.
Ключевые возможности
Два независимых блока сигналов:
VTRADE-1 — более избирательные сигналы (акцент на качество).
VTRADE-Pulse — более быстрые и реактивные сигналы (акцент на своевременность).
Наглядная визуализация:
Сигнальные вертикальные линии и метки на графике.
Гибкие переключатели отображения, чтобы оставлять только нужное.
Дополнительный контекст:
Bollinger Bands со встроенной подсветкой Squeeze (зоны потенциального расширения волатильности).
HVP (Volume Profile) для выделения ключевых объёмных уровней.
MA (до 4 линий) для ориентира по тренду.
Польза:
Быстрое чтение рынка: сигнал + контекст (волатильность/объём/тренд).
Меньше визуального шума за счёт гибких настроек.
Удобно для работы через TradingView Alerts.
Важно: скрипт публикуется как Invite-Only. Внутренняя методология является авторской и не раскрывается.
-----
ENG:
VTRADE is an overlay chart tool that combines signal modules and market context in a single script. It’s built for traders who value a clean chart, clear visual cues, and the ability to quickly tailor what’s displayed to their trading style.
Key features
Two independent signal blocks:
VTRADE-1 — more selective signals (focus on quality).
VTRADE-Pulse — faster, more reactive signals (focus on timing).
Clear visualization:
Signal vertical lines and labels on the chart.
Flexible display toggles so you can keep only what you need.
Additional context:
Bollinger Bands with built-in Squeeze highlighting (areas of potential volatility expansion).
HVP (Volume Profile) to highlight key volume-based levels.
MA (up to 4 lines) for trend guidance.
Benefits:
Faster market reading: signal + context (volatility/volume/trend).
Less visual noise thanks to flexible settings.
Convenient for use with TradingView Alerts.
Important: the script is published as Invite-Only. The internal methodology is proprietary and is not disclosed.
SA VWAP RSI Gamma ExpressSIGNAL ARCHITECT™ — VWAP + RSI + Gamma Express
Reduced Gate | Intraday Structure Engine
Overview
The VWAP + RSI + Gamma Express is a structure-first intraday signal engine designed to identify high-probability reversals and momentum expansions around VWAP, RSI regime shifts, and synthetic gamma-wall behavior.
This tool does not predict price.
It highlights where price is statistically more likely to respond based on participation, positioning, and momentum confirmation.
Core Logic (How It Works)
This study combines three structural layers:
1) VWAP Location
VWAP defines the institutional mean
Signals only trigger when price reclaims or rejects VWAP
Eliminates low-quality mid-range chop
2) RSI Regime Behavior
Reversal Logic
Bullish: VWAP reclaim after RSI has been oversold
Bearish: VWAP rejection after RSI has been overbought
Expansion Logic
Bullish: RSI ≥ 60 while holding above VWAP
Bearish: RSI ≤ 40 while holding below VWAP
Prevents chasing late or exhausted moves
3) Gamma Proxy (Optional Gate)
Uses synthetic strike proximity + volume behavior
Helps detect areas where dealer hedging or pinning behavior may amplify follow-through
Can be toggled ON/OFF depending on market conditions
Signal Types
BULL REV (Bullish Reversal)
VWAP cross upward
Prior RSI oversold
Indicates absorption → directional shift
BULL EXP (Bullish Expansion)
Above VWAP
RSI expansion (≥ 60)
Optional gamma confirmation
Indicates momentum continuation
BEAR REV (Bearish Reversal)
VWAP cross downward
Prior RSI overbought
Indicates distribution → downside response
BEAR EXP (Bearish Expansion)
Below VWAP
RSI deflation (≤ 40)
Optional gamma confirmation
Indicates downside continuation
Bar Coloring (Important)
Green Bars → Bullish structure confirmed
Red Bars → Bearish structure confirmed
Gray Bars → Undefined trading conditions
⚠️ Gray bars mean CAUTION IS ELEVATED
Structure is incomplete
VWAP / RSI / Gamma alignment is missing
Best used for observation, not execution
Gray = wait for confirmation, not force a trade.
Recommended Timeframes
⭐ 5-Minute is the PRIMARY and FAVORITE timeframe
Best balance of signal clarity and execution precision
Ideal for NQ / ES intraday structure
Captures real institutional behavior without micro noise
Secondary Use:
15m → intraday bias confirmation
1H → session-level context
Lower than 5m = execution only (not signal truth)
Best Use Cases
VWAP reclaim / rejection days
Trend days with pullback continuation
Opening range transitions
Post-news stabilization phases
Futures, index ETFs, and highly liquid equities
What This Tool Is NOT
❌ Not a buy/sell command system
❌ Not predictive or future-forecasting
❌ Not designed for low-liquidity assets
This is a structure + confirmation engine, not a signal spam tool.
Risk & Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice. Trading involves substantial risk, and past performance does not guarantee future results. Always use proper risk management.
Signal Indicator
trianchor.gumroad.com
chatgpt.com
chatgpt.com
chatgpt.com
SA Fib 22 Fib 72 Reaction SuiteSIGNAL ARCHITECT™ — Fib 22 + Fib 72 Reaction Suite
4-Hour Timeframe Use Case Guide
🔍 WHAT THIS STUDY DOES (4H CONTEXT)
The Fib 22 + Fib 72 Reaction Suite is a reaction-based market structure tool, not a predictive indicator.
On the 4-Hour timeframe, this study is designed to identify:
Institutional decision zones
Defensive reactions vs momentum continuation
Where price must respond, not where it “might” go
Rather than forecasting direction, the study highlights high-probability reaction areas derived from the recent structural range.
📐 CORE LOGIC OVERVIEW
This system operates with two distinct Fibonacci behavior zones, each serving a different market function:
🔹 Fib 72 — Decision / Defense Zone
Represents upper structural participation
No trend filter applied
Used to detect:
Bullish defense (reclaim)
Bearish rejection (failure)
Ideal for:
Swing inflection
Range resolution
Institutional defense zones
🔹 Fib 22 — Momentum Continuation Zone
Represents lower retracement continuation
Requires trend alignment
Used to confirm:
Continuation after pullbacks
Trend-validated re-entries
Ideal for:
Trend continuation
Add-on positioning
Directional confirmation
🕒 WHY THE 4-HOUR TIMEFRAME WORKS BEST
On the 4H chart, this system becomes a swing-grade structural map rather than a short-term signal tool.
Best characteristics on 4H:
Filters out intraday noise
Captures multi-day institutional positioning
Aligns well with:
Macro rotations
Sector moves
Index rebalancing flows
This timeframe is especially effective for:
Swing traders
Position builders
Portfolio bias confirmation
🧭 HOW TO INTERPRET SIGNALS (4H)
🟢 BULL 72 (Defense / Reclaim)
Price tests Fib 72
Successfully reclaims with confirmation
Indicates:
Buyers defending higher structure
Failed breakdown attempt
Potential upside continuation or range hold
🔴 BEAR 72 (Rejection)
Price tests Fib 72
Fails and rejects lower
Indicates:
Supply defending structure
Failed breakout attempt
Potential downside rotation
🟢 BULL 22 (Momentum Continuation)
Price retraces to Fib 22
Trend filter must confirm
Indicates:
Healthy pullback in an uptrend
Institutional continuation zone
Momentum resumption potential
🔴 BEAR 22 (Momentum Continuation)
Price retraces to upper Fib 22 (bear side)
Trend filter must confirm
Indicates:
Controlled pullback in a downtrend
Continuation after relief
Trend-aligned downside pressure
🎯 BEST USE CASES (4H)
✔ Swing bias confirmation
✔ Multi-day trade planning
✔ Trend continuation validation
✔ Structural reaction analysis
✔ Pairing with:
Weekly levels
Volume profile
Auction / VWAP frameworks
Macro rotation analysis
🚫 Not intended for:
Scalping
Tick-by-tick execution
Standalone entry timing
⚠️ IMPORTANT NOTES
Signals do not predict future price
Signals identify reaction zones only
Always wait for confirmation behavior
Best used as a context layer, not a trigger alone
⚖️ DISCLAIMER (MANDATORY)
This script is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any security or instrument.
Trading and investing involve substantial risk, including the possible loss of principal.
Past performance is not indicative of future results.
You are solely responsible for your trading decisions, risk management, and compliance with all applicable laws and regulations.
By using this script, you acknowledge and accept these risks.
Signal To trade along with the indicator
trianchor.gumroad.com
chatgpt.com
chatgpt.com
chatgpt.com
Adaptive Log Trend Zones + Retest SignalsAdaptive Log Trend Zones + Retest Signals
Adaptive Log Trend Zones is a trend-following overlay built to identify high-probability breakout retests in strong market conditions. It combines logarithmic regression , volatility-adaptive behavior , and ATR-based trend zones to help traders stay aligned with dominant momentum while avoiding chop.
🔹 Core Features
Logarithmic Regression Midline
Uses linear regression on log price to better handle exponential market moves
Produces smoother, more realistic trend structure on higher timeframes
Volatility-Adaptive Lookback
Automatically expands or contracts the regression length based on ATR volatility
Reacts faster in high volatility, smoother in consolidation
Dynamic Trend Zones
Upper and lower bands are ATR-adjusted and trend-colored
Optional future projection for visual trend guidance
Breakout → Retest Signal Logic
Detects clean breakouts beyond the trend zone
Waits for a controlled pullback (retest) before signaling
Signals only trigger when trend strength is confirmed
Trend Quality Filter
Internal regime detection filters out low-quality, sideways conditions
Uses slope strength and volatility compression to validate entries
🔹 Signals
BUY : Bullish breakout followed by a valid retest in a trending regime
SELL : Bearish breakout followed by a valid retest in a trending regime
Signals are designed for trend continuation , not mean reversion.
🔹 Best Use Cases
Crypto, Forex, and Index markets
Higher timeframes (15m+ recommended)
Trend continuation and pullback strategies
⚠️ Notes
This indicator is not a standalone trading system . Always use proper risk management and confirm signals with structure, volume, or higher-timeframe context.
Designed for traders who prefer structure, patience, and momentum alignment.
MarcoVieira - PB+BB+SAR+Supertrend@marco1981
Instagram @marcovieira.oficial
- Supertrend:
Calculates the Supertrend indicator using ATR. It plots green lines when the trend is bullish and red lines when bearish. It also shows buy/sell labels when the trend changes, and can highlight the background according to the trend. Alerts are triggered on buy, sell, or direction change.
- Pivot Boss EMAs:
Plots several exponential moving averages (20, 50, 100, 200, 400) directly on the price chart. These help visualize short-, medium-, and long-term trends.
- Bollinger Bands:
Draws Bollinger Bands (upper, lower, and basis) around price, with dynamic coloring (green if price is above the basis, red if below). The fill between bands changes color accordingly.
- Parabolic SAR:
Plots the Parabolic SAR dots above or below price, configurable with start, step, and maximum values. Dots appear gray depending on whether price is above or below the SAR.
👉 In short: this indicator combines Supertrend signals, multiple EMAs, Bollinger Bands, and Parabolic SAR into one chart to give a multi-tool view of market trend, momentum, and potential entry/exit points.
EDUVEST UTBOT ADJ - Adaptive ATR Trailing StopEDUVEST UTBOT ADJ - Adaptive ATR Trailing Stop with Session-Based Sensitivity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator is an enhanced version of the classic UT Bot concept, featuring automatic session-based ATR sensitivity adjustment. Unlike the original UT Bot which uses a fixed sensitivity value, this version dynamically adapts to different trading sessions (Tokyo, London, New York) and automatically detects asset characteristics to optimize signal generation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates BUY and SELL signals based on ATR trailing stop crossovers with a moving average
- Automatically adjusts sensitivity based on current trading session (Tokyo/London/NY)
- Auto-detects asset type and applies optimized parameters for each instrument
- Displays real-time session information and volatility status
- Provides alert functionality with customizable cooldown periods
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【Core Logic: ATR Trailing Stop】
The indicator calculates an ATR-based trailing stop using the formula:
Trailing Stop = Price ± (Sensitivity × ATR)
When price is above the trailing stop and rising, the stop trails below price.
When price is below the trailing stop and falling, the stop trails above price.
【Signal Generation】
- BUY Signal: Price crosses above the trailing stop AND Moving Average crosses above the trailing stop
- SELL Signal: Price crosses below the trailing stop AND Moving Average crosses below the trailing stop
【Session-Based Sensitivity Adjustment】
The indicator adjusts ATR sensitivity based on trading session (JST timezone):
- Tokyo (08:00-15:00): Lower sensitivity (reduced by adjustment value) - typically quieter markets
- London (15:00-23:00): Base sensitivity - moderate volatility
- New York (23:00-08:00): Higher sensitivity (increased by adjustment value) - higher volatility
【Dynamic ATR Adjustment】
When enabled, the indicator compares current ATR to its smoothed average:
- ATR Ratio = Current ATR / SMA(ATR, smoothing period)
- Volatility Multiplier = 1.0 + (Sensitivity × (2.0 - ATR Ratio))
This reduces sensitivity during high volatility (fewer false signals) and increases sensitivity during low volatility (faster response).
【Auto Asset Detection】
The indicator automatically detects the traded instrument and applies optimized parameters:
- Stable pairs (USDJPY, EURUSD, USDCHF): Base sensitivity 1.5-1.8
- Moderate pairs (AUDUSD, USDCAD, EURJPY): Base sensitivity 2.0-2.3
- Volatile pairs (GBPUSD): Base sensitivity 2.8
- Commodities (GOLD/XAUUSD): Base sensitivity 3.5
- Indices (NASDAQ/NAS100): Base sensitivity 4.0
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 15 minutes or higher (15M, 1H, 4H recommended)
- Best performance on: Forex majors, Gold, NASDAQ
- Enable "Auto Asset Detection" for optimized parameters
【Entry Rules】
- BUY: Enter long when green BUY label appears
- SELL: Enter short when pink SELL label appears
【Session Panel】
The top-right panel displays:
- Current trading session (Tokyo/London/NY)
- Volatility status (High Chance/Medium Chance/Caution)
- Mode (AUTO/MANUAL)
【Alert Setup】
1. Enable "Viewer Alert Display" in settings
2. Set cooldown period (default: 15 minutes) to avoid signal spam
3. Create alert with "Any alert() function call" condition
【Important Notes】
- This indicator does not repaint - signals are confirmed at bar close
- Lower timeframes (1M, 5M) may generate excessive signals
- Always use proper risk management and confirm with other analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS OVERVIEW
🎯 Alert Settings
- Viewer Alert Display: Enable/disable alert labels
- Cooldown Function: Prevent rapid consecutive signals
- Cooldown Time: Minutes between alerts (5-60)
🔧 Dynamic ATR Settings
- Enable Dynamic ATR: Auto-adjust based on volatility
- ATR Period: Calculation period (default: 14)
- ATR Smoothing: Smoothing period for ratio calculation
- Volatility Sensitivity: How much to adjust (0.1-1.0)
🕐 Session ATR Adjustment
- Enable Time Adjustment: Session-based sensitivity
- Show Session Info: Display session panel
📊 Asset Settings
- Auto Asset Detection: Automatically optimize for instrument
- Manual settings available when auto-detection is disabled
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
Based on the original UT Bot concept by QuantNomad.
Enhanced with session-based adaptation and auto-asset detection by EduVest.
License: Mozilla Public License 2.0
Volatility Trend Score [BackQuant]Volatility Trend Score
Overview
Volatility Trend Score is a trend-strength and regime-evaluation indicator built to measure directional persistence, not just direction. Most trend tools answer “up or down” using slope, crossovers, or a single condition. This indicator answers a more useful question for real trading: “How consistently is trend structure holding up once volatility is accounted for?”
It does this by building a volatility-scaled trailing structure (ATR-based) and then scoring how that structure evolves over a configurable lookback range. The output is a continuous score that rises when trend is persistent and decays when price action becomes noisy, mean-reverting, or unstable.
What it is measuring (the real goal)
This indicator is not trying to predict reversals. It is trying to quantify whether the market is behaving like a trend market or a chop market. It focuses on:
Persistence: does structure keep pushing in one direction bar after bar?
Stability: are pullbacks being absorbed without breaking the trailing structure?
Regime: is the market trending strongly enough to justify directional bias?
If you already have entries from other systems, this becomes a high-quality trend filter and trade management layer.
Core idea
At its foundation, the indicator combines two parts:
A volatility-adjusted trailing level derived from ATR and a user-defined factor.
A rolling persistence score that compares the current trail to prior trail values over a configurable loop window.
The trailing structure adapts to volatility and enforces one-sided movement, while the scoring logic converts that behavior into a numeric measure of trend quality.
Inputs and what they actually control
Average True Range Period (calc_p)
Defines the ATR window used to estimate volatility. A higher value smooths the volatility estimate and makes the trailing structure less reactive.
Factor (atr_factor)
Scales the ATR band size. Higher values widen the trailing band, filtering more noise, reducing flip frequency, and generally producing slower but more stable regimes.
For Loop Start/End (start/end)
Defines the comparison window used to build the score. It effectively sets how many historical trail values the current trail is compared against.
Shorter ranges produce a faster, more responsive score.
Longer ranges produce a slower, more “confidence-based” score that only climbs when trend persistence is sustained.
Long/Short Thresholds (thresL/thresS)
Convert a continuous score into regime thresholds.
Long threshold is a “trend quality requirement” for bullish bias.
Short threshold is used as a deterioration / breakdown trigger via crossunder logic.
Volatility-adjusted trailing structure
The trailing line is built from ATR bands around price:
up = close + ATR * factor
dn = close - ATR * factor
Then a trailing value is maintained with one-sided ratcheting behavior:
If dn rises above the previous trail, the trail steps up (ratchets upward).
If up drops below the previous trail, the trail steps down (ratchets downward).
This “ratchet” behavior is important. It prevents the trail from oscillating with small countertrend moves, forcing the trail to represent meaningful structure rather than micro-noise. On-chart, this trail often behaves like dynamic support/resistance in trends.
Why the trail is a better base than raw price
Price itself is noisy, and volatility changes the meaning of “big move” vs “small move.” By anchoring structure to ATR:
A move is interpreted relative to current volatility, not in absolute points.
High-volatility chop is less likely to be misread as a trend.
Trend structure is normalized across assets and timeframes more reliably.
This is why the score remains usable even when switching from low-vol assets to high-vol crypto pairs.
Trend scoring logic
The score is built by repeatedly comparing the current trailing value to trailing values from prior bars across a loop window:
If current trail > trail , add +1
If current trail < trail , add -1
This is a persistence test, not a momentum calculation. In a strong trend, the trail should generally keep stepping in the trend direction, so current values will be greater than many past values (bullish) or lower than many past values (bearish). In chop, the trail fails to progress meaningfully, so the score compresses, oscillates, or bleeds out.
How to interpret the score
Think of the score as a “trend conviction meter”:
High positive values: bullish persistence, structure is advancing consistently.
Low positive values: bullish bias may exist, but trend quality is weak or unstable.
Near zero: indecision, range behavior, or frequent structure challenges.
Negative values: bearish dominance or sustained deterioration in structure.
The speed of score change matters too:
Fast expansion suggests a fresh regime gaining traction.
Slow grind suggests mature trend continuation.
Rapid compression often signals consolidation, exhaustion, or a transition phase.
Signals and regime transitions
This script uses two different styles of conditions (important detail):
Long condition: score > long threshold (state-based, persistent while true).
Short condition: crossunder(score, short threshold) (event-based trigger).
That means:
Long bias can remain active as long as score stays above the long threshold.
Short regime flips are triggered at the moment the score breaks down through the short threshold.
On the chart, long/short shapes are only plotted when the regime flips (first bar of the change), not on every bar, using:
Long shape when signal becomes 1 and previous signal was -1
Short shape when signal becomes -1 and previous signal was 1
This keeps signals clean and avoids spam, making it usable for alerts and regime tagging.
Visual presentation
The indicator is designed to work both as a panel oscillator and as an on-chart overlay:
Score plot (oscillator): color reflects active regime state.
Optional trail on price: volatility-scaled structure line on chart.
Optional threshold reference lines: clear regime boundaries.
Optional candle coloring: makes regime obvious without reading the panel.
Optional background shading: useful for quick scanning and backtesting visually.
You can use only the score, only the trail, or both together depending on your workflow.
Practical use cases
1) Trend filter for systems
Use the score as a regime gate:
Allow long entries only when score is above the long threshold.
Avoid longs when score compresses toward zero or loses the threshold.
Treat the short threshold break as “trend is no longer healthy.”
This often improves system expectancy by reducing exposure during low-conviction conditions.
2) Trend quality grading
Instead of treating all uptrends as equal:
Higher score = higher persistence, better continuation odds.
Score plateau = trend losing pressure, continuation becomes less reliable.
Score decay while price rises = trend is getting weaker under the hood.
This is useful for position sizing or deciding whether to add to winners.
3) Trade management and exits
Two complementary tools exist here:
Trail line can act as a dynamic stop reference or structure invalidation level.
Score behavior can be used to scale out when persistence fades (before a full flip).
Many traders use the trail for “hard structure” and the score for “soft deterioration.”
4) Breakout confirmation vs fakeouts
A breakout that immediately fails to build score is often low quality.
Healthy breakouts usually come with score expansion as structure advances.
Fakeouts often revert quickly, score fails to climb, and regime stays unstable.
Tuning guidelines
These are general behaviors you can expect when adjusting settings:
Higher ATR period and factor: slower regimes, fewer flips, cleaner structure.
Lower ATR period and factor: faster reaction, more sensitivity, more noise risk.
Longer loop range: score becomes more “confidence-based,” slower to change.
Shorter loop range: score becomes more “tactical,” faster but more jittery.
A good way to tune is to pick the trail behavior first (ATR period and factor), then tune the score window (loop) to match how quickly you want “trend conviction” to build.
Market behavior focus
Volatility Trend Score is most valuable in markets where volatility shifts frequently and fake trends are common, especially crypto. It is designed to:
Stay out of low-quality chop where most indicators whipsaw.
Quantify when volatility is being expressed directionally (constructive trend).
Provide a clean regime framework for filtering, alignment, and management.
Summary
Volatility Trend Score converts volatility-adjusted structure into a quantified measure of trend persistence. By combining an ATR-based trailing mechanism with a rolling comparison score, it provides a more reliable read on trend quality than single-condition indicators. It is best used as a regime filter, a trend strength gauge, and a trade management layer, helping you stay aligned with strong directional phases while avoiding low-conviction envir
HMA Trend Scalper V1[wjdtks255]
Overview
This indicator is a high-performance trend-following system optimized for crypto futures trading. It provides clear entry signals and dynamic, real-time risk management tools to help traders stay on the right side of the market.
Key Features
Dynamic Trend Tracking: Uses a specialized HMA (Hull Moving Average) to filter market noise and identify the core trend.
Real-time TP/SL Extension: Unlike static indicators, the Take Profit (TP) and Stop Loss (SL) lines extend candle-by-candle along with the price action.
Clean Chart UI: Lines only exist from the entry point to the current candle, preventing chart clutter.
Automatic Completion: Once the price hits a target, the line stops extending and marks the result (Target Hit or Stop Out).
Trading Strategy (How to Trade)
1. Long Entry (🚀 LONG)
Condition: The price must be above the trend line, and a breakout of the recent 5-candle high must occur with significant volume.
Action: Enter a Long position when the "🚀 LONG" label appears.
Exit: Hold until the price reaches the Cyan (Aqua) TP line or hits the Yellow SL line.
2. Short Entry (💀 SHORT)
Condition: The price must be below the trend line, and a breakdown of the recent 5-candle low must occur with significant volume.
Action: Enter a Short position when the "💀 SHORT" label appears.
Exit: Hold until the price reaches the Cyan (Aqua) TP line or hits the Yellow SL line.
3. Risk Management
Stop Loss: The indicator automatically calculates the optimal SL based on recent volatility (ATR) and swing points.
Take Profit: The TP is set at a calculated ratio to ensure a positive risk-to-reward setup.
Settings
Trend Sensitivity: Adjust the HMA length to match your preferred timeframe (Scalping vs. Swing).
Volume Multiplier: Filter out weak moves by increasing the volume breakout requirement.
Custom Styles: Fully customize line colors, widths, and styles (Solid, Dashed, Dotted) in the settings menu.
Zero-Lag ATR Trend [BackQuant]Zero-Lag ATR Trend
Overview
Zero-Lag ATR Trend is a volatility-adaptive trend-following overlay designed to identify directional market regimes with minimal delay while preserving structural clarity. The indicator combines a zero-lag moving average framework with a zero-lag volatility model to produce a trailing trend line that reacts quickly to meaningful price changes without becoming unstable or overly sensitive.
Unlike conventional ATR-based trend tools that rely on lagging averages and delayed volatility estimates, this indicator applies zero-lag logic to both the trend centerline and the volatility calculation. The result is a trend structure that aligns more closely with real-time price action while still maintaining the discipline required for trend continuation trading.
Core design philosophy
The core idea behind Zero-Lag ATR Trend is simple:
Reduce signal delay without sacrificing trend integrity.
Adapt dynamically to changing volatility regimes.
Provide a single, clean structure that defines trend direction, continuation, and invalidation.
Instead of stacking multiple indicators, the script builds a complete trend framework from two tightly integrated components: a zero-lag trend spine and a zero-lag ATR trailing mechanism.
Zero-lag trend spine
The trend spine is constructed using a zero-lag moving average (ZLMA). This is achieved by applying a corrective step to a traditional moving average, effectively compensating for smoothing delay.
Conceptually, the process works as follows:
A base moving average is calculated from the selected price source.
That moving average is then passed through a zero-lag correction.
The correction pulls the line closer to current price without introducing noise.
This produces a trend line that reacts faster than standard EMA, SMA, or HMA signals, particularly during early trend acceleration phases. Multiple moving-average types can be used inside the zero-lag framework, allowing traders to fine-tune responsiveness based on asset behavior and timeframe.
Zero-lag volatility model
Volatility is measured using True Range, but instead of applying classic ATR smoothing, the indicator uses a zero-lag smoothing pass on the True Range itself.
This approach offers several advantages:
Volatility expands more quickly during impulse moves.
Volatility contracts faster during consolidations.
Band width adjusts in near real-time to changing conditions.
The smoothed zero-lag ATR is multiplied by a user-defined factor to create adaptive upper and lower boundaries around the trend spine. These boundaries define how much counter-movement price is allowed before the trend structure is invalidated.
Volatility-aware trailing structure
The trailing output is the defining feature of the indicator. It behaves as a one-directional trailing structure:
In bullish conditions, the trailing line can only move upward.
In bearish conditions, the trailing line can only move downward.
Minor pullbacks inside the volatility envelope do not flip the trend.
This logic prevents the indicator from reacting to shallow retracements and focuses instead on structural trend changes. Because the trailing behavior is volatility-scaled, the indicator remains stable during high volatility while still responding promptly during regime shifts.
Trend flips and regime transitions
Trend direction is determined by changes in the trailing structure itself rather than raw price crosses. A trend flip occurs only when price movement is strong enough, relative to current volatility, to force the trailing line to reverse direction.
This means:
Bullish flips represent genuine transitions into upward regimes.
Bearish flips represent genuine transitions into downward regimes.
Sideways noise is largely filtered out.
As a result, the indicator is well suited for identifying medium-to-long trend phases rather than short-term oscillations.
Visual structure and chart clarity
The visual design is intentionally minimal and functional:
The main trailing line is color-coded by trend direction.
An optional ribbon or cloud reinforces directional bias.
Optional candle coloring aligns price bars with the active trend.
These elements allow traders to assess trend state instantly without interpreting multiple signals or overlays.
How to use for trend following
Trend bias
Maintain a bullish bias while price holds above the trailing line.
Maintain a bearish bias while price holds below the trailing line.
Entries
Trend flips can be used as initial directional entries.
Pullbacks toward the trailing line often act as continuation opportunities.
Momentum confirmation can be layered on top for additional confluence.
Trend management
The trailing line naturally functions as a dynamic stop reference.
As long as price respects the trailing structure, the trend remains valid.
A flip in direction signals a full regime transition rather than a minor correction.
Why zero-lag matters for trend trading
Traditional trend indicators often react late, especially during fast expansions, resulting in delayed entries and early exits. By reducing lag in both the trend calculation and the volatility model, Zero-Lag ATR Trend aims to capture a larger portion of directional moves while maintaining consistency and discipline.
This makes it particularly effective for momentum-based trend following, breakout continuation strategies, and traders who prioritize staying aligned with dominant market structure rather than predicting reversals.
Summary
Zero-Lag ATR Trend is a complete trend-following framework built around responsiveness, adaptability, and clarity. Its zero-lag architecture allows it to respond earlier to meaningful price changes, while its volatility-aware trailing logic ensures that trends are only invalidated when structure truly breaks. The result is a clean, intuitive tool that supports disciplined trend participation across assets and timeframes.
VWAP Gravity Oscillator (VGO) (Intraday Only)VWAP Gravity Oscillator (VGO)
The VWAP Gravity Oscillator (VGO) is an intraday analytical indicator designed to quantify price displacement from VWAP and the rate of change of that displacement.
The indicator models VWAP as a statistical equilibrium level and evaluates:
Price deviation from VWAP (Delta)
Momentum and acceleration of that deviation via MACD
This framework enables assessment of trend persistence versus mean-reversion pressure in intraday price action.
Methodology
VWAP Delta
Measures the signed distance between price and VWAP, representing directional bias relative to equilibrium.
MACD on Delta
Captures the first- and second-order dynamics of VWAP deviation, highlighting acceleration, deceleration, and potential inflection points.
Zero Line
Represents price–VWAP equilibrium. Crossings may indicate regime transitions.
Interpretation Guidelines
Positive Delta
Price is trading above VWAP with positive directional bias.
Negative Delta
Price is trading below VWAP with negative directional bias.
Increasing MACD
Expansion of VWAP deviation (trend reinforcement).
Decreasing or reversing MACD
Contraction of VWAP deviation (mean-reversion risk).
Intended Applications
Intraday trend validation
Early detection of trend exhaustion
Mean-reversion risk assessment
Filtering low-conviction or balanced market conditions
Implementation Notes
Designed exclusively for intraday timeframes
Automatically suppressed on higher-timeframe charts
Intended as a contextual analysis tool, not a standalone signal generator
Conceptual Summary
VGO evaluates whether price is diverging from, stabilising around, or reverting toward VWAP by analysing both displacement and its rate of change.
MarcoVieira - Bollinger Band sobre RSI (Long & Short + Alerts) Strategy Summary
This Pine Script strategy combines RSI (Relative Strength Index) with Bollinger Bands applied directly on the RSI values. Instead of using Bollinger Bands on price, it uses them on RSI to detect stronger overbought/oversold signals.
⚙️ How It Works
1. RSI Calculation
• RSI is computed from price changes (default length 14).
• It measures momentum and oscillates between 0–100.
2. Bollinger Bands on RSI
• A moving average of RSI (basis).
• Upper and lower bands are created using standard deviation.
• These bands show when RSI is unusually high or low compared to its average.
3. Entry & Exit Conditions
• Long Entry (LE): RSI drops below the lower band and is very low (<40).
• Long Exit (LX): RSI rises back above the basis or goes above 65.
• Short Entry (SE): RSI rises above the upper band and is very high (>60).
• Short Exit (SX): RSI falls back below the basis or goes under 35.
4. Risk Management
• Dynamic take profit and stop loss levels are calculated as percentages of the entry price.
• This ensures trades are automatically managed.
5. Visual Signals
• Colored markers show entries/exits directly on the RSI chart:
• Green (dark) → Long Entry
• Red (dark) → Long Exit
• Red (light) → Short Entry
• Green (light) → Short Exit
• Blue/orange markers highlight RSI and BB Basis extremes.
6. Alerts
• Alerts trigger for entries, exits, and extreme RSI/BB Basis values.
• This allows automated monitoring without watching the chart constantly.
7. Extras
• Optional plots show cumulative profit/loss (PnL) and current position size.
In Short
This is a Bollinger Band on RSI trading system. It:
• Spots overbought/oversold conditions more dynamically than plain RSI.
• Provides clear entry/exit signals with color-coded markers.
• Automates risk management with TP/SL.
• Sends alerts so you can act quickly or automate trades.
• Helps visualize both momentum and trade performance in one chart.
Smart Divergence Scanner═══════════════════════════════════════════════════════════════════════════════
DivScan Pro - User Guide
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
────────────────────────────────────────────────────────────────────────────────
DivScan Pro is a multi-indicator divergence scanner that detects potential
reversal points by analyzing 10+ technical indicators simultaneously.
Optimized for 5m and 15m timeframes.
SIGNAL ICONS
────────────────────────────────────────────────────────────────────────────────
▲ Green Triangle (Below Bar) = BUY Signal
Strong bullish divergence confirmed by volume + RSI oversold
▼ Red Triangle (Above Bar) = SELL Signal
Strong bearish divergence confirmed by volume + RSI overbought
▲ Faded Green Triangle = Weak BUY
Bullish divergence detected but filters not fully met
▼ Faded Red Triangle = Weak SELL
Bearish divergence detected but filters not fully met
H Red "H" Label = Pivot High Point
L Green "L" Label = Pivot Low Point
DIVERGENCE LABELS
────────────────────────────────────────────────────────────────────────────────
┌─────────┐
│ MC │ Aqua Box (Bottom) = Bullish Divergence
│ RS │ Shows which indicators detected divergence
│ 3 │ Number = total indicator count
└─────────┘
┌─────────┐
│ MC │ Purple Box (Top) = Bearish Divergence
│ VW │ Shows which indicators detected divergence
│ MF │ Number = total indicator count
│ 3 │
└─────────┘
INDICATOR ABBREVIATIONS
────────────────────────────────────────────────────────────────────────────────
MC = MACD Line
MH = MACD Histogram
RS = RSI (Relative Strength Index)
ST = Stochastic
CC = CCI (Commodity Channel Index)
MO = Momentum
OB = OBV (On Balance Volume)
VW = VWMACD (Volume Weighted MACD)
CF = CMF (Chaikin Money Flow)
MF = MFI (Money Flow Index)
EX = External Indicator
DIVERGENCE LINES
────────────────────────────────────────────────────────────────────────────────
─────── Solid Aqua Line = Bullish Regular Divergence
Price: Lower Low | Indicator: Higher Low
Suggests: Potential upward reversal
─────── Solid Purple Line = Bearish Regular Divergence
Price: Higher High | Indicator: Lower High
Suggests: Potential downward reversal
- - - - Dashed Lime Line = Bullish Hidden Divergence
Price: Higher Low | Indicator: Lower Low
Suggests: Trend continuation (uptrend)
- - - - Dashed Red Line = Bearish Hidden Divergence
Price: Lower High | Indicator: Higher High
Suggests: Trend continuation (downtrend)
HOW TO USE
────────────────────────────────────────────────────────────────────────────────
1. WAIT FOR STRONG SIGNALS
Look for solid ▲ or ▼ triangles (not faded)
These have volume + RSI confirmation
2. CHECK CONFLUENCE
More indicators = stronger signal
Label shows "3" or higher = high confidence
3. CONFIRM WITH PRICE ACTION
Wait for candle confirmation after signal
Look for support/resistance levels
4. RECOMMENDED SETTINGS FOR SCALPING (5m/15m)
• Pivot Period: 3
• Min Confirmations: 2
• Max Lookback: 50
• Wait Confirmation: ON
SETTINGS QUICK REFERENCE
────────────────────────────────────────────────────────────────────────────────
MAIN
Pivot Period How many bars to identify pivot (lower = more signals)
Pivot Source Close or High/Low for pivot detection
Divergence Type Regular, Hidden, or Both
Max Pivots Maximum pivot points to scan
Max Lookback Maximum bars to look back
Min Confirmations Minimum indicators required (higher = fewer but stronger)
Wait Confirmation Wait for bar close before signal
DISPLAY
Labels Full (MC), Abbrev (M), or None
Show Count Display number of confirming indicators
Show Lines Draw divergence lines on chart
Show Pivots Mark H/L pivot points
Last Only Show only most recent divergence
Show MA 50/200 Display moving averages
INDICATORS
Toggle each indicator ON/OFF for divergence scanning
ALERTS
────────────────────────────────────────────────────────────────────────────────
Available alerts in TradingView:
• Bullish Regular Divergence
• Bearish Regular Divergence
• Bullish Hidden Divergence
• Bearish Hidden Divergence
• Any Bullish Divergence
• Any Bearish Divergence
TIPS
────────────────────────────────────────────────────────────────────────────────
✓ Higher "Min Confirmations" = fewer signals but higher accuracy
✓ Use with support/resistance levels for best entries
✓ Strong signals (solid triangles) have better win rate
✓ Multiple indicator confluence (3+) = highest probability trades
✓ Always use stop loss - divergence can fail
═══════════════════════════════════════════════════════════════════════════════
DivScan Pro v1.0
═══════════════════════════════════════════════════════════════════════════════
YUSUF KARA YZLM Moving Average and Buy/Sell SignalsThis indicator is a comprehensive technical analysis tool that combines dynamic trend tracking and a multiple moving average system. It offers four different moving average lines along with pivot points and an ATR (Average True Range) based trailing stop system.
Features
1. Dynamic Trend Following System
Center calculation based on pivot points (high/low)
Adjustable trailing stop levels with ATR factor
Automatic BUY and SELL signals
Colored line according to trend direction (Green: Uptrend, Red: Downtrend)
2. Multiple Moving Average System
4 different periods (default: 10, 50, 100, 200)
4 different calculation methods:
EMA (Exponential Moving Average)
SMA (Simple Moving Average)
WMA (Weighted Moving Average)
HMA (Hull Moving Average)
Same calculation method or source selection for all periods
Parameters
Trend Following Settings:
Pivot Point Period (2): Calculation period of pivot points
ATR Factor (3): ATR multiplier that determines the trailing stop width
ATR Period (10): ATR calculation Period
Moving Average Settings:
Period Type: Select EMA, SMA, WMA, or HMA
Period Type: Data source (Close, Open, High, Low, etc.)
Periods 1-4: Moving average periods
How to Use
Trend Signals:
BUY tag: Beginning of an uptrend (green)
SELL tag: Beginning of a downtrend (red)
The trend line shows the trailing stop level
Moving Averages:
Blue (10), Black (50), Orange (100), Red (200)
Can be used to identify support/resistance levels and trend direction
Crossovers are important signal points
Strategy Suggestions
BUY signal + price above moving averages = Strong buy
SELL signal + price below moving averages = Strong sell
The trend line can be used as a stop-loss level
Moving average crossovers confirm trend changes
Warnings
Each signal means a profitable trade It will not come.
Risk management should always be applied.
It is recommended to use it together with other indicators and analysis methods.
Past performance does not guarantee future results.
Minervini Ultimate +VCPMinervini Ultimate Suite (SEPA Dashboard)
This indicator implements Mark Minervini's "Trend Template" criteria combined with a Volatility Contraction Pattern (VCP) detector and a custom Relative Strength rating. It is designed to help traders visualize the technical health of a stock based on stage analysis concepts.
This indicator serves as a complete Control System (Dashboard) for Mark Minervini's SEPA trading strategy. Instead of manually checking five different metrics on every chart, this indicator performs the mathematical calculations and presents the "bottom line" in a single, organized table.
1. What This Indicator Does
The goal is to ensure you never enter a trade blindly. It verifies the stock against Minervini's strict requirements:
Trend: Is the stock in a healthy Stage 2 Uptrend?
Relative Strength: Is it stronger than the general market?
Buy Risk: Is it the right time to buy, or is the price extended?
Pressure: Are institutions accumulating or distributing?
VCP: Is there a breakout opportunity (volatility contraction) right now?
2. Key Benefits
Time-Saving: Instead of drawing lines and calculating percentages manually, you get immediate visual feedback (Green/Red).
Discipline: The indicator will flag "Extended" (Red) if you attempt to buy a stock that has run up too much, saving you from late entries and unnecessary losses.
Precision Timing: The VCP feature (Blue Dots) helps you identify the "calm before the storm"—the exact moment volatility contracts, which often precedes a major breakout.
3. Indicator Parameters & Features
A. Minervini Pressure (Buying vs. Selling)
What it checks: Money flow over the last 20 days.
Calculation: Sums up volume on "Up Days" (Green) versus volume on "Down Days" (Red).
Meaning:
🟢 Buying: More money is entering than leaving. A sign of institutional accumulation.
🔴 Selling: Selling pressure dominates. The price may be rising, but without strong volume backing.
B. Buy Risk (Price Extension)
What it checks: The distance of the current price from the 50-Day Moving Average. Minervini strictly warns against "chasing" stocks.
Signals:
🟢 Low Risk: Price is within 0% – 15% of the 50MA. This is the ideal "Buy Zone".
🟡 Caution: Price is 15% – 25% away. Buy with increased caution.
🔴 Extended: Price is >25% from the MA. Do not buy. The probability of a pullback is high.
⚪ Broken: Price is below the 50MA. The short-term trend is damaged.
C. TPR - Trend Template (Trend Power Rating)
What it checks: Is the stock in a Stage 2 Uptrend?
Strict Rules (All must be true for a PASS):
Price > 50MA > 150MA > 200MA.
The 200MA is trending UP (positive slope).
Price is near the 52-Week High (within 25%).
Price is above the 52-Week Low (at least 25%).
Meaning:
🟢 PASSED: Technically healthy and ready to move.
🔴 FAILED: The trend structure is broken (e.g., MAs are entangled).
D. RPR Score (Relative Performance Rating)
What it checks: How strong the stock is compared to the general market (S&P 500 / SPY).
Calculation: Weighted performance over 3, 6, 9, and 12 months vs. the SPY. The score ranges from 1 to 99.
Meaning:
🟢 80-99: Market Leader. These are the stocks Minervini targets.
🟡 70-80: Good, but not elite.
⚪ Below 70: Laggard (weaker than the market).
E. VCP Action (Volatility Contraction Pattern)
What it checks: Monitors price tightness. It calculates the range between the highest close and lowest close over the last 5 days.
Meaning:
🔵 SQUEEZE (Blue Text + Blue Dot on Chart): The price range has contracted to less than 2.5%.
Why it matters: When a stock stops moving wildly and trades in a tight range ("Flat Line"), it indicates supply has dried up. A high-volume breakout often follows immediately.






















