ROC-WMA bull bear indicatorROC-Weighted MA Oscillator
By Ludovic B
Modified source code of SeerQuant
The ROC-Weighted MA Oscillator (ROCWMA) is a momentum-driven oscillator designed to expose hidden acceleration and deceleration phases in price action by dynamically weighting a moving average with the normalized Rate of Change (ROC).
Instead of treating all price deviations equally, this indicator amplifies meaningful moves and suppresses low-energy noise, making it particularly effective in scalping, intraday trading, and momentum reversals.
🔧 Core Concept
A base moving average (SMA, EMA, TEMA, DEMA, HMA, ALMA, etc.)
Weighted by normalized ROC
Transformed into a Z-score oscillator for comparability across assets
Smoothed with a signal line for timing precision
Result: a context-aware oscillator that adapts to market intensity.
📊 What the Oscillator Shows
Bullish momentum when histogram is positive and expanding
Bearish momentum when histogram is negative and expanding
Neutral zone to filter chop and avoid over-trading
Automatic color logic to highlight regime changes
Optional candle coloring reflects the active momentum state.
🎯 Signal-Based Price Markers (Advanced Feature)
This script includes price-chart markers when:
The signal line retraces to X% of the maximum oscillator bar of the current momentum phase
AND the signal slope confirms exhaustion (rising or falling)
Key characteristics:
Adaptive thresholds (relative, not fixed)
Separate logic for bullish and bearish phases
Reset on each neutral-zone transition
Configurable number of markers per momentum cycle
This makes the indicator particularly useful for:
Pullback entries
Momentum fading
Timing partial exits
⚙️ Customization
Fully adjustable ROC length, MA type, signal length
Neutral zone threshold control
Multiple color schemes
Optional candle coloring
Adaptive signal-to-oscillator percentage logic
🧠 Best Use Cases
Scalping (M1–M5)
Intraday momentum confirmation
Pullback and exhaustion detection
Cross-asset trading (FX, indices, crypto, metals)
ROCWMA is not a lagging oscillator.
It is a momentum intensity detector built to reveal when price moves matter.
Göstergeler ve stratejiler
Advanced Buy Sell Reversal Trend by S B PrasadAdvanced Buy Sell Reversal Trend by S B Prasad
is an evolution of Advanced Trend Navigator, redesigned for traders who want clean charts, fewer signals, and precise reversal entries using sigmoid smoothing, adaptive volatility MA, and professional ribbon logic.
Features – Advanced Buy Sell Reversal Trend by S B Prasad
🟢 Precision BUY / SALE Reversal Signals
High-quality BUY & SALE signals designed for trend exhaustion and reversals
Signals appear only after trend flip + price reclaim confirmation
Built-in filters reduce noise and avoid over-trading
Ideal for scalping, intraday, and swing trading
🔵 Sigmoid-Smoothed Trend Line (Advanced)
Uses sigmoid smoothing to remove market noise without lag
Provides a clear bullish / bearish bias
Much smoother and more stable than traditional moving averages
Fully user-controlled (toggle + inputs)
🟣 UW MA – Volatility Adaptive Trendline
Adaptive Hull-style MA that responds to real market volatility
Faster in trends, smoother in ranges
Helps confirm trend strength and direction
Slightly thicker line for clear visual dominance
🟥🟩 PMR Ribbon (Professional Trend Ribbon)
Inspired by institutional-grade ribbon logic
Fast & slow wave agreement shows trend strength at a glance
Soft green / red ribbon fill (eye-friendly, non-aggressive)
Ribbon ON by default, ribbon lines optional for clean charts
📐 ATR-Based Dynamic Channel
Automatically adjusts to volatility
Useful for identifying trend boundaries and exhaustion zones
Channel lines and fill are user-toggle controlled
Default OFF to maintain a clutter-free chart
🎯 Smart Anti-Spam Signal Filters
ATR-based candle body strength validation
Distance-from-channel filtering
Near-miss candle logic for reliable reversals
Prevents multiple signals in choppy conditions
🎨 Clean Chart by Default
Default view shows only UW MA + Ribbon
All other elements are optional
Designed for focus, clarity, and reduced decision fatigue
⚙️ Fully Customizable
Toggle every visual component individually
Adjust sensitivity for different markets & timeframes
Works across stocks, indices, crypto, and futures
🧠 Built for Real Traders
Fewer signals → higher confidence
Clear trend context before entries
Designed from real-market observation, not theory
⚠️ Usage Tip
This indicator is best used as a confirmation tool, combined with price action, support/resistance, or volume.
Fewer signals are intentional — quality over quantity.
Indicator Comparison
🟦 Advanced Trend Navigator by S B Prasad (Earlier)
vs
🟩 Smart Buy Sell Reversal Trend by S B Prasad (New)
🧠 CORE PHILOSOPHY (Big Difference)
Aspect Advanced Trend Navigator Smart Buy Sell Reversal Trend
Primary Focus Trend following Reversal + Trend confirmation
Signal Style Continuous / frequent Selective, high-quality
Best Use Trending markets Trend exhaustion & reversals
Trader Type Momentum / continuation Scalpers & swing reversal traders
🔔 SIGNAL LOGIC COMPARISON
Advanced Trend Navigator
Multiple trend-based signals
Momentum continuation focused
More signals in strong trends
Needs trader discretion in ranges
Smart Buy Sell Reversal Trend ✅
BUY / SALE only at key reversal zones
Trend flip + reclaim logic
Strong candle body confirmation
Distance-from-channel filter (anti-spam)
Designed to avoid over-signalling
👉 Result: Fewer but much higher-quality signals
📊 TREND & SMOOTHING TECHNOLOGY
Feature Advanced Trend Navigator Smart Buy Sell Reversal Trend
Main Trend Line Traditional MA / ATR logic Sigmoid-smoothed Trend Line (NEW)
Adaptive MA ❌ UW MA (Volatility Adaptive Hull)
Trend Noise Medium Very Low
Trend Clarity Good Excellent (machine-smooth feel)
🔵 Sigmoid smoothing is a major upgrade — it removes whip-saws without lag.
🎗️ RIBBON SYSTEM
Feature Advanced Trend Navigator Smart Buy Sell Reversal Trend
Ribbon ❌ PMR Ribbon (RedK-grade logic)
Fast–Slow Agreement ❌ ✅
Visual Trend Strength ❌ ✅
Ribbon Fill ❌ ✅ (soft green/red, eye-friendly)
Default State — ON by default
👉 The ribbon gives instant trend bias, even without signals.
🎨 VISUAL CONTROL & CLEAN CHART
Feature Advanced Trend Navigator Advanced Buy Sell Reversal Trend
Default Clean Chart ❌ ✅ YES
User Toggles Limited Everything toggle-controlled
Default ON Many plots Only UW MA + Ribbon
Signal Labels Busy Minimal BUY / SALE labels
✅ Not present in Advanced Trend Navigator:
Near-miss candle logic
Body strength (ATR-based)
Distance-from-channel filter
Trend flip confirmation
Ribbon + UW MA agreement
These eliminate low-probability reversals.
🧩 FEATURE SUMMARY TABLE
Feature Advanced Trend Navigator Smart Buy Sell Reversal Trend
Buy/Sell Signals ✔ ✔ (Cleaner & rarer)
Reversal Logic ❌ ✔ Core strength
Sigmoid Trend Line ❌ ✔ NEW
UW MA ❌ ✔
PMR Ribbon ❌ ✔
Channel + Fill ✔ ✔ (optional)
Noise Reduction Medium High
Beginner Friendly Medium High
Pro-Trader Friendly Medium Very High
Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or trading recommendations.
Trading in stocks, indices, futures, options, or cryptocurrencies involves significant risk
Past performance is not indicative of future results
Always do your own analysis and use proper risk management
The author S B Prasad is not responsible for any profits or losses arising from the use of this indicator
👉 Use this tool as a decision-support system, not as a standalone trading strategy.
📲 Join Our WhatsApp Community (Free)
For:
Indicator updates & improvements
Usage guidance & best practices
Market discussions & learning
Direct interaction with S B Prasad and fellow traders
👉 Join here:
🔗 chat.whatsapp.com
⚠️ No tips, no paid calls, no spam — learning & discussion only.
Institutional Structure [Clean Pro]Institutional Structure — Script Explanation
This script is designed to map institutional market behavior using high-timeframe structure, not retail noise.
It focuses on where smart money acts, not on frequent signals.
🔹 1. High-Timeframe Support & Resistance (HTF S/R)
The script identifies major structural highs and lows using a higher lookback period.
Purpose:
Defines where institutions previously distributed or accumulated
Acts as natural decision zones
Filters out low-quality intraday levels
Why it matters:
Institutions trade from key HTF levels, not random support/resistance.
🔹 2. Equilibrium (50% Mean Price)
The equilibrium line represents the fair price between HTF high and low.
How it’s used:
Below equilibrium → discount zone (buy interest)
Above equilibrium → premium zone (sell interest)
Professional insight:
Smart money prefers buying discounts and selling premiums, not chasing price.
🔹 3. Market Structure Shift (MSS)
Instead of frequent BOS labels, the script detects true directional shifts.
Bullish MSS:
Price closes above previous HTF high
Bearish MSS:
Price closes below previous HTF low
Why MSS over BOS:
MSS confirms control change
Reduces false signals
Aligns with institutional execution logic
🔹 4. Liquidity Sweep Detection (Wick-Based)
The script identifies stop-hunt behavior using wick rejection logic.
Buy-side liquidity:
Wick above HTF high, but close back below
Sell-side liquidity:
Wick below HTF low, but close back above
Meaning:
Stops were triggered, but price failed to accept → smart money absorption
🔹 5. Fair Value Gap (FVG) – Refined Imbalance
Fair Value Gaps highlight inefficient price movement.
Bullish FVG:
Price leaves an upside imbalance
Bearish FVG:
Price leaves a downside imbalance
How pros use it:
As reaction zones, not entry signals
Best combined with liquidity + MSS
🔍 How Everything Works Together
The script is context-based, not signal-based:
1️⃣ HTF structure defines the battlefield
2️⃣ Liquidity is taken (stop hunts)
3️⃣ MSS confirms direction
4️⃣ FVG offers precision
5️⃣ Equilibrium filters bias
This creates high-probability trade environments, not overtrading.
📌 Best Practices (Professional Use)
Timeframes: 1H / 4H / Daily
Avoid lower TF noise
Trade only after liquidity is taken
Use FVG as confirmation, not trigger
Respect equilibrium bias
🎯 Summary
✔ Clean institutional logic
✔ No clutter, no spam
✔ HTF-driven decisions
✔ Liquidity-first mindset
✔ Designed for BTC, Gold & FX
🧠 Trade where institutions trade — not where indicators flash.
SPY Quant ML + Session Filter Strategy [CocoChoco]S&P 500 Quant: Machine Learning & Mean Reversion (Session-Filtered)
Overview
This is a professional-grade quantitative strategy designed specifically for the S&P 500. It combines classical statistical mean reversion (Z-Score) with a modern Machine Learning filter and rigorous institutional-grade risk management.
The strategy is optimized for traders who prioritize high win rates and capital preservation, specifically avoiding the "gap risk" associated with holding positions overnight.
Core Methodology
1. Statistical Entry (The Z-Score Engine)
The strategy identifies "oversold" conditions in a bullish context. It calculates the Z-Score of the price relative to its 20-period Mean (SMA). By default, it looks for a -1.2 Standard Deviation extension, signaling a high-probability "dip" ripe for a snap-back to the mean.
2. Trend & ML Filters
To avoid "catching a falling knife," the strategy uses two layers of confirmation:
Trend Filter: Only takes Long positions when the price is above the 200-period SMA, ensuring we only buy dips in a confirmed uptrend.
ML Correlation Filter: A Machine Learning-inspired module that analyzes the correlation between RSI and Volatility (ATR). It only permits entries when market internal dynamics suggest a reversal is technically "healthy."
3. Institutional Risk Management
This script is built for "safety-first" automation:
Hard Stop Loss: Fixed at 1.5% to protect against sudden market shocks.
Active Trailing: A dual-trigger trailing stop. It activates once the price touches the 20 SMA (The Mean) OR once a trade reaches a 0.50% profit threshold. This ensures near-winners are protected and large runners are captured.
Intraday Circuit Breaker: Includes a Max Daily Drawdown (2%) limit. If hit, the script automatically closes losing positions and halts trading for the day, while allowing winning positions to continue.
Key Features
Session-Specific: Tailored for the US Trading Session (UTC/NY times).
Zero Overnight Risk: Automatically flattens all positions before the market close (16:00 NY Time).
Holiday Intelligence: Hard-coded logic for US Market Holidays and Early Closes (2026–2028), ensuring the bot doesn't get stuck in illiquid holiday markets.
Hourly Entry Cap: Limits entries to one per hour to prevent over-concentration during a single price leg.
How to Use
Timeframe: I suggest you use it on the 5-minute or 1-hour timeframe for optimal results.
Instrument: Designed for the S&P 500, but highly effective on SPY, IVV, and ES (Futures).
Pyramiding: Designed to handle up to 3 concurrent positions, allowing the strategy to scale into a move as the Z-Score deepens.
Automation Ready
This script is fully compatible with webhook-based automation tools. All signals (Entry, SL, Trail, Market Close, and Daily Limit) are clearly labeled in the Alert comments for seamless execution. I haven't tasted it though. This is not financial advice. Please perform your own tests and manage your risk.
Disclaimer
Past performance does not guarantee future results. This script is a tool for quantitative analysis and should be used as part of a broader diversified trading plan.
Core Market Levels [UkutaLabs]█ OVERVIEW
Core Market Levels is a precision trading indicator designed to identify the most important price levels where the market consistently makes decisions.
Rather than flooding the chart with unnecessary lines, this indicator focuses on core reference levels derived from recent price structure and market balance. These levels often act as high-probability areas of reaction, where price may stall, reverse, or accelerate.
The goal of Core Market Levels is to simplify decision-making by highlighting the prices that matter most, allowing traders to better understand market context, bias, and potential turning points.
█ PURPOSE
Markets spend the majority of their time reacting around key reference prices, not trending endlessly.
Core Market Levels helps traders:
Identify important decision zones
Anticipate areas of support, resistance, and liquidity
Improve entries, targets, and risk management
Reduce chart noise and over-analysis
This indicator is designed to work across all markets and timeframes, making it suitable for both intraday and swing traders.
█ HOW IT WORKS
Core Market Levels dynamically plots a set of key price levels based on recent market behavior.
These levels often represent:
Areas of prior acceptance or rejection
Zones where price frequently changes direction
Levels institutions are likely to reference for execution
When price approaches a Core Market Level, traders should expect increased interaction and watch for confirmation before entering trades.
█ USAGE
Core Market Levels can be used in several ways:
As support and resistance
As entry and exit reference points
For stop-loss and take-profit placement
To define market bias (above vs below key levels)
For best results, combine Core Market Levels with:
Price action
Candlestick patterns
Volume or momentum tools
Market structure analysis
█ BEST PRACTICES
Avoid treating levels as exact prices — think of them as zones of interest
Look for confluence with other forms of analysis
Higher timeframe Core Market Levels tend to carry more weight
Let price confirm before taking trades
█ FINAL NOTES
Core Market Levels is not a signal generator.
It is a market framework tool designed to help traders read price more clearly and make better, more informed decisions.
Used correctly, it provides a clean, objective way to stay aligned with the market’s most important levels.
ROC-WMA bull bear indicatorROC-Weighted MA Oscillator
based on Seequant indicator
The ROC-Weighted MA Oscillator (ROCWMA) is a momentum-driven oscillator designed to expose hidden acceleration and deceleration phases in price action by dynamically weighting a moving average with the normalized Rate of Change (ROC).
Instead of treating all price deviations equally, this indicator amplifies meaningful moves and suppresses low-energy noise, making it particularly effective in scalping, intraday trading, and momentum reversals.
🔧 Core Concept
A base moving average (SMA, EMA, TEMA, DEMA, HMA, ALMA, etc.)
Weighted by normalized ROC
Transformed into a Z-score oscillator for comparability across assets
Smoothed with a signal line for timing precision
Result: a context-aware oscillator that adapts to market intensity.
📊 What the Oscillator Shows
Bullish momentum when histogram is positive and expanding
Bearish momentum when histogram is negative and expanding
Neutral zone to filter chop and avoid over-trading
Automatic color logic to highlight regime changes
Optional candle coloring reflects the active momentum state.
🎯 Signal-Based Price Markers (Advanced Feature)
This script includes price-chart markers when:
The signal line retraces to X% of the maximum oscillator bar of the current momentum phase
AND the signal slope confirms exhaustion (rising or falling)
Key characteristics:
Adaptive thresholds (relative, not fixed)
Separate logic for bullish and bearish phases
Reset on each neutral-zone transition
Configurable number of markers per momentum cycle
This makes the indicator particularly useful for:
Pullback entries
Momentum fading
Timing partial exits
⚙️ Customization
Fully adjustable ROC length, MA type, signal length
Neutral zone threshold control
Multiple color schemes
Optional candle coloring
Adaptive signal-to-oscillator percentage logic
🧠 Best Use Cases
Scalping (M1–M5)
Intraday momentum confirmation
Pullback and exhaustion detection
Cross-asset trading (FX, indices, crypto, metals)
ROCWMA is not a lagging oscillator.
It is a momentum intensity detector built to reveal when price moves matter.
PowerDays - Day of the Week HUDDescription: Midnight HUD & Daily Session Dividers
This indicator is designed to provide a clean, "Heads-Up Display" (HUD) for daily session tracking. It solves the common problem of cluttered charts by pinning the days of the week to the top of the chart window in a perfectly horizontal line, ensuring they remain visible and aligned regardless of price volatility or vertical scrolling.
Key Features:
Strict Midnight Dividers: Unlike standard "New Day" indicators that trigger at the exchange open (which can be 6:00 PM for some futures or forex pairs), this indicator plots a vertical dashed line at exactly 00:00 based on your chart's time zone.
Centered HUD Labels: Days of the week (MONDAY, TUESDAY, etc.) are plotted in a level horizontal row at the top of the pane. Labels are mathematically centered between midnight dividers to provide a clear visual of the current trading day’s range.
"Error-Proof" Architecture: Built using primitive plotting methods to avoid common Pine Script "Undeclared Identifier" errors, ensuring high compatibility across different TradingView versions and devices.
Fully Customizable: Includes a built-in color picker to adjust the Royal Blue labels and session dividers to match your specific chart theme.
Pro Intraday Reaction Levels🔥 Pro Intraday Reaction Levels
Maps yesterday’s range into today’s highest-probability intraday reaction zones.
Pro Intraday Reaction Levels is a professional market structure tool built for intraday traders who want clear context, smarter trade location, and high-probability reaction areas — without clutter.
Instead of plotting simple previous day lines, this indicator visualizes the entire prior day range and builds adaptive reaction zones where price is statistically more likely to stall, reject, or reverse.
It helps you stop trading blindly into extremes — and start trading with structure.
🧭 What It Shows on Your Chart
📦 Previous Day Range Box
Clearly displays yesterday’s full high–low range so you instantly know whether price is:
• Trading inside value
• Testing extremes
• Breaking into expansion
🔥 Adaptive Reaction Zones
Dynamic zones around the previous day high and low where intraday reactions commonly occur.
These zones automatically adjust to volatility (ATR):
Higher volatility → tighter zones
Lower volatility → wider zones
This keeps levels relevant in both quiet and fast markets.
⚖ Range Midpoint (Optional)
Marks the equilibrium level of the prior day — a common decision area for intraday traders.
⏹ Previous Day Close (Optional)
Displays a key reference level often respected as support/resistance or bias confirmation.
🧠 Why Traders Love It
Markets frequently react at previous day extremes due to liquidity, trapped traders, and institutional positioning.
This tool helps you:
✔ Spot potential reversal zones
✔ Identify breakout acceptance vs rejection
✔ Frame intraday bias using higher timeframe structure
✔ Avoid entering trades directly into reaction areas
It’s not just levels — it’s location and context.
⚙ Smart Features
🔹 Automatic Volatility Adjustment
Reaction zones scale dynamically using ATR so they stay meaningful in all conditions.
🔹 Session Mode
Choose how levels are projected:
• RTH Only – Focus on regular trading hours
• All Sessions – Use full 24-hour structure
🔹 Theme-Adaptive Visuals
Clean, Contrast, and Minimal themes automatically adjust colors for both dark and light charts.
🔹 Customizable Opacity & Colors
Fine-tune visibility without cluttering your chart.
🎯 Who This Is For
Ideal for traders who use:
• Intraday price action
• Futures and index trading
• Forex day trading
• Crypto intraday trading
• Support & resistance strategies
• Liquidity and reaction-based setups
Works on any market where previous day structure influences intraday behavior.
💡 How Many Traders Use It
Common approaches include:
• Looking for reversal patterns inside reaction zones
• Managing trades near PDH/PDL instead of chasing breakouts
• Combining zones with volume, order flow, or candlestick signals
• Using the midpoint and PDC as bias confirmation levels
GK Trend Ribbon 10L (Ultra Tight) + PREPARE HUDThis upgraded GK Trend Ribbon keeps original ultra tight 10-line trend engine but now adds a Real Time Preparation system to help traders get ready before the signal print
New Additions
Prepare Alerts (Early Warming System)
Before a GK BUY or GK SELL confirms, the indicator now detects when trend conditions are forming and prints
PREPARE GK BUY
PREPARE GK SELL
this gives traders time to: Set lot Sizes
Mark entries
Prepare risk management
Avoid late entries
Live Trend HUD (heads up display)
green Bullish mode
red Bearish mode
grey Neutral/wait
Warning symbol PREPARE GK BUY/SELL when a move is building
this acts like a market control panel keeping traders aligned with the trend direction at all times
CORE ENGINE (unchanged power)
zero lag trend structure
ATR based dynamic bands
1 clean GK BUY/SELL per confirmed trend shift
visual ribbon showing strength and direction
this version improves timing, preparation, and confidence-without adding clutter
this indicator are for educational purposes only
US30 AsianRange 1900-0000 LIMIT OCO (1pct risk) 120 fib 30/150asian sweep at the 120 fib, aiming for 150 pips long and short buy limits set, once one is hit for the day cancel the opposite limit straight away
Blockcircle Price Gaps (PG)I got tired of price gap indicators that dump every zone on the chart and leave you to figure out which ones actually matter. I have tried every single one imaginable. Therefore, I built this one to score each gap automatically based on how close it is, how it formed, and whether it aligns with the trend. Instead of cryptic numbers, it just tells you: Strong, Moderate, or Weak, plus how far away it is. You see what matters, skip what doesn't. Hopefully, you find it helpful!
If you have other ideas to improve it even further, please let me know, and I can integrate them.
WHAT MAKES IT ORIGINAL AND DIFFERENT
Standard gap indicators display every detected imbalance with identical visual treatment, leaving traders to manually assess which zones matter. This creates cluttered charts and analysis paralysis.
This BLOCKCIRCLE PRICE GAPS (PG) indicator solves that problem with a Relevance Engine that automatically scores each gap from 0 to 100 and translates scores into plain language: Strong, Moderate, or Weak. Each zone displays its strength rating and distance from the current price, so you instantly know which gaps deserve attention and how far the price must travel to reach them.
The scoring combines four factors that research shows correlate with zone effectiveness:
Proximity: Gaps closer to the current price score higher because nearby zones influence immediate price action more than distant ones.
Formation Volume: Gaps created during above-average volume suggest institutional activity rather than random price movement.
Impulse Strength: Gaps formed by strong moves (measured against ATR) indicate genuine supply/demand imbalance rather than noise.
Trend Alignment: Support gaps in uptrends and resistance gaps in downtrends receive bonus points for trading with momentum.
Visual intensity reflects strength automatically. Strong zones appear darker and more prominent. Weak zones fade into the background. You see what matters without decoding numbers.
HOW IT WORKS
Price Gaps form when aggressive buying or selling creates an imbalance, leaving unfilled space between candles. These zones often act as support (bullish gaps below price) or resistance (bearish gaps above price) when the price returns to them.
Detection uses the standard three-candle method: a bullish gap exists when the current low exceeds the high from two bars prior. A bearish gap exists when the current high falls below the low from two bars prior.
What makes this implementation different is continuous relevance tracking . Each bar, every gap receives an updated score based on current conditions . As the price moves away, the proximity scores decrease. As gaps age, time decay gradually reduces their overall relevance. When capacity limits are reached, the lowest-scoring gap is removed first, ensuring your chart always shows the most actionable zones.
Labels show practical information:
Strength rating (Strong, Moderate, or Weak)
Zone type (Support or Resistance)
Distance from current price with direction (+12% means above, -8% means below)
FEATURES
Relevance scoring with automatic strength classification
Plain-language labels showing strength and distance
Color intensity that reflects zone importance
Retest detection when price returns to unfilled gaps
Proximity filtering to hide distant zones
Age filtering to remove stale gaps
Size filtering for minimum and maximum gap thresholds
Relevance-based capacity management
Information panel with zone counts and trend context
Multiple label style options
HOW THE COMPONENTS WORK TOGETHER
The system operates as a filtering pipeline:
Size filters remove gaps that are too small (market noise) or too large (extreme events unlikely to fill).
The Relevance Engine scores qualifying gaps based on proximity, volume, impulse, and trend.
Gaps below the minimum score threshold are hidden.
Proximity and age filters remove distant or stale gaps.
When at capacity, the lowest-scoring gap is removed to make room for new detections.
This layered approach ensures only the most relevant gaps appear on your chart.
CONFIGURABLE SETTINGS
Display Settings control how many zones appear and how they are displayed.
Label Style lets you choose what information displays: Strength plus Distance (default), Strength Only, Distance Only, Score Only, or None.
Relevance Engine settings include the master toggle and minimum score threshold. The Scoring Weights section allows advanced users to adjust how much each factor contributes.
Filters control size thresholds, maximum distance from price, and maximum age in bars.
Retest Alerts notify you when the price returns to an unfilled gap with three sensitivity options.
Zone Behavior controls whether filled gaps are removed and what counts as a filled gap.
HOW TO USE
The default settings work well for most timeframes and markets. Strong zones (shown in brighter colors with yellow text) have multiple factors aligned and deserve the most attention. Moderate zones are worth watching. Weak zones provide context but may not produce reliable reactions.
For active trading, focus on Strong and Moderate zones within 10% of the current price. These are the most likely to influence near-term price action.
For swing trading, expand the Maximum Distance setting to see zones further from the price that may become relevant as trends develop.
When the Retest alert fires, the price is returning to an unfilled gap. Evaluate the zone strength, look for price reaction at the zone boundary, and consider whether the move aligns with the broader trend before trading.
The information panel shows:
Support: Count of bullish gaps (potential buying zones)
Resistance: Count of bearish gaps (potential selling zones)
Unfilled: Zones not yet touched by price
Avg Strength: Overall quality of visible zones
Trend: Current direction based on EMA alignment
LIMITATIONS
Relevance scoring is probabilistic, not predictive. A Strong gap is more likely to produce a reaction based on historical patterns, but any zone can fail.
The trend component uses EMA crossovers (20/50/200), which may lag in choppy markets.
Distance calculations update each bar. During volatile moves, labels may briefly show different values as price swings.
DEFAULTS
These are the defaults, but you would adjust and calibrate it to a specific asset, as needed:
Maximum Zones: 12
Label Style: Strength + Distance
Minimum Score: 20
Maximum Distance: 25%
Maximum Age: 300 bars
If you have any questions at all, please ask away!
A Ordem MediasTrend indicator, to always trade in favor of the trend.
You improve your accuracy by trading in favor of the 200-period moving average, above for long positions and below the 200-period moving average for short positions. Always combine with other chart patterns.
High Breakout PRO Huy Hoang Trader
High Breakout PRO - Strategy Description
## 🚀 Overview
**High Breakout PRO** is a professional-grade Trend Following strategy designed to capture major market moves while strictly managing risk. Built on the core philosophy of "Price Action Breakouts," this script enhances the classic Donchian Channel breakout method with modern risk management tools like the **Hybrid Exit** and **EMA Trend Filter**.
This strategy is optimized for **Gold (XAUUSD)**, **Bitcoin (BTC)**, and **Major Stocks (AAPL, AMZN)** on **H4 and Daily** timeframes.
## 💎 Key Features
1. **Trend Filter (EMA):** Only takes long positions when the price is above the 200-period EMA. This filters out counter-trend noise and significantly improves winning probability.
2. **Hybrid Exit Mechanism ("Holy Grail"):** A unique dynamic trailing stop that combines:
* **Price Structure:** Uses the lowest low of the last Y bars (Donchian Support).
* **Volatility:** Uses ATR-based trailing (Chandelier Exit logic).
* *Logic:* The system automatically chooses the **tighter** (higher) stop level between the two, ensuring you lock in profits rapidly during strong volatility while giving the trade room to breathe during accumulation.
3. **Professional Visuals:** A refined "Wealth & Earth" themes (Gold/Silver/Brown) specifically designed to reduce eye strain and provide clear, professional signal visibility without chart clutter.
## 🛠 Strategy Logic
### entry rules
* **Breakout:** Price closes above the Highest High of the last `X` bars (Default: 20).
* **Trend Confirmation:** Closing Price > EMA 200 (Configurable).
### Exit Rules
* **Dynamic Stop Loss:** The trade is closed when price breaches the **Hybrid Trailing Stop**.
* The Trailing Stop never moves down. It only moves up as price increases.
* It effectively adapts to both slow-grinding trends and explosive spikes.
## ⚙️ Best Settings (Recommended)
* **Timeframe:** H4 (Swing Trading) or Daily (Position Trading).
* **Entry Period (X):** 20
* **Exit Period (Y):** 10
* **Trend Filter:** ON (EMA 200)
* **Risk Management:** Hybrid Mode (ATR Multiplier 3.0)
## ⚠️ Disclaimer
This strategy follows trends. It may experience drawdowns during choppy/sideways markets. Always use proper risk management (position sizing) and backtest on your specific asset before live trading.
---
*Developed by Huy Hoang Trader. Empowering traders with institutional-grade tools.*
Contact for work: www.facebook.com
Darvas 52 Weeks High-Low current priceThe script in an info box has the following values:
* the price of the absolute high within the last 52 weeks and its distance in days
* the price of the absolute low within the last 52 weeks and its increase in % to date
* the current course
Variable are:
- the number of weeks
- the location of the infobox
- the font size of the info box
- the display of the current course
This script is for illustrative purposes only and does not make any trading recommendations.
TSM PCR Auto AlertsPCR Auto Alerts (Bullish · Neutral · Bearish)
🎯 Objective of the Script
This script is designed to:
Calculate the Put–Call Ratio (PCR)
Interpret market sentiment using predefined PCR zones
Automatically generate Bullish, Neutral, and Bearish alerts
Visually display the PCR trend and current market view
📊 What is PCR (Put–Call Ratio)?
PCR = Put Open Interest ÷ Call Open Interest
It reflects market participants’ expectations:
Lower PCR → More calls → Bullish bias
Higher PCR → More puts → Bearish bias
🔧 Inputs Used in the Script
Put Open Interest (Put OI)
Manually entered value
Call Open Interest (Call OI)
Manually entered value
These inputs make the script ideal for:
Learning & teaching
Strategy explanation
Posters & educational content
Volume Weighted Intra Bar LR KurtosisThis indicator analyzes market character by decomposing total
Excess Kurtosis ("Fat Tails") of a SINGLE BAR into four distinct,
interpretable components based on a Linear Regression model.
Key Features:
1. **Intra-Bar LR Kurtosis Decomposition:** For each bar on the chart,
the indicator analyzes the underlying price action on a smaller
timeframe ('Intra-Bar Timeframe'). It fits a Linear Regression
line through the intra-bar data to decompose the 4th Moment:
- **Trend Kurtosis (Gold):** Peakedness of the regression line
itself. High values indicate the price path within the bar
moves in sudden jumps, steps, or gaps (discontinuous path).
- **Residual Kurtosis (Red):** Excess Kurtosis of the noise
around the regression line. Captures "Hidden Tail Risk" or
extreme outliers within the bar relative to the trend.
- **Within-Bar Kurtosis (Blue):** Fat tails derived from the
microstructure of individual intra-bar candles.
- **Interaction Variance (Dark Grey):** The comovement of variance
and mean deviations (volatility clustering relative to trend).
- **Interaction Skewness (Darker Grey):** The comovement of skewness
and mean deviations (asymmetry relative to trend).
2. **Visual Decomposition Logic:** Total Excess Kurtosis is the
primary metric displayed. Since statistical moments are additive,
this indicator calculates the *exact* Total Kurtosis and partitions
the columns based on the Law of Total Moments.
3. **Dual Display Modes:** The indicator offers two modes to
visualize this decomposition:
- **Absolute Mode:** Plots the *total* kurtosis as a
stacked column chart. Stacking logic groups components to
ensure visual clarity of the magnitude.
- **Relative Mode:** Plots the direct *contribution ratio*
(proportion) of each component relative to the total sum,
ideal for identifying the dominant driver (Trend vs. Noise).
4. **Calculation Options:**
- **Normalization:** An optional 'Normalize' setting
transforms inputs into logarithmic space, analyzing the
kurtosis of *returns* rather than absolute prices.
- **Volume Weighting:** An option (`Volume weighted`) applies
volume weighting to all regression and moment calculations,
emphasizing high-participation moves.
5. **Kurtosis Cycle Analysis:**
- **Pivot Detection:** Includes a built-in pivot detector
that identifies significant turning points (peaks/valleys) in
the *total* kurtosis line. (Note: This is only visible
in 'Absolute Mode').
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library.
6. **Note on Confirmation (Lag):** Pivot signals are confirmed
using a lookback method. A pivot is only plotted *after*
the `Pivot Right Bars` input has passed, which introduces
an inherent lag.
7. **Multi-Timeframe (MTF) Capability:**
- **MTF Analysis Lines:** The entire intra-bar analysis can be
run on a higher timeframe (using the `Timeframe` input),
with standard options to handle gaps (`Fill Gaps`) and
prevent repainting (`Wait for...`).
- **Limitation:** The Pivot detection (`Calculate Pivots`) is
**disabled** if a Higher Timeframe (HTF) is selected.
8. **Integrated Alerts:** Includes comprehensive alerts for:
- Kurtosis magnitude (High Positive / High Negative).
- Character changes (Trend Jumps vs. Noise Outliers).
- Total Kurtosis pivot (High/Low) detection.
**Caution: Real-Time Data Behavior (Intra-Bar Repainting)**
This indicator uses high-resolution intra-bar data. As a result, the
values on the **current, unclosed bar** (the real-time bar) will
update dynamically as new intra-bar data arrives. This behavior is
normal and necessary for this type of analysis. Signals should only
be considered final **after the main chart bar has closed.**
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
Volume Weighted Intra Bar KurtosisThis indicator analyzes market sentiment by providing a detailed
view of Excess Kurtosis ("Fat Tails"). It uses data from a lower,
intra-bar timeframe to separate the total kurtosis of a single bar
into distinct, interpretable components.
Key Features:
1. **Intra-Bar Kurtosis Decomposition:** For each bar on the chart,
the indicator analyzes the underlying price action on a smaller
timeframe ('Intra-Bar Timeframe'). Unlike Variance, the Fourth
Central Moment (Kurtosis) decomposes into three parts:
- **Between-Bar Kurtosis (Gold):** Peakedness of the price
path *between* the intra-bar candles. High values indicate
that the macro movement happened in jumps or gaps rather
than a smooth progression.
- **Within-Bar Kurtosis (Blue):** Fat tails derived from the
microstructure (extreme wicks) *inside* the intra-bar candles.
- **Interaction Variance (Dark Grey):** The comovement of variance
and mean deviations (volatility clustering relative to trend).
- **Interaction Skewness (Darker Grey):** The comovement of skewness
and mean deviations (asymmetry relative to trend).
2. **Visual Decomposition Logic:** Total Excess Kurtosis is the
primary metric displayed. Since Kurtosis coefficients are not
linearly additive, this indicator calculates the *exact* Total
Kurtosis and partitions the columns based on the additive
Fourth Moment Decomposition (`M4Tot = M4Btw + M4Wtn + M4Int`).
3. **Dual Display Modes:** The indicator offers two modes to
visualize this information:
- **Absolute Mode:** Plots the *total* kurtosis as a
stacked column chart, showing the *absolute magnitude* of
tail risk and the contribution of each component.
- **Relative Mode:** Plots the components as a 100% stacked
column chart (scaled from 0 to 1), focusing purely on the
*energy ratio* of the components.
4. **Calculation Options:**
- **Normalization:** An optional 'Normalize' setting
calculates an **Exponential Regression Curve** (log-space),
making the analysis suitable for comparing assets with
different scales (e.g., BTC vs EURUSD).
- **Volume Weighting:** An option (`Volume weighted`) applies
volume weighting to all mean and moment calculations.
5. **Kurtosis Cycle Analysis:**
- **Pivot Detection:** Includes a built-in pivot detector
that identifies significant turning points (peaks/valleys) in
the *total* kurtosis line. (Note: This is only visible
in 'Absolute Mode').
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library.
6. **Note on Confirmation (Lag):** Pivot signals are confirmed
using a lookback method. A pivot is only plotted *after*
the `Pivot Right Bars` input has passed, which introduces
an inherent lag.
7. **Multi-Timeframe (MTF) Capability:**
- **MTF Analysis Lines:** The entire intra-bar analysis can be
run on a higher timeframe (using the `Timeframe` input),
with standard options to handle gaps (`Fill Gaps`) and
prevent repainting (`Wait for...`).
- **Limitation:** The Pivot detection (`Calculate Pivots`) is
**disabled** if a Higher Timeframe (HTF) is selected.
8. **Integrated Alerts:** Includes alerts for:
- Kurtosis magnitude (High Positive / High Negative).
- Kurtosis character changes/emerging/fading.
- Total Kurtosis pivot (High/Low) detection.
**Caution: Real-Time Data Behavior (Intra-Bar Repainting)**
This indicator uses high-resolution intra-bar data. As a result, the
values on the **current, unclosed bar** (the real-time bar) will
update dynamically as new intra-bar data arrives. This behavior is
normal and necessary for this type of analysis. Signals should only
be considered final **after the main chart bar has closed.**
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
Volume Weighted LR KurtosisThis indicator analyzes market character by decomposing total
Excess Kurtosis ("Fat Tails") into four distinct, interpretable
components based on a Linear Regression model.
Key Features:
1. **Four-Component Kurtosis Decomposition:** The indicator
separates market tail risk based on the 'Estimate Bar Statistics' option.
It leverages the Law of Total Moments to provide an additive
breakdown of the 4th Statistical Moment:
- **Trend Kurtosis (Gold):** Peakedness of the regression line
itself. High values indicate the trend moves in sudden jumps,
steps, or gaps (discontinuous path).
- **Residual Kurtosis (Red):** Excess Kurtosis of the noise
around the regression line. This captures the "Hidden Tail Risk"
(extreme outliers relative to the trend).
- **Within-Bar Kurtosis (Blue):** Fat tails derived from the
microstructure of individual bars (requires 'Estimate Bar Statistics').
- **Interaction Variance (Dark Grey):** The comovement of variance
and mean deviations (volatility clustering relative to trend).
- **Interaction Skewness (Darker Grey):** The comovement of skewness
and mean deviations (asymmetry relative to trend).
2. **Visual Decomposition Logic:** Total Excess Kurtosis is the
primary metric displayed. Since statistical moments are additive,
this indicator calculates the *exact* Total Kurtosis and partitions
the area to visualize the contribution (weight) of each
structural source to the overall tail risk.
3. **Dual Display Modes:** The indicator offers two modes to
visualize this decomposition:
- **Absolute Mode:** Displays the *total* kurtosis as a
stacked area chart, allowing to see the magnitude of tail risk.
Stacking logic groups components to ensure visual clarity.
- **Relative Mode:** Displays the direct *contribution ratio*
(proportion) of each component relative to the total sum,
ideal for identifying the dominant driver of the risk.
4. **Calculation Options:**
- **Normalization:** An optional 'Normalize' setting
transforms inputs into logarithmic space, analyzing the
kurtosis of *returns* rather than absolute prices.
- **Volume Weighting:** An option (`Volume weighted`) applies
volume weighting to all regression and moment calculations,
emphasizing high-participation moves.
5. **Kurtosis Cycle Analysis:**
- **Pivot Detection:** Includes a built-in pivot detector
that identifies significant turning points (peaks/valleys) in
the *total* kurtosis line. This helps identify extremes in
market fragility or structural changes.
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library.
6. **Note on Confirmation (Lag):** Pivot signals are confirmed
using a lookback method. A pivot is only plotted *after*
the `Pivot Right Bars` input has passed, which introduces
an inherent lag.
7. **Multi-Timeframe (MTF) Capability:**
- **MTF Kurtosis Lines:** The kurtosis lines can be
calculated on a higher timeframe, with standard options
to handle gaps (`Fill Gaps`) and prevent repainting
(`Wait for...`).
- **Limitation:** The Pivot detection (`Calculate Pivots`) is
**disabled** if a Higher Timeframe (HTF) is selected.
8. **Integrated Alerts:** Includes comprehensive alerts for:
- Kurtosis magnitude (High Positive / High Negative).
- Kurtosis character changes/emerging/fading.
- Total Kurtosis pivot (High/Low) detection.
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
Volume Weighted KurtosisThis indicator analyzes market sentiment by decomposing total
Excess Kurtosis ("Fat Tails") into distinct, interpretable components:
"Between-Bar" (Trend Path) and "Within-Bar" (Microstructure).
Key Features:
1. **Moment-Based Kurtosis Decomposition:** The indicator
separates kurtosis based on the 'Estimate Bar Statistics' option.
It leverages the additive property of the Fourth Central Moment
(Cumulants) to ensure mathematical rigor:
- **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates
simple kurtosis of the selected `Source`.
- **Decomposition Mode (`Estimate Bar Statistics` = ON):** The
indicator uses a statistical model ('Estimator') to
calculate *within-bar* kurtosis.
This separates the tail risk into:
- **Between-Bar Kurtosis (Gold):** Peakedness of the price
path itself. High values indicate the trend moves in jumps
or gaps rather than a smooth progression.
- **Within-Bar Kurtosis (Blue):** Fat tails within the
microstructure. High values imply significant outliers
inside the bars (e.g., extreme wicks).
- **Interaction Variance (Dark Grey):** The comovement of variance
and mean deviations (volatility clustering relative to trend).
- **Interaction Skewness (Darker Grey):** The comovement of skewness
and mean deviations (asymmetry relative to trend).
2. **Visual Decomposition Logic:** Total Excess Kurtosis is the
primary metric displayed. Since Kurtosis coefficients are not
linearly additive, this indicator calculates the *exact* Total
Kurtosis and partitions the area/ratios based on the additive
Fourth Moment Decomposition (`M4Tot = M4Btw + M4Wtn + M4Int`). This
ensures the displayed total kurtosis remains mathematically accurate.
3. **Dual Display Modes:** The indicator offers two modes to
visualize this decomposition:
- **Absolute Mode:** Displays the *Total Kurtosis* as the main
line, with the background filled by the stacked components.
Shows the *magnitude* of the tail risk.
- **Relative Mode:** Displays the **Contribution Ratios**
of each component (-1.0 to 1.0). This isolates the
*structure/quality* of the risk (e.g., "Is the risk
driven by the trend jumps or by the candle instability?").
4. **Calculation Options:**
- **Normalization:** An optional 'Normalize' setting
transforms inputs into logarithmic space, analyzing the
kurtosis of *returns* rather than absolute prices.
(Essential for correct statistical properties).
- **Volume Weighting:** An option (`Volume weighted`) applies
volume weighting to all moment calculations, emphasizing
high-participation moves.
5. **Kurtosis Cycle Analysis:**
- **Pivot Detection:** Includes a built-in pivot detector
that identifies significant turning points (peaks/valleys) in
the *Total Kurtosis* line. (Note: This is only visible
in 'Absolute Mode').
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library.
6. **Note on Confirmation (Lag):** Pivot signals are confirmed
using a lookback method. A pivot is only plotted *after*
the `Pivot Right Bars` input has passed, which introduces
an inherent lag.
7. **Multi-Timeframe (MTF) Capability:**
- **MTF Kurtosis Lines:** The kurtosis lines can be
calculated on a higher timeframe, with standard options
to handle gaps (`Fill Gaps`) and prevent repainting
(`Wait for...`).
- **Limitation:** The Pivot detection (`Calculate Pivots`) is
**disabled** if a Higher Timeframe (HTF) is selected.
8. **Integrated Alerts:** Includes comprehensive alerts for:
- Kurtosis magnitude (High Positive / High Negative).
- Character changes (Inter-Bar vs. Intra-Bar dominance).
- Total Kurtosis pivot (High/Low) detection.
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
Volume Weighted Intra Bar LR SkewnessThis indicator analyzes market character by decomposing total
skewness (asymmetry) of a SINGLE BAR into four distinct,
interpretable components based on a Linear Regression model.
Key Features:
1. **Intra-Bar LR Skewness Decomposition:** For each bar on the chart,
the indicator analyzes the underlying price action on a smaller
timeframe ('Intra-Bar Timeframe'). It fits a Linear Regression
line through the intra-bar data to decompose the 3rd Moment:
- **Trend Skewness (Green/Red):** Asymmetry originating from
the slope of the intra-bar regression line. Indicates if the
price path within the bar is geometrically trend-driven.
- **Residual Skewness (Yellow):** Asymmetry of the noise
around the regression line. Captures "Tail Risk" or sudden
shocks within the bar that deviate from the main path.
- **Within-Bar Skewness (Blue):** Asymmetry derived from the
microstructure of individual intra-bar candles.
- **Interaction Skewness (Dark Grey):** Asymmetry caused by
the correlation between price levels and volatility within
the bar (e.g., volatility expanding as price drops).
2. **Visual Decomposition Logic:** Total Skewness is the
primary metric displayed. Since statistical moments are additive,
this indicator calculates the *exact* Total Skewness and partitions
the columns based on the Law of Total Moments.
3. **Dual Display Modes:** The indicator offers two modes to
visualize this decomposition:
- **Absolute Mode:** Plots the *total* skewness as a
stacked column chart. Stacking logic groups components with
the same sign to ensure visual clarity.
- **Relative Mode:** Plots the direct *contribution ratio*
(proportion) of each component relative to the total sum,
ideal for identifying the dominant driver (Trend vs. Noise).
4. **Calculation Options:**
- **Normalization:** An optional 'Normalize' setting
transforms inputs into logarithmic space, analyzing the
skewness of *returns* rather than absolute prices.
- **Volume Weighting:** An option (`Volume weighted`) applies
volume weighting to all regression and moment calculations,
emphasizing high-participation moves.
5. **Skewness Cycle Analysis:**
- **Pivot Detection:** Includes a built-in pivot detector
that identifies significant turning points (peaks/valleys) in
the *total* skewness line. (Note: This is only visible
in 'Absolute Mode').
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library.
6. **Note on Confirmation (Lag):** Pivot signals are confirmed
using a lookback method. A pivot is only plotted *after*
the `Pivot Right Bars` input has passed, which introduces
an inherent lag.
7. **Multi-Timeframe (MTF) Capability:**
- **MTF Analysis Lines:** The entire intra-bar analysis can be
run on a higher timeframe (using the `Timeframe` input),
with standard options to handle gaps (`Fill Gaps`) and
prevent repainting (`Wait for...`).
- **Limitation:** The Pivot detection (`Calculate Pivots`) is
**disabled** if a Higher Timeframe (HTF) is selected.
8. **Integrated Alerts:** Includes comprehensive alerts for:
- Skewness magnitude (High Positive / High Negative).
- Character changes (Trend vs. Noise dominance).
- Total Skewness pivot (High/Low) detection.
**Caution: Real-Time Data Behavior (Intra-Bar Repainting)**
This indicator uses high-resolution intra-bar data. As a result, the
values on the **current, unclosed bar** (the real-time bar) will
update dynamically as new intra-bar data arrives. This behavior is
normal and necessary for this type of analysis. Signals should only
be considered final **after the main chart bar has closed.**
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.




















