50% Fib Trend Cloud + ATR BandsThis indicator plots two structural 50% fibonacci midpoints from recent confirmed 'left/right' swings that form a *cloud* of equilibrium, then adds a rolling 50% fibonacci range midpoint based on a lookback window that's wrapped in ATR bands. Importantly, it solves a specific trading problem:
Structural midpoints (macro context) are powerful but can lag when price escapes prior ranges. Enter rolling 50% fib + ATR โก๏ธ which restores real-time balance & tolerance (micro context). Together they show where price is balanced structurally, where itโs balanced right now, and how much volatility to tolerate before acting.
โโโ
๐ Why this is different
Most tools either draw a single midpoint (ex., daily 50%) or ATR bands around a moving average. This script fuses dual swing-based 50% midpoints (structure) + a rolling 50% with ATR (flow), so you donโt lose context when price escapes prior ranges. The cloud tells you whoโs in control (fast vs. slow structure). The rolling 50% + ATR tells you how far is โtoo farโ now.
โโโ
๐ง What it does (at a glance)
๐ธStructural Equilibrium ร 2 (Fib1/Fib2)
Two independent 50% midpoints formed from swing pivots (configurable Left/Right bars + optional smoothing). Their gap is the Midpoint Cloud = structural โfair valueโ zone.
๐ธRolling 50% + ATR Bands
A rolling highest/lowest window computes an always-current 50% rolling midpoint plot; ยฑATR ร length envelopes define a soft value area and over-stretch boundaries.
๐ธActionable Visuals
Optional fill between Fib1/Fib2, labels, and candle-overlay modes to instantly read regime (above both / below both / between).
๐ธSmart Defaults
Timeframe-aware presets for L/R pivots & smoothing; full manual overrides available.
โโโ
โ๏ธ Calculations (plain-English)
๐ธPivot midpoints (Fib1 & Fib2):
1) Detect a swing using `Left/Right` bars
2) Take the swingโs high/low โ compute 50%
3) (Optional) Smooth the line (SMA) to stabilize on noisy TFs
4) Repeat with a different sensitivity to get two distinct midpoints
๐ธRolling midpoint:
Highest High / Lowest Low over the last *N* bars โ (HH + LL) / 2
๐ธATR levels:
`Upper = Rolling50 + ATR ร Mult`, `Lower = Rolling50 โ ATR ร Mult`
(Typical: ATR length 14โ21; Multipliers 2.236 for L1, 5.382 for L2)
โโโ
๐ค Auto-Configured Presets (with Manual Override)
๐กGoal: make the midpoints โjust workโ on common timeframes while still letting you dial them in.
๐กHow Auto Presets work
When Auto Presets = ON, the script picks sensible L/R/S (Left bars / Right bars / Smoothing) for Fib Trend 1 and Fib Trend 2 based on chart timeframe.
๐ธFib 1 (fast) emphasizes *micro-structure* for quicker bias shifts.
๐ธFib 2 (slow) emphasizes *macro-structure* for anchor/bias context.
These defaults keep Fib 1 responsive without jitter and Fib 2 stable without lag.
โก๏ธ Turn Auto Presets = OFF to take full control with the manual inputs described below.
โโโ
๐ Manual Fib Midpoint Settings (when Auto = OFF)
๐กEach midpoint uses three knobs:
๐ธPivot Left (L): bars to the left that must be lower/higher to qualify a swing
๐ธPivot Right (R): bars to the right that must be lower/higher to confirm the swing
๐ธSmoothing (S): SMA period applied to the raw 50% midpoint (stabilizes noise)
5-Minute optimized defaults
๐ธFib Trend 1: `L21 / R5 / S55` โ responsive local structure (entries/exits, re-balancing zones)
๐ธFib Trend 2: `L55 / R13 / S89` โ broader structure (trend context, anchors/stops)
Timeframe guidance
๐ธ1mโ3m: may feel a touch laggy โ consider ~`L13 / R3 / S34`
๐ธ15mโ1h: defaults remain strong โ optionally ~`L34 / R8 / S89`
๐ธ4h+ : increase span for stability โ `L89โ144 / R13โ21 / S144โ233`
โก๏ธ Rule of thumb: shorter L/R = faster detection, longer S = smoother line. Tune until Fib 1 captures the โactive swingโ and Fib 2 captures the โdominant swingโ without whipsaw.
โโโ
๐ Inputs (quick reference)
๐ธFib Trend 1/2: Source (High/Low/Close), Left/Right bars, Smoothing length, Show/Hide, Cloud fill toggle
๐ธRolling 50%: Lookback length, Price basis (Wicks/Close/HLC3/OHLC4), Plot scope (Full / Last N / None)
๐ธATR Bands: ATR length, Multipliers (L1/L2), Plot scope, Line width/colors
๐ธOverlay & Labels: Candle overlay mode, Label padding/size, 50% centerline toggle, Plot widths
โโโ
๐๏ธ Candle Coloring & Overlay Modes
๐กPurpose: make trend instantly visible on the candles and ATR levels.
1) Color Logic (dropdown)
๐ธ Fib Midpoints โ Colors by position of price vs. Fib 1 & Fib 2
๐ธATR Zones โ Colors by which ATR zone price is in relative to the Rolling 50%
โก๏ธ Price Reference: Choose the input used for the decision (Close, HL2, OHLC3, OHLC4).
โก๏ธTip: Close is crisp; HL2/OHLC variants are smoother.
2) Overlay Style (dropdown)
๐ธ None โ No visual change to candles
๐ธ Bar Color โ Uses `barcolor()` to tint built-in candles (this takes into account your Trading View settings, for instance if you have wicks set to white, they will show up as white with this setting)
๐ธ PlotCandles โ Draws unified custom candles (body, wick, border) with the same color for maximum clarity
๐กPractical use
๐ธ Pick Fib Midpoints to read structural bias at a glance (above/below/between the cloud).
๐ธ Pick ATR Zones to read value vs. stretch around the Rolling 50% (mean-reversion vs. trend extension).
โโโ
๐ How to use
A) Trend confirmation
- Strong bullish bias when price holds above both structural mids; strong bearish when below both.
- Use the Rolling 50% + ATR as a dynamic re-entry zone: pullbacks that respect ATR(L1) often continue the prevailing trend.
B) Transition / mean reversion
- Inside the Cloud (between Fib1 & Fib2) treat behavior as neutralization/re-balancing; range tactics tend to outperform momentum plays.
- In ranges, fades near ยฑATR around the rolling 50% can mark short-term edges.
C) Breakout context
- When price leaves the Cloud, the Rolling 50% keeps you anchored so price never feels โfloating.โ A clean hold outside ATR(L1/L2) suggests regime strength; quick re-entries hint at traps.
โโโ
๐ผ Chart examples
โก๏ธ Each snapshot shows how the Cloud (structure) and the Rolling 50% + ATR (flow) work together.
1) 1-Minute Downtrend โ Cloud as Dynamic Ceiling
- The Cloud slopes down; pullbacks repeatedly fail under the Cloudโs underside.
- Rolling 50% (dashed mid) + ATR(L1) act as a reversion band: rallies stall near upper ATR and rotate lower.
2) 15-Minute Persistent Drift โ Structure Guides, Flow Times Entries
- Long drift lower with Cloud overhead.
- Consolidations near the rolling mid resolve in the trend direction; ATR bands frame risk on each attempt.
3) 15-Minute Uptrend (BTC) โ From Cloud Escape to Value Stair-Step
- After escaping the prior Cloud, rolling 50% + ATR establish a new higher value area.
- Pullbacks into ATR(L1) produce orderly stair-steps; Cloud remains supportive on deeper dips
4) 5-Minute BTC โ Pullback to Value then Rotate
- Strong leg up; retrace tags lower ATR band and rotates back toward the rolling mid.
- Labels (Fib1/Fib2) make the structural context explicit for decision-making.
โโโ
๐งช Starter presets
- Intraday (5โ15m): Fib1 ~ L21/R5 (smooth 5), Fib2 ~ L55/R13 (smooth 9) โข Rolling = 55 โข ATR = 14 โข L1 = 2.5x, L2 = 5.0x
- Scalping: Shorten lookbacks & smoothing; keep ATR multipliers similar, or tighten L1.
- Swing: Lengthen all lookbacks; consider ATR length 21โ28.
โโโ
๐Final Word
This script is not just a visual tool, itโs a complete trend and structure framework. Whether you're looking for clean trend alignment, dynamic support/resistance, or early warning signs of a reversal, this system is tuned to help you react with confidence โ not hindsight.
Rembember, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages etc Use it as part of a well-rounded trading approach to confirm setups โ not to define them alone.
---
๐กTurn logic into clarity. Structure into trades. And uncertainty into confidence.
Cari dalam skrip untuk "scalp"
TTM Squeeze Screener [Pineify]TTM Squeeze Screener for Multiple Crypto Assets and Timeframes
This advanced TradingView Pine script, TTM Squeeze Screener, helps traders scan multiple crypto symbols and timeframes simultaneously, unlocking new dimensions in momentum and volatility analysis.
Key Features
Screen up to 8 crypto symbols across 4 different timeframes in one pane
TTM Squeeze indicator detects volatility contraction and expansion (โsqueezeโ) phases
Momentum filter reveals potential breakout direction and strength
Visual screener table for intuitive multi-asset monitoring
Fully customizable for symbols and timeframes
How It Works
The heart of this screener is the TTM Squeeze algorithmโa hybrid volatility and momentum indicator leveraging Bollinger Bands, Keltner Channels, and linear momentum analysis. The script checks whether Bollinger Bands are โsqueezedโ inside Keltner Channels, flagging periods of low volatility primed for expansion. Once a squeeze is released, the included momentum calculation suggests the likely breakout direction.
For each selected symbol and timeframe, the screener runs the TTM Squeeze logic, outputs โSQUEEZEโ or โNO SQZโ, and tags momentum values. A table layout organizes the results, allowing rapid pattern recognition across symbols.
Trading Ideas and Insights
Spot multi-symbol volatility clustersโideal for finding synchronized market moves
Assess breakout potential and direction before entering trades
Scalping and swing trading decisions are enhanced by cross-timeframe momentum filtering
Portfolio managers can quickly identify which assets are about to move
How Multiple Indicators Work Together
This screener unites three essential concepts:
Bollinger Bands : Measure volatility using standard deviation of price
Keltner Channels : Define expected price range based on average true range (ATR)
Momentum : Linear regression calculation to evaluate the direction and intensity after a squeeze
By combining these, the indicator not only signals when volatility compresses and releases, but also adds directional contextโfiltering false signals and helping traders time entries and exits more precisely.
Unique Aspects
Multi-symbol, multi-timeframe architectureโoptimized for crypto traders and market scanners
Advanced table visualizationโsee all signals at a glance, minimizing cognitive overload
Modular calculation functionsโeasy to adapt and extend for other asset classes or strategies
Real-time, low-latency screeningโbuilt for actionable alerts on fast-moving markets
How to Use
Add the script to a TradingView chart (works on custom layouts)
Select up to 8 symbols and 4 timeframes using input fields (defaults to BTCUSD, ETHUSD, etc.)
Monitor the screener table; โSQUEEZEโ highlights assets in potential breakout phase
Use momentum values to judge if the squeeze is likely bullish or bearish
Combine screener insights with manual chart analysis for optimal results
Customization
Symbols: Easily set any ticker for deep market scanning
Timeframes: Adjust to match your trading horizon (scalping, swing, long-term)
Indicator parameters: Refine Bollinger/Keltner/Momentum settings for sensitivity
Visuals: Personalize table layout, color codes, and formatting for clarity
Conclusion
In summary, the TTM Squeeze Screener is a robust, original TradingView indicator designed for crypto traders who demand a sophisticated multi-symbol, multi-timeframe edge. Its combination of volatility and momentum analytics makes it ideal for catching explosive breakouts, managing risk, and scanning the market efficiently. Whether youโre a scalper or swing trader, this screener provides the insights needed to stay ahead of the curve.
Trend Fib Zone Bounce (TFZB) [KedArc Quant]Description:
Trend Fib Zone Bounce (TFZB) trades with the latest confirmed Supply/Demand zone using a single, configurable Fib pullback (0.3/0.5/0.6). Trade only in the direction of the most recent zone and use a single, configurable fib level for pullback entries.
โข Detects market structure via confirmed swing highs/lows using a rolling window.
โข Draws Supply/Demand zones (bearish/bullish rectangles) from the latest MSS (CHOCH or BOS) event.
โข Computes intra zone Fib guide rails and keeps them extended in real time.
โข Triggers BUY only inside bullish zones and SELL only inside bearish zones when price touches the selected fib and closes back beyond it (bounce confirmation).
โข Optional labels print BULL/BEAR + fib next to the triangle markers.
What it does
Finds structure using confirmed swing highs/lows (you choose the confirmation length).
Builds the latest zone (bullish = demand, bearish = supply) after a CHOCH/BOS event.
Draws intra-zone โguide railsโ (Fib lines) and extends them live.
Signals only with the trend of that zone:
BUY inside a bullish zone when price tags the selected Fib and closes back above it.
SELL inside a bearish zone when price tags the selected Fib and closes back below it.
Optional labels print BULL/BEAR + Fib next to triangles for quick context
Why this is different
Most โzone + fib + signalโ tools bolt together several indicators, or fire counter-trend signals because they donโt fully respect structure. TFZB is intentionally minimal:
Single bias source: the latest confirmed zone defines direction; nothing else overrides it.
Single entry rule: one Fib bounce (0.3/0.5/0.6 selectable) inside that zoneโno counter-trend trades by design.
Clean visuals: you can show only the most recent zone, clamp overlap, and keep just the rails that matter.
Deterministic & transparent: every plot/label comes from the code you seeโno external series or hidden smoothing
How it helps traders
Cuts decision noise: you always know the bias and the only entry that matters right now.
Forces discipline: if price isnโt inside the active zone, you donโt trade.
Adapts to volatility: pick 0.3 in strong trends, 0.5 as the default, 0.6 in chop.
Non-repainting zones: swings are confirmed after Structure Length bars, then used to build zones that extend forward (they donโt โteleportโ later)
How it works (details)
*Structure confirmation
A swing high/low is only confirmed after Structure Length bars have elapsed; the dot is plotted back on the original bar using offset. Expect a confirmation delay of about Structure Length ร timeframe.
*Zone creation
After a CHOCH/BOS (momentum shift / break of prior swing), TFZB draws the new Supply/Demand zone from the swing anchors and sets it active.
*Fib guide rails
Inside the active zone TFZB projects up to five Fib lines (defaults: 0.3 / 0.5 / 0.7) and extends them as time passes.
*Entry logic (with-trend only)
BUY: barโs low โค fib and close > fib inside a bullish zone.
SELL: barโs high โฅ fib and close < fib inside a bearish zone.
*Optionally restrict to one signal per zone to avoid over-trading.
(Optional) Aggressive confirm-bar entry
When do the swing dots print?
* The code confirms a swing only after `structureLen` bars have elapsed since that candidate high/low.
* On a 5-min chart with `structureLen = 10`, thatโs about 50 minutes later.
* When the swing confirms, the script plots the dot back on the original bar (via `offset = -structureLen`). So you *see* the dot on the old bar, but it only appears on the chart once the confirming bar arrives.
> Practical takeaway: expect swing markers to appear roughly `structureLen ร timeframe` later. Zones and signals are built from those confirmed swings.
Best timeframe for this Indicator
Use the timeframe that matches your holding period and the noise level of the instrument:
* Intraday :
* 5m or 15m are the sweet spots.
* Suggested `structureLen`:
* 5m: 10โ14 (confirmation delay \~50โ70 min)
* 15m: 8โ10 (confirmation delay \~2โ2.5 hours)
* Keep Entry Fib at 0.5 to start; try 0.3 in strong trends, 0.6 in chop.
* Tip: avoid the first 10โ15 minutes after the open; let the initial volatility set the early structure.
* Swing/overnight:
* 1h or 4h.
* `structureLen`:
* 1h: 6โ10 (6โ10 hours confirmation)
* 4h: 5โ8 (20โ32 hours confirmation)
* 1m scalping: not recommended hereโthe confirmation lag relative to the noise makes zones less reliable.
Inputs (all groups)
Structure
โข Show Swing Points (structureTog)
o Plots small dots on the bar where a swing point is confirmed (offset back by Structure Length).
โข Structure Length (structureLen)
o Lookback used to confirm swing highs/lows and determine local structure. Higher = fewer, stronger swings; lower = more reactive.
Zones
โข Show Last (zoneDispNum)
o Maximum number of zones kept on the chart when Display All Zones is off.
โข Display All Zones (dispAll)
o If on, ignores Show Last and keeps all zones/levels.
โข Zone Display (zoneFilter): Bullish Only / Bearish Only / Both
o Filters which zone types are drawn and eligible for signals.
โข Clean Up Level Overlap (noOverlap)
o Prevents fib lines from overlapping when a new zone starts near the previous one (clamps line start/end times for readability).
Fib Levels
Each row controls whether a fib is drawn and how it looks:
โข Toggle (f1Togโฆf5Tog): Show/hide a given fib line.
โข Level (f1Lvlโฆf5Lvl): Numeric ratio in . Defaults active: 0.3, 0.5, 0.7 (0 and 1 off by default).
โข Line Style (f1Styleโฆf5Style): Solid / Dashed / Dotted.
โข Bull/Bear Colors (f#BullColor, f#BearColor): Per-fib color in bullish vs bearish zones.
Style
โข Structure Color: Dot color for confirmed swing points.
โข Bullish Zone Color / Bearish Zone Color: Rectangle fills (transparent by default).
Signals
โข Entry Fib for Signals (entryFibSel): Choose 0.3, 0.5 (default), or 0.6 as the trigger line.
โข Show Buy/Sell Signals (showSignals): Toggles triangle markers on/off.
โข One Signal Per Zone (oneSignalPerZone): If on, suppresses additional entries within the same zone after the first trigger.
โข Show Signal Text Labels (Bull/Bear + Fib) (showSignalLabels): Adds a small label next to each triangle showing zone bias and the fib used (e.g., BULL 0.5 or BEAR 0.3).
How TFZB decides signals
With trend only:
โข BUY
1. Latest active zone is bullish.
2. Current barโs close is inside the zone (between top and bottom).
3. The barโs low โค selected fib and it closes > selected fib (bounce).
โข SELL
1. Latest active zone is bearish.
2. Current barโs close is inside the zone.
3. The barโs high โฅ selected fib and it closes < selected fib.
Markers & labels
โข BUY: triangle up below the bar; optional label โBULL 0.xโ above it.
โข SELL: triangle down above the bar; optional label โBEAR 0.xโ below it.
Right-Panel Swing Log (Table)
What it is
A compact, auto-updating log of the most recent Swing High/Low events, printed in the top-right of the chart.
It helps you see when a pivot formed, when it was confirmed, and at what priceโso you know the earliest bar a zone-based signal could have appeared.
Columns
Type โ Swing High or Swing Low.
Date โ Calendar date of the swing bar (follows the chartโs timezone).
Swing @ โ Time of the original swing bar (where the dot is drawn).
Confirm @ โ Time of the bar that confirmed that swing (โ Structure Length ร timeframe after the swing). This is also the earliest moment a new zone/entry can be considered.
Price โ The swing price (high for SH, low for SL).
Why itโs useful
Clarity on repaint/confirmation: shows the natural delay between a swing forming and being usableโno guessing.
Planning & journaling: quick reference of todayโs pivots and prices for notes/backtesting.
Scanning intraday: glance to see if you already have a confirmed zone (and therefore valid fib-bounce entries), or if youโre still waiting.
Context for signals: if a fib-bounce triangle appears before the time listed in Confirm @, itโs not a valid trade (you were too early).
Settings (Inputs โ Logging)
Log swing times / Show table โ turn the table on/off.
Rows to keep โ how many recent entries to display.
Show labels on swing bar โ optional tags on the chart (โSwing High 11:45โ, โConfirm SH 14:15โ) that match the table.
Recommended defaults
โข Structure Length: 10โ20 for intraday; 20โ40 for swing.
โข Entry Fib for Signals: 0.5 to start; try 0.3 in stronger trends and 0.6 in choppier markets.
โข One Signal Per Zone: ON (prevents over trading).
โข Zone Display: Both.
โข Fib Lines: Keep 0.3/0.5/0.7 on; turn on 0 and 1 only if you need anchors.
Alerts
Two alert conditions are available:
โข BUY signal โ fires when a with trend bullish bounce at the selected fib occurs inside a bullish zone.
โข SELL signal โ fires when a with trend bearish bounce at the selected fib occurs inside a bearish zone.
Create alerts from the chartโs Alerts panel and select the desired condition. Use Once Per Bar Close to avoid intrabar flicker.
Notes & tips
โข Swing dots are confirmed only after Structure Length bars, so they plot back in time; zones built from these confirmed swings do not repaint (though they extend as new bars form).
โข If you donโt see a BUY where you expect one, check: (1) Is the active zone bullish? (2) Did the candleโs low actually pierce the selected fib and close above it? (3) Is One Signal Per Zone suppressing a second entry?
โข You can hide visual clutter by reducing Show Last to 1โ3 while keeping Display All Zones off.
Glossary
โข CHOCH (Change of Character): A shift where price breaks beyond the last opposite swing while local momentum flips.
โข BOS (Break of Structure): A cleaner break beyond the prior swing level in the current momentum direction.
โข MSS: Either CHOCH or BOS โ any event that spawns a new zone.
Extension ideas (optional)
โข Add fib extensions (1.272 / 1.618) for target lines.
โข Zone quality score using ATR normalization to filter weak impulses.
โข HTF filter to only accept zones aligned with a higher timeframe trend.
โ ๏ธ Disclaimer This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
VWAP Momentum Oscillator How It Works
Core Calculation Method
The oscillator combines four key market measurements into a single, normalized reading:
1. Price-VWAP Deviation: `(Close - VWAP) / VWAP ร 100`
2. VWAP-MA Momentum: `(VWAP - MovingAverage) / MovingAverage ร 100`
3. Anchored VWAP Strength: Average of high/low anchor deviations from rolling VWAP
4. Range Position: `(Close - PeriodLow) / (PeriodHigh - PeriodLow) ร 100 - 50`
Dynamic Signal Line
The signal line uses an EMA that automatically adjusts its length based on your chart timeframe:
- Futures: Always covers 23 hours of trading (1,380 minutes)
- Stocks: Always covers 6.5 hours of trading (390 minutes)
- Examples: 276 periods on 5-min futures chart, 1,380 periods on 1-min futures chart
Trading Signals
๐ข Buy Signals
- Condition: Main oscillator crosses above signal line while below zero
- Logic: Momentum turning bullish from oversold conditions
- Visual: Green "BUY" label below price action
๐ด Sell Signals
- Condition: Main oscillator crosses below signal line while above zero
- Logic: Momentum turning bearish from overbought conditions
- Visual: Red "SELL" label above price action
โ ๏ธ Extreme Warnings
- Extreme Overbought: Red triangle when oscillator crosses above +4.0
- Extreme Oversold: Green triangle when oscillator crosses below -4.0
- Purpose: Risk management alerts, not entry/exit signals
Oscillator Zones
Interpretation Guide
- Above +2.0: Strong bullish momentum zone (green background)
- 0 to +2.0: Mild bullish territory
- 0 to -2.0: Mild bearish territory
- Below -2.0: Strong bearish momentum zone (red background)
- Above +4.0: Extreme overbought (caution advised)
- Below -4.0: Extreme oversold (potential reversal zone)
Customization Options
Moving Average Settings
- EMA/SMA Toggle: Choose between exponential or simple moving average
- Color Customization: Adjust MA line color and width
Visual Controls
- Bullish/Bearish Colors: Customize momentum zone colors
- Signal Line: Toggle visibility and adjust color
- Line Widths: Control thickness of all plot lines
Anchor Modes
- NY Session Only: Anchors reset at NY market open (9:30 AM ET)
- 24H NY Day: Anchors reset at NY calendar day change (midnight ET)
Best Practices
Timeframe Selection
- Scalping: 1-5 minute charts for quick momentum changes
- Day Trading: 5-15 minute charts for clearer trend signals
- Swing Trading: 1-4 hour charts for major momentum shifts
Signal Confirmation
- Wait for crossovers: Don't trade on oscillator position alone
- Respect extreme levels: Exercise caution above +4 or below -4
- Use with price action: Combine with support/resistance levels
Risk Management
- Extreme zones: Reduce position size when oscillator is extended
- Failed signals: Exit quickly if momentum doesn't follow through
- Market context: Consider overall trend direction and market volatility
Technical Specifications
Calculation Components
- Base Length: 1,380 periods (futures) / 390 periods (stocks)
- Signal Line: Dynamic EMA covering one full trading day
- Smoothing: 3-period SMA on raw oscillator (adjustable)
- Update Frequency: Real-time on every price tick
Performance Notes
- Resource Efficient: Optimized calculations minimize CPU usage
- Memory Friendly: Uses incremental VWAP calculations
- Fast Loading: Minimal historical data requirements
Version History & Development
This oscillator evolved from advanced VWAP overlay strategies, transforming complex multi-line analysis into a single, actionable momentum gauge. The indicator maintains the sophistication of institutional VWAP analysis while providing the clarity needed for retail trading decisions.
Core Philosophy
Traditional VWAP indicators show where price is relative to volume-weighted averages, but they don't quantify momentum or provide clear entry/exit signals. This oscillator solves that problem by normalizing all VWAP relationships into a single, bounded indicator that works consistently across all timeframes and asset classes.
---
Open Source License: This indicator is provided free for the TradingView community. Feel free to modify and enhance according to your trading needs.
Enhanced Chande Momentum OscillatorEnhanced Chande Momentum Oscillator (Enh CMO)
๐ Description
The Enhanced Chande Momentum Oscillator is an advanced version of the classic Chande Momentum Oscillator with dynamic envelope boundaries that automatically adapt to market volatility. This indicator provides clear visual signals for potential price reversals and momentum shifts.
Key Features:
Original Chande Momentum Oscillator calculation
Dynamic upper and lower boundaries based on statistical analysis
Adaptive envelope that adjusts to market volatility
Visual fill area between boundaries for easy interpretation
Real-time values table with current readings
Built-in alert conditions for boundary touches
Customizable moving average types (SMA, EMA, WMA)
โ๏ธ Settings
CMO Settings:
CMO Length (9): Period for calculating the base Chande Momentum Oscillator
Source (close): Price source for calculations
Envelope Settings:
Envelope Length (20): Lookback period for calculating the moving average and standard deviation
Envelope Multiplier (1.5): Multiplier for standard deviation to create upper/lower bounds
Moving Average Type (EMA): Type of moving average for envelope calculation
๐ How to Use
Visual Elements
Lines:
White Line: Main Chande Momentum Oscillator
Red Line: Upper boundary (resistance level)
Green Line: Lower boundary (support level)
Yellow Line: Moving average of CMO (trend direction)
Purple Fill: Visual envelope between boundaries
Reference Lines:
Zero Line: Neutral momentum level
+50/-50 Lines: Traditional overbought/oversold levels
Trading Signals
๐ด Sell/Short Signals
CMO touches or crosses above upper boundary โ Potential bearish reversal
CMO is above +50 and declining โ Weakening bullish momentum
CMO crosses below yellow MA line while above zero โ Momentum shift
๐ข Buy/Long Signals
CMO touches or crosses below lower boundary โ Potential bullish reversal
CMO is below -50 and rising โ Weakening bearish momentum
CMO crosses above yellow MA line while below zero โ Momentum shift
โก Advanced Signals
Boundary contraction โ Decreasing volatility, potential breakout coming
Boundary expansion โ High volatility period, use wider stops
CMO hugging upper boundary โ Strong uptrend continuation
CMO hugging lower boundary โ Strong downtrend continuation
๐ฏ Trading Strategies
Strategy 1: Reversal Trading
Wait for CMO to touch extreme boundaries (red or green lines)
Look for divergence with price action
Enter counter-trend position when CMO starts moving back toward center
Set stop beyond the boundary breach point
Take profit near zero line or opposite boundary
Strategy 2: Momentum Confirmation
Use CMO direction to confirm trend
Enter positions when CMO crosses above/below yellow MA line
Hold positions while CMO remains on the correct side of MA
Exit when CMO crosses back through MA line
Strategy 3: Volatility Breakout
Monitor boundary width (envelope expansion/contraction)
When boundaries contract significantly, prepare for breakout
Enter in direction of CMO breakout from narrow range
Use boundary expansion as confirmation signal
โ ๏ธ Important Notes
Best Timeframes
Scalping: 1m, 5m charts
Day Trading: 15m, 30m, 1H charts
Swing Trading: 4H, Daily charts
Market Conditions
Trending Markets: Focus on momentum confirmation signals
Ranging Markets: Focus on boundary reversal signals
High Volatility: Increase envelope multiplier (1.8-2.5)
Low Volatility: Decrease envelope multiplier (1.0-1.3)
Risk Management
Always use stop losses beyond boundary levels
Reduce position size during boundary expansion periods
Combine with price action and support/resistance levels
Monitor the real-time table for precise entry/exit levels
๐ Alerts
The indicator includes built-in alert conditions:
"CMO Above Upper Bound": Potential reversal down signal
"CMO Below Lower Bound": Potential reversal up signal
Set these alerts to catch opportunities without constantly monitoring charts.
๐ก Tips for Success
Combine with other indicators: Use with RSI, MACD, or volume indicators for confirmation
Watch for divergences: CMO making new highs/lows while price doesn't follow
Use multiple timeframes: Check higher timeframe CMO for overall trend context
Adjust settings for different assets: Crypto may need different settings than forex
Paper trade first: Test the indicator with your trading style before using real money
๐จ Customization Tips
Change colors in the Pine Script to match your chart theme
Adjust envelope length for faster (shorter) or slower (longer) signals
Modify envelope multiplier based on asset volatility
Hide the table if it obstructs your view by commenting out the table section
Complete trading solution: Pair with the Optimus Indicator (paid indicator) for multi-timeframe trend analysis and trend signals.
Together they create a powerful confluence system for professional trading setups.
Advanced Trading System - [WOLONG X DBG]Advanced Multi-Timeframe Trading System
Overview
This technical analysis indicator combines multiple established methodologies to provide traders with market insights across various timeframes. The system integrates SuperTrend analysis, moving average clouds, MACD-based candle coloring, RSI analysis, and multi-timeframe trend detection to suggest potential entry and exit opportunities for both swing and day trading approaches.
Methodology
The indicator employs a multi-layered analytical approach based on established technical analysis principles:
Core Signal Generation
SuperTrend Engine: Utilizes adaptive SuperTrend calculations with customizable sensitivity (1-20) combined with SMA confirmation filters to identify potential trend changes and continuations
Braid Filter System: Implements moving average filtering using multiple MA types (McGinley Dynamic, EMA, DEMA, TEMA, Hull, Jurik, FRAMA) with percentage-based strength filtering to help reduce false signals
Multi-Timeframe Analysis: Analyzes trend conditions across 10 different timeframes (1-minute to Daily) using EMA-based trend detection for broader market context
Advanced Features
MACD Candle Coloring: Applies dynamic 4-level candle coloring system based on MACD histogram momentum and signal line relationships for visual trend strength assessment
RSI Analysis: Identifies potential reversal areas using RSI oversold/overbought conditions with SuperTrend confirmation
Take Profit Analysis: Features dual-mode TP detection using statistical slope analysis and Parabolic SAR integration for exit timing analysis
Key Components
Signal Types
Primary Signals: Green โฒ for potential long entries, Red โผ for potential short entries with trend and SMA alignment
Reversal Signals: Small circular indicators for RSI-based counter-trend possibilities
Take Profit Markers: X-cross symbols indicating statistical TP analysis zones
Pullback Signals: Purple arrows for potential trend continuation entries using Parabolic SAR
Visual Elements
8-Layer MA Cloud: Customizable moving average cloud system with 3 color themes for trend visualization
Real-Time Dashboard: Multi-timeframe trend analysis table showing bullish/bearish status across all timeframes
Dynamic Candle Colors: 4-intensity MACD-based coloring system (ranging from light to strong trend colors)
Entry/SL/TP Labels: Automatic calculation and display of suggested entry points, stop losses, and multiple take profit levels
Usage Instructions
Basic Configuration
Sensitivity Setting: Start with default value 6
Increase (7-15) for more frequent signals in volatile markets
Decrease (3-5) for higher quality signals in trending markets
MA Filter Type: McGinley Dynamic recommended for smoother signals
Filter Strength: Set to 80% for balanced filtering, adjust based on market conditions
Signal Interpretation
Long Entry: Green โฒ suggests when price crosses above SuperTrend with bullish SMA alignment
Short Entry: Red โผ suggests when price crosses below SuperTrend with bearish SMA alignment
Reversal Opportunities: Small circles indicate RSI-based counter-trend analysis
Take Profit Zones: X-crosses mark statistical TP areas based on slope analysis
Dashboard Analysis
Green Cells: Bullish trend detected on that timeframe
Red Cells: Bearish trend detected on that timeframe
Multi-Timeframe Confluence: Look for alignment across multiple timeframes for stronger signal confirmation
Risk Management Features
Automatic Calculations
ATR-Based Stop Loss: Dynamic stop loss calculation using ATR multiplier (default 1.9x)
Multiple Take Profit Levels: Three TP targets with 1:1, 1:2, and 1:3 risk-reward ratios
Position Sizing Guidance: Entry labels display suggested price levels for order placement
Confirmation Requirements
Trend Alignment: Requires SuperTrend and SMA confirmation before signal generation
Filter Validation: Braid filter must show sufficient strength before signals activate
Multi-Timeframe Context: Dashboard provides broader market context for decision making
Optimal Settings
Timeframe Recommendations
Scalping: 1M-5M charts with sensitivity 8-12
Day Trading: 15M-1H charts with sensitivity 6-8
Swing Trading: 4H-Daily charts with sensitivity 4-6
Market Conditions
Trending Markets: Reduce sensitivity, increase filter strength
Ranging Markets: Increase sensitivity, enable reversal signals
High Volatility: Adjust ATR risk factor to 2.0-2.5
Advanced Features
Customization Options
MA Cloud Periods: 8 customizable periods for cloud layers (default: 2,6,11,18,21,24,28,34)
Color Themes: Three professional color schemes plus transparent option
Dashboard Position: 9 positioning options with 4 size settings
Signal Filtering: Individual toggle controls for each signal type
Technical Specifications
Moving Average Types: 21 different MA calculations including advanced types (Jurik, FRAMA, VIDA, CMA)
Pullback Detection: Parabolic SAR with customizable start, increment, and maximum values
Statistical Analysis: Linear regression slope calculation for trend-based TP analysis
Important Limitations
Lagging Nature: Some signals may appear after potential entry points due to confirmation requirements
Ranging Markets: May produce false signals during extended sideways price action
High Volatility: Requires parameter adjustment during news events or unusual market conditions
Computational Load: Multiple timeframe analysis may impact performance on slower devices
No Guarantee: All signals are suggestions based on technical analysis and may be incorrect
Educational Disclaimers
This indicator is designed for educational and analytical purposes only. It represents a technical analysis tool based on mathematical calculations of historical price data and should not be considered as financial advice or trading recommendations.
Risk Warning: Trading involves substantial risk of loss and is not suitable for all investors. Past performance of any trading system or methodology is not necessarily indicative of future results. The high degree of leverage can work against you as well as for you.
Important Notes:
Always conduct your own analysis before making trading decisions
Use appropriate position sizing and risk management strategies
Never risk more than you can afford to lose
Consider your investment objectives, experience level, and risk tolerance
Seek advice from qualified financial professionals when needed
Performance Disclaimer: Backtesting results do not guarantee future performance. Market conditions change constantly, and what worked in the past may not work in the future. Always paper trade new strategies before risking real capital.
Heikin Ashi Overlay SuiteHeikin Ashi Overlay Suite is designed to give traders more control and clarity when working with Heikin Ashi candles โ whether you're analyzing trend strength, reducing chart noise, or simply improving your visual read of market momentum. It works by layering multiple types of HA overlays and color systems on top of your standard candlestick chart โ without switching chart types. With dynamic gradient coloring, smoothing options, and a predictive line tool, this script helps you see not just what the current trend is, but how strong it is, and what it would take to reverse it.
Heikin Ashi candles help reduce noise but this script goes further by:
โก๏ธadding color intelligence that shows trend strength using a streak counter
โก๏ธuses smoothing logic to clean up chop and whipsaws
โก๏ธintroduces a predictive close line โ a subtle but powerful guide for anticipating trend flips before they happen
Everything is configurable: colors, candle sources, overlays, predictive tools, and line styles. Itโs built for traders who want visual speed, but donโt want to sacrifice signal quality.
At its core, the script offers two powerful dropdown controls:
๐ฅHA Color Scheme (Colors Regular Candles) โ Applies Heikin Ashi-derived coloring to your regular candles based on trend direction or streak strength. This gives you instant visual context without switching to a separate chart type.
๐ฅHA Candle Overlay Mode โ Overlays actual Heikin Ashi-style candles directly on top of your chart, using your preferred source:
โก๏ธCustom HA candles using internal formula logic
โก๏ธTradingViewโs built-in Heikin Ashi source with your own colors
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐จ Custom + Gradient HA Coloring๐จ
See trend strength at a glance:
โก๏ธ1โ4 bar streaks โ lighter tone
โก๏ธ5โ8 bars โ medium tone
โก๏ธ9+ bars โ bold tone, ideal for momentum-based entries, exits, or scaling strategies
โ Choose from:
โก๏ธYour own custom color set
โก๏ธA simple 2-color base mode
โก๏ธOr a 3-level gradient for progressive trend analysis (using the streak counter)
๐๏ธ TradingView Official Heikin Ashi Overlay
Prefer native HA candles but want your own colors?
This mode plots TradingView's Heikin Ashi source, with your personal bullish/bearish color scheme.
โก๏ธEnsures consistency with built-in charts while still leveraging your visual style.
๐ Smoothed Heikin Ashi Candles โ Clarity in Chaos๐
These arenโt your standard HA candles. Smoothed Heikin Ashi uses a two-step EMA process to transform chaotic price action into a cleaner, slower-moving trend structure:
๐น First, it smooths the raw OHLC data using EMA โ filtering out minor price fluctuations.
๐น Then, it applies the Heikin Ashi transformation on top of the smoothed data.
๐น Finally, it applies a second EMA smoothing pass to the HA values โ creating ultra-smooth candles.
๐ What You See:
Trends appear more fluid and consistent.
Choppy ranges and fakeouts are visually suppressed.
Minor pullbacks within a trend are de-emphasized, helping you avoid premature exits.
๐ฏ Best For:
Swing traders looking to stay in positions longer.
Intraday traders dealing with volatile or noisy instruments.
Anyone who wants a "trend map" overlay without the distractions of raw price action.
โ
Reduces whipsaws
โ
Delivers high-contrast trend zones
โ
Makes reversals more visually apparent (but with a slight lag)
๐ Predictive Close Line๐
Shows where the real close must land to flip the current HA candle's color.
โ
Use it like predictive support/resistance
โ
Know if the trend is actually at risk
โ
Visualize potential fakeouts or confirmation
Color-coded based on current HA direction (bullish, bearish, or neutral).
๐ Tick by tick & bar-to-bar Plots๐
Provides 2 plot types:
1)1 plot that tracks a bar tick by tick
2)another plot that tracks the close from bar to bar
For the bar to bar plot, you can choose between 2 options:
โ
Full Plot โ continuous line colored by HA trend
โ
Recent Segments โ color just the last few bars (configurable) to reduce chart clutter
โ
Customize width, number of bars, and visibility
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ How to Use this script๐
Imagine you're watching a choppy 15-minute chart on a volatile crypto pair โ price action is messy, and itโs hard to tell if a trend is forming or just noise.
Hereโs how to cut through the chaos using Heikin Ashi Overlay Suite:
๐น Step 1: Enable "Smoothed HA Candles"
Start by turning on the smoothed candles. Youโll immediately notice the noise fades, and broader directional moves become easier to follow. It's like switching from static to clean trend zones.
๐ง Why: Smoothed HA uses a double EMA process that filters out small reversals and lets larger moves stand out. Perfect for sideways or jittery charts.
๐น Step 2: Watch the Color Gradient Build
As the smoothed candles begin to align in one direction, the gradient coloring (1โ4, 5โ8, 9+ streaks) gives you an at-a-glance visual of how strong the trend is.
โ
If you see 9+ same-colored candles? Youโre likely in a mature trend.
โ
If it resets often? Youโre in chop โ consider staying out.
๐น Step 3: Use the Predictive Close Line for Anticipation
Now hereโs the edge โ this line tells you where the candle would have to close to flip colors.
๐ If price is hovering just above it during a bullish run โ momentum may be weakening.
๐ If price bounces off it โ the trend may be strengthening.
This is excellent for confirming entries, exits, or spotting early warning signs.
๐น Step 4: Switch Between Candle Modes as Needed
You can flip between:
โ
Custom HA: Gradient candles with your colors
โ
TradingView HA: The official source with your styling
โ
None: Just color regular candles using the HA logic
Use what fits your style โ everything is modular.
๐น Step 5: Tune It to Your Chart
Lastly, tweak streak thresholds (currently only can do this within the source code), smoothing lengths, and line styles to match your timeframe and strategy.
๐ฏ Tailor The Settings to Fit Your Trading Style๐ฏ
๐น ๐งช Scalper (1โ5 min charts)
If youโre trading fast intraday moves, you want quicker responsiveness and less lag.
Try these settings:
๐ธSmoothing Lengths: Use lower values (e.g. len = 3, len2 = 5)
๐ธCandle Mode: Use Custom HA or TVโs HA for real-time color flips
๐ธPredictive Close Line: Great for ultra-fast anticipation of color reversals
๐ธLine Mode: Use Recent Segments mode to track short bursts of trend
๐ธColors: Use high-contrast, opaque colors for clarity
โ
These settings help you catch micro-trends and flip signals faster, while still filtering out the worst of the noise.
๐น ๐งช Swing Trader (30mโ4h charts and beyond)
If youโre looking for multi-hour or multi-day trend confirmation, prioritize clarity and staying in moves longer.
Recommended setup:
๐ธSmoothing Lengths: Medium to high values (e.g. len = 8, len2 = 21)
๐ธCandle Mode: Use Smoothed HA Candles to block out intrabar chop
๐ธGradient Colors: Enable to visualize trend maturity and strength
๐ธPredictive Close Line: Helps confirm trend continuation or spot early reversals
๐ธLine Mode: Use Full Plot Line for clean HA-based trend tracking
โ
These settings give you a calm, clean view of the bigger picture โ ideal for holding positions longer and avoiding early exits.
๐ง This script isnโt just a chart overlay โ itโs a visual trend engine.๐ง
Ideal For:
๐ถ Trend-followers who want clean, color-coded confirmation
๐ถ Reversal traders spotting exhaustion via predictive flips
๐ถ Scalpers filtering noise with lighter smoothing
๐ถ Swing traders using smoothed visuals to hold longer
๐ Final Note
Heikin Ashi Overlay Pro is designed to help you see momentum, trend shifts, and market structure with greater clarity โ not to predict price on its own. For best results:
โ๏ธ Combine with support/resistance, moving averages, or price action patterns
โ๏ธ Use Predictive Close as a confirmation tool, not a signal generator
โ๏ธ Pair gradient colors with structure to gauge trend maturity
โ๏ธ Always zoom out and check higher timeframes for context
๐ง Use this as part of a layered approach โ not a standalone system.
๐ Credits๐
โกHA logic based on SimpleCryptoLife
โกSmoothed HA concept adapted from a script by Jackvmk
๐ก๐ก๐กTurn logic into clarity. Structure into trades. And uncertainty into confidence.๐ก๐ก๐ก
[blackcat] L2 Trend LinearityOVERVIEW
The L2 Trend Linearity indicator is a sophisticated market analysis tool designed to help traders identify and visualize market trend linearity by analyzing price action relative to dynamic support and resistance zones. This powerful Pine Script indicator utilizes the Arnaud Legoux Moving Average (ALMA) algorithm to calculate weighted price calculations and generate dynamic support/resistance zones that adapt to changing market conditions. By visualizing market zones through colored candles and histograms, the indicator provides clear visual cues about market momentum and potential trading opportunities. The script generates buy/sell signals based on zone crossovers, making it an invaluable tool for both technical analysis and automated trading strategies. Whether you're a day trader, swing trader, or algorithmic trader, this indicator can help you identify market regimes, support/resistance levels, and potential entry/exit points with greater precision.
FEATURES
Dynamic Support/Resistance Zones: Calculates dynamic support (bear market zone) and resistance (bull market zone) using weighted price calculations and ALMA smoothing
Visual Market Representation: Color-coded candles and histograms provide immediate visual feedback about market conditions
Smart Signal Generation: Automatic buy/sell signals generated from zone crossovers with clear visual indicators
Customizable Parameters: Four different ALMA smoothing parameters for various timeframes and trading styles
Multi-Timeframe Compatibility: Works across different timeframes from 1-minute to weekly charts
Real-time Analysis: Provides instant feedback on market momentum and trend direction
Clear Visual Cues: Green candles indicate bullish momentum, red candles indicate bearish momentum, and white candles indicate neutral conditions
Histogram Visualization: Blue histogram shows bear market zone (below support), aqua histogram shows bull market zone (above resistance)
Signal Labels: "B" labels mark buy signals (price crosses above resistance), "S" labels mark sell signals (price crosses below support)
Overlay Functionality: Works as an overlay indicator without cluttering the chart with unnecessary elements
Highly Customizable: All parameters can be adjusted to suit different trading strategies and market conditions
HOW TO USE
Add the Indicator to Your Chart
Open TradingView and navigate to your desired trading instrument
Click on "Indicators" in the top menu and select "New"
Search for "L2 Trend Linearity" or paste the Pine Script code
Click "Add to Chart" to apply the indicator
Configure the Parameters
ALMA Length Short: Set the short-term smoothing parameter (default: 3). Lower values provide more responsive signals but may generate more false signals
ALMA Length Medium: Set the medium-term smoothing parameter (default: 5). This provides a balance between responsiveness and stability
ALMA Length Long: Set the long-term smoothing parameter (default: 13). Higher values provide more stable signals but with less responsiveness
ALMA Length Very Long: Set the very long-term smoothing parameter (default: 21). This provides the most stable support/resistance levels
Understand the Visual Elements
Green Candles: Indicate bullish momentum when price is above the bear market zone (support)
Red Candles: Indicate bearish momentum when price is below the bull market zone (resistance)
White Candles: Indicate neutral market conditions when price is between support and resistance zones
Blue Histogram: Shows bear market zone when price is below support level
Aqua Histogram: Shows bull market zone when price is above resistance level
"B" Labels: Mark buy signals when price crosses above resistance
"S" Labels: Mark sell signals when price crosses below support
Identify Market Regimes
Bullish Regime: Price consistently above resistance zone with green candles and aqua histogram
Bearish Regime: Price consistently below support zone with red candles and blue histogram
Neutral Regime: Price oscillating between support and resistance zones with white candles
Generate Trading Signals
Buy Signals: Look for price crossing above the bull market zone (resistance) with confirmation from green candles
Sell Signals: Look for price crossing below the bear market zone (support) with confirmation from red candles
Confirmation: Always wait for confirmation from candle color changes before entering trades
Optimize for Different Timeframes
Scalping: Use shorter ALMA lengths (3-5) for 1-5 minute charts
Day Trading: Use medium ALMA lengths (5-13) for 15-60 minute charts
Swing Trading: Use longer ALMA lengths (13-21) for 1-4 hour charts
Position Trading: Use very long ALMA lengths (21+) for daily and weekly charts
LIMITATIONS
Whipsaw Markets: The indicator may generate false signals in choppy, sideways markets where price oscillates rapidly between support and resistance
Lagging Nature: Like all moving average-based indicators, there is inherent lag in the calculations, which may result in delayed signals
Not a Standalone Tool: This indicator should be used in conjunction with other technical analysis tools and risk management strategies
Market Structure Dependency: Performance may vary depending on market structure and volatility conditions
Parameter Sensitivity: Different markets may require different parameter settings for optimal performance
No Volume Integration: The indicator does not incorporate volume data, which could provide additional confirmation signals
Limited Backtesting: Pine Script limitations may restrict comprehensive backtesting capabilities
Not Suitable for All Instruments: May perform differently on stocks, forex, crypto, and futures markets
Requires Confirmation: Signals should always be confirmed with other indicators or price action analysis
Not Predictive: The indicator identifies current market conditions but does not predict future price movements
NOTES
ALMA Algorithm: The indicator uses the Arnaud Legoux Moving Average (ALMA) algorithm, which is known for its excellent smoothing capabilities and reduced lag compared to traditional moving averages
Weighted Price Calculations: The bear market zone uses (2low + close) / 3, while the bull market zone uses (high + 2close) / 3, providing more weight to recent price action
Dynamic Zones: The support and resistance zones are dynamic and adapt to changing market conditions, making them more responsive than static levels
Color Psychology: The color scheme follows traditional trading psychology - green for bullish, red for bearish, and white for neutral
Signal Timing: The signals are generated on the close of each bar, ensuring they are based on complete price action
Label Positioning: Buy signals appear below the bar (red "B" label), while sell signals appear above the bar (green "S" label)
Multiple Timeframes: The indicator can be applied to multiple timeframes simultaneously for comprehensive analysis
Risk Management: Always use proper risk management techniques when trading based on indicator signals
Market Context: Consider the overall market context and trend direction when interpreting signals
Confirmation: Look for confirmation from other indicators or price action patterns before entering trades
Practice: Test the indicator on historical data before using it in live trading
Customization: Feel free to experiment with different parameter combinations to find what works best for your trading style
THANKS
Special thanks to the TradingView community and the Pine Script developers for creating such a powerful and flexible platform for technical analysis. This indicator builds upon the foundation of the ALMA algorithm and various moving average techniques developed by technical analysis pioneers. The concept of dynamic support and resistance zones has been refined over decades of market analysis, and this script represents a modern implementation of these timeless principles. We acknowledge the contributions of all traders and developers who have contributed to the evolution of technical analysis and continue to push the boundaries of what's possible with algorithmic trading tools.
Savitzky-Golay Hampel Filter | AlphaNattSavitzky-Golay Hampel Filter | AlphaNatt
A revolutionary indicator combining NASA's satellite data processing algorithms with robust statistical outlier detection to create the most scientifically advanced trend filter available on TradingView.
"This is the same mathematics that processes signals from the Hubble Space Telescope and analyzes data from the Large Hadron Collider - now applied to financial markets."
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SCIENTIFIC PEDIGREE
Savitzky-Golay Filter Applications:
NASA: Satellite telemetry and space probe data processing
CERN: Particle physics data analysis at the LHC
Pharmaceutical: Chromatography and spectroscopy analysis
Astronomy: Processing signals from radio telescopes
Medical: ECG and EEG signal processing
Hampel Filter Usage:
Aerospace: Cleaning sensor data from aircraft and spacecraft
Manufacturing: Quality control in precision engineering
Seismology: Earthquake detection and analysis
Robotics: Sensor fusion and noise reduction
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐งฌ THE MATHEMATICS
1. Savitzky-Golay Filter
The SG filter performs local polynomial regression on data points:
Fits a polynomial of degree n to a sliding window of data
Evaluates the polynomial at the center point
Preserves higher moments (peaks, valleys) unlike moving averages
Maintains derivative information for true momentum analysis
Originally published in Analytical Chemistry (1964)
Mathematical Properties:
Optimal smoothing in the least-squares sense
Preserves statistical moments up to polynomial order
Exact derivative calculation without additional lag
Superior frequency response vs traditional filters
2. Hampel Filter
A robust outlier detector based on Median Absolute Deviation (MAD):
Identifies outliers using robust statistics
Replaces spurious values with polynomial-fitted estimates
Resistant to up to 50% contaminated data
MAD is 1.4826 times more robust than standard deviation
Outlier Detection Formula:
|x - median| > k ร 1.4826 ร MAD
Where k is the threshold parameter (typically 3 for 99.7% confidence)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ WHY THIS IS SUPERIOR
vs Moving Averages:
Preserves peaks and valleys (critical for catching tops/bottoms)
No lag penalty for smoothness
Maintains derivative information
Polynomial fitting > simple averaging
vs Other Filters:
Outlier immunity (Hampel component)
Scientifically optimal smoothing
Preserves higher-order features
Used in billion-dollar research projects
Unique Advantages:
Feature Preservation: Maintains market structure while smoothing
Spike Immunity: Ignores false breakouts and stop hunts
Derivative Accuracy: True momentum without additional indicators
Scientific Validation: 60+ years of academic research
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ PARAMETER OPTIMIZATION
1. Polynomial Order (2-5)
2 (Quadratic): Maximum smoothing, gentle curves
3 (Cubic): Balanced smoothing and responsiveness (recommended)
4-5 (Higher): More responsive, preserves more features
2. Window Size (7-51)
Must be odd number
Larger = smoother but more lag
Formula: 2ร(desired smoothing period) + 1
Default 21 = analyzes 10 bars each side
3. Hampel Threshold (1.0-5.0)
1.0: Aggressive outlier removal (68% confidence)
2.0: Moderate outlier removal (95% confidence)
3.0: Conservative outlier removal (99.7% confidence) (default)
4.0+: Only extreme outliers removed
4. Final Smoothing (1-7)
Additional WMA smoothing after filtering
1 = No additional smoothing
3-5 = Recommended for most timeframes
7 = Ultra-smooth for position trading
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ TRADING STRATEGIES
Signal Recognition:
Cyan Line: Bullish trend with positive derivative
Pink Line: Bearish trend with negative derivative
Color Change: Trend reversal with polynomial confirmation
1. Trend Following Strategy
Enter when price crosses above cyan filter
Exit when filter turns pink
Use filter as dynamic stop loss
Best in trending markets
2. Mean Reversion Strategy
Enter long when price touches filter from below in uptrend
Enter short when price touches filter from above in downtrend
Exit at opposite band or filter color change
Excellent for range-bound markets
3. Derivative Strategy (Advanced)
The SG filter preserves derivative information
Acceleration = second derivative > 0
Enter on positive first derivative + positive acceleration
Exit on negative second derivative (momentum slowing)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ PERFORMANCE CHARACTERISTICS
Strengths:
Outlier Immunity: Ignores stop hunts and flash crashes
Feature Preservation: Catches tops/bottoms better than MAs
Smooth Output: Reduces whipsaws significantly
Scientific Basis: Not curve-fitted or optimized to markets
Considerations:
Slight lag in extreme volatility (all filters have this)
Requires odd window sizes (mathematical requirement)
More complex than simple moving averages
Best with liquid instruments
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฌ SCIENTIFIC BACKGROUND
Savitzky-Golay Publication:
"Smoothing and Differentiation of Data by Simplified Least Squares Procedures"
- Abraham Savitzky & Marcel Golay
- Analytical Chemistry, Vol. 36, No. 8, 1964
Hampel Filter Origin:
"Robust Statistics: The Approach Based on Influence Functions"
- Frank Hampel et al., 1986
- Princeton University Press
These techniques have been validated in thousands of scientific papers and are standard tools in:
NASA's Jet Propulsion Laboratory
European Space Agency
CERN (Large Hadron Collider)
MIT Lincoln Laboratory
Max Planck Institutes
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ก ADVANCED TIPS
News Trading: Lower Hampel threshold before major events to catch spikes
Scalping: Use Order=2 for maximum smoothness, Window=11 for responsiveness
Position Trading: Increase Window to 31+ for long-term trends
Combine with Volume: Strong trends need volume confirmation
Multiple Timeframes: Use daily for trend, hourly for entry
Watch the Derivative: Filter color changes when first derivative changes sign
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ IMPORTANT NOTICES
Not financial advice - educational purposes only
Past performance does not guarantee future results
Always use proper risk management
Test settings on your specific instrument and timeframe
No indicator is perfect - part of complete trading system
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ CONCLUSION
The Savitzky-Golay Hampel Filter represents the pinnacle of scientific signal processing applied to financial markets. By combining polynomial regression with robust outlier detection, traders gain access to the same mathematical tools that:
Guide spacecraft to other planets
Detect gravitational waves from black holes
Analyze particle collisions at near light-speed
Process signals from deep space
This isn't just another indicator - it's rocket science for trading .
"When NASA needs to separate signal from noise in billion-dollar missions, they use these exact algorithms. Now you can too."
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Developed by AlphaNatt
Version: 1.0
Release: 2025
Pine Script: v6
"Where Space Technology Meets Market Analysis"
Not financial advice. Always DYOR
Swing Oracle Stock// (\_/)
// ( โข.โข)
// (")_(")
๐ Swing Oracle Stock โ Professional Cycle & Trend Detection Indicator
The Swing Oracle Stock is an advanced market analysis tool designed to highlight price cycles, trend shifts, and key trading zones with precision. It combines trendline dynamics, normalized oscillators, and multi-timeframe confirmation into a single comprehensive indicator.
๐ Key Features
NDOS (Normalized Dynamic Oscillator System):
Measures price strength relative to recent highs and lows to detect overbought, neutral, and oversold zones.
Dynamic Trendline (EMA8 or SMA231):
Flexible source selection for adapting to different trading styles (scalping vs. swing).
Multi-Timeframe H1 Confirmation:
Adds higher-timeframe validation to improve signal reliability.
Automated Buy & Sell Signals:
Triggered only on significant crossovers above/below defined levels.
Weekly Cycles (7-day M5 projection):
Tracks recurring time-based market cycles to anticipate reversal points.
Intuitive Visualization:
Colored zones (high, low, neutral) for quick market context.
Optional background and candlestick coloring for better clarity.
Multi-Timeframe Cross Table:
Automatically compares SMA50 vs. EMA200 across multiple timeframes (1m โ 4h), showing clear status:
โญ๏ธโฌ๏ธ UP = bullish trend confirmation
๐โฌ๏ธ Drop = bearish trend confirmation
๐ Built-in Statistical Tools
Normalized difference between short and long EMA.
Projected normalized mean levels plotted directly on the main chart.
Dynamic analysis of price distance from SMA50 to capture market โwaves.โ
๐ฏ Use Cases
Spot trend reversals with multi-timeframe confirmation.
Identify powerful breakout and breakdown zones.
Time entries and exits based on trend + cycle confluence.
Enhance market timing for swing trades, scalps, or long-term positions.
โก Swing Oracle Stock brings together cycle detection, oscillator normalization, and multi-timeframe confirmation into one streamlined indicator for traders who want a professional edge.
Advanced Pattern Detection System [50+ Patterns]ใAdvanced Pattern Detection System - Auto-detects 50+ Chart Patternsใ
Introducing the most powerful pattern detection indicator for TradingView!
โ What is this?
An automated tool that finds and displays over 50 chart patterns on your charts. It detects all the patterns professional traders use - Double Tops, Triangles, Head & Shoulders, and more - all in ONE indicator.
โ Main Features
ใปDetects 50+ patterns in real-time
ใปShows visual explanation of WHY each pattern was identified
ใปAutomatically calculates theoretical target prices
ใปDisplays confidence levels in % (60-95%)
ใปChoose panel position from 9 locations
ใปWorks on all timeframes (1min to Monthly)
โ Detectable Patterns
1. Classic Patterns (Double Top/Bottom, Head & Shoulders, etc.)
2. Triangle Patterns (Ascending, Descending, Symmetrical, Expanding)
3. Continuation Patterns (Flags, Pennants, Wedges, etc.)
4. Harmonic Patterns (Gartley, Butterfly, Bat, etc.)
5. Price Action (Pin Bar, Engulfing, Hammer, etc.)
6. Special Patterns (Cup & Handle, V-formations, etc.)
โ What Makes It Different
ใปNot just detection - shows the reasoning behind it
ใปAuto-draws pivot points and necklines
ใปDisplays target prices with % gain/loss from current price
ใปDetects multiple patterns simultaneously, sorted by confidence
ใปAvailable in both Japanese and English versions
โ Perfect For
โ Anyone tired of using multiple indicators
โ Beginners wanting to learn pattern trading
โ Traders who don't want to miss entry points
โ Those looking to improve discretionary trading accuracy
โ How to Use (Easy 3 Steps)
1. Open TradingView and paste code in Pine Editor
2. Click "Add to Chart"
3. Enable only the patterns you need in settings
โ Color Meanings
Green โ Bullish potential (Buy signal)
Red โ Bearish potential (Sell signal)
Yellow โ Neutral direction (Wait and see)
โ Recommended Settings
Scalping: Detection period 20, Sensitivity 0.0025
Day Trading: Detection period 50, Sensitivity 0.002
Swing Trading: Detection period 100, Sensitivity 0.0015
โ Real Trading Example
"Detects Double Bottom โ 85% confidence โ Enter on neckline break โ Take profit at displayed target price"
This is how you can use it in practice.
โ Important Notes
ใปThis is an analysis tool, not investment advice
ใปAlways combine with other indicators
ใปAlways set stop losses
ใปPractice on demo account before live trading
โ Performance
If running slow, turn OFF unused pattern categories. Reducing max display count to 3 also helps.
โ Summary
This single tool provides functionality that would normally require multiple paid indicators (worth $100-200 total). It's the ultimate pattern detection system recommended for all traders, from beginners to professionals.
Give it a try if interested! Feel free to ask questions in the comments.
RSI deyvidholnik
๐ Overview
RSI deyvidholnik is an advanced technical indicator that combines the power of traditional RSI (Relative Strength Index) with automatic divergence detection to identify potential market reversal points. This indicator was developed by kingthies and offers clear visual analysis of overbought/oversold conditions along with highly precise divergence signals.
๐ง Key Features
Customizable RSI
Data Source: Configurable (default: close)
Period: Adjustable (default: 14)
Moving Average: Multiple types available (SMA, EMA, SMMA, WMA, VWMA, MMS)
MA Period: Configurable (default: 14)
Divergence Detection
The indicator identifies four types of divergences:
๐ข Bullish Divergence
Occurs when price makes lower lows, but RSI makes higher lows
Indicates possible trend reversal from bearish to bullish
Signaled with green dots on RSI
๐ด Bearish Divergence
Occurs when price makes higher highs, but RSI makes lower highs
Indicates possible trend reversal from bullish to bearish
Signaled with red dots on RSI
๐ข Hidden Bullish Divergence (Optional)
Price makes higher lows while RSI makes lower lows
Confirms continuation of bullish trend
Useful in trending markets
๐ด Hidden Bearish Divergence (Optional)
Price makes lower highs while RSI makes higher highs
Confirms continuation of bearish trend
Useful in trending markets
โ๏ธ Pivot Settings
Optimized Default Configuration
Right Bars: 1 (quick confirmation)
Left Bars: 5 (noise filtering)
Maximum Bars Between Pivots: 60
Minimum Bars Between Pivots: 3
These settings have been adjusted to provide:
โ
Faster and more responsive signals
โ
Reduction of false signals
โ
Better identification of significant pivots
๐จ Visual Interface
RSI Levels
Line 70: Overbought zone (red)
Line 50: Neutral centerline
Line 30: Oversold zone (green)
Gradient fill: Visually intensifies extreme zones
Graphical Elements
RSI: Main line in white
Moving Average: Smoothed yellow line
Divergence Points: Colored markers on pivots
Background: Subtle fill for better readability
๐ How to Use
For Reversal Trading
Enable only: Bullish and Bearish (default)
Look for: Divergences in overbought/oversold zones
Confirm with: Other indicators or price analysis
For Trend Trading
Enable: Hidden Bull and Hidden Bear
Use in: Markets with clear established trends
Combine with: Market structure analysis
Alert Configuration
The indicator includes automatic alerts for:
โ ๏ธ Bullish Divergence
โ ๏ธ Bearish Divergence
โ ๏ธ Hidden Bullish Divergence
โ ๏ธ Hidden Bearish Divergence
๐ก Main Advantages
โ
Automatic Detection: Identifies divergences without manual interpretation
โ
Optimized Configuration: Default values tested for maximum efficiency
โ
Clean Interface: Clear and professional visual
โ
Integrated Alerts: Automatic signal notifications
โ
Flexibility: Multiple customization options
โ
Performance: Optimized code for efficient execution
๐ฏ Recommended Timeframes
Scalping: 1m, 5m (with more sensitive settings)
Intraday: 15m, 30m, 1h (default configuration)
Swing: 4h, 1D (for medium-term signals)
โ ๏ธ Important Considerations
Not infallible: Always use in conjunction with other analysis methods
Sideways markets: More effective in markets with directional movement
Confirmation: Always wait for signal confirmation before trading
Risk management: Always implement adequate stop-loss and take-profit
KAMA Trend Flip - SightLing LabsBuckle up, tradersโthis open-source KAMA Trend Flip indicator is your ticket to sniping trend reversals with a Kaufman Adaptive Moving Average (KAMA) thatโs sharper than a Wall Street sharkโs tooth. No voodoo, no fluffโjust raw, volatility-adaptive math that dances with the marketโs rhythm. It zips through trending rockets and chills in choppy waters, slashing false signals like a samurai. Not laggy like the others - this thing is the real deal!
Core Mechanics:
โข Efficiency Ratio (ER): Reads the marketโs pulse (0-1). High ER = turbo-charged MA, low ER = smooth operator.
โข Adaptive Smoothing: Mixes fast (default power 2) and slow (default 30) constants to match market mood swings.
โข Trend Signals: KAMA climbs = blue uptrend (bulls run wild). KAMA dips = yellow downtrend (bears take over). Flat = gray snooze-fest.
โข Alerts: Instant pings on flipsโโTrend Flip Upโ for long plays, โDownโ for shorts. Plug into bots for set-and-forget domination.
Why It Crushes:
โข Smokes static MAs in volatile arenas (crypto, stocks, you name it). Backtests show 20-30% fewer fakeouts than SMA50.
โข Visual Pop: Overlays price with bold blue/yellow signals. Slap it on BTC 1D to see trends light up like Times Square.
โข Tweakable: Dial ER length (default 50) to your timeframe. Short for scalps, long for swing trades.
Example Settings in Action:
โข 10s Chart (Hyper-Scalping): Set Source: Close, ER Length: 100, Fast Power: 1, Slow Power: 6. Catches micro-trends in crypto like a heat-seeking missile. Blue/yellow flips scream entry/exit on fast moves.
โข 2m Chart (Quick Trades): Set Source: Close, ER Length: 14, Fast Power: 1, Slow Power: 6. Perfect for rapid trend shifts in stocks or forex. Signals align with momentum burstsโcheck historical flips for proof.
Deployment:
โข Drop it on any chart. Backtest settings to match your assetโs volatilityโtweak until it sings.
โข Pair with RSI or volume spikes for killer confirmation. Pro move: Enter on flip + volume pop, exit on reverse.
โข Strategy-Ready: Slap long/short logic on alerts to build a lean, mean trading machine.
Open source from SightLing Labsโgrab it, hack it, profit from it. Share your tweaks in the comments and letโs outsmart the market together. Trade hard, win big!
RSI Dynamic Bandsโ OVERVIEW
The "RSI Dynamic Bands" indicator is a variant of the Relative Strength Index (RSI) oscillator that brings its signals directly onto the price chart. It displays dynamic bands around the price, adjusted based on RSI levels, enabling easy identification of potential overbought or oversold conditions. The indicator also integrates a multi-timeframe RSI table, facilitating the analysis of trend strength across different timeframes.
โ CONCEPTS
The "RSI Dynamic Bands" indicator is designed to simplify the interpretation of price levels in the context of support and resistance zones, which can be correlated with other technical indicators and RSI values. Since the price itself does not display RSI values, a table showing RSI for four selected timeframes has been added, allowing traders to quickly assess trend strength across different time intervals. The most effective approach is to combine the indicator with other technical analysis tools, such as Fibonacci levels or pivot points, to confirm signals when the price approaches the bands and RSI values indicate a potential reversal.
Band Calculation
The bands are calculated based on the current closing price and RSI values, incorporating dynamic scaling to better adapt to market conditions. The formulas for the bands are as follows:
โข Upper Band: close + (rsiUpper - rsi) * scaleFactor, where rsiUpper is the upper RSI level (default: 70), and scaleFactor accounts for market volatility.
โข Lower Band: close + (rsiLower - rsi) * scaleFactor, where rsiLower is the lower RSI level (default: 30).
โข Midline: The arithmetic average of the upper and lower bands: (upperBand + lowerBand) / 2.
Why Scaling? Without scaling, the bands would be chaotic and jagged, making them difficult to interpret. Scaling smooths the bands, making them wider during periods of high volatility and narrower during consolidation, better reflecting potential support and resistance levels.
Indicator Features
โข Dynamic Price Bands: The bands adapt to market conditions, facilitating the identification of key price levels.
โข Multi-Timeframe RSI Table: Displays RSI values for four selected timeframes (default: 15m, 1h, 4h, Daily), enabling comparison of trend strength across different perspectives.
โข Style Customization: Users can adjust band colors, line thickness, and toggle the visibility of bands, fills, and the table.
How to Set Up the Indicator
1 โ Add the "RSI Dynamic Bands" indicator to your TradingView chart.
2 โ Configure parameters in the settings, such as RSI length, upper/lower levels, and scaling multiplier, to match your trading style.
3 โ Enable or disable the display of bands, fills, or the RSI table based on your needs.
4 โ Adjust band and table colors in the input section and line thickness in the "Style" section to better align the indicator with your chart.
โ OTHER SECTIONS
FEATURES
โข RSI Length: The period for calculating RSI (default: 14).
โข RSI Levels: Thresholds for overbought (default: 70) and oversold (default: 30).
โข Scaling Multiplier: Adjusts bands based on market volatility (default: 0.15).
โข Table Timeframes: Select four timeframes for the RSI table (default: 15m, 1h, 4h, Daily).
โข Style Options: Customize band colors, fills, table, and line thickness.
HOW TO USE
Add the indicator to your chart, configure the parameters, and observe price interactions with the bands to identify potential entry and exit points. The RSI table allows you to compare RSI values across different timeframes, aiding in trading decisions. The most effective approach is to combine the indicator with other technical analysis tools, such as Fibonacci levels or pivot points, to confirm signals when the price approaches the bands and RSI values indicate a potential reversal.
Trading Strategies:
โข Scalping: Use lower timeframes (e.g., 5m, 15m) in the RSI table to quickly identify short-term lows and highs. Wait for the price to approach the lower band in the RSI oversold zone, with RSI on lower timeframes starting to rise, and other tools, such as Fibonacci levels (e.g., 38.2%) or pivot points, confirming support.
โข Medium-Term Trading: Focus on 1h and 4h timeframes. Look for confirmation of a low on a lower timeframe (e.g., 1h), where RSI indicates oversold conditions or starts rising, then check if RSI on a higher timeframe (e.g., 4h) confirms the trend. Confirmation from other tools, such as a Fibonacci level (e.g., 50%) or pivot point near the bands, strengthens the signal.
โข Long-Term Trading: Use Daily and higher timeframes (e.g., Weekly). Wait for all relevant timeframes to confirm a low (e.g., RSI near oversold and price at the lower band), with lower timeframes (e.g., 4h) showing rising RSI. Other tools, such as Fibonacci levels (e.g., 61.8%) or pivot points near the bands, can further confirm a trend reversal signal.
Adaptive Weighted Regression Channel (AWRC)Short Description:
The Adaptive Weighted Regression Channel (AWRC) is an advanced technical analysis tool that plots a dynamic regression channel based on the recent price action. The centerline is a linear regression (trendline) fitted to the selected price source over a rolling window. The channel boundaries are placed above and below the regression line by a user-selected multiple of the weighted standard deviation.
What makes AWRC unique is its ability to optionally weight each barโs importance in the regression using Volume, ATR (Average True Range), or Recency Decay, offering a channel that can adapt to market volatility, participation, or trend acceleration.
Parameter Explanations:
length: Number of bars for the regression window (how many recent candles are included). Higher values = smoother, less sensitive channel.
StdDev Multiplier (mult): Controls the channel width. 2.0 is classic; higher = wider channels, lower = tighter.
Enable Weighting?: Turn ON to activate weighting of each bar. If OFF, all bars are equally weighted (classic regression channel).
Weight Type: Select what to use for weights (only active if Enable Weighting is ON):
"Volume": Higher volume bars have more influence on the regression.
"ATR": Bars with higher volatility (as measured by ATR) have more influence.
"Decay": More recent bars are given more weight (controlled by Decay parameter).
Decay: If Weight Type is "Decay", this controls the rate of recency decay. (e.g. 0.98 = slow decay; 0.90 = fast decay; values close to 1 mean a longer memory.)
Source for the calculation (src): Selects which price is regressed. Default is hl2 (average of high and low); you can choose close, open, etc.
Recommended Parameters:
For general use: length = 34, mult = 2.0, Enable Weighting = OFF, src = hl2
For volume-aware channel: Enable Weighting = ON, Weight Type = "Volume"
For volatility sensitivity: Enable Weighting = ON, Weight Type = "ATR"
For extra focus on recent price: Enable Weighting = ON, Weight Type = "Decay", Decay = 0.95 or 0.98
For swing trading: length = 21โ55, mult = 1.5โ2.5
For intraday/scalping: length = 10โ20, mult = 1.0โ1.5
Usage Tips:
The regression line shows the "best fit" trend for the selected window.
The channel captures the typical range; price breaking outside the channel can signal strength, exhaustion, or breakout.
Volume and ATR weighting help the channel adapt to market participation or volatility spikes.
Decay weighting locks onto the most recent trend direction quickly.
Adjust parameters to fit your timeframe and market volatility.
Use AWRC to spot trending moves, reversals, or overextensions.
Try different weighting and channel settings to match your trading style!
Time-Decaying Percentile Oscillator [BackQuant]Time-Decaying Percentile Oscillator
1. Big-picture idea
Traditional percentile or stochastic oscillators treat every bar in the look-back window as equally important. That is fine when markets are slow, but if volatility regime changes quickly yesterdayโs print should matter more than last monthโs. The Time-Decaying Percentile Oscillator attempts to fix that blind spot by assigning an adjustable weight to every past price before it is ranked. The result is a percentile score that โbreathesโ with market tempo much faster to flag new extremes yet still smooth enough to ignore random noise.
2. What the script actually does
Build a weight curve
โข You pick a look-back length (default 28 bars).
โข You decide whether weights fall Linearly , Exponentially , by Power-law or Logarithmically .
โข A decay factor (lower = faster fade) shapes how quickly the oldest price loses influence.
โข The array is normalised so all weights still sum to 1.
Rank prices by weighted mass
โข Every close in the window is paired with its weight.
โข The pairs are sorted from low to high.
โข The cumulative weight is walked until it equals your chosen percentile level (default 50 = median).
โข That price becomes the Time-Decayed Percentile .
Find dispersion with robust statistics
โข Instead of a fragile standard deviation the script measures weighted Median-Absolute-Deviation about the new percentile.
โข You multiply that deviation by the Deviation Multiplier slider (default 1.0) to get a non-parametric volatility band.
Build an adaptive channel
โข Upper band = percentile + (multiplier ร deviation)
โข Lower band = percentile โ (multiplier ร deviation)
Normalise into a 0-100 oscillator
โข The current close is mapped inside that band:
0 = lower band, 50 = centre, 100 = upper band.
โข If the channel squeezes, tiny moves still travel the full scale; if volatility explodes, it automatically widens.
Optional smoothing
โข A second-stage moving average (EMA, SMA, DEMA, TEMA, etc.) tames the jitter.
โข Length 22 EMA by defaultโchange it to tune reaction speed.
Threshold logic
โข Upper Threshold 70 and Lower Threshold 30 separate standard overbought/oversold states.
โข Extreme bands 85 and 15 paint background heat when aggressive fade or breakout trades might trigger.
Divergence engine
โข Looks back twenty bars.
โข Flags Bullish divergence when price makes a lower low but oscillator refuses to confirm (value < 40).
โข Flags Bearish divergence when price prints a higher high but oscillator stalls (value > 60).
3. Component walk-through
โข Source โ Any price series. Close by default, switch to typical price or custom OHLC4 for futures spreads.
โข Look-back Period โ How many bars to rank. Short = faster, long = slower.
โข Base Percentile Level โ 50 shows relative position around the median; set to 25 / 75 for quartile tracking or 90 / 10 for extreme tails.
โข Deviation Multiplier โ Higher values widen the dynamic channel, lowering whipsaw but delaying signals.
โข Decay Settings
โ Type decides the curve shape. Exponential (default 1.16) mimics EMA logic.
โ Factor < 1 shrinks influence faster; > 1 spreads influence flatter.
โ Toggle Enable Time Decay off to compare with classic equal-weight stochastic.
โข Smoothing Block โ Choose one of seven MA flavours plus length.
โข Thresholds โ Overbought / Oversold / Extreme levels. Push them out when working on very mean-reverting assets like FX; pull them in for trend monsters like crypto.
โข Display toggles โ Show or hide threshold lines, extreme filler zones, bar colouring, divergence labels.
โข Colours โ Bullish green, bearish red, neutral grey. Every gradient step is automatically blended to generate a heat map across the 0-100 range.
4. How to read the chart
โข Oscillator creeping above 70 = market auctioning near the top of its adaptive range.
โข Fast poke above 85 with no follow-through = exhaustion fade candidate.
โข Slow grind that lives above 70 for many bars = valid bullish trend, not a fade.
โข Cross back through 50 shows balance has shifted; treat it like a micro trend change.
โข Divergence arrows add extra confidence when you already see two-bar reversal candles at range extremes.
โข Background shading (semi-transparent red / green) warns of extreme states and throttles your position size.
5. Practical trading playbook
Mean-reversion scalps
โ1. Wait for oscillator to reach your desired OB/ OS levels
โ2. Check the slope of the smoothing MAโif it is flattening the squeeze is mature.
โ3. Look for a one- or two-bar reversal pattern.
โ4. Enter against the move; first target = midline 50, second target = opposite threshold.
โ5. Stop loss just beyond the extreme band.
Trend continuation pullbacks
โ1. Identify a clean directional trend on the price chart.
โ2. During the trend, TDP will oscillate between midline and extreme of that side.
โ3. Buy dips when oscillator hits OS levels, and the same for OB levels & shorting
โ4. Exit when oscillator re-tags the same-side extreme or prints divergence.
Volatility regime filter
โโข Use the Enable Time Decay switch as a regime test.
โโข If equal-weight oscillator and decayed oscillator diverge widely, market is entering a new volatility regimeโtighten stops and trade smaller.
Divergence confirmation for other indicators
โโข Pair TDP divergence arrows with MACD histogram or RSI to filter false positives.
โโข The weighted nature means TDP often spots divergence a bar or two earlier than standard RSI.
Swing breakout strategy
โ1. During consolidation, band width compresses and oscillator oscillates around 50.
โ2. Watch for sudden expansion where oscillator blasts through extreme bands and stays pinned.
โ3. Enter with momentum in breakout direction; trail stop behind upper or lower band as it re-expands.
6. Customising decay mathematics
Linear โ Each older bar loses the same fixed amount of influence. Intuitive and stable; good for slow swing charts.
Exponential โ Influence halves every โdecay factorโ steps. Mirrors EMA thinking and is fastest to react.
Power-law โ Mid-history bars keep more authority than exponential but oldest data still fades. Handy for commodities where seasonality matters.
Logarithmic โ The gentlest curve; weight drops sharply at first then levels off. Mimics how traders remember dramatic moves for weeks but forget ordinary noise quickly.
Turn decay off to verify the toolโs added value; most users never switch back.
7. Alert catalogue
โข TD Overbought / TD Oversold โ Cross of regular thresholds.
โข TD Extreme OB / OS โ Breach of danger zones.
โข TD Bullish / Bearish Divergence โ High-probability reversal watch.
โข TD Midline Cross โ Momentum shift that often precedes a window where trend-following systems perform.
8. Visual hygiene tips
โข If you already plot price on a dark background pick Bullish Color and Bearish Color default; change to pastel tones for light themes.
โข Hide threshold lines after you memorise the zones to declutter scalping layouts.
โข Overlay mode set to false so the oscillator lives in its own panel; keep height about 30 % of screen for best resolution.
9. Final notes
Time-Decaying Percentile Oscillator marries robust statistical ranking, adaptive dispersion and decay-aware weighting into a simple oscillator. It respects both recent order-flow shocks and historical context, offers granular control over responsiveness and ships with divergence and alert plumbing out of the box. Bolt it onto your price action framework, trend-following system or volatility mean-reversion playbook and see how much sooner it recognises genuine extremes compared to legacy oscillators.
Backtest thoroughly, experiment with decay curves on each asset class and remember: in trading, timing beats timidity but patience beats impulse. May this tool help you find that edge.
RSI, CCI, ADX Panel (Custom TF for Each)RSI, CCI, and ADX Combined โ Multi-Timeframe, Fully Customizable Panel Indicator for TradingView
Overview
This Pine Script indicator integrates the Relative Strength Index (RSI), Commodity Channel Index (CCI), and Average Directional Index (ADX) into a single, clean panel for effortless technical analysis. Each indicator operates independently, with customizable length, smoothing, and time frame for maximum flexibility. Traders can now monitor momentum, trend strength, and overbought/oversold conditions across different time framesโall in one place.
Key Features
Independent Controls: Set length, smoothing (ADX), and time frame individually for each indicator via the settings panel.
Multi-Timeframe Support: Each oscillator (RSI, CCI, ADX) can be calculated on its own time frame, enabling nuanced inter-timeframe analysis.
Customizable Visualization: Adjust line color and thickness for each indicator to match your chart style.
Clean, Non-Overlay Display: All three indicators are plotted in a dedicated panel beneath the price chart, reducing clutter.
Reference Levels: Includes standard reference lines for oversold/overbought (RSI, CCI) and trend threshold (ADX) for quick visual cues.
Usage Ideas
Swing Trading: Compare short- and long-term momentum using different time frames for RSI, CCI, and ADX.
Trend Confirmation: Use ADX to filter RSI and CCI signalsโonly trade overbought/oversold conditions during strong trends.
Divergence Hunting: Spot divergences between time frames for early reversal signals.
Scalping: Set RSI and CCI to lower time frames for entry, while monitoring higher timeframe ADX for trend context.
How to Install
Paste the script into the Pine Editor on TradingView.
Add to chart. Adjust settings as desired.
Save as a template for quick reuse on any chartโall your custom settings will be preserved.
Customization
Edit lengths and time frames in the indicatorโs settings dialog.
Toggle reference lines on/off as needed.
Fine-tune line appearance (color, thickness) for clarity.
Note:
This indicator does not provide automated buy/sell signals. It is a customizable analytical tool for manual or semi-automated trading. Use in combination with other technical or fundamental analysis for best results.
Combine Momentum, Trend, and VolatilityโSeamlessly and VisuallyโWith One Indicator.
TREV Candles - Range-Based Trend ReversalTREV Candles - Range-Based Trend Reversal Chart Implementation
What is a Trend Reversal (TREV) Chart?
A Trend Reversal chart, also known as a Point & Figure chart variation, is a unique charting method that focuses on price movement thresholds rather than time intervals. Unlike traditional candlestick charts where each candle represents a fixed time period, TREV candles form only when price moves by predefined amounts in ticks.
TREV charts eliminate time-based noise and focus purely on significant price movements, making them ideal for identifying genuine trend changes and continuation patterns.
How TREV Candles Work
This indicator implements true TREV logic with two critical thresholds:
Trend Size: The number of ticks price must move in the current direction to form a trend continuation candle
Reversal Size: The number of ticks price must move against the current direction to form a reversal candle and change the overall trend direction
Key TREV Rules Enforced:
Direction Changes Only Through Reversals: You cannot go from bullish trend directly to bearish trend - a reversal candle must occur first
Threshold-Based Formation: Candles form only when price thresholds are breached, not on time
Logical Wick Placement: Wicks only appear on the "open" side of candles where price temporarily moved against the formation direction
Multiple Candles Per Bar: When price moves significantly, several TREV candles can form within a single time-based bar
Four Distinct Candle Types
Bullish Trend (Green): Continues upward movement when trend threshold is hit
Bearish Trend (Red): Continues downward movement when trend threshold is hit
Bullish Reversal (Blue): Changes from bearish to bullish direction when reversal threshold is breached
Bearish Reversal (Orange): Changes from bullish to bearish direction when reversal threshold is breached
Practical Trading Applications
Trend Identification: Clear visual representation of when trends are continuing vs. reversing
Noise Reduction: Filters out insignificant price movements that don't meet threshold requirements
Support/Resistance: TREV levels often act as significant support and resistance zones
Breakout Confirmation: When price forms multiple trend candles in succession, it confirms strong directional movement
Reversal Signals: Reversal candles provide early warning of potential trend changes
Technical Implementation Features
Intelligent Price Path Processing: Analyzes the assumed price path within each bar (LowโHighโClose for bullish bars, HighโLowโClose for bearish bars)
Automatic Tick Size Detection: Works with any instrument by automatically detecting the correct tick size
Manual Override Option: Allows manual tick size specification for custom analysis
Impossible Scenario Prevention: Built-in logic prevents impossible wick configurations and direction changes
PineScript Optimization: Efficient state management and drawing limits handling for smooth performance
Comprehensive Styling Options
Each of the four candle types offers complete visual customization:
Body Colors: Independent color settings for each candle type's body
Border Colors: Separate border color customization
Border Styles: Choose from solid, dashed, or dotted borders
Wick Colors: Individual wick color settings for each candle type
Default Color Scheme:
๐ข Bullish Trend: Green body and wicks
๐ต Bullish Reversal: Blue body and wicks
๐ด Bearish Trend: Red body and wicks
๐ Bearish Reversal: Orange body and wicks
Configuration Guidelines
Trend Size: Larger values create fewer, more significant trend candles. Smaller values increase sensitivity
Reversal Size: Should typically be smaller than trend size. Controls how easily the trend direction can change
Tick Size: Use "auto" for most instruments. Manual override useful for custom point values or backtesting
Ideal Use Cases
Swing Trading: Identify major trend changes and continuation patterns
Scalping: Use smaller thresholds to catch quick reversals and momentum shifts
Position Trading: Use larger thresholds to filter noise and focus on major trend moves
Multi-Timeframe Analysis: Compare TREV patterns across different threshold settings
Support/Resistance Trading: TREV close levels often become significant price zones
Why This Implementation is Superior
True TREV Logic: Enforces proper trend reversal rules that many implementations ignore
No Impossible Scenarios: Prevents wicks on both sides of candles and impossible direction changes
Professional Visualization: Clean, customizable appearance suitable for serious analysis
Performance Optimized: Handles large datasets without lag or drawing limit issues
Educational Value: Helps traders understand the difference between time-based and threshold-based charting
Perfect for traders who want to see beyond time-based noise and focus on what price is actually doing - moving in significant, measurable amounts that matter for trading decisions.
EMA Curl Strength+EMA Curl Strength+
Description:
This indicator provides a statistically normalized view of EMA slope momentum using Z-score transformation. By evaluating the rate of change of an EMA and comparing it against its historical behavior, the script highlights momentum shifts in a dynamic, adaptive way.
โธป
How It Works:
โข Calculates the slope (percentage change) of a chosen EMA.
โข Normalizes the slope using Z-score over a custom lookback period.
โข Smooths the resulting signal and computes two signal lines for comparison.
โข Assigns dynamic colors based on user-defined Z-score thresholds for mild, moderate, and strong momentum in both directions.
โธป
Visual Features:
โข Gradient fill between the Z Curl Line and Signal 1 to highlight slope acceleration.
โข Histogram showing the difference between the Z Curl Line and its signal.
โข Optional signal crossover shapes between configurable pairs (e.g., Z Curl vs. Signal).
โข Background highlights when the Z Curl Line exceeds ยฑ2, indicating strong trending behavior.
โธป
Customization:
โข Adjustable EMA length, smoothing lengths, signal lengths, histogram smoothing, and Z-score lookback.
โข Separate color controls for:
โข Z-score strength bands (mild/moderate/strong up/down)
โข Histogram bars
โข Signal lines
โข Background highlight zones
โข Crossover shapes
โธป
Use Cases:
โข Momentum Confirmation: Confirm strength when Z Curl exceeds ยฑ2 with matching background highlights.
โข Trend Entry Timing: Look for trades when Z Curl crosses above or below the 0-line.
โข Scalping: Capture quick directional moves when momentum accelerates.
โข Trend Following: Use strong Z Curl values to confirm trade direction and filter sideways action.
โข Divergence Detection: Spot divergences between price and Z Curl movement to anticipate reversals.
Inflection PointInflection Point - The Adaptive Confluence Reversal Engine
This is not just another peak and valley indicator; it is a complete and total reimagining of how market turning points are detected, qualified, and acted upon. Born from the foundational concepts explored in systems like my earlier creation, DAFE - Turning Point, Inflection Point is a ground-up engineering feat designed for the modern trader. It moves beyond static rules and simple pattern recognition into the realm of dynamic, multi-factor confluence analysis and adaptive machine learning.
Where other indicators provide a guess, Inflection Point provides a probability. It meticulously analyzes the market's deepest currentsโmomentum, exhaustion, and reversal velocityโand fuses them into a single, unified "Confluence Score." This is not a simple combination of indicators; it is an intelligent, weighted system where each component works in concert, creating an analytical engine that is orders of magnitude more sophisticated and reliable than any standard reversal tool.
Furthermore, Inflection Point learns. Through its advanced Adaptive Learning Engine, it constantly monitors its own performance, adjusting its confidence and selectivity in real-time based on its recent success rate. This allows it to adapt its behavior to any security, on any timeframe, with remarkable success.
Theoretical Foundation - Confluence Core
Inflection Point's predictive power does not come from a single, magical formula. It comes from the intelligent synthesis of three critical market phenomena, weighted and scored in real-time to generate a single, high-conviction probability rating.
1. Factor One: Pre-Reversal Momentum State (RSI Analysis)
Instead of reacting to a simple RSI cross, Inflection Point proactively scans for the build-up of momentum that precedes a reversal.
โข Formulaic Concept: It measures the highest RSI value over a lookback period for peaks and the lowest RSI for valleys. A signal is only considered valid if significant momentum has been established before the turn, indicating a stretched market condition ripe for reversal.
โข Asymmetric Sophistication: The engine uses different, optimized thresholds for bull and bear momentum, recognizing that markets often fall faster than they rise.
2. Factor Two: Volatility Exhaustion (Bollinger Band Analysis)
A true reversal often occurs when price makes a final, exhaustive push into unsustainable territory.
โข Formulaic Concept: The engine detects when price has significantly pierced the outer Bollinger Bands. This is not just a touch, but a statistical deviation from the mean that signals volatility exhaustion, where the energy for the current move is likely depleted.
3. Factor Three: Reversal Strength (Rate of Change Analysis)
The character of a reversal matters. A sharp, decisive turn is more significant than a slow, meandering one.
โข Formulaic Concept: Using a short-term Rate of Change (ROC), the engine measures the velocity of the reversal itself. A higher ROC score adds significant weight to the final probability, confirming that the new direction has conviction.
4. The Final Calculation: The Adaptive Learning Engine
This is the system's "brain." It maintains a history of its past signals and calculates its real-time win rate. This hitRate is then used to generate an adaptiveMultiplier.
โข Self-Correction: In "Quality Control" mode, a high win rate makes the indicator more selective, demanding a higher probability score to issue a signal, thereby protecting streaks. A lower win rate makes it slightly less selective to ensure it continues learning from new market conditions.
โข The result is a system that is not static, but a living, breathing tool that adapts its personality to the unique rhythm of any chart.
Why Inflection Point is a Paradigm Shift
Inflection Point is fundamentally different from other reversal indicators for three key reasons:
Confluence Over Isolation: Standard indicators look at one thing (e.g., RSI > 70). Inflection Point simultaneously analyzes momentum, volatility, and velocity, understanding that true reversals are a product of multiple converging factors. It answers not just "if," but "why" a reversal is likely.
Probabilistic Over Binary: Other tools give you a simple "yes" or "no." Inflection Point provides a probability score from 0-100, allowing you to gauge the conviction of every potential signal. This empowers you to differentiate between a weak setup and an A+ opportunity.
Adaptive Over Static: Every other indicator uses the same rules forever. Inflection Point's Adaptive Engine means it is constantly refining its own logic based on what is actually working in the current market, on the specific asset you are trading. It is tailored to the now.
The Inputs Menu - Your Command Center
Every setting is a lever of control, allowing you to tune the engine to your precise trading style and market focus.
๐ง Neural Core Engine
Analysis Depth: This is the primary lookback for the Bollinger Band and other core calculations. A shorter depth makes the indicator faster and more sensitive, ideal for scalping. A longer depth makes it slower and more stable, ideal for swing trading.
Minimum Probability %: This is your master signal filter. It sets the minimum Confluence Score required to plot a signal. Higher values (85-95) will give you only the highest-conviction A+ setups. Lower values (70-80) will show more potential opportunities.
๐ค Adaptive Neural Learning
Enable Adaptive Learning Engine: Toggles the entire learning system. Disabling it will make the indicator's logic static.
Peak/Valley Success Threshold (ATR): This defines what constitutes a "successful" trade for the learning engine. A value of 1.5 means price must move 1.5x the ATR in your favor for the signal to be marked as a win. Adjust this to match your personal take-profit strategy.
Adaptive Mode: This dictates how the engine uses its hitRate. "Quality Control" is recommended for its intelligent filtering. "Aggressive" will always boost signal scores, useful for finding more setups in a known, trending environment.
Asymmetric Balance: Allows you to apply a "boost" to either peak (short) or valley (long) signals. If you find the market you're trading has stronger long reversals, you can increase the "Valley Signal Boost" to catch them more effectively.
๐ก๏ธ Elite Filters
Market Noise Filter: An exceptional tool for avoiding choppy markets. It counts the number of directional changes in the last 5 bars. If the market is whipping back and forth too much, it will block the signal. Lower the "Max Direction Changes" to be extremely selective.
Volume Filter: Requires signal confirmation from a significant volume spike. The "Volume Multiplier" dictates how large this spike must be (e.g., 1.2 = 20% above average volume). This is invaluable for filtering out low-conviction moves in stocks and crypto.
The Dashboard - Your Analytical Co-Pilot
The dashboard is not just a set of numbers; it is a holistic overview of the market's health and the engine's current state.
Unified AI Score: This section provides the most critical, at-a-glance information. "Total Score" is the current probability reading, while "Quality" gives you a human-readable interpretation. "Win Rate" shows the real-time performance of the Adaptive Engine.
Order Flow (OFPI): This measures the "weight" of money behind recent price moves by analyzing price change relative to volume. A high positive OFPI suggests strong buying pressure, while a high negative value suggests strong selling pressure. It gives you a peek into the market's underlying flow.
Component Analysis: This allows you to see the individual "Peak" and "Valley" confidence scores before they are filtered, giving you insight into building momentum before a signal forms.
Market Structure: This panel assesses the broader environment. "HTF Trend" tells you the direction of the larger trend (based on EMAs), while "Vol Regime" tells you if the market is in a high, medium, or low volatility state. Use this to align your signals with the broader market context.
Filter & Engine Statistics: Available on the "Large" dashboard, this provides deep insight into how many signals are being blocked by your filters and the current status of the Adaptive Engine's multiplier.
The Visual Interface - A Symphony of Data
Every visual element on the chart is designed for instant interpretation and insight.
Signal Markers: Simple, clean triangles mark the exact bar of a valid signal. A box is drawn around the high/low of the signal bar to highlight the precise point of inflection.
Dynamic Support/Resistance Zones: These are the glowing lines on your chart. They are not static lines; they are dynamic levels that represent the current battlefield between buyers and sellers.
Cyber Cyan (Valley Blue): This is the current Support Zone. This is the price level the market is currently trying to defend.
Neural Pink (Peak Red): This is the current Resistance Zone. This is the price level the market is currently trying to break through.
Grey (Next Level): This line is a projection, based on the current momentum and the size of the S/R range, of where the next major level of conflict will likely be. It acts as a potential price target.
Development & Philosophy
Inflection Point was not assembled; it was engineered. It represents hundreds of hours of research into market dynamics, statistical analysis, and machine learning principles. The goal was to create a tool that moves beyond the limitations of traditional technical analysis, which often fails in modern, algorithm-driven markets. By building a system based on multi-factor confluence and self-adaptive logic, Inflection Point provides a quantifiable, statistical edge that is simply unattainable with simpler tools. This is the result of a relentless pursuit of a better, more intelligent way to trade.
Universal Applicability
The principles of momentum, exhaustion, and velocity are universal to all freely traded markets. Because of its adaptive core and robust filtering options, Inflection Point has proven to be exceptionally effective on any security (stocks, crypto, forex, indices, futures) and on any timeframe (from 1-minute scalping charts to daily swing trading charts).
" Markets are constantly in a state of uncertainty and flux and money is made by discounting the obvious and betting on the unexpected. "
โ George Soros
Trade with insight. Trade with anticipation.
โ Dskyz, for DAFE Trading Systems
Pivot Channel LevelsPivot Channel Levels
Indicator Description
โPivot Channel Levelsโ is an advanced technical analysis tool that identifies key price pivots (highs and lows) and creates dynamic support and resistance levels based on the wicks of candles at these points (or bodies if wicks are minimal). The indicator analyzes the volume at the time of a pivotโs formation, displaying its value and percentage change relative to the volumeโs simple moving average (SMA).
It does not generate buy/sell signals but provides a clear visualization of market structure, helping traders identify potential price reaction zones and assess the strength of market movements.
Why Are Wicks Important?
Candle wicks at price pivots indicate significant market reactions in key areas. Depending on the context, they may signal rejection, testing, or absorption of a support or resistance level. Long wicks often appear where large players are active, and the marked zones are frequently retested. The indicator allows for quick identification and observation of their impact on future price action.
Why Use It?
- Precise Support and Resistance Levels: The indicator draws price channels based on candle wicks at pivots (or bodies if wicks are absent), enabling better identification of zones where price may react.
- Volume Analysis: It shows how the volume at a pivot differs from the average, indicating potential activity by large players or key market moments.
- Visual Clarity: Colored lines, channel fills, and clear labels facilitate quick chart analysis, even on short timeframes.
- Flexibility: Adjustable pivot length, volume average, and label colors allow customization to various trading strategies.
How It Works
- Pivot Detection: Automatically identifies local highs and lows based on the โPivot Lengthโ parameter (default: 20 candles). This means a pivot appears on the chart with a 20-candle delay. Reducing this value allows faster pivot detection (after fewer candles), increasing their number but potentially generating more noise.
- Channel Creation: Draws support and resistance levels based on the wicks of candles at pivot points (or bodies if wicks are minimal) with a delay to confirm zones. A pivot channel is drawn until the next pivot is identified, but if not previously broken, it remains valid as active support or resistance.
- Volume Analysis: Displays the volume at the pivotโs formation and its percentage change relative to the volumeโs SMA.
- Visualization: Pivot and channel levels are shown as lines with fills, and labels display volume and its deviation from the average.
Trading Applications
- Swing Trading: Use pivot levels and channels to identify price reversal points or consolidation zones.
- Scalping: Monitor price reactions to channels on short timeframes, especially with high volume.
- Faster Pivot Identification: Switch to a lower timeframe (e.g., from H1 to M15) to identify pivots more quickly, allowing earlier reactions to price changes.
- Market Context Analysis: High volume at pivots may indicate significant levels likely to be retested.
- Combining with Other Tools: The indicator pairs well with Fibonacci retracement, supply/demand zones, or oscillators like RSI.
Settings and Customization
- Pivot Length: Determines how many candles back and forward are analyzed to detect pivots (default: 20). A smaller value increases sensitivity, a larger one enhances stability.
- Volume Average: Length of the SMA for volume (default: 20). Adjust to better reflect market characteristics.
- Label Colors: Choose colors for bullish and bearish pivot labels to match your chart style.
Usage Examples
- Identifying Key Zones: If the price approaches a pivot level with high volume (e.g., +50% relative to SMA), it may signal strong support or resistance.
- Breakout Confirmation: A channel breakout with high volume can indicate trend continuation.
- Price Reaction Analysis: Long wicks at pivots with high volume may signal level rejection by large players.
Notes for Users
- The indicator performs best on highly liquid markets (e.g., Forex, indices, cryptocurrencies).
- On short timeframes (e.g., M1, M5), it may generate more noiseโadjust โPivot Lengthโ to suit your needs.
- Consider combining with other indicators to confirm signals derived from pivot and volume analysis.
VoVix DEVMA๐ VoVix DEVMA: A Deep Dive into Second-Order Volatility Dynamics
Welcome to VoVix+, a sophisticated trading framework that transcends traditional price analysis. This is not merely another indicator; it is a complete system designed to dissect and interpret the very fabric of market volatility. VoVix+ operates on the principle that the most powerful signals are not found in price alone, but in the behavior of volatility itself. It analyzes the rate of change, the momentum, and the structure of market volatility to identify periods of expansion and contraction, providing a unique edge in anticipating major market moves.
This document will serve as your comprehensive guide, breaking down every mathematical component, every user input, and every visual element to empower you with a profound understanding of how to harness its capabilities.
๐ฌ THEORETICAL FOUNDATION: THE MATHEMATICS OF MARKET DYNAMICS
VoVix+ is built upon a multi-layered mathematical engine designed to measure what we call "second-order volatility." While standard indicators analyze price, and first-order volatility indicators (like ATR) analyze the range of price, VoVix+ analyzes the dynamics of the volatility itself. This provides insight into the market's underlying state of stability or chaos.
1. The VoVix Score: Measuring Volatility Thrust
The core of the system begins with the VoVix Score. This is a normalized measure of volatility acceleration or deceleration.
Mathematical Formula:
VoVix Score = (ATR(fast) - ATR(slow)) / (StDev(ATR(fast)) + ฮต)
Where:
ATR(fast) is the Average True Range over a short period, representing current, immediate volatility.
ATR(slow) is the Average True Range over a longer period, representing the baseline or established volatility.
StDev(ATR(fast)) is the Standard Deviation of the fast ATR, which measures the "noisiness" or consistency of recent volatility.
ฮต (epsilon) is a very small number to prevent division by zero.
Market Implementation:
Positive Score (Expansion): When the fast ATR is significantly higher than the slow ATR, it indicates a rapid increase in volatility. The market is "stretching" or expanding.
Negative Score (Contraction): When the fast ATR falls below the slow ATR, it indicates a decrease in volatility. The market is "coiling" or contracting.
Normalization: By dividing by the standard deviation, we normalize the score. This turns it into a standardized measure, allowing us to compare volatility thrust across different market conditions and timeframes. A score of 2.0 in a quiet market means the same, relatively, as a score of 2.0 in a volatile market.
2. Deviation Analysis (DEV): Gauging Volatility's Own Volatility
The script then takes the analysis a step further. It calculates the standard deviation of the VoVix Score itself.
Mathematical Formula:
DEV = StDev(VoVix Score, lookback_period)
Market Implementation:
This DEV value represents the magnitude of chaos or stability in the market's volatility dynamics. A high DEV value means the volatility thrust is erratic and unpredictable. A low DEV value suggests the change in volatility is smooth and directional.
3. The DEVMA Crossover: Identifying Regime Shifts
This is the primary signal generator. We take two moving averages of the DEV value.
Mathematical Formula:
fastDEVMA = SMA(DEV, fast_period)
slowDEVMA = SMA(DEV, slow_period)
The Core Signal:
The strategy triggers on the crossover and crossunder of these two DEVMA lines. This is a profound concept: we are not looking at a moving average of price or even of volatility, but a moving average of the standard deviation of the normalized rate of change of volatility.
Bullish Crossover (fastDEVMA > slowDEVMA): This signals that the short-term measure of volatility's chaos is increasing relative to the long-term measure. This often precedes a significant market expansion and is interpreted as a bullish volatility regime.
Bearish Crossunder (fastDEVMA < slowDEVMA): This signals that the short-term measure of volatility's chaos is decreasing. The market is settling down or contracting, often leading to trending moves or range consolidation.
โ๏ธ INPUTS MENU: CONFIGURING YOUR ANALYSIS ENGINE
Every input has been meticulously designed to give you full control over the strategy's behavior. Understanding these settings is key to adapting VoVix+ to your specific instrument, timeframe, and trading style.
๐ VoVix DEVMA Configuration
๐งฌ Deviation Lookback: This sets the lookback period for calculating the DEV value. It defines the window for measuring the stability of the VoVix Score. A shorter value makes the system highly reactive to recent changes in volatility's character, ideal for scalping. A longer value provides a smoother, more stable reading, better for identifying major, long-term regime shifts.
โก Fast VoVix Length: This is the lookback period for the fastDEVMA. It represents the short-term trend of volatility's chaos. A smaller number will result in a faster, more sensitive signal line that reacts quickly to market shifts.
๐ Slow VoVix Length: This is the lookback period for the slowDEVMA. It represents the long-term, baseline trend of volatility's chaos. A larger number creates a more stable, slower-moving anchor against which the fast line is compared.
How to Optimize: The relationship between the Fast and Slow lengths is crucial. A wider gap (e.g., 20 and 60) will result in fewer, but potentially more significant, signals. A narrower gap (e.g., 25 and 40) will generate more frequent signals, suitable for more active trading styles.
๐ง Adaptive Intelligence
๐ง Enable Adaptive Features: When enabled, this activates the strategy's performance tracking module. The script will analyze the outcome of its last 50 trades to calculate a dynamic win rate.
โฐ Adaptive Time-Based Exit: If Enable Adaptive Features is on, this allows the strategy to adjust its Maximum Bars in Trade setting based on performance. It learns from the average duration of winning trades. If winning trades tend to be short, it may shorten the time exit to lock in profits. If winners tend to run, it will extend the time exit, allowing trades more room to develop. This helps prevent the strategy from cutting winning trades short or holding losing trades for too long.
โก Intelligent Execution
๐ Trade Quantity: A straightforward input that defines the number of contracts or shares for each trade. This is a fixed value for consistent position sizing.
๐ก๏ธ Smart Stop Loss: Enables the dynamic stop-loss mechanism.
๐ฏ Stop Loss ATR Multiplier: Determines the distance of the stop loss from the entry price, calculated as a multiple of the current 14-period ATR. A higher multiplier gives the trade more room to breathe but increases risk per trade. A lower multiplier creates a tighter stop, reducing risk but increasing the chance of being stopped out by normal market noise.
๐ฐ Take Profit ATR Multiplier: Sets the take profit target, also as a multiple of the ATR. A common practice is to set this higher than the Stop Loss multiplier (e.g., a 2:1 or 3:1 reward-to-risk ratio).
๐ Use Trailing Stop: This is a powerful feature for trend-following. When enabled, instead of a fixed stop loss, the stop will trail behind the price as the trade moves into profit, helping to lock in gains while letting winners run.
๐ฏ Trail Points & ๐ Trail Offset ATR Multipliers: These control the trailing stop's behavior. Trail Points defines how much profit is needed before the trail activates. Trail Offset defines how far the stop will trail behind the current price. Both are based on ATR, making them fully adaptive to market volatility.
โฐ Maximum Bars in Trade: This is a time-based stop. It forces an exit if a trade has been open for a specified number of bars, preventing positions from being held indefinitely in stagnant markets.
โฐ Session Management
These inputs allow you to confine the strategy's trading activity to specific market hours, which is crucial for day trading instruments that have defined high-volume sessions (e.g., stock market open).
๐จ Visual Effects & Dashboard
These toggles give you complete control over the on-chart visuals and the dashboard. You can disable any element to declutter your chart or focus only on the information that matters most to you.
๐ THE DASHBOARD: YOUR AT-A-GLANCE COMMAND CENTER
The dashboard centralizes all critical information into one compact, easy-to-read panel. It provides a real-time summary of the market state and strategy performance.
๐ฏ VOVIX ANALYSIS
Fast & Slow: Displays the current numerical values of the fastDEVMA and slowDEVMA. The color indicates their direction: green for rising, red for falling. This lets you see the underlying momentum of each line.
Regime: This is your most important environmental cue. It tells you the market's current state based on the DEVMA relationship. ๐ EXPANSION (Green) signifies a bullish volatility regime where explosive moves are more likely. โ๏ธ CONTRACTION (Purple) signifies a bearish volatility regime, where the market may be consolidating or entering a smoother trend.
Quality: Measures the strength of the last signal based on the magnitude of the DEVMA difference. An ELITE or STRONG signal indicates a high-conviction setup where the crossover had significant force.
PERFORMANCE
Win Rate & Trades: Displays the historical win rate of the strategy from the backtest, along with the total number of closed trades. This provides immediate feedback on the strategy's historical effectiveness on the current chart.
EXECUTION
Trade Qty: Shows your configured position size per trade.
Session: Indicates whether trading is currently OPEN (allowed) or CLOSED based on your session management settings.
POSITION
Position & PnL: Displays your current position (LONG, SHORT, or FLAT) and the real-time Profit or Loss of the open trade.
๐ง ADAPTIVE STATUS
Stop/Profit Mult: In this simplified version, these are placeholders. The primary adaptive feature currently modifies the time-based exit, which is reflected in how long trades are held on the chart.
๐จ THE VISUAL UNIVERSE: DECIPHERING MARKET GEOMETRY
The visuals are not mere decorations; they are geometric representations of the underlying mathematical concepts, designed to give you an intuitive feel for the market's state.
The Core Lines:
FastDEVMA (Green/Maroon Line): The primary signal line. Green when rising, indicating an increase in short-term volatility chaos. Maroon when falling.
SlowDEVMA (Aqua/Orange Line): The baseline. Aqua when rising, indicating a long-term increase in volatility chaos. Orange when falling.
๐ Morphism Flow (Flowing Lines with Circles):
What it represents: This visualizes the momentum and strength of the fastDEVMA. The width and intensity of the "beam" are proportional to the signal strength.
Interpretation: A thick, steep, and vibrant flow indicates powerful, committed momentum in the current volatility regime. The floating 'โ' particles represent kinetic energy; more particles suggest stronger underlying force.
๐ Homotopy Paths (Layered Transparent Boxes):
What it represents: These layered boxes are centered between the two DEVMA lines. Their height is determined by the DEV value.
Interpretation: This visualizes the overall "volatility of volatility." Wider boxes indicate a chaotic, unpredictable market. Narrower boxes suggest a more stable, predictable environment.
๐ง Consciousness Field (The Grid):
What it represents: This grid provides a historical lookback at the DEV range.
Interpretation: It maps the recent "consciousness" or character of the market's volatility. A consistently wide grid suggests a prolonged period of chaos, while a narrowing grid can signal a transition to a more stable state.
๐ Functorial Levels (Projected Horizontal Lines):
What it represents: These lines extend from the current fastDEVMA and slowDEVMA values into the future.
Interpretation: Think of these as dynamic support and resistance levels for the volatility structure itself. A crossover becomes more significant if it breaks cleanly through a prior established level.
๐ Flow Boxes (Spaced Out Boxes):
What it represents: These are compact visual footprints of the current regime, colored green for Expansion and red for Contraction.
Interpretation: They provide a quick, at-a-glance confirmation of the dominant volatility flow, reinforcing the background color.
Background Color:
This provides an immediate, unmistakable indication of the current volatility regime. Light Green for Expansion and Light Aqua/Blue for Contraction, allowing you to assess the market environment in a split second.
๐ BACKTESTING PERFORMANCE REVIEW & ANALYSIS
The following is a factual, transparent review of a backtest conducted using the strategy's default settings on a specific instrument and timeframe. This information is presented for educational purposes to demonstrate how the strategy's mechanics performed over a historical period. It is crucial to understand that these results are historical, apply only to the specific conditions of this test, and are not a guarantee or promise of future performance. Market conditions are dynamic and constantly change.
Test Parameters & Conditions
To ensure the backtest reflects a degree of real-world conditions, the following parameters were used. The goal is to provide a transparent baseline, not an over-optimized or unrealistic scenario.
Instrument: CME E-mini Nasdaq 100 Futures (NQ1!)
Timeframe: 5-Minute Chart
Backtesting Range: March 24, 2024, to July 09, 2024
Initial Capital: $100,000
Commission: $0.62 per contract (A realistic cost for futures trading).
Slippage: 3 ticks per trade (A conservative setting to account for potential price discrepancies between order placement and execution).
Trade Size: 1 contract per trade.
Performance Overview (Historical Data)
The test period generated 465 total trades , providing a statistically significant sample size for analysis, which is well above the recommended minimum of 100 trades for a strategy evaluation.
Profit Factor: The historical Profit Factor was 2.663 . This metric represents the gross profit divided by the gross loss. In this test, it indicates that for every dollar lost, $2.663 was gained.
Percent Profitable: Across all 465 trades, the strategy had a historical win rate of 84.09% . While a high figure, this is a historical artifact of this specific data set and settings, and should not be the sole basis for future expectations.
Risk & Trade Characteristics
Beyond the headline numbers, the following metrics provide deeper insight into the strategy's historical behavior.
Sortino Ratio (Downside Risk): The Sortino Ratio was 6.828 . Unlike the Sharpe Ratio, this metric only measures the volatility of negative returns. A higher value, such as this one, suggests that during this test period, the strategy was highly efficient at managing downside volatility and large losing trades relative to the profits it generated.
Average Trade Duration: A critical characteristic to understand is the strategy's holding period. With an average of only 2 bars per trade , this configuration operates as a very short-term, or scalping-style, system. Winning trades averaged 2 bars, while losing trades averaged 4 bars. This indicates the strategy's logic is designed to capture quick, high-probability moves and exit rapidly, either at a profit target or a stop loss.
Conclusion and Final Disclaimer
This backtest demonstrates one specific application of the VoVix+ framework. It highlights the strategy's behavior as a short-term system that, in this historical test on NQ1!, exhibited a high win rate and effective management of downside risk. Users are strongly encouraged to conduct their own backtests on different instruments, timeframes, and date ranges to understand how the strategy adapts to varying market structures. Past performance is not indicative of future results, and all trading involves significant risk.
๐ง THE DEVELOPMENT PHILOSOPHY: FROM VOLATILITY TO CLARITY
The journey to create VoVix+ began with a simple question: "What drives major market moves?" The answer is often not a change in price direction, but a fundamental shift in market volatility. Standard indicators are reactive to price. We wanted to create a system that was predictive of market state. VoVix+ was designed to go one level deeperโto analyze the behavior, character, and momentum of volatility itself.
The challenge was twofold. First, to create a robust mathematical model to quantify these abstract concepts. This led to the multi-layered analysis of ATR differentials and standard deviations. Second, to make this complex data intuitive and actionable. This drove the creation of the "Visual Universe," where abstract mathematical values are translated into geometric shapes, flows, and fields. The adaptive system was intentionally kept simple and transparent, focusing on a single, impactful parameter (time-based exits) to provide performance feedback without becoming an inscrutable "black box." The result is a tool that is both profoundly deep in its analysis and remarkably clear in its presentation.
โ ๏ธ RISK DISCLAIMER AND BEST PRACTICES
VoVix+ is an advanced analytical tool, not a guarantee of future profits. All financial markets carry inherent risk. The backtesting results shown by the strategy are historical and do not guarantee future performance. This strategy incorporates realistic commission and slippage settings by default, but market conditions can vary. Always practice sound risk management, use position sizes appropriate for your account equity, and never risk more than you can afford to lose. It is recommended to use this strategy as part of a comprehensive trading plan. This was developed specifically for Futures
"The prevailing wisdom is that markets are always right. I take the opposite view. I assume that markets are always wrong. Even if my assumption is occasionally wrong, I use it as a working hypothesis."
โ George Soros
โ Dskyz, Trade with insight. Trade with anticipation.
Aetherium Institutional Market Resonance EngineAetherium Institutional Market Resonance Engine (AIMRE)
A Three-Pillar Framework for Decoding Institutional Activity
๐ THEORETICAL FOUNDATION
The Aetherium Institutional Market Resonance Engine (AIMRE) is a multi-faceted analysis system designed to move beyond conventional indicators and decode the market's underlying structure as dictated by institutional capital flow. Its philosophy is built on a singular premise: significant market moves are preceded by a convergence of context , location , and timing . Aetherium quantifies these three dimensions through a revolutionary three-pillar architecture.
This system is not a simple combination of indicators; it is an integrated engine where each pillar's analysis feeds into a central logic core. A signal is only generated when all three pillars achieve a state of resonance, indicating a high-probability alignment between market organization, key liquidity levels, and cyclical momentum.
โก THE THREE-PILLAR ARCHITECTURE
1. ๐ PILLAR I: THE COHERENCE ENGINE (THE 'CONTEXT')
Purpose: To measure the degree of organization within the market. This pillar answers the question: " Is the market acting with a unified purpose, or is it chaotic and random? "
Conceptual Framework: Institutional campaigns (accumulation or distribution) create a non-random, organized market environment. Retail-driven or directionless markets are characterized by "noise" and chaos. The Coherence Engine acts as a filter to ensure we only engage when institutional players are actively steering the market.
Formulaic Concept:
Coherence = f(Dominance, Synchronization)
Dominance Factor: Calculates the absolute difference between smoothed buying pressure (volume-weighted bullish candles) and smoothed selling pressure (volume-weighted bearish candles), normalized by total pressure. A high value signifies a clear winner between buyers and sellers.
Synchronization Factor: Measures the correlation between the streams of buying and selling pressure over the analysis window. A high positive correlation indicates synchronized, directional activity, while a negative correlation suggests choppy, conflicting action.
The final Coherence score (0-100) represents the percentage of market organization. A high score is a prerequisite for any signal, filtering out unpredictable market conditions.
2. ๐ PILLAR II: HARMONIC LIQUIDITY MATRIX (THE 'LOCATION')
Purpose: To identify and map high-impact institutional footprints. This pillar answers the question: " Where have institutions previously committed significant capital? "
Conceptual Framework: Large institutional orders leave indelible marks on the market in the form of anomalous volume spikes at specific price levels. These are not random occurrences but are areas of intense historical interest. The Harmonic Liquidity Matrix finds these footprints and consolidates them into actionable support and resistance zones called "Harmonic Nodes."
Algorithmic Process:
Footprint Identification: The engine scans the historical lookback period for candles where volume > average_volume * Institutional_Volume_Filter. This identifies statistically significant volume events.
Node Creation: A raw node is created at the mean price of the identified candle.
Dynamic Clustering: The engine uses an ATR-based proximity algorithm. If a new footprint is identified within Node_Clustering_Distance (ATR) of an existing Harmonic Node, it is merged. The node's price is volume-weighted, and its magnitude is increased. This prevents chart clutter and consolidates nearby institutional orders into a single, more significant level.
Node Decay: Nodes that are older than the Institutional_Liquidity_Scanback period are automatically removed from the chart, ensuring the analysis remains relevant to recent market dynamics.
3. ๐ PILLAR III: CYCLICAL RESONANCE MATRIX (THE 'TIMING')
Purpose: To identify the market's dominant rhythm and its current phase. This pillar answers the question: " Is the market's immediate energy flowing up or down? "
Conceptual Framework: Markets move in waves and cycles of varying lengths. Trading in harmony with the current cyclical phase dramatically increases the probability of success. Aetherium employs a simplified wavelet analysis concept to decompose price action into short, medium, and long-term cycles.
Algorithmic Process:
Cycle Decomposition: The engine calculates three oscillators based on the difference between pairs of Exponential Moving Averages (e.g., EMA8-EMA13 for short cycle, EMA21-EMA34 for medium cycle).
Energy Measurement: The 'energy' of each cycle is determined by its recent volatility (standard deviation). The cycle with the highest energy is designated as the "Dominant Cycle."
Phase Analysis: The engine determines if the dominant cycles are in a bullish phase (rising from a trough) or a bearish phase (falling from a peak).
Cycle Sync: The highest conviction timing signals occur when multiple cycles (e.g., short and medium) are synchronized in the same direction, indicating broad-based momentum.
๐ง COMPREHENSIVE INPUT SYSTEM
Pillar I: Market Coherence Engine
Coherence Analysis Window (10-50, Default: 21): The lookback period for the Coherence Engine.
Lower Values (10-15): Highly responsive to rapid shifts in market control. Ideal for scalping but can be sensitive to noise.
Balanced (20-30): Excellent for day trading, capturing the ebb and flow of institutional sessions.
Higher Values (35-50): Smoother, more stable reading. Best for swing trading and identifying long-term institutional campaigns.
Coherence Activation Level (50-90%, Default: 70%): The minimum market organization required to enable signal generation.
Strict (80-90%): Only allows signals in extremely clear, powerful trends. Fewer, but potentially higher quality signals.
Standard (65-75%): A robust filter that effectively removes choppy conditions while capturing most valid institutional moves.
Lenient (50-60%): Allows signals in less-organized markets. Can be useful in ranging markets but may increase false signals.
Pillar II: Harmonic Liquidity Matrix
Institutional Liquidity Scanback (100-400, Default: 200): How far back the engine looks for institutional footprints.
Short (100-150): Focuses on recent institutional activity, providing highly relevant, immediate levels.
Long (300-400): Identifies major, long-term structural levels. These nodes are often extremely powerful but may be less frequent.
Institutional Volume Filter (1.3-3.0, Default: 1.8): The multiplier for detecting a volume spike.
High (2.5-3.0): Only registers climactic, undeniable institutional volume. Fewer, but more significant nodes.
Low (1.3-1.7): More sensitive, identifying smaller but still relevant institutional interest.
Node Clustering Distance (0.2-0.8 ATR, Default: 0.4): The ATR-based distance for merging nearby nodes.
High (0.6-0.8): Creates wider, more consolidated zones of liquidity.
Low (0.2-0.3): Creates more numerous, precise, and distinct levels.
Pillar III: Cyclical Resonance Matrix
Cycle Resonance Analysis (30-100, Default: 50): The lookback for determining cycle energy and dominance.
Short (30-40): Tunes the engine to faster, shorter-term market rhythms. Best for scalping.
Long (70-100): Aligns the timing component with the larger primary trend. Best for swing trading.
Institutional Signal Architecture
Signal Quality Mode (Professional, Elite, Supreme): Controls the strictness of the three-pillar confluence.
Professional: Loosest setting. May generate signals if two of the three pillars are in strong alignment. Increases signal frequency.
Elite: Balanced setting. Requires a clear, unambiguous resonance of all three pillars. The recommended default.
Supreme: Most stringent. Requires perfect alignment of all three pillars, with each pillar exhibiting exceptionally strong readings (e.g., coherence > 85%). The highest conviction signals.
Signal Spacing Control (5-25, Default: 10): The minimum bars between signals to prevent clutter and redundant alerts.
๐จ ADVANCED VISUAL SYSTEM
The visual architecture of Aetherium is designed not merely for aesthetics, but to provide an intuitive, at-a-glance understanding of the complex data being processed.
Harmonic Liquidity Nodes: The core visual element. Displayed as multi-layered, semi-transparent horizontal boxes.
Magnitude Visualization: The height and opacity of a node's "glow" are proportional to its volume magnitude. More significant nodes appear brighter and larger, instantly drawing the eye to key levels.
Color Coding: Standard nodes are blue/purple, while exceptionally high-magnitude nodes are highlighted in an accent color to denote critical importance.
๐ Quantum Resonance Field: A dynamic background gradient that visualizes the overall market environment.
Color: Shifts from cool blues/purples (low coherence) to energetic greens/cyans (high coherence and organization), providing instant context.
Intensity: The brightness and opacity of the field are influenced by total market energy (a composite of coherence, momentum, and volume), making powerful market states visually apparent.
๐ Crystalline Lattice Matrix: A geometric web of lines projected from a central moving average.
Mathematical Basis: Levels are projected using multiples of the Golden Ratio (Phi โ 1.618) and the ATR. This visualizes the natural harmonic and fractal structure of the market. It is not arbitrary but is based on mathematical principles of market geometry.
๐ง Synaptic Flow Network: A dynamic particle system visualizing the engine's "thought process."
Node Density & Activation: The number of particles and their brightness/color are tied directly to the Market Coherence score. In high-coherence states, the network becomes a dense, bright, and organized web. In chaotic states, it becomes sparse and dim.
โก Institutional Energy Waves: Flowing sine waves that visualize market volatility and rhythm.
Amplitude & Speed: The height and speed of the waves are directly influenced by the ATR and volume, providing a feel for market energy.
๐ INSTITUTIONAL CONTROL MATRIX (DASHBOARD)
The dashboard is the central command console, providing a real-time, quantitative summary of each pillar's status.
Header: Displays the script title and version.
Coherence Engine Section:
State: Displays a qualitative assessment of market organization: โ PHASE LOCK (High Coherence), โ ORGANIZING (Moderate Coherence), or โ CHAOTIC (Low Coherence). Color-coded for immediate recognition.
Power: Shows the precise Coherence percentage and a directional arrow (โ or โ) indicating if organization is increasing or decreasing.
Liquidity Matrix Section:
Nodes: Displays the total number of active Harmonic Liquidity Nodes currently being tracked.
Target: Shows the price level of the nearest significant Harmonic Node to the current price, representing the most immediate institutional level of interest.
Cycle Matrix Section:
Cycle: Identifies the currently dominant market cycle (e.g., "MID ") based on cycle energy.
Sync: Indicates the alignment of the cyclical forces: โฒ BULLISH , โผ BEARISH , or โ DIVERGENT . This is the core timing confirmation.
Signal Status Section:
A unified status bar that provides the final verdict of the engine. It will display "QUANTUM SCAN" during neutral periods, or announce the tier and direction of an active signal (e.g., "โ TIER 1 BUY โ" ), highlighted with the appropriate color.
๐ฏ SIGNAL GENERATION LOGIC
Aetherium's signal logic is built on the principle of strict, non-negotiable confluence.
Condition 1: Context (Coherence Filter): The Market Coherence must be above the Coherence Activation Level. No signals can be generated in a chaotic market.
Condition 2: Location (Liquidity Node Interaction): Price must be actively interacting with a significant Harmonic Liquidity Node.
For a Buy Signal: Price must be rejecting the Node from below (testing it as support).
For a Sell Signal: Price must be rejecting the Node from above (testing it as resistance).
Condition 3: Timing (Cycle Alignment): The Cyclical Resonance Matrix must confirm that the dominant cycles are synchronized with the intended trade direction.
Signal Tiering: The Signal Quality Mode input determines how strictly these three conditions must be met. 'Supreme' mode, for example, might require not only that the conditions are met, but that the Market Coherence is exceptionally high and the interaction with the Node is accompanied by a significant volume spike.
Signal Spacing: A final filter ensures that signals are spaced by a minimum number of bars, preventing over-alerting in a single move.
๐ ADVANCED TRADING STRATEGIES
The Primary Confluence Strategy: The intended use of the system. Wait for a Tier 1 (Elite/Supreme) or Tier 2 (Professional/Elite) signal to appear on the chart. This represents the alignment of all three pillars. Enter after the signal bar closes, with a stop-loss placed logically on the other side of the Harmonic Node that triggered the signal.
The Coherence Context Strategy: Use the Coherence Engine as a standalone market filter. When Coherence is high (>70%), favor trend-following strategies. When Coherence is low (<50%), avoid new directional trades or favor range-bound strategies. A sharp drop in Coherence during a trend can be an early warning of a trend's exhaustion.
Node-to-Node Trading: In a high-coherence environment, use the Harmonic Liquidity Nodes as both entry points and profit targets. For example, after a BUY signal is generated at one Node, the next Node above it becomes a logical first profit target.
โ๏ธ RESPONSIBLE USAGE AND LIMITATIONS
Decision Support, Not a Crystal Ball: Aetherium is an advanced decision-support tool. It is designed to identify high-probability conditions based on a model of institutional behavior. It does not predict the future.
Risk Management is Paramount: No indicator can replace a sound risk management plan. Always use appropriate position sizing and stop-losses. The signals provided are probabilistic, not certainties.
Past Performance Disclaimer: The market models used in this script are based on historical data. While robust, there is no guarantee that these patterns will persist in the future. Market conditions can and do change.
Not a "Set and Forget" System: The indicator performs best when its user understands the concepts behind the three pillars. Use the dashboard and visual cues to build a comprehensive view of the market before acting on a signal.
Backtesting is Essential: Before applying this tool to live trading, it is crucial to backtest and forward-test it on your preferred instruments and timeframes to understand its unique behavior and characteristics.
๐ฎ CONCLUSION
The Aetherium Institutional Market Resonance Engine represents a paradigm shift from single-variable analysis to a holistic, multi-pillar framework. By quantifying the abstract concepts of market context, location, and timing into a unified, logical system, it provides traders with an unprecedented lens into the mechanics of institutional market operations.
It is not merely an indicator, but a complete analytical engine designed to foster a deeper understanding of market dynamics. By focusing on the core principles of institutional order flow, Aetherium empowers traders to filter out market noise, identify key structural levels, and time their entries in harmony with the market's underlying rhythm.
"In all chaos there is a cosmos, in all disorder a secret order." - Carl Jung
โ Dskyz, Trade with insight. Trade with confluence. Trade with Aetherium.






















