OPEN-SOURCE SCRIPT
מעודכן

Trading Activity Index (Zeiierman)

1 580
Overview
Trading Activity Index (Zeiierman) is a volume-based market activity meter that transforms dollar-volume into a smooth, normalized “activity index.”
תמונת-בזק
It highlights when market participation is unusually low or high with a dynamic color gradient:
  • Light Blue → Low Activity (thin participation, low liquidity conditions)
  • Red/Orange → High Activity (active markets, large trades flowing in)

תמונת-בזק
Additional percentile bands (20/40/60/80%) give context, helping you see whether the current activity level is in the bottom quintile, mid-range, or near historical extremes.

How It Works
Dollar Volume Transformation
Each bar, dollar volume is computed:
Pine Script®
float dlrVol = close * volume float dlrVolAvg = ta.sma(dlrVol, len_form)

  • Dollar volume = price × volume, smoothed by a configurable SMA window.
  • The result is log-transformed, compressing large outliers for a more stable signal.


Rolling Percentiles & Ranking
The log-dollar-volume series is compared to its rolling history (len_hist bars):

Pine Script®
float p20 = ta.percentile_linear_interpolation(vscale, len_hist, 20) float p40 = ta.percentile_linear_interpolation(vscale, len_hist, 40) float p60 = ta.percentile_linear_interpolation(vscale, len_hist, 60) float p80 = ta.percentile_linear_interpolation(vscale, len_hist, 80)

  • A normalized rank (0–1) is produced to color the main Trading Activity line.



How to Use

Detect High-Impact Sessions
Quickly see if today’s session is active or quiet relative to its own history — great for filtering setups that need activity.
תמונת-בזק
Spot Breakouts & Traps
Combine with price action:
  • High activity near breakouts = strong follow-through likely.
  • Low activity breakouts = vulnerable to fake-outs.

תמונת-בזק
Market Regime Context
Percentile bands help you assess whether participation is building up, in the middle of the range, or drying out — valuable for timing mean-reversion trades.

  • Above 80th percentile (red/orange) → Market is highly active, breakout trades and trend strategies are favored.
  • Below 20th percentile (light blue) → Market is quiet; fade moves or wait for expansion.
  • Watch transitions from blue → orange as a signal of growing institutional participation.

תמונת-בזק

Settings
  • Formation Window (bars) – Number of bars used to average dollar volume before log transform.
  • History Window (bars) – Lookback period for percentile calculations and rank normalization.



-----------------
Disclaimer

The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.

All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
הערות שחרור
minor fix

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.