Custom EMA Stack + Signals AiWhat your script does (in plain English)
• Plots EMA 8, 21, 50, 100, 200 with toggles to show/hide each one.
• Generates a BUY label when:
• EMA 8 crosses above EMA 50
• AND EMA 50 is above EMA 200 (bullish environment filter)
• Generates a SELL label when:
• EMA 8 crosses below EMA 50
• AND EMA 50 is below EMA 200 (bearish environment filter)
This is a simple trend‑filtered crossover system.
Indicateurs et stratégies
Tabla de EMA's y TimeframesGraphic and permanent representation of the trend of an action/CFD/stock/crypto, directly related to the technical analysis of its EMA's.
Institutional Zone Detector [Scalping-Algo]█ OVERVIEW
The Institutional Zone Detector identifies key supply and demand zones where large market participants (institutions, banks, hedge funds) have likely placed significant orders. These zones often act as powerful support and resistance levels, making them strategic areas for trade entries and exits.
This indicator is non-repainting, meaning once a signal appears on your chart, it will never disappear or change position. What you see in backtesting is exactly what you would have seen in real-time.
█ CORE CONCEPT
Markets move when large players execute substantial orders. These orders leave footprints in the form of specific candlestick patterns:
Demand Zones (Bullish)
When institutions accumulate positions, we often see a bearish candle followed by a strong bullish sequence. The last bearish candle before this move marks the demand zone - an area where buying pressure overwhelmed sellers.
Supply Zones (Bearish)
When institutions distribute positions, we typically see a bullish candle followed by a strong bearish sequence. The last bullish candle before this move marks the supply zone - an area where selling pressure overwhelmed buyers.
Price has a tendency to revisit these zones, offering potential trade opportunities.
█ HOW IT WORKS
The indicator scans for:
1. A potential zone candle (bearish for demand, bullish for supply)
2. A sequence of consecutive candles in the opposite direction
3. Optional: A minimum percentage move to filter weak signals
When all conditions are met, the zone is marked on your chart with:
• Upper and lower boundaries (solid lines)
• Equilibrium/midpoint level (cross marker)
• Extended channel lines for easy visualization
█ SETTINGS
Consecutive Candles Required (Default: 5)
Number of same-direction candles needed after the zone candle to confirm the pattern. Higher values = fewer but stronger signals.
Minimum Move Threshold % (Default: 0.0)
Minimum percentage price movement required to validate a zone. Increase this to filter out weak moves and focus on significant institutional activity.
Display Full Candle Range (Default: Off)
• Off: Shows Open-to-Low for demand zones, Open-to-High for supply zones
• On: Shows complete High-to-Low range of the zone candle
Show Demand/Supply Zone Channel (Default: On)
Toggle extended horizontal lines that project the zone levels across your chart.
Visual Theme (Default: Dark)
Choose between Dark (white/blue) or Light (green/red) color schemes.
Show Statistics Panel (Default: Off)
Displays a floating panel with exact price levels of the most recent zones.
Display Info Tooltip (Default: Off)
Shows an information label with indicator documentation.
█ HOW TO USE
Entry Strategies
1. Zone Bounce (Mean Reversion)
• Wait for price to return to a previously identified zone
• Look for rejection candles (pin bars, engulfing patterns) at zone levels
• Enter in the direction of the original zone (long at demand, short at supply)
• Place stops beyond the zone boundary
2. Zone Break (Momentum)
• When price breaks through a zone with strong momentum
• The broken zone often becomes the opposite type (broken demand becomes supply)
• Use for trend continuation trades
3. Equilibrium Trades
• The midpoint (cross marker) often acts as a magnet for price
• Can be used as a first target or as an entry point for scaled positions
Risk Management
• Always place stop-loss orders beyond zone boundaries
• Consider the zone width when calculating position size
• Wider zones = wider stops = smaller position size
• Use the equilibrium level for partial profit taking
Best Practices
• Higher timeframes produce more reliable zones
• Zones on multiple timeframes (confluence) are stronger
• Fresh/untested zones are more powerful than zones that have been touched multiple times
• Combine with other analysis methods (trend direction, volume, market structure)
█ ALERTS
Two alert conditions are available:
• "Demand Zone Identified" - Triggers when a new demand zone is detected
• "Supply Zone Identified" - Triggers when a new supply zone is detected
To set up alerts: Click on the indicator name → Add Alert → Select condition
█ IMPORTANT NOTES
• This indicator is a tool for analysis, not a complete trading system
• Signals are NOT automatic buy/sell recommendations
• Always use proper risk management
• Past performance does not guarantee future results
• Works on all markets and timeframes
• Non-repainting: Signals appear only after bar close confirmation
█ ACKNOWLEDGMENTS
Inspired by institutional order flow concepts and smart money trading methodologies. Built with a focus on reliability and practical application.
All-in-One CVD: Failed Auction + Trap + Flow Classifications All-in-One CVD : Failed Auction/Trap + Flow Classifications (Colored Bars)
Description:
This script provides an advanced order flow and delta-based trading visualization designed to highlight key market microstructure events in real time. It combines Cumulative Volume Delta (CVD), failed auction detection, absorption tracking, continuation signals, and trap identification into a single, coherent tool with colored bars and visual markers. Unlike standard volume or trend-following indicators, this script focuses on aggressive order flow and price acceptance/rejection events, making it particularly suitable for scalping, intraday momentum trading, and identifying high-probability short-term setups.
Originality and Purpose:
Many scripts either show CVD or detect failed auctions separately, but this script integrates multiple advanced flow concepts into one indicator.
By combining CVD, normalized delta, strong delta thresholds, failed auctions, absorption, traps, and continuation patterns, traders can identify where aggressive buying or selling is being absorbed, where price is likely to continue, and where traps are forming.
The mashup is intentional: each component validates the other. For example, a failed auction signal without absorption is less significant, while a failed auction coinciding with absorption signals a true high-probability trap or reversal.
Failed auctions typically align with "Failed 2" patterns from The Strat by Rob Smith, providing additional confirmation using a well-established price action methodology.
How It Works:
Volume and Delta Calculation:
Computes buying and selling pressure from volume and bar structure (high/low/close).
Supports UltraData mode for enhanced volume calculations using security data.
Options for Cumulative Mode: Total, Periodic, or EMA-based CVD.
Normalized Delta and Strong Delta Detection:
Calculates normalized delta (z-score) to standardize flow across different volatility regimes.
Flags strong buying or selling when delta exceeds user-defined thresholds.
Failed Auction Detection:
Highlights bars where price attempted to break previous highs/lows but failed to sustain, signaling trapped aggressive participants.
True failed auctions can coincide with absorption for higher-probability setups.
Absorption:
Detects situations where strong aggressive flow is absorbed at key levels, showing institutional participation or liquidity consumption.
Bullish absorption occurs when aggressive buying is absorbed at previous lows; bearish absorption occurs when aggressive selling is absorbed at previous highs.
Flow Classification:
Continuation: Aggressive flow accepted by the market — often the next candle continues in the direction of the delta.
Important: A single continuation signal does not guarantee follow-through. Traders should view it as an indicator that aggressive participants are in control for the current candle, and consider market context, trend, and support/resistance before assuming continuation. Multiple consecutive continuation signals or confirmation with absorption/strong delta increases reliability.
Trap: Aggressive flow trapped — the market reverses after failed auction.
Absorption: Aggressive orders absorbed — market shows hesitation at tested levels.
Colored CVD Bars and Visual Markers:
Bars colored green/red/gray based on delta direction.
Visual markers indicate flow state: circles for continuation, X-cross for traps, triangles for absorption.
Works in real time — live candles are updated with flow state markers.
Alerts:
Custom alert conditions for each flow type: continuation, trap, and absorption.
Alerts provide actionable signals for automated monitoring or manual trading.
Trading Applications:
Trap Trading: Identify aggressive buyers/sellers who fail to push price and get trapped. Use trap signals to fade reversals.
Continuation Trading: Detect market acceptance of aggressive flow for trend-following or breakout strategies. Use caution: a single continuation signal indicates probability, not certainty, and should be confirmed with structural context.
Absorption Analysis: Spot where institutional participants absorb liquidity before a potential directional move.
Intraday Scalping: Combines delta, volume, failed auction logic, and Strat alignment for high-frequency setups.
Key Notes:
True failed auctions with significant market impact require absorption — otherwise, a simple failed attempt may be a weak signal.
The script works across multiple markets (Forex, Crypto, Stock) and supports live bar updates.
Users can adjust strong delta thresholds, period lengths, and cumulative modes to fit their preferred trading style or volatility regime.
Conclusion:
This all-in-one script provides traders with a comprehensive, visually intuitive, and real-time method to detect aggressive flow, failed auctions, absorption, and continuation patterns. By linking failed auctions to The Strat’s failed 2 patterns, and clarifying the probabilistic nature of continuation signals, it merges advanced delta analytics with proven price action methodology, making it highly original, actionable, and educational for understanding market order flow dynamics.
Nested SMA WaveThe "Nested SMA Wave" is a custom Pine Script (v5) indicator for TradingView that overlays a series of 8 Simple Moving Averages (SMAs) on the price chart. These SMAs use exponentially increasing lengths based on powers of 2, starting from a user-defined base length (default: 25). This creates lengths like 25, 50, 100, 200, 400, 800, 1600, and 3200.
Each SMA is plotted in a distinct color, forming a "wave" of nested lines that fan out from short-term (faster, more responsive) to long-term (slower, smoother). Semi-transparent colored fills (shaded zones) are added between consecutive SMAs, with customizable toggles and transparency levels, creating layered visual bands that highlight the spaces between different trend timescales.
Use Cases
Multi-Timeframe Trend Visualization: The power-of-2 nesting approximates higher timeframe trends on lower timeframes without switching charts. Shorter SMAs react quickly to price changes, while longer ones show major trends, helping identify overall market structure at a glance.
Support/Resistance Identification: Price interacting with the SMA lines or shaded zones can act as dynamic support/resistance. Crossovers between nested SMAs signal potential momentum shifts.
Trend Strength and Alignment: When SMAs are widely spaced and aligned (e.g., all sloping up), it indicates strong trends. Converging or crossing SMAs suggest consolidation or reversals. The shaded zones add depth, making expansions/contractions in volatility or trend power visually obvious.
Ribbon-Style Trading: Similar to moving average ribbons, traders can look for price pulling back to inner zones for entries in the direction of the broader "wave," or use zone breaks for signals.
Customization for Different Assets/Timeframes: Adjust the base length (e.g., smaller for crypto volatility, larger for stocks) and toggle shades to reduce clutter.
This creates a visually rich, rainbow-like overlay that's particularly useful for trend-following strategies on any chart.
Seasonal Strategies V1Seasonal Strategies V1 is a rule-based futures seasonality framework built around predefined calendar windows per asset.
The strategy automatically detects the current symbol and activates long or short trading phases strictly based on historically observed seasonal tendencies. All entries and exits are fully time-based — no indicators, no predictions, no discretionary input.
Key Features
Asset-specific seasonal windows (MMDD-based)
Automatic long and short activation
Fully time-based entries and exits
One position at a time (no pyramiding)
Clean chart visualization using subtle background shading
No indicators, no filters, no curve fitting
Philosophy:
This strategy is designed as a structural trading tool, not a forecasting model.
It focuses on when a market historically shows seasonal tendencies — not why or how far price might move.
Seasonal Strategies V1 intentionally keeps the chart clean and minimal, making it suitable as a baseline framework for research, portfolio-style seasonal approaches, or further extensions in later versions.
Intended Use:
Futures and commodity markets
Seasonality research and testing
Systematic, calendar-driven strategies
Educational and analytical purposes
Disclaimer
This script is provided for educational and research purposes only.
Past seasonal tendencies do not guarantee future performance.
Risk management, position sizing, and portfolio decisions are the responsibility of the user.
SISU levels✔ Previous Day High
✔ Previous Day Low
✔ Previous Day Mid
✔ Asia Session High
✔ Asia Session Low
✔ London Session High
✔ London Session Low
✔ Midnight Open (12:00 AM EST)
✔ NYSE Opening Print (9:30 AM EST)
✔ Daily Open Print (6:00 PM EST)
Volume Expansion vs 20-Day AverageThis indicator compares the current bar’s volume with the average volume of the previous 20 periods.
It highlights moments of volume expansion, where trading activity exceeds its recent norm, often associated with increased participation, momentum, or institutional interest.
The indicator is designed to be used as a filter, not a standalone signal. It is particularly useful for confirming breakouts, momentum setups, or avoiding low-quality trades during low-liquidity conditions.
Volume thresholds can be adjusted to require a minimum multiple of the average volume, allowing traders to focus only on meaningful volume surges.
Entropy Balance Oscillator [JOAT]
Entropy Balance Oscillator - Chaos Theory Edition
Overview
Entropy Balance Oscillator is an open-source oscillator indicator that applies chaos theory concepts to market analysis. It calculates market entropy (disorder/randomness), balance (price position within range), and various chaos metrics to identify whether the market is in an ordered, chaotic, or balanced state. This helps traders understand market regime and adjust their strategies accordingly.
What This Indicator Does
The indicator calculates and displays:
Entropy - Measures market disorder using return distribution analysis
Balance - Price position within the high-low range, normalized to -1 to +1
Lyapunov Exponent - Estimates sensitivity to initial conditions (chaos indicator)
Hurst Exponent - Measures long-term memory in price series (trend persistence)
Strange Attractor - Simulated attractor points for visualization
Bifurcation Detection - Identifies potential regime change points
Chaos Index - Combined entropy and volatility score
Market Phase - Classification as CHAOS, ORDER, or BALANCED
How It Works
Entropy is calculated using return distribution:
calculateEntropy(series float price, simple int period) =>
// Calculate returns and their absolute values
// Sum absolute returns for normalization
// Apply Shannon entropy formula: -sum(p * log(p))
float entropy = 0.0
for i = 0 to array.size(returns) - 1
float prob = math.abs(array.get(returns, i)) / sumAbs
if prob > 0
entropy -= prob * math.log(prob)
entropy
Balance measures price position within range:
calculateBalance(series float high, series float low, series float close, simple int period) =>
float range = high - low
float position = (close - low) / (range > 0 ? range : 1)
float balance = ta.ema(position, period)
(balance - 0.5) * 2 // Normalize to -1 to +1
Lyapunov Exponent estimates chaos sensitivity:
lyapunovExponent(series float price, simple int period) =>
float sumLog = 0.0
for i = 1 to period
float ratio = price > 0 ? math.abs(price / price ) : 1.0
if ratio > 0
sumLog += math.log(ratio)
lyapunov := sumLog / period
Hurst Exponent measures trend persistence:
H > 0.5: Trending/persistent behavior
H = 0.5: Random walk
H < 0.5: Mean-reverting behavior
Signal Generation
Phase changes and extreme conditions generate signals:
Chaos Phase: Normalized entropy exceeds chaos threshold (default 0.7)
Order Phase: Normalized entropy falls below order threshold (default 0.3)
Extreme Chaos: Entropy exceeds 1.5x chaos threshold
Extreme Order: Entropy falls below 0.5x order threshold
Bifurcation: Variance exceeds 2x average variance
Dashboard Panel (Top-Right)
Market Phase - Current phase (CHAOS/ORDER/BALANCED)
Entropy Level - Normalized entropy value
Balance - Current balance reading (-1 to +1)
Chaos Index - Combined chaos score percentage
Volatility - Current price volatility
Lyapunov Exp - Lyapunov exponent value
Hurst Exponent - Hurst exponent value
Chaos Score - Overall chaos assessment
Status - Current market status
Visual Elements
Entropy Line - Main oscillator showing normalized entropy
Entropy EMA - Smoothed entropy for trend reference
Balance Area - Filled area showing balance direction
Chaos/Order Thresholds - Horizontal dashed lines
Lyapunov Line - Step line showing Lyapunov exponent
Strange Attractor - Circle plots showing attractor points
Phase Space - Line showing phase space reconstruction
Phase Background - Background color based on current phase
Extreme Markers - X-cross for extreme chaos, diamond for extreme order
Bifurcation Markers - Circles at potential regime changes
Input Parameters
Entropy Period (default: 20) - Period for entropy calculation
Balance Period (default: 14) - Period for balance calculation
Chaos Threshold (default: 0.7) - Threshold for chaos phase
Order Threshold (default: 0.3) - Threshold for order phase
Lyapunov Exponent (default: true) - Enable Lyapunov calculation
Hurst Exponent (default: true) - Enable Hurst calculation
Strange Attractor (default: true) - Enable attractor visualization
Bifurcation Detection (default: true) - Enable bifurcation detection
Suggested Use Cases
Identify market regime for strategy selection (trend-following vs mean-reversion)
Watch for phase changes as potential trading environment shifts
Use Hurst exponent to assess trend persistence
Monitor chaos index for volatility regime awareness
Avoid trading during extreme chaos phases
Timeframe Recommendations
Best on 1H to Daily charts. Chaos metrics require sufficient data for meaningful calculations.
Limitations
Chaos theory concepts are applied as analogies, not rigorous mathematical implementations
Lyapunov and Hurst calculations are simplified approximations
Strange attractor visualization is conceptual
Bifurcation detection uses variance as proxy
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management.
- Made with passion by officialjackofalltrades
Advanced Footprint Analysis1. ABSORPTION = BEST ENTRY SIGNALS
When BTC hits support and shows bullish absorption:
You know big money is buying
Price won't fall further (supply absorbed)
Risk/reward is optimal (tight stop below absorption)
Win rate on these setups is 70-80%
2. EXHAUSTION = REVERSAL TIMING
Catches exact moment selling/buying pressure is exhausted
No more guessing "is the dip over?"
Volume confirms the reversal
3. IMBALANCES = CONTINUATION TRADES
Stacked imbalances show trend strength
Enter pullbacks in strong trends
Avoid counter-trend trades when imbalance is strong
4. DELTA DIVERGENCE = EARLY WARNING
Cumulative delta rising but price flat = accumulation (buy setup)
Cumulative delta falling but price rising = distribution (sell setup)
This divergence appears BEFORE price moves
5. FILTERS OUT NOISE
Crypto has tons of fake volume and wash trading
By requiring volume to be significantly above average (2x, 3x), you ignore the noise
Only trade when institutions are active
6. WORKS ON ALL CRYPTO PAIRS
BTC, ETH, SOL - same patterns
Especially powerful on perpetual futures (more volume data)
PRACTICAL 5M CRYPTO ALGO STRATEGY:
LONG ENTRY:
Wait for bullish absorption OR bullish exhaustion
Confirm with positive stacked imbalances (3 bars)
Enter when price breaks above absorption high
Stop below absorption low
Target: 2-3x risk or next resistance
SHORT ENTRY:
Wait for bearish absorption OR bearish exhaustion
Confirm with negative stacked imbalances
Enter when price breaks below absorption low
Stop above absorption high
Target: 2-3x risk or next support
FILTER:
Only trade in direction of cumulative delta trend
Avoid when volume is below average (no institutional activity)
777yurrp, gemini made ts, i love making indicators with ai, in 15 minutes man its easy ash to be honest, try it yourself ;), i have to type something here
#BLTA - CARE 7891🔷 #BLTA - CARE 7891: Ny session toolkit + Risk box + Confirmed levels + Asia box + Structure + Imbalances
Description:
#BLTA - CARE 7891 is an overlay toolkit 🧭🛠️ built for structured discretionary trading preparation. Its main purpose is to keep your chart reading and pre-trade planning in one place by combining time context, confirmed reference levels, liquidity framing, manual risk sizing, and context overlays (structure + imbalances).
🚫 This script is an indicator, not a strategy. It does not place orders.
🧩 Why these modules are combined (and how they work together)
This is not a “mashup for the sake of mixing”. Each module supports a specific step of a practical workflow:
🕒 Time context (new york session mapping)
Background highlights mark precise NY-time windows (day division at 17:00, london blocks, and new york blocks).
This provides the timing framework for when you typically scan, plan, or execute.
📰📅 Confirmed reference levels (previous day/week highs & lows)
Instead of plotting live extremes, this script confirms levels at defined boundaries:
Trading day: 17:00 → 17:00 NY
Weekly boundary: Sunday 17:00 NY
Lines start exactly at the candle where the high/low occurred and extend forward.
Optional “stop on hit” 🧊 freezes a level once price touches it, keeping the chart clean and realistic for forward analysis.
🈵 Asian range liquidity box (session that can cross midnight)
A dedicated Asian range container tracks high/low and an optional 50% midline.
It uses NY timestamps and safely handles sessions that cross midnight (storing the correct session date).
This gives you a daily liquidity “frame” often used for sweeps, breaks, and invalidations.
💸 Manual risk planning (trade box + lot sizing + table)
You select Entry (EP) and Stop (SL) directly on the chart using input.price(..., confirm=true) and time anchors.
The script then calculates:
💰 cash at risk from balance and risk %
📏 stop distance in pips (forex-aware pip sizing)
📦 lot size using units-per-lot and account currency inputs
🎯 target price using a reward ratio
It draws a risk box + target box and shows a compact table for quick verification.
🔁 Re-confirm mode (wizard) is included to prevent “stale” anchor points after timeframe changes or when you want a clean reset. While enabled, the risk table is replaced with a step guide and temporary EP/SL markers.
📈 Market structure overlay (1H zigzag projected to any timeframe)
A zigzag swing engine is computed on 1H via request.security() and projected onto the current chart.
Opacity is automatically reduced on non-1H charts so it stays contextual, not dominant.
Optional live extension of the last leg helps you see the active swing in progress.
📊 Imbalance map (fvg / og / vi) + optional dashboard
The script detects and draws:
🤏 fair value gaps (fvg)
👐 opening gaps (og)
🔎 volume imbalances (vi)
Optional filters allow minimum width by points / % / atr, and each imbalance type can be extended forward.
A dashboard 📱 can summarize bullish/bearish frequency and fill rates for context review.
✅ Quick start (recommended order)
Turn on 🕒 session visualization to align with NY timing.
Enable 📰 pdh/pdl and 📅 weekly highs/lows to map confirmed reference liquidity.
Use 🈵 the asian range box to frame the early-session liquidity container.
Plan your trade with 💸 risk module (pick EP/SL, verify pips + lots + target).
Add 📈 zigzag structure and 📊 imbalances only as supporting context.
⚠️ Notes & limitations
This tool is for planning and chart reading, not automated execution.
Lot sizing is an estimate based on your inputs; always confirm broker contract specs.
Some modules draw many objects (boxes/lines/tables) 🧱, which may slow very small timeframes.
Borna Zones EntryThis indicator marks close-based entry signals for DAX / GER40 on the 1-minute timeframe, using two fixed intraday zones:
08:00 candle → Zone 08
09:00 candle → Zone 09
If the zones overlap, an entry is marked on the first candle close breaking the combined zone.
If the zones are separated, an entry is marked on the first candle close breaking the 09:00 zone, in the direction of the 08:00 zone.
Entries are shown only between 09:00 and 11:00 and only on the first valid breakout (no repeated signals).
MAs + Bollinger Bands by @ETERNYWORLDMAs + Bollinger Bands by @ETERNYWORLD is the core trend and volatility layer inside the Trend Mastery Pro ecosystem, engineered by EternityWorld to deliver a clean, structured, and highly customizable market bias reading directly on the chart.
What’s Inside the Indicator
5 independent Moving Averages (EMA or SMA) with individual enable/disable toggles, lengths, colors, and widths.
Bollinger Bands with professional basis options: SMA, EMA, RMA/SMMA, WMA, VWMA, plus adjustable deviation multiplier and visual band fill.
Chart overlay compatibility, making trend and volatility easy to interpret for fast decisions.
Fully configurable alerts, enabling traders to stay proactive without missing high-probability expansion triggers.
Enhanced by Trend Mastery Pro Workflow
This indicator complements the 3-step methodology of Trend Mastery Pro:
Bias → defines the dominant trend direction.
Trigger → identifies breakout or momentum expansion zones using confluence with volatility.
Management → supports consistent risk execution when combined with external strategy rules and trade plans.
Key Strengths
✔ Unified trend + volatility envelope on chart
✔ Individual component control (no clutter, no guesswork)
✔ Noise reduction in consolidation environments
✔ Adaptable to crypto, forex, indices, commodities, and equities
✔ Reliable for intraday impulse plays and structured directional setups
How to Use It
Context: Align your analysis with the broader bias before execution.
Signal: Watch for volatility expansion and trend alignment for breakout scenarios.
Execution: Apply your risk plan (position size, partials, BE/trailing) based on your trading model.
Best Practices
🛡️ Tune sensitivity according to asset volatility and timeframe horizon
🛡️ Avoid trading against dominant bias during compression phases
🛡️ Always validate through backtesting and forward testing before scaling
🛡️ Log performance and refine parameters iteratively
Who It's For
Traders who want:
A repeatable and disciplined process
A professional visual structure
Less noise, more clarity, better bias alignment
A premium indicator suite that supports real decision-making
Compatibility
Seamlessly works with any asset and timeframe on TradingView supporting chart overlay indicators. Alerts are designed to help monitoring without being glued to the screen.
Disclaimer ⚠️
This product is not financial advice and does not guarantee results. Performance varies depending on market conditions, asset behavior, user configuration, and applied risk management. Always trade responsibly and follow your own risk plan.
Gridbot Ping Pong🏓 Gridbot Ping Pong is a dynamic grid bot indicator that generates buy and sell signals as price oscillates between automatically calculated support and resistance levels. The grid adapts to trending markets through adjustable tilt and anchor parameters, which control the grid slope and shift resistance respectively. Entry signals trigger when price touches grid levels, while take profit and stop signals manage position exits. Unlike traditional grid bots that require horizontal ranges, this indicator maintains its oscillation zone as price trends by tilting and shifting the grid structure to follow momentum. The grid bot approach aims to accumulate gains through frequent touches across multiple grid levels rather than seeking large directional moves. Like a ping pong ball in motion, price oscillates between grid levels — each touch generates a signal.
⚡ THEORY & CONCEPTS ⚡
Grid trading is a systematic approach that places buy and sell orders at predetermined price intervals, creating a grid of orders above and below a set price level. In ranging markets, this method capitalizes on natural price oscillations by buying at lower grid levels and selling at higher ones. Each completed round trip between levels represents a captured opportunity, and the frequency of these oscillations determines the grid's effectiveness. Traditional grid bots excel when price remains within the defined range, methodically accumulating gains as price bounces between levels.
However, traditional grid structures face significant challenges when markets begin to trend. Fixed horizontal levels that performed well during consolidation become liabilities during directional moves. An uptrend leaves buy orders unfilled while sell orders trigger prematurely, and a downtrend creates the opposite problem. Extended trends can result in accumulated positions at increasingly unfavorable prices, with no mechanism to adapt to the new market reality. The static nature of traditional grids assumes markets will return to the mean, yet sustained breakouts regularly invalidate this assumption.
Gridbot Ping Pong addresses these limitations through dynamic grid adaptation. The tilt parameter angles the grid in the direction of the prevailing trend, aligning support and resistance levels with market momentum rather than fighting against it. The anchor parameter creates buffer zones beyond the outer grid boundaries, requiring price to demonstrate conviction before triggering a grid shift. When price breaks through these buffers, the entire grid recenters to the new price level. This combination of tilting grids and controlled shifting allows the indicator to maintain grid trading mechanics while acknowledging that markets trend.
The grid adapts through a downtrend and early reversal. Entry signals (▲▼), take profit signals (△▽), and grid shifts demonstrate the ping pong sequence as price oscillates between levels.
The grid structure consists of five levels: two potential support levels below, a center base price, and two potential resistance levels above. These levels are calculated as percentage intervals from a dynamic base price, with the spacing parameter determining the distance between each level. Trend direction is derived from consecutive grid shifts, where multiple shifts in the same direction confirm momentum. The grid restricts entries to the trend direction — buy signals in uptrends, sell signals in downtrends — while counter-trend signals convert to exits when appropriate.
Full market cycle demonstrating grid adaptation through rally, reversal, decline, and recovery. Buy signals dominate during uptrends, sell signals during downtrends, with take profits at boundaries throughout. Two stop signals mark the trend reversals.
Tilt
The tilt mechanic introduces slope to the grid structure based on trend direction and momentum. When consecutive shifts occur in the same direction, the tilt increases, creating a steeper grid that tracks with the trend. As the trend progresses, support levels rise with it — buy signals trigger on pullbacks to these rising levels rather than static levels abandoned by price. Similarly, resistance levels fall during downtrends, keeping sell signals relevant to current price action. If the trend reverses and shifts occur in the opposite direction, the tilt resets and begins building in the new direction. The tilt strength parameter controls how aggressively the grid slopes, with higher values producing steeper angles. Negative tilt values invert this relationship, angling the grid against the prevailing momentum rather than with it. This counter-trend configuration positions support levels lower during uptrends and resistance levels higher during downtrends, favoring mean reversion entries that anticipate pullbacks rather than continuation.
Negative tilt applied during an uptrend. Despite the bullish price action from late November through December, the grids slope downward, positioning buy signals at deeper support levels. Take profit signals appear at resistance as price reaches the upper grid boundaries before pulling back. The counter-trend configuration captures oscillations within the rising market rather than chasing momentum.
Anchor
The anchor mechanic provides resistance to grid shifting. Buffer zones extend beyond the outer grid boundaries, requiring price to demonstrate conviction before triggering a shift. Higher anchor values create larger buffers, requiring more significant price movement. As consecutive shifts confirm a trend, the pro-trend buffer shrinks, allowing the grid to follow momentum with increasing ease. This lets the indicator commit to established trends while resisting premature shifts during consolidations. Tilt and anchor work in complementary tension: tilt rewards momentum by angling the grid, while anchor resists excessive shifting by requiring price conviction to recenter. When price breaks through these buffers, the entire grid recenters to the new price level and play continues on a fresh table.
Steady uptrend with minimal tilt. The flat grid segments demonstrate that shifting alone keeps the grid aligned with price action. Buy signals (▲) and take profit signals (▽) alternate as price bounces between levels, accumulating gains through repetition across the entire move.
Sustained uptrend from June through September. The grid follows the trend with increasing ease as consecutive shifts reduce the pro-trend buffer. The October consolidation eventually triggers a downward shift and stop signal, but the system adapts to the renewed uptrend in November with fresh entry signals.
Signal Generation
The indicator generates three signal types. Entry signals (▲▼) trigger when price reaches a grid level in the direction of the trend, initiating a new position. Take profit signals (△▽) trigger when price reaches a grid level against the trend direction while a position is held, capturing gains as the rally continues. Stop signals (⦿) trigger when a grid shift occurs while holding a position adverse to the new shift direction. The ball goes off the table.
Trend reversal from bearish to bullish. The grid follows the downtrend through November with consecutive sell signals. A stop signal (⦿) triggers at the bottom as the grid shifts adversely against the held position. The system resets and adapts to the emerging uptrend in December, generating fresh buy signals as the new direction establishes.
Trigger Options
The signal trigger determines what price data the indicator uses to detect grid touches, balancing responsiveness against confirmation.
Auto : The default setting, using wick-based detection for pro-trend signals and close-based detection for counter-trend signals. This balances responsiveness when entering with the trend against confirmation when signaling against it.
Wick Touch : Generates signals in real-time when the high or low touches a grid level, providing the fastest response to price interaction.
Wick Reverse : Requires the wick to cross through the grid level from the previous bar, confirming the touch before signaling.
SWMA : Uses a Symmetrically Weighted Moving Average as the trigger source, generating signals only when the smoothed price crosses grid levels.
Close : Uses the bar's closing price as the trigger source, providing confirmed signals after each bar completes.
Symmetrically Weighted Moving Average (SWMA) trigger during a trend reversal. The smoothed price line filters intrabar noise, generating signals only when the SWMA crosses grid levels rather than reacting to wick touches. The grid follows the downtrend through November, resets at the bottom, and adapts to the emerging uptrend in December.
Signal Safeguards
The indicator includes built-in protections to reduce overtrading and mitigate risk, keeping the ball in play longer:
Boundary Protection : New entries are blocked at the outermost grid levels where breakout risk is highest. Exits remain permitted at these boundaries.
Signal Spacing : Signals maintain one-level separation from the most recent signal, preventing clusters of entries at similar prices.
Trend Alignment : When conflicting conditions arise, signals align with the prevailing trend direction rather than fighting momentum.
Automatic Profit Taking : Counter-trend interactions convert to take profit signals when a position is held, capturing gains rather than reversing exposure.
Adverse Shift Stops : When the grid shifts against a held position, a stop signal triggers to exit before further adverse movement.
Cautious Breakout Entries : On the first shift in a new direction, entries are restricted to favorable grid levels until the trend confirms through consecutive shifts.
Shift Resistance : Counter-trend shifts always require full buffer conviction, while pro-trend shifts become easier only after the trend is confirmed.
🛠️ CONFIGURATION & SETTINGS 🛠️
Core Parameters
SPACING (%) : Sets the percentage distance between grid levels. Higher values create wider grids with more room between signals, lower values create tighter grids with more frequent signal opportunities.
TRIGGER : Selects the price source for signal detection. See Trigger Options above.
TILT : Controls the grid slope factor in the trend direction.
ANCHOR : Controls resistance to grid shifting.
Visual Settings
GRIDS : Sets the colors for support (lower) and resistance (upper) grid levels.
FILL : Sets the gradient fill colors between the price line and outer grid boundaries.
SWMA : Sets the color of the Symmetrically Weighted Moving Average line.
🏓 PLAYING GRIDBOT PING PONG 🏓
⚪The objective is not to predict where price will go, but to be present at each level when it arrives.
⚪Each touch at a boundary counts. Gains accumulate through repetition, not single swings.
⚪The rally continues until it doesn't. When the ball goes off the table, the game resets.
⚪The grid creates boundaries where price bounces back and forth. The table is set — the ball does the work.
⚪Price oscillates between defined levels. The grid is the table. Everything else is just ping pong.
Tennis is a form of ping pong. In fact, tennis is ping pong played while standing on the table. In fact, all racquet games are nothing but derivatives of ping pong. — George Carlin
⚠️ DISCLAIMER ⚠️
The Gridbot Ping Pong indicator is a visual analysis tool designed to illustrate grid trading concepts and serve as a framework for understanding grid bot mechanics. While the indicator generates entry, exit, and stop signals, no guarantee is made regarding the profitability of these signals. Like all technical indicators, the grid levels and signals generated by this tool may appear to align with favorable trading opportunities in hindsight. However, these signals are not intended as standalone recommendations for trading decisions. This indicator is intended for educational and analytical purposes, complementing other tools and methods of market analysis.
🧠 BEYOND THE CODE 🧠
Gridbot Ping Pong is part of the Grid Bot Series, building on the concepts introduced in the Grid Bot Simulator , Grid Bot Auto , and Grid Bot Parabolic indicators. While those tools established the foundation for grid-based analysis, this indicator introduces dynamic tilt and anchor mechanics that adapt to trending market conditions.
This indicator shares the same educational philosophy as the Fibonacci Time-Price Zones and the Fibonacci Geometry Series - providing frameworks for understanding market concepts through visualization and experimentation rather than black-box signals.
The Gridbot Ping Pong indicator, like other xxattaxx indicators , is designed to encourage both education and community engagement. Feedback and insights are invaluable to refining and enhancing this tool. We look forward to the creative applications, observations, and discussions this indicator inspires within the trading community.
BB + RSI Div + Volume + VWAP (4H Perp Short Alert) - SafeThis Indicator use Bollinger Band + RSI Div + Volumne + VWAP for shorting Mid and Small Cap token in 4H timeframe
Borna Zones Entry First Close BreakThis indicator marks close-based entry signals for DAX / GER40 on the 1-minute timeframe, using two fixed intraday zones:
08:00 candle → Zone 08
09:00 candle → Zone 09
If the zones overlap, an entry is marked on the first candle close breaking the combined zone.
If the zones are separated, an entry is marked on the first candle close breaking the 09:00 zone, in the direction of the 08:00 zone.
Entries are shown only between 09:00 and 11:00 and only on the first valid breakout (no repeated signals).
Velocity Divergence Radar [JOAT]
Velocity Divergence Radar - Momentum Physics Edition
Overview
Velocity Divergence Radar is an open-source oscillator indicator that applies physics concepts to market analysis. It calculates price velocity (rate of change), acceleration (rate of velocity change), and jerk (rate of acceleration change) to provide a multi-dimensional view of momentum. The indicator also includes divergence detection and force vector analysis.
What This Indicator Does
The indicator calculates and displays:
Velocity - Rate of price change over a configurable period, smoothed with EMA
Acceleration - Rate of velocity change, showing momentum shifts
Jerk (3rd Derivative) - Rate of acceleration change, indicating momentum stability
Force Vectors - Volume-weighted acceleration representing market force
Kinetic Energy - Calculated as 0.5 * mass (volume ratio) * velocity squared
Momentum Conservation - Tracks momentum relative to historical average
Divergence Detection - Identifies when price and velocity diverge at pivots
How It Works
Velocity is calculated as smoothed rate of change:
calculateVelocity(series float price, simple int period) =>
float roc = ta.roc(price, period)
float velocity = ta.ema(roc, period / 2)
velocity
Acceleration is the change in velocity:
calculateAcceleration(series float velocity, simple int period) =>
float accel = ta.change(velocity, period)
float smoothAccel = ta.ema(accel, period / 2)
smoothAccel
Jerk is the change in acceleration:
calculateJerk(series float acceleration, simple int period) =>
float jerk = ta.change(acceleration, period)
float smoothJerk = ta.ema(jerk, period / 2)
smoothJerk
Force is calculated using F = m * a (mass approximated by volume ratio):
calculateForceVector(series float mass, series float acceleration) =>
float force = mass * acceleration
float forceDirection = math.sign(force)
float forceMagnitude = math.abs(force)
Signal Generation
Signals are generated based on velocity behavior:
Bullish Divergence: Price makes lower low while velocity makes higher low
Bearish Divergence: Price makes higher high while velocity makes lower high
Velocity Cross: Velocity crosses above/below zero line
Extreme Velocity: Velocity exceeds 1.5x the upper/lower zone threshold
Jerk Extreme: Jerk exceeds 2x standard deviation
Force Extreme: Force magnitude exceeds 2x average
Dashboard Panel (Top-Right)
Velocity - Current velocity value
Acceleration - Current acceleration value
Momentum Strength - Combined velocity and acceleration strength
Radar Score - Composite score based on velocity and acceleration
Direction - STRONG UP/SLOWING UP/STRONG DOWN/SLOWING DOWN/FLAT
Jerk - Current jerk value
Force Vector - Current force magnitude
Kinetic Energy - Current kinetic energy value
Physics Score - Overall physics-based momentum score
Signal - Current actionable status
Visual Elements
Velocity Line - Main oscillator line with color based on direction
Velocity EMA - Smoothed velocity for trend reference
Acceleration Histogram - Bar chart showing acceleration direction
Jerk Area - Filled area showing jerk magnitude
Vector Magnitude - Line showing combined vector strength
Radar Scan - Oscillating pattern for visual effect
Zone Lines - Upper and lower threshold lines
Divergence Labels - BULL DIV / BEAR DIV markers
Extreme Markers - Triangles at velocity extremes
Input Parameters
Velocity Period (default: 14) - Period for velocity calculation
Acceleration Period (default: 7) - Period for acceleration calculation
Divergence Lookback (default: 10) - Bars to scan for divergence
Radar Sensitivity (default: 1.0) - Zone threshold multiplier
Jerk Analysis (default: true) - Enable 3rd derivative calculation
Force Vectors (default: true) - Enable force analysis
Kinetic Energy (default: true) - Enable energy calculation
Momentum Conservation (default: true) - Enable momentum tracking
Suggested Use Cases
Identify momentum direction using velocity sign and magnitude
Watch for divergences as potential reversal warnings
Use acceleration to detect momentum shifts before price confirms
Monitor jerk for momentum stability assessment
Combine force and kinetic energy for conviction analysis
Timeframe Recommendations
Works on all timeframes. Higher timeframes provide smoother readings; lower timeframes show more granular momentum changes.
Limitations
Physics analogies are conceptual and not literal market physics
Divergence detection uses pivot-based lookback and may lag
Force calculation uses volume ratio as mass proxy
Kinetic energy is a derived metric, not actual energy
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management.
- Made with passion by officialjackofalltrades
EY Watermark DashboardThis script provides a comprehensive, high-level watermark dashboard designed to give traders an immediate snapshot of a symbol's health and context without cluttering the main chart area.
Main Features & Logic:
Contextual Data: Displays Company Name, Market Cap (T/B/M), Sector, and Industry.
Volatility (ATR): Shows the 14-day Average True Range as a percentage of the price, with color-coded emojis based on user-defined thresholds.
Volume Anomaly Detection: Compares current intraday volume against a 200-bar SMA to flag "Low," "High," or "Extreme" volume spikes.
Pre-Market Analysis: Calculates cumulative pre-market volume and compares it to a 30-day average volume. This is categorized into levels (Negligible, Noise, Sentiment, Significant Move, or Major Event) to help identify early institutional interest.
Trend & Distance: Tracks price position relative to a customizable Moving Average (default 150) and calculates the percentage distance from the All-Time High (ATH).
Fundamental Data: Integrates P/E ratios and a countdown to the next earnings date using TradingView's financial and earnings data functions.
How to use: Traders can use this to quickly verify if a stock is "extended" from its ATH, if the current volume is anomalous, or if there is significant pre-market activity that warrants attention before the opening bell.
QTاندیکاتور "QT" در پلتفرم TradingView یک ابزار پیشرفته برای تجزیه و تحلیل بازار است که از چندین چرخه زمانی مختلف بهره میبرد. این اندیکاتور به شما کمک میکند تا نقاط بحرانی در بازههای زمانی مختلف (سالیانه، ماهانه، هفتگی، روزانه، 90 دقیقهای و میکرو) را شناسایی کنید. ویژگی برجسته این اندیکاتور، استفاده از SSMT (Same Cycle Multiple Timeframes) و PSP (Price Signal Patterns) برای ارائه سیگنالهای دقیقتر است. این دو بخش باعث میشوند که اندیکاتور "QT" به ابزاری قدرتمند برای تریدرها تبدیل شود.
ویژگیهای اصلی:
SSMT (Same Cycle Multiple Timeframes):
SSMT یک روش تجزیه و تحلیل پیشرفته است که در آن یک چرخه زمانی خاص بهطور همزمان در چندین تایم فریم مختلف رصد میشود. این اندیکاتور با استفاده از SSMT، به شما این امکان را میدهد که تغییرات قیمت در تایم فریمهای مختلف را مقایسه کنید و سیگنالهایی که در چندین تایم فریم همزمان فعال هستند، شناسایی کنید.
این سیگنالها میتوانند به شما کمک کنند که نقاط ورود و خروج بهتری داشته باشید، چرا که تایید شدن سیگنال در چند تایم فریم به معنای اعتبار بالای آن است.
به عنوان مثال، زمانی که یک شکست قیمتی در تایم فریم روزانه رخ میدهد و همزمان در تایم فریمهای هفتگی و ماهانه هم تأیید میشود، احتمال اینکه این حرکت ادامهدار باشد، بسیار بالا خواهد بود.
SSMT قابلیت تنظیم دارد و میتوانید آن را بر اساس نیاز خود بهطور سفارشی تنظیم کنید، از جمله تعیین نحوه نمایش علامتها، رنگها و خطوط سیگنال.
PSP (Price Signal Patterns):
PSP یکی از بخشهای کلیدی اندیکاتور QT است که از الگوهای خاص قیمتی برای شناسایی تغییرات مهم در بازار استفاده میکند. این الگوها میتوانند شامل شکستها (Breakouts)، برگشتها (Reversals) و تغییرات روند (Trend Changes) باشند.
اندیکاتور PSP از دو نماد مختلف برای مقایسه استفاده میکند (مثلاً "SPY" و "QQQ") و نقاطی که این نمادها با یکدیگر دچار انحراف میشوند را شناسایی میکند. به عنوان مثال، اگر یک نماد صعودی باشد اما دیگری نزولی باشد، این میتواند بهعنوان یک هشدار برای تغییر روند بازار عمل کند.
در کنار این الگوها، این اندیکاتور از نشانگرهای گرافیکی (مانند مثلثها، فلشها و علامتهای دایرهای) برای نمایش این تغییرات استفاده میکند.
PSP همچنین این امکان را به شما میدهد که سیگنالهای قیمتی را در تایم فریمهای مختلف مشاهده کرده و تصمیمات دقیقتری بگیرید.
چرخههای زمانی و جعبهها:
اندیکاتور QT از جعبههای زمانی برای نمایش تغییرات در چارچوبهای زمانی مختلف (سالیانه، ماهانه، هفتگی و غیره) استفاده میکند.
این جعبهها میتوانند بهطور خودکار و با تنظیمات سفارشی شما رسم شوند، بهطوری که شما میتوانید روندهای مختلف بازار را در تایم فریمهای متفاوت مشاهده کنید.
بهطور کلی، این ویژگی به شما کمک میکند که نقاط حمایت و مقاومت مهم در زمانهای مختلف بازار را شناسایی کنید.
گرافیک و سفارشیسازی:
این اندیکاتور به شما این امکان را میدهد که رنگها، اندازهها، و استایلهای گرافیکی را به دلخواه خود تغییر دهید. این ویژگی به تریدرها این امکان را میدهد که ابزار را با توجه به نیاز خود شخصیسازی کنند.
همچنین، از آنجا که این اندیکاتور از چندین چرخه زمانی استفاده میکند، شما میتوانید هرکدام از این چرخهها را با استایلهای مختلف نمایش دهید، مثل استفاده از خطچین، نقطهچین یا خطهای عادی.
خلاصه:
اندیکاتور "QT" با استفاده از تکنیکهای پیشرفته مانند SSMT و PSP، تجزیه و تحلیل بازار را در چندین تایم فریم مختلف برای شما امکانپذیر میسازد. این اندیکاتور با تحلیل دقیق چرخههای زمانی مختلف و شناسایی الگوهای قیمتی، سیگنالهایی را برای ورود و خروج به بازار به شما ارائه میدهد که میتواند بهطور قابلتوجهی به استراتژی معاملاتی شما کمک کند.
English:
Detailed Description of QT Indicator with Focus on SSMT and PSP:
The "QT" indicator on TradingView is an advanced tool designed for market analysis using multiple time cycles. It provides traders with a comprehensive view of market trends across different time frames (Yearly, Monthly, Weekly, Daily, 90-minute, and Micro). The standout feature of this indicator is its utilization of SSMT (Same Cycle Multiple Timeframes) and PSP (Price Signal Patterns), which enhances its ability to deliver more accurate signals. These two components make the "QT" indicator a powerful tool for traders.
Main Features:
SSMT (Same Cycle Multiple Timeframes):
SSMT is an advanced analysis technique that monitors a specific cycle across multiple time frames simultaneously. By using SSMT, this indicator allows traders to compare price changes across different time frames and identify signals that are active across multiple time frames.
These signals help traders identify high-probability entry and exit points because when a signal is confirmed across several time frames, it indicates a strong likelihood of a sustained price move.
For example, if a price breakout occurs on the daily time frame and is simultaneously confirmed on the weekly and monthly time frames, it is more likely to continue.
SSMT is highly customizable, allowing traders to adjust how markers, colors, and signal lines are displayed based on their preferences.
PSP (Price Signal Patterns):
PSP is one of the key components of the QT indicator that uses specific price patterns to identify significant market changes. These patterns can include breakouts, reversals, and trend changes.
The indicator utilizes two symbols (e.g., "SPY" and "QQQ") to compare and identify when these symbols diverge, signaling potential market shifts. For instance, if one symbol is bullish while another is bearish, this could signal a change in market direction.
In addition to these patterns, the indicator uses graphical markers (such as triangles, arrows, and circles) to visually represent these market changes and signals.
PSP allows traders to view price signals across different time frames, helping them make more informed decisions.
Time Cycles and Boxes:
The QT indicator uses time boxes to visually display price changes across different time frames (Yearly, Monthly, Weekly, etc.).
These boxes are automatically drawn and can be customized based on the user's settings, allowing traders to observe market trends across various periods.
Overall, this feature helps traders identify critical support and resistance levels at different points in time.
Graphics and Customization:
This indicator allows traders to customize colors, sizes, and graphical styles to fit their needs.
Additionally, since the indicator uses multiple time cycles, traders can display each cycle with different styles, such as solid, dotted, or dashed lines.
Summary:
The "QT" indicator, using advanced techniques like SSMT and PSP, allows traders to analyze the market across multiple time frames. By detecting significant price patterns and utilizing time cycles, the QT indicator provides high-probability signals for market entry and exit. This can greatly assist in enhancing your trading strategy.
EMA 9 vs VWMA 30 Portillo Valentin “It uses a 9‑period moving average and a volume‑weighted moving average. It gives a crossover signal, and the parameters can be adjusted.”
Uptrick: Price Memory TrendIntroduction
Uptrick: Price Memory Trend is a custom indicator designed to detect directional shifts and volatility changes using a non-traditional price memory approach. Unlike moving average systems, it builds a dynamic memory of price that adapts gradually over time, allowing it to detect significant deviations and trend transitions with reduced noise.
Overview
This script identifies trend changes by comparing the current price to a memory-based baseline. When price deviates significantly from this memory base, it triggers a trend regime shift—either bullish or bearish. Adaptive deviation bands are calculated using absolute deviation from the memory base, not ATR or standard deviation, which allows the indicator to capture volatility uniquely. Visual components include color-coded candles, labeled signals, optional bands, and a live status table summarizing current trend metrics.
Originality
The indicator’s core innovation lies in its use of a decaying memory function to track trend direction, replacing moving averages with a price memory that responds only to significant deviations. This method avoids lag typically associated with smoothing techniques, enabling timely trend detection. Furthermore, deviation is measured directly in price terms, rather than through volatility surrogates like ATR or Bollinger Bands, resulting in a more raw and responsive depiction of price behavior.
Inputs
Core Engine
Memory Strength: Sets how strongly the memory responds to price changes. Higher values make the memory base more reactive.
Memory Decay: Controls how much past memory is retained. Lower values weight new prices more heavily.
Deviation Length: Length of the EMA used to smooth absolute price deviation. A longer setting results in smoother bands.
Band Multiplier: Expands or contracts the dynamic bands. Higher values widen the bands, reducing sensitivity.
Customization
Color Palette: Selects one of six predefined color schemes for bull and bear visuals.
Show Bands: Enables or disables the display of deviation bands.
Look: Chooses between 'Bands', 'Trail', or 'Intense' styles, affecting how bands and fills are drawn.
Bands
Trail
Intense
Show Info Table: Toggles display of the real-time trend and volatility status panel.
Table Position: Determines which corner of the chart the info panel appears in.
Text Size: Adjusts font size used within the info table.
Features
Trend Detection
Bullish Shift: Triggered when price crosses above the upper band, entering a new bullish regime.
Bearish Shift: Triggered when price crosses below the lower band, entering a new bearish regime.
Trend state is persistent and updated only on confirmed transitions, avoiding repeated entries in the same direction.
Candle Coloring
Candles are dynamically recolored based on current trend direction: bull, bear, or neutral.
Signal Labels
Visual labels marked "Up" or "Down" are placed on the chart when a regime shift occurs, helping to mark turning points.
Deviation Bands
Dynamic upper and lower bands are drawn based on smoothed absolute deviation from the memory base.
Additional outer bands based on ATR may be drawn to highlight zone intensity when the 'Intense' or 'Trail' styles are selected.
Bands visually indicate overextension and help frame price context relative to memory.
Alerts
Built-in alert conditions trigger on bullish or bearish trend shifts, useful for automation or notifications.
Info Table
The optional info table displays:
Current trend direction
Band state (calm, hot, or cool)
Price stretch from base
Trend age in bars
Confidence level based on deviation
Memory slope and acceleration
Band width and compression state
Reversion risk based on stretch level
Info Table:
Trade Example:
Logic
Price Memory
A recursive formula updates a memory variable based on the current price.
The memory adjusts only when the price deviates meaningfully from its previous value.
The formula uses a combination of delta-weighting and exponential decay:
> memory := previous_memory + delta × memory_strength
> memory := memory × memory_decay + price × (1 - memory_decay)
This produces a smooth, adaptive base that responds gradually to directional price moves.
Deviation and Bands
Absolute deviation between price and the memory base is calculated and smoothed using an EMA.
The upper and lower bands are then calculated as:
> Upper Band = memory base + (smoothed deviation × band multiplier)
> Lower Band = memory base - (smoothed deviation × band multiplier)
ATR-based extensions can optionally be drawn around these bands for added visual structure.
Trend Logic
Bullish and bearish states are tracked using crossovers and crossunders of price against the upper and lower bands.
The indicator maintains a persistent trend state variable that updates only when a confirmed regime change occurs.
This prevents multiple signals within the same trend direction (non-pyramiding behavior).
Stretch and Band Analysis
Stretch is measured as the deviation of price from memory, normalized by smoothed deviation.
Band width is tracked over time and used to detect compression or expansion.
Band position is calculated to identify where price sits between the upper and lower bands.
Info Table Metrics
Memory Slope and Acceleration: Show first and second derivative of the memory base to capture trend speed and change.
Confidence Level: Based on stretch intensity, indicating trend strength.
Reversion Risk: Inferred from how extended price is beyond the band.
Compression: Evaluated by comparing current band width to its recent average.
Summary
Uptrick: Price Memory Trend provides an alternative framework for trend identification by replacing traditional smoothing with adaptive memory logic. It measures price deviation without reliance on ATR or standard deviation, instead focusing on distance from a reactive baseline. With regime-based trend tracking, customizable visuals, and a detailed status table, it supports both discretionary and system-driven trading styles.
Disclaimer
This script is for informational and educational purposes only. It does not provide financial advice or guarantees. Trading involves risk, and past performance is not indicative of future results. Always perform your own research before making trading decisions.






















