Combined SMA with Murrey Math and Fixed Fractal Bands "Combined SMA with Murrey Math and Fixed Fractal Bands" , overlaying a Simple Moving Average (SMA), Murrey Math (MM) bands, and fixed fractal bands on a price chart. Here's a brief description of its functionality:Inputs:SMA Length: Configurable period for the SMA (default: 180 bars).
Resolution: Optional custom timeframe for data.
Frame Size for MM: Lookback period for Murrey Math calculations (default: 180 bars, adjustable via multiplier).
Ignore Wicks: Option to use open/close prices instead of high/low for MM calculations.
Fixed Fractal Size: Fixed distance in points for fractal bands (default: 1.22).
Shade 3/8-5/8 Overlap: Option to highlight overlapping regions between SMA-centered and absolute MM bands.
Data Source:Uses open, close, high, and low prices from the specified ticker and timeframe.
Optionally ignores wicks (high/low) for MM calculations, using max/min of open/close instead.
SMA Calculation:Computes a Simple Moving Average (SMA) based on the closing price and user-defined length.
Murrey Math Bands:Absolute MM Bands: Calculated using a dynamic range based on the highest/lowest prices over a lookback period, scaled logarithmically to create 13 levels (from -3/8 to +3/8, with 8/8 as the midpoint). These adapt to price action.
SMA-Centered MM Bands: Constructs MM bands relative to the SMA, with levels (0/8 to 8/8) spaced by a calculated increment derived from the absolute MM range.
Colors bands dynamically (green for bullish, red for bearish, gray for neutral) based on changes in the 4/8 level or increment, with labels indicating "Higher," "Lower," or "Same" states.
Fixed Fractal Bands:Plots six fixed-distance bands (±1, ±2, ±3) around the SMA, using a user-defined point value (default: 1.22).
Overlaps and Shading:Detects overlaps between SMA-centered and absolute MM bands at key levels (7/8-8/8, 0/8-1/8, and optionally 3/8-5/8).
Shades overlapping regions with distinct colors (red for 7/8-8/8, green for 0/8-1/8, blue for 3/8-5/8).
Fills specific SMA-centered MM regions (3/8-5/8, 0/8-1/8, 7/8-8/8) for visual emphasis.
Visualization:Plots SMA-centered MM bands, absolute MM bands, and fixed fractal bands as stepped lines with varying colors and transparency.
Displays a table at the bottom-right showing the current MM increment value.
Adds labels when the 4/8 level or increment changes, indicating trend direction.
In summary, this indicator combines a user-defined SMA with Murrey Math bands (both absolute and SMA-centered) and fixed fractal bands to provide a multi-level support/resistance framework. It highlights dynamic price levels, trend direction, and key overlaps, aiding traders in identifying potential reversal or consolidation zones.
Analisis Trend
Hurst‑Millard FLD Normalized 2.0 – Signals "Hurst-Millard FLD Normalized 2.0 – Signals" indicator. It analyzes price data using a combination of moving averages (MAs) and the Hurst exponent to decompose price movements into trend, swing, and noise components, generating buy and sell signals. Here's a brief overview of its functionality:Inputs and Modes:Offers Auto Mode (cycle-based) and Manual Mode for configuring three moving averages: Long-Term (LT), Mid-Term (MT), and Short-Term (ST).
Auto Mode calculates MA lengths and offsets based on user-defined target cycle lengths (e.g., LT: 400 bars, MT: 100 bars, ST: 25 bars) with predefined offset ratios (0.2, 0.333, 0.5 respectively).
Manual Mode allows direct input of MA lengths and offsets.
Moving Averages:Computes Simple Moving Averages (SMAs) for LT, MT, and ST based on the closing price.
Applies forward-shifting to simulate future price behavior (e.g., maLongFwd shifts the LT MA by the specified offset).
Decomposition:Trend: Derived from the forward-shifted LT MA (maLongFwd).
Swing: Calculated as the difference between MT and LT MAs, scaled as a percentage of the closing price and amplified (using ATR or a manual factor).
Noise: Calculated as the difference between ST and MT MAs, similarly scaled and amplified.
Hurst Exponent:Estimates the Hurst exponent to measure the persistence or mean-reversion of the noise component.
Uses a 50-bar lookback period, smoothed with a 5-period SMA.
Signal Generation:Generates buy signals when the noise component is less than the swing component and their difference is within a user-defined proximity threshold (default: 25% of swing).
Generates sell signals when noise exceeds swing within the same threshold.
Signals are plotted as diamond shapes at the calculated proximity price level.
Visualization:Plots the trend, swing, and noise components as lines with customizable colors and gradient intensity based on their relative strength.
Optional debugging plots for raw forward-shifted MAs and proximity thresholds.
Displays a periodic debug table (every 100 bars) showing key metrics like close price, MAs, trend, swing, noise, Hurst exponent, and more.
Additional Features:Supports ATR-based amplification for scaling swing and noise.
Allows customization of signal colors, diamond offsets, and proximity thresholds.
Includes debugging options to visualize raw MAs and proximity bands.
In summary, this indicator uses cycle-based or manually configured MAs to break down price action into trend, swing, and noise, calculates the Hurst exponent for noise analysis, and generates buy/sell signals based on the relationship between swing and noise within a proximity threshold. It’s designed for traders to identify potential trend reversals or continuations.
Regression Channel (ShareScope-style, parallel)What it does 
Replicates ShareScope’s Trend of displayed data look: a single straight linear-regression line (dashed) across a chosen window with parallel, constant-width bands above and below, plus optional shading.
Use it to see the overall trend gradient for a period and a statistically sized channel based on the fit’s residual error.
 How it works (math, short) 
Computes an OLS regression once over the analysis window.
Residual standard error s is derived from SSE and degrees of freedom (n−2).
Band half-width is constant across the window:
Mean CI (narrower): half = z * s / √n
Prediction (wider): half = z * s * √(1 + 1/n)
Three straight, parallel lines are drawn from the regression endpoints; midline is dashed.
This is intentionally not a tapered CI (which widens at the ends). It matches the visual behaviour of ShareScope’s shaded trend line channel.
 Inputs 
Source – Price series (Close, High, Low, HL2, etc.).
Use last N bars / N (bars) – Rolling window length.
From / To (date mode) – Alternative fixed date window.
Confidence (%) – 90 / 95 / 99 / Custom (uses z≈t).
Custom Z (t) – Override the quantile if desired.
Prediction bands – Use wider prediction envelope instead of mean CI.
Shade region + colors / opacity / line width.
 Usage 
To mimic ShareScope exactly, pick the same date span (use date mode) and set Confidence 99%.
Choose Prediction OFF for a tighter “confidence” look; ON for a wider, more permissive channel.
If ShareScope used High as source, set Source = High here as well.
 Notes & limitations 
TradingView does not expose the visible viewport to Pine. The script cannot auto-read “displayed data.” Use last N bars or date range.
Bands are parallel by design. Prices may close outside; the channel does not bend.
Window capped at 5,000 bars for performance. No alerts are emitted.
 Differences vs TV’s native tools 
Linear Regression (drawing) – manual object; no statistical sizing or shading.
Linear Regression Channel (indicator) – uses price standard deviations around the regression; width is a user stdev multiple.
This script – uses residual error of the OLS fit and a z/t quantile to size a statistically meaningful parallel channel.
Changelog
r3.1 – Guard fix (no return at top level), minor refactor, stable line updates.
r3 – Switched to single-fit OLS with parallel constant-width bands (ShareScope look).
(Earlier experimental builds r1–r2.2 implemented rolling/tapered CI; superseded.)
Disclaimer: Educational use only. Not investment advice.
Cheap/Expensive Zone Highlighter V.2 Publicindicator Cheap/Expensive Zone Highlighter Ver2
Uptrend = Based on price> EMA200 (O+H+L+C)/4
Cheap zone = RSI<45
Dowtrend = Based on price< EMA200 (O+H+L+C)/4
Expensive Zone= RSI>55
Cheap/Expensive Zone Highlighter V.2 indicator Cheap/Expensive Zone Highlighter Ver2
Uptrend = Based on price> EMA200 (O+H+L+C)/4
Cheap zone = RSI<45
Dowtrend = Based on price< EMA200 (O+H+L+C)/4
Expensive Zone= RSI>55
Demand & Supply by DaoEADemand & Supply by DaoEA
This indicator is designed to help traders identify key demand and supply zones, displaying strong price action patterns such as Pin Bar, Engulfing, Hammer, and Shooting Star to confirm reversal points.
Key Features
Automatically identifies Supply & Demand Zones and extends them to the right.
Displays Break of Structure (BOS) when prices break out of these zones.
Tracks Swing Highs/Lows and analyzes HH, HL, LH, and LL.
Highlights strong price action patterns such as Bullish/Bearish Pin Bars, Engulfing, Hammer, and Shooting Star.
Customizable zones, colors, and labels.
Overlay zone protection. To avoid over-cluttering the chart,
Usage
Use with higher timeframes (H1 and above) to identify high demand and supply points.
Switch to smaller timeframes (M15–M30) to identify entry and exit opportunities.
Wait for a strong BOS + PA to confirm the signal.
Suitable for scalpers, swing traders, and Smart Money Concept (SMC) traders who want to clearly understand market structure.
Cheap/Expensive Zone Highlighter 2
indicator Cheap/Expensive Zone Highlighter Ver2 
Uptrend = Based on  price> EMA200 (O+H+L+C)/4 
Cheap zone = RSI<45
Dowtrend = Based on price< EMA200 (O+H+L+C)/4 
Expensive Zone=  RSI>55
Signal Core Basic [NevoxCore]⯁ OVERVIEW
Signal Core Basic   is a clean and functional ATR-based trailing stop with BUY/SELL signals.
It modernizes the classic "UT-style" concept with adaptive sensitivity, multi-source inputs (Close, Heikin-Ashi, ZLEMA, KAMA), and compact visuals.
The tool is designed for traders who want a clear, minimal, and reliable base indicator without repainting issues.
⯁ HOW IT WORKS
Calculates an ATR-based trailing stop (nLoss = Key × ATR).
Adaptive mode scales sensitivity depending on trend strength (trend/range detection).
Trailing stop flips when price crosses from one regime to the other.
BUY/SELL signals trigger only when confirmed and not blocked by cooldown.
Label ring-buffer ensures chart stays clean (max 50 labels).
Bar coloring optional (solid), auto-disabled when classic red/green colors are enabled.
⯁ KEY FEATURES
ATR-based trailing stop with adjustable sensitivity.
Adaptive key (trend/range aware).
Multiple compute sources: Close, Heikin-Ashi, ZLEMA, KAMA.
Global confirm-on-close switch (no repaint).
Early-flip protection (cooldown).
Compact BUY/SELL labels with auto-cleanup (max 50).
Optional solid bar coloring.
Alerts with ticker, timeframe, and price included.
⯁ SETTINGS (quick overview)
Visual: Classic Colors, Show Labels, Plot Trailing Stop, Barcolor ON/OFF.
Source & Sensitivity: Key Value, ATR Length, Compute Source.
Advanced: Adaptive Key toggle with min/max bounds.
Global: Confirm on bar close.
Extras: Cooldown protection (bars).
⯁ ALERTS (built-in)
Basic Long: BUY signal.
Basic Short: SELL signal.
Each alert includes {{ticker}} {{interval}} @ {{close}}.
⯁ HOW TO USE
Use as a trailing stop and regime filter.
Combine BUY/SELL signals with your strategy rules.
Enable cooldown for cleaner signals in choppy markets.
Try ZLEMA or Heikin-Ashi as compute source for smoother performance.
⯁ WHY IT’S DIFFERENT
Unlike generic UT-style scripts, Signal Core Basic adds adaptive sensitivity, multiple input sources, and strict non-repaint safety.
The visuals follow NevoxCore’s design standards: compact, minimal, and clean — ready for live trading with alerts.
⯁ DISCLAIMER
Backtest and paper-trade before using live. Not financial advice.
Performance depends on market, timeframe, and parameters.
Z-Score Regression Bands [BOSWaves]Z-Score Regression Bands   – Adaptive Trend and Volatility Insight 
 Overview 
The Z-Score Regression Bands is a trend and volatility analysis framework designed to give traders a clear, structured view of price behavior. It combines Least Squares Moving Average (LSMA) regression, a statistical method to detect underlying trends, with Z-Score standardization, which measures how far price deviates from its recent average.
  
Traditional moving average bands, like Bollinger Bands, often lag behind trends or generate false signals in noisy markets. Z-Score Regression Bands addresses these limitations by:
 
 Tracking trends accurately using LSMA regression
 Normalizing deviations with Z-Scores to identify statistically significant price extremes
 Visualizing multiple bands for normal, strong, and extreme moves
 Highlighting trend shifts using diamond markers based on Z-Score crossings
 
This multi-layered approach allows traders to understand trend strength, detect overextensions, and identify periods of low or high volatility — all from a single, clear chart overlay. It is designed for traders of all levels and can be applied across scalping, day trading, swing trading, and longer-term strategies.
 Theoretical Foundation 
The Z-Score Regression Bands are grounded in statistical and trend analysis principles. Here’s the idea in plain terms:
 
 Least Squares Moving Average (LSMA) – Unlike standard moving averages, LSMA fits a straight line to recent price data using regression. This “best-fit” line shows the underlying trend more precisely and reduces lag, helping traders see trend changes earlier.
 Z-Score Standardization – A Z-Score expresses how far the LSMA is from its recent mean in standard deviation units. This shows whether price is unusually high or low, which can indicate potential reversals, pullbacks, or acceleration of a trend.
 Multi-Band Structure – The three bands represent: Band #1: Normal range of price fluctuations; Band #2: Significant deviation from the trend; Band #3: Extreme price levels that are statistically rare. The distance between bands dynamically adapts to market volatility, allowing traders to visualize expansions (higher volatility) and contractions (lower volatility).
 Trend Signals – When Z-Score crosses zero, diamonds appear on the chart. These markers signal potential trend initiation, continuation, or reversal, offering a simple alert for shifts in market momentum.
 
 How It Works 
The indicator calculates and plots several layers of information:
 LSMA Regression (Trend Detection) 
 
 Computes a line that best fits recent price points.
 The LSMA line smooths out minor fluctuations while reflecting the general direction of the market.
 
 Z-Score Calculation (Deviation Measurement) 
 
 Standardizes the LSMA relative to its recent average.
 Positive Z-Score → LSMA above average, negative → LSMA below average.
 Helps identify overbought or oversold conditions relative to the trend.
 
 Multi-Band Construction (Volatility Envelope) 
 
 Upper and lower bands are placed at configurable multiples of standard deviation.
 Band #1 captures typical price movement, Band #2 signals stronger deviation, Band #3 highlights extreme moves.
 Bands expand and contract with volatility, giving an intuitive visual guide to market conditions.
 
 Trend Signals (Diamonds) 
 
 Appear when Z-Score crosses zero.
 Indicates moments when momentum may shift, helping traders time entries or exits.
 
 Visual Interpretation 
 
 Band width = volatility: wide bands indicate strong movement; narrow bands indicate calm periods.
 LSMA shows underlying trend direction, while bands show how far price has strayed from that trend.
 
 Interpretation 
The Z-Score Regression Bands provide a multi-dimensional view of market behavior:
 
 Trend Analysis – LSMA line slope shows general market direction.
 Momentum & Volatility – Z-Score indicates whether the trend is accelerating or losing strength; band width indicates volatility levels.
 Price Extremes – Price touching Band #2 or #3 may suggest overextension and potential reversals.
 Trend Shifts – Diamonds signal statistically significant changes in momentum.
 Cycle Awareness – Standard deviation bands help distinguish normal market fluctuations from extreme events.
 
By combining these insights, traders can avoid false signals and react to meaningful structural shifts in the market.
 Strategy Integration 
 Trend Following 
 
 Enter trades when diamonds indicate momentum aligns with LSMA direction.
 Use Band #1 and #2 for stop placement and partial exits.
 
 Breakout Trading 
 
 Watch for narrow bands (low volatility) followed by price pushing outside Band #1 or #2.
 Confirm with Z-Score movement in the breakout direction.
 
 Mean Reversion/Pullback 
 
 If price reaches Band #2 or #3 without continuation, expect a pullback toward LSMA.
 
 Exhaustion & Reversals 
 
 Flattening Z-Score near zero while price remains at extreme bands signals trend weakening.
 Tighten stops or scale out before a potential reversal.
 
 Multi-Timeframe Confirmation 
 
 High timeframe LSMA confirms the main trend.
 Lower timeframe bands provide refined entry and exit points.
 
 Technical Implementation 
 
 LSMA Regression : Best-fit line minimizes lag and captures trend slope.
 Z-Score Standardization : Normalizes deviation to allow consistent interpretation across markets.
 Multi-Band Envelope : Three layers for normal, strong, and extreme deviations.
 Trend Signals : Automatic diamonds for Z-Score zero-crossings.
 Band Fill Options : Optional shading to visualize volatility expansions and contractions.
 
 Optimal Application 
Asset Classes:
 
 Forex : Capture breakouts, overextensions, and trend shifts.
 Crypto : High-volatility adaptation with adjustable band multipliers.
 Stocks/ETFs : Identify trending sectors, reversals, and pullbacks.
 Indices/Futures : Track cycles and structural trends.
 
Timeframes:
 
 Scalping (1–5 min) : Focus on Band #1 and trend signals for fast entries.
 Intraday (15m–1h) : Use Bands #1–2 for continuation and breakout trades.
 Swing (4h–Daily) : Bands #2–3 capture trend momentum and exhaustion.
 Position (Daily–Weekly) : LSMA trend dominates; Bands #3 highlight regime extremes.
 
 Performance Characteristics 
Strong Performance:
 
 Trending markets with moderate-to-high volatility
 Assets with steady liquidity and identifiable cycles
 
Weak Performance:
 
 Flat or highly choppy markets
 Very short timeframes (<1 min) dominated by noise
 
 Integration Tips 
 
 Combine with support/resistance, volume, or order flow analysis for confirmation.
 Use bands for stops, targets, or scaling positions.
 Apply multi-timeframe analysis: higher timeframe LSMA confirms main trend, lower timeframe bands refine entries.
 
 Disclaimer 
The Z-Score Regression Bands is a trading analysis tool, not a guaranteed profit system. Its effectiveness depends on market conditions, parameter selection, and disciplined risk management. Use it as part of a broader trading strategy, not in isolation.
Volume Percentile Supertrend [BackQuant]Volume Percentile Supertrend  
  A volatility and participation aware Supertrend that automatically widens or tightens its bands based on where current volume sits inside its recent distribution. The goal is simple: fewer whipsaws when activity surges, faster reaction when the tape is quiet. 
 What it does 
  
  Calculates a standard Supertrend framework from an ATR on a volume weighted price source.
  Measures current volume against its recent percentile and converts that context into a dynamic ATR multiplier.
  Widens bands when volume is unusually high to reduce chop. Tightens bands when volume is unusually low to catch turns earlier.
  Paints candles, draws the active Supertrend line and optional bands, and prints clear Long and Short signal markers.
  
 Why volume percentile 
  
  Fixed ATR multipliers assume all bars are equal. They are not. When participation spikes, price swings expand and a static band gets sliced.
  Percentiles place the current bar inside a recent distribution. If volume is in the top slice, the Supertrend allows more room. If volume is in the bottom slice, it expects smaller noise and tightens.
  This keeps the same playbook usable across busy sessions and sleepy ones without constant manual retuning.
  
 How it works 
  
  Volume distribution  - A rolling window computes the Pth percentile of volume. Above that is flagged as high volume. A lower reference percentile marks quiet bars.
  Dynamic multiplier  - Start from a Base Multiplier. If bar is high volume, scale it up by a function of volume-to-average and a Sensitivity knob. If bar is low volume, scale it down. Smooth the result with an EMA to avoid jitter.
  VWMA source  - The price input for bands is a short volume weighted moving average of close. Heavy prints matter more.
  ATR envelope  - Compute ATR on your length. UpperBasic = VWMA + Multiplier x ATR. LowerBasic = VWMA - Multiplier x ATR.
  Trailing logic  - The final lines trail price so they only move in a direction that preserves Supertrend behavior. This prevents sudden flips from transient pokes.
  Direction and signals  - Direction flips when price crosses through the relevant trailing line. SupertrendLong and SupertrendShort mark those flips. The plotted Supertrend is the active trailing side.
  
 Inputs and what they change 
  
  Volume Lookback  - Window for percentile and average. Larger window = stabler percentile, smaller = snappier.
  Volume Percentile Level  - Threshold that defines high volume. Example 70 means top 30 percent of recent bars are treated as high activity.
  Volume Sensitivity  - Gain from volume ratio to the dynamic multiplier. Higher = bands expand more when volume spikes.
  VWMA Source Length  - Smoothing of the volume weighted price source for the bands.
  ATR Length  - Standard ATR window. Larger = slower, smaller = quicker.
  Base Multiplier  - Core band width before volume adjustment. Think of this as your neutral volatility setting.
  Multiplier Smoothing  - EMA on the dynamic multiplier. Reduces back and forth changes when volume oscillates around the threshold.
  Show Supertrend on chart  - Toggles the active line.
  Show Upper Lower Bands  - Draws both sides even when inactive. Good for context.
  Paint candles according to Trend  - Colors bars by trend direction.
  Show Long and Short Signals  - Prints 𝕃 and 𝕊 markers at flips.
  Colors  - Choose your long and short palette.
  
 Reading the plot 
  
  Supertrend line  - Thick line that hugs price from above in downtrends and from below in uptrends. Its distance breathes with volume.
  Bands  - Optional upper and lower rails. Useful to see the inactive side and judge how wide the envelope is right now.
  Signals  - 𝕃 prints when the trend flips long. 𝕊 prints when the trend flips short.
  Candle colors  - Quick bias read at a glance when painting is enabled.
  
 Typical workflows 
  
  Trend following  - Use 𝕃 flips to initiate longs and ride while bars remain colored long and price respects the lower trailing line. Mirror for shorts with 𝕊 and the upper trailing line. During high volume phases the line will give more room, which helps stay in the move.
  Pullback adds  - In an established trend, shallow tags toward the active line after a high volume expansion can be add points. The dynamic envelope adjusts to the session so your add distance is not fixed to a stale volatility regime.
  Mean reversion filter  - In quiet tape the multiplier contracts and flips come earlier. If you prefer fading, watch for quick toggles around the bands when volume percentile remains low. In high volume, avoid fading into the widened line unless you have other strong reasons.
  
 Notes on behavior 
  
  High volume bar: the percentile gate opens, volRatio > 1 powers up the multiplier through the Sensitivity lever, bands widen, fewer false flips.
  Low volume bar: multiplier contracts, bands tighten, flips can happen earlier which is useful when you want to catch regime changes in quiet conditions.
  Smoothing matters: both the price source (VWMA) and the multiplier are smoothed to keep structure readable while still adapting.
  
 Quick checklist 
  
  If you see frequent chop and today feels busy: check that volume is above your percentile. Wider bands are expected. Consider letting the trend prove itself against the expanded line before acting.
  If everything feels slow and you want earlier entries: percentile likely marks low volume, so bands tighten and 𝕃 or 𝕊 can appear sooner.
  If you want more or fewer flips overall: adjust Base Multiplier first. If you want more reaction specifically tied to volume surges: raise Volume Sensitivity. If the envelope breathes too fast: raise Multiplier Smoothing.
  
 What the signals mean 
  
  SupertrendLong  - Direction changed from non-long to long. 𝕃 marker prints. The active line switches to support below price.
  SupertrendShort  - Direction changed from non-short to short. 𝕊 marker prints. The active line switches to resistance above price.
  Trend color  - Bars painted long or short help validate context for entries and management.
  
 Summary 
  Volume Percentile Supertrend adapts the classic Supertrend to the day you are trading. Volume percentile sets the mood, sensitivity translates it into dynamic band width, and smoothing keeps it clean. The result is a single plot that aims to stay conservative when the tape is loud and act decisively when it is quiet, without you having to constantly retune settings. 
Pivot Trend Flow [BigBeluga]🔵 OVERVIEW 
 Pivot Trend Flow   turns raw swing points into a clean, adaptive trend band. It averages recent pivot highs and lows to form two dynamic reference levels; when price crosses above the averaged highs, trend flips  bullish  and a  green  band is drawn; when it crosses below the averaged lows, trend flips  bearish  and a  red  band is drawn. During an uptrend the script highlights  breakouts of previous pivot highs  with ▲ labels, and during a downtrend it flags  breakdowns of previous pivot lows  with ▼ labels—making structure shifts and continuation signals obvious.
 🔵 CONCEPTS 
 
   Pivot-Based Averages : Recent pivot highs/lows are collected and averaged to create smoothed upper/lower reference levels.
 
if not na(ph)
    phArray.push(ph)
if not na(pl)
    plArray.push(pl)
if phArray.size() > avgWindow
    upper := phArray.avg()
    phArray.shift()
if plArray.size() > avgWindow
    lower := plArray.avg()
    plArray.shift()
 
  
   Trend State via Crosses : Close above the averaged-highs ⇒ bullish trend; close below the averaged-lows ⇒ bearish trend.
   Trend Band : A colored band (green/red) is plotted and optionally filled to visualize the active regime around price.
  
   Structure Triggers : 
In bull mode the tool watches for prior pivot-high breakouts (▲). 
  
In bear mode it watches for prior pivot-low breakdowns (▼).
  
 
 🔵 FEATURES 
 
   Adaptive Trend Detection  from averaged pivot highs/lows.
   Clear Visuals : Green band in uptrends, red band in downtrends; optional fill for quick read.
   Breakout/Breakdown Labels :
 
  ▲ marks breaks of previous pivot highs in uptrends
  ▼ marks breaks of previous pivot lows in downtrends
 
   Minimal Clutter : Uses compact lines and labels that extend only on confirmation.
   Customizable Colors & Fill  for trend states and band styling.
 
 🔵 HOW TO USE 
 
   Pivot Length : Sets how swing points are detected. Smaller = more reactive; larger = smoother.
   Avg Window (pivots) : How many recent pivot highs/lows are averaged. Increase to stabilize the band; decrease for agility.
   Read the Band :
 
  Green band active ⇒ prioritize longs, pullback buys toward the band.
  Red band active ⇒ prioritize shorts, pullback sells toward the band.
 
   Trade the Triggers :
 
  In bull mode, ▲ on a prior pivot-high break can confirm continuation.
  In bear mode, ▼ on a prior pivot-low break can confirm continuation.
 
   Combine with Context : Use HTF trend, S/R, or volume for confluence and to filter signals.
   Fill Color Toggle : Enable/disable band fill to match your chart style.
 
 🔵 CONCLUSION 
 Pivot Trend Flow   converts swing structure into an actionable, low-lag trend framework. By blending averaged pivots with clean breakout/breakdown labels, it clarifies trend direction, timing, and continuation spots—ideal as a core bias tool or a confirmation layer in any trading system.
RXTrend█ OVERVIEW
The "RXTrend" indicator is a technical analysis tool based on a unique approach to trend identification using RSI values from overbought and oversold zones. Designed for traders seeking a precise tool to identify key market levels and trend direction, the indicator offers flexible settings, dynamic trend lines, candlestick coloring, and buy/sell signals, supported by alerts for key events.
█ CONCEPTS
"RXTrend" leverages the Relative Strength Index (RSI) to identify overbought and oversold zones, which are often significant areas on the chart due to potentially higher volume, increased volatility, or acting as pivot points. To address this, I created an indicator that uses RSI values from these zones, mapping them to price levels to determine the trend. Additionally, for a clearer market picture, boxes are added to highlight overbought and oversold zones on the chart, and candlestick coloring is based on the direction of the RSI moving average. This provides further confirmation of the trend direction and identifies potential correction or reversal points. The indicator is universal and works across all markets (stocks, forex, cryptocurrencies) and timeframes.
█ FEATURES
- RSI Calculation: Calculates RSI based on the closing price over a specified period, with a default length of 14.
- Trend Line: A smoothed trend line based on mapping RSI values from overbought (for downtrends) or oversold (for uptrends) zones to price levels. RSI values are transformed into prices using the price range from a selected period (default: 50 bars) and then smoothed to form the trend line. The line changes color based on the trend direction (blue for uptrend, orange for downtrend).
- Candlestick Coloring: Option to color candles based on the direction of the RSI moving average (RSI MA). Candle colors align with the trend and box colors (blue for uptrend, orange for downtrend, gray for neutral).
- Overbought and Oversold Zones: Identifies overbought (RSI > OB) and oversold (RSI < OS) levels, drawing dynamic boxes on the price chart to reflect these zones. Boxes update in real-time, adjusting to new highs and lows.
- Buy and Sell Signals: Generates buy signals (blue "Buy" labels) when the price crosses above the smoothed oversold line and sell signals (orange "Sell" labels) when the price crosses below the smoothed overbought line.
- Shadow Fill: Option to fill the space between the trend line and price (HL2) with adjustable transparency, aiding visual trend assessment.
Alerts: Built-in alerts for:
- Buy and sell signals.
- Appearance of new overbought/oversold boxes.
- RSI MA direction change (candle color change to uptrend or downtrend).
Customization: Allows adjustment of RSI length, overbought/oversold levels, smoothing period, colors, box and label transparency, and the option to keep boxes after RSI returns to normal.
█ HOW TO USE
Add to Chart: Apply the indicator to your TradingView chart via the Pine Editor or Indicators menu.
Configure Settings:
RSI Settings:
- RSI Length: Sets the RSI calculation period (default: 14).
- Overbought Level (OB): Sets the overbought threshold (default: 70).
- Oversold Level (OS): Sets the oversold threshold (default: 30).
Price Settings:
- Price Range Lookback: Defines the period for calculating the price range (default: 50).
Candle Coloring:
- Color Candles: Enables/disables candle coloring based on RSI MA direction.
- RSI MA Length: Sets the RSI moving average period (default: 21).
Smoothing Settings:
- Smoothing Length: Degree of trend line smoothing (default: 5).
Colors:
- Trend Colors: Customize colors for uptrend (default: blue), downtrend (default: orange), and shadow fill.
Box Settings:
- Box Transparency: Adjusts box transparency (0-100).
- Box Colors: Sets colors for overbought (orange) and oversold (blue) zones.
- Keep Boxes: Determines if boxes remain after RSI returns to normal.
Signals:
- Show Buy/Sell Signals: Enables/disables signal label display.
- Label Transparency: Adjusts signal label transparency.
Interpreting Signals:
- Trend Line: Shows market direction (blue for uptrend, orange for downtrend).
- Buy Signals: Blue "Buy" label appears when the price crosses above the smoothed oversold line, signaling a potential uptrend.
- Sell Signals: Orange "Sell" label appears when the price crosses below the smoothed overbought line, signaling a potential downtrend.
- Overbought/Oversold Boxes: Orange boxes indicate overbought zones (RSI > OB), blue boxes indicate oversold zones (RSI < OS). Boxes expand dynamically in real-time.
- Candlestick Coloring: Candle colors align with the trend and box colors, reflecting RSI MA direction.
- Alerts: Set up alerts in TradingView for buy/sell signals, new overbought/oversold boxes, or RSI MA direction changes.
- Combining with Other Tools: Use the indicator alongside support/resistance levels, Fair Value Gaps (FVG), or other indicators to confirm signals.
█ APPLICATIONS
The "RXTrend" indicator is designed to identify key market zones and trend direction, making it useful for trend-following and reversal strategies. It enables:
- Trend Confirmation: Candlestick coloring and the trend line help assess the dominant market direction, supporting entry or exit decisions. The trend line can act as a significant support/resistance level, and a price bounce from it may provide a good entry point, especially when confirmed by Fibonacci levels. Additionally, the appearance of overbought/oversold boxes combined with a change in candle color (RSI MA direction) may indicate an impending correction. This allows analysis of potential market overextension and correction endings, enabling multiple entries within a trend.
- Overbought and Oversold Zone Identification: Boxes highlight potential reversal or correction points, especially when combined with support/resistance levels or FVG.
- Signal-Based Strategies: Buy and sell signals can be used as entry points in a trend or as warnings of potential reversals.
█ NOTES
- The indicator is universal and works across all markets and timeframes due to its RSI-based and price-mapping logic.
- Adjust settings (e.g., RSI length, OB/OS levels, smoothing) to suit your trading style and timeframe.
- Use in conjunction with other technical analysis tools to enhance signal accuracy.
MACD-V (Volume Weighted) by Arjan BakkerMACD-V (Volume-Weighted)
Uses price × volume.
Gives more weight to moves with high participation.
Filters out "noise" from low-volume bars.
Sometimes lags slightly compared to normal MACD (since volume weighting smooths the data).
Better at highlighting real shifts in momentum, because it discounts fake spikes on low volume.
Advanced Market Structure [OmegaTools]📌 Market Structure  
Advanced Market Structure is a next–generation indicator designed to decode price structure in real time by combining classical swing–based analysis with modern quantitative confirmation techniques. Built for traders who demand both precision and adaptability, it provides a robust multi–layered framework to identify structural shifts, trend continuations, and potential reversals across any asset class or timeframe.
Unlike traditional structure indicators that rely solely on visual swing identification, Market Structure   introduces an integrated methodology: pivot detection, Donchian trend modeling, statistical confirmation via Z–Score, and volume–based validation. Each element contributes to a comprehensive, systematic representation of the underlying market dynamics.
🔑 Core Features
1. Five Distinct Market Structure Modes
Standard Mode:
Captures structural breaks through classical swing high/low pivots. Ideal for discretionary traders looking for clarity in directional bias.
Confirmed Breakout Mode:
Requires validation beyond the initial pivot break, filtering out noise and reducing false positives.
Donchian Trend HL (High/Low):
Establishes structure based on absolute highs and lows over rolling lookback windows. This approach highlights broader momentum shifts and trend–defining extremes.
Donchian Trend CC (Close/Close):
Similar to HL mode, but calculated using closing prices, enabling more precise bias identification where close–to–close structure carries stronger statistical weight.
Average Mode:
A composite methodology that synthesizes the four models into a weighted signal, producing a balanced structural bias designed to minimize model–specific weaknesses.
2. Dynamic Pivot Recognition with Auto–Updating Levels
Swing highs and lows are automatically detected and plotted with adaptive horizontal levels. These dynamic support/resistance markers continuously extend into the future, ensuring that historically significant levels remain visible and actionable.
3. Color–Adaptive Candlesticks
Price bars are dynamically recolored to reflect the prevailing structural regime: bullish (default blue), bearish (default red), or neutral (gray). This enables instant visual recognition of regime changes without requiring external confirmation.
4. Statistical Reversal Triggers
The script integrates a 21–period Z–Score calculation applied to closing prices, combined with multi–layered volume confirmation (SMA and EMA convergence).
Bullish trigger: Z–Score < –2 with structural confirmation and volume support.
Bearish trigger: Z–Score > +2 with structural confirmation and volume support.
Signals are plotted as diamond markers above or below the bars, identifying potential high–probability reversal setups in real time.
5. Integrated Alpha Backtesting Engine
Each market structure mode is evaluated through a built–in backtesting routine, tracking hit ratios and consistency across the most recent ~2000 structural events.
Performance metrics (“Alpha”) are displayed directly on–chart via a dedicated Performance Dashboard Table, allowing side–by–side comparison of Standard, Confirmed Breakout, Donchian HL, Donchian CC, and Average models.
Traders can instantly evaluate which structural methodology best adapts to the current market conditions.
🎯 Practical Advantages
Systematic Clarity: Eliminates subjectivity in defining structural bias, offering a rules–based framework.
Statistical Transparency: Built–in performance metrics validate each mode in real time, allowing informed decision–making.
Noise Reduction: Confirmed Breakouts and Donchian modes filter out common traps in structural trading.
Multi–Asset Adaptability: Optimized for scalping, intraday, swing, and multi–day strategies across FX, equities, futures, commodities, and crypto.
Complementary Usage: Works as a stand–alone structure identifier or as a quantitative filter in larger algorithmic/trading frameworks.
⚙️ Ideal Users
Discretionary traders seeking an objective reference for structural bias.
Quantitative/systematic traders requiring on–chart statistical validation of structural regimes.
Technical analysts leveraging pivots, Donchian channels, and price action as part of broader frameworks.
Portfolio traders integrating structure into multi–factor models.
💡 Why This Tool?
Market Structure   is not a static indicator — it is an adaptive framework. By merging classical pivot theory with Donchian–style momentum analysis, and reinforcing both with statistical backtesting and volume confirmation, it provides traders with a unique ability:
To see the structure,
To measure its reliability,
And to act with confidence on quantifiably validated signals.
Flat Breakout Detector🔹 English Description
Flat Breakout Detector is an indicator designed to highlight when the market shifts from flat, sideways trading into active movement.
Originality: Unlike standard trend or volatility tools, this script focuses on detecting abnormal volatility expansions compared to previous candles. Since around 80% of the time the market stays in flat ranges, the real opportunities often appear when price leaves consolidation. The indicator identifies these volatility anomalies, which may signal the start of a trend or a breakout.
What it does: The script measures the relative distance of price extremes from a moving average and applies a Z-score transformation. This helps traders spot volatility spikes that stand out from the prior market behavior. In simple terms: when volatility expands unusually, the indicator highlights it as a potential breakout moment.
How to use:
Ideal for traders working with consolidation/breakout patterns.
Works best as a scanner/alert system: when a signal appears, open the chart, analyze the setup, and decide whether it fits your trading strategy.
Not every signal means entry — sometimes volatility expansion happens inside the flat.
If the setup matches your strategy, place limit orders or enter at market; if not, ignore the signal and wait for the next one.
⚠️ Disclaimer: This is not a buy/sell signal generator. It only highlights moments of volatility expansion and possible breakouts. Always combine it with your own technical and volume analysis before making trading decisions.
Multi-Timeframe Precision SignalsMulti-Timeframe Precision Signals - Description
Indicator Overview:
Multi-Timeframe Precision Signals is a non-repainting technical analysis indicator that uses adaptive moving averages across multiple timeframes to generate precise trading signals. Designed for active traders and scalpers, it provides clear entry/exit points with configurable alert options.
Key Features:
Non-Repainting Signals: Configurable delay ensures signals don't change after formation
Multi-Timeframe Analysis: Primary + alternate resolution for confirmation
12 MA Types: SMMA, EMA, ALMA, HullMA, LSMA, and 8 other variants
Visual Alerts: Clear buy/sell triangles on chart
Real-Time Alerts: Separate buy/sell alert conditions
Scalping-Friendly: Fast signals suitable for short-term trading
Customizable Settings: Adjustable parameters for any trading style
Technical Specifications:
Signal Type: Non-repainting crossover/crossunder
Default Settings: 8-period MA, 3x alternate resolution
Alert Options: Price, webhook, email, and push notifications
Compatibility: All markets and timeframes
Ideal For:
Scalping: Fast, precise signals for short-term trades
Day Trading: Multi-timeframe confirmation for intraday moves
Swing Trading: Reliable signals across higher timeframes
All Markets: Forex, stocks, crypto, indices
Usage Notes:
Apply to your preferred chart and enable alerts for real-time notifications. The non-repainting feature ensures signals remain stable once formed. Adjust MA period and type based on your trading timeframe and volatility preferences.
Risk Disclosure:
This indicator is for educational purposes only. Past performance doesn't guarantee future results. Trading involves substantial risk. Test thoroughly in demo accounts before live trading.















