Multi-Day SMAmade this script due to the frustration of not having the 5 day SMA added with the 10 20 and 50. I need the 5 SMA for my type of trading to determine when to sell with stocks showing exponential growth.
so heres this: Multi SMA
5 day SMA pink
10 day SMA white
20 day SMA blue
50 day SMA red
200 day SMA green
אינדיקטורים ואסטרטגיות
Ethereum Sleepy Wallets – 6-Month DormancyWhat This Indicator Does
It measures how many Ethereum addresses have been completely inactive for at least 6 months (≥ 180 days) — using official Glassnode and CryptoQuant on-chain metrics.
This reveals deep conviction among long-term ETH holders
Core Concept: Direct 6-Month Dormancy
The indicator uses two precise on-chain signals:
Total Unique ETH Addresses
From GLASSNODE:ETH_ADDRESSES or CRYPTOQUANT:ETH_TOTAL_ADDRESSES
Counts every address ever used on Ethereum
Addresses Inactive ≥ 180 Days
From GLASSNODE:ETH_ADDRESSES_GREATER_THAN_180_DAYS
Counts every address that has not sent or received ETH in 6+ months
Sleepy ETH = Dormant ≥ 180 Days
Sleepy Ratio % = (Sleepy / Total) × 100
This is not an estimate — it’s direct, real dormancy.
Why 6-Month Dormancy Matters
Short-term activity (7-day) = noise from DeFi, NFTs, trading
180-day inactivity = true HODLing — coins untouched through entire market cycles
Historically:
Rising dormancy → supply drying up → bullish pressure
Falling dormancy → long-term holders selling → bearish warning
How It Works (Step-by-Step)
Fetches daily data from Glassnode (Pro+) or CryptoQuant (free)
Selects real data if available; otherwise uses robust fallback
Calculates raw sleepy wallets = addresses inactive ≥ 180 days
Smooths the signal with a 21-day simple moving average (SMA) to filter noise
Computes Sleepy Ratio % for instant conviction reading
Displays live info table with exact values on every bar
How to Use It
Signal
Interpretation
Suggested Action
Sleepy Ratio > 75% and rising
Extreme long-term HODLing
Strong accumulation — buy/hold
Smooth Sleepy trending up
Dormancy growing over 21 days
Bullish supply shock forming
Sleepy Ratio < 68% and falling
Long-term coins re-entering circulation
Caution — possible distribution
Smooth Sleepy dropping fast
HODLers breaking after 6+ months
Bearish warning — consider exits
Use on Daily (D) or Weekly (W) charts for clean, reliable signals.
Pro+ vs Free Mode
Mode
Data Source
Accuracy
Pro+ (Glassnode ON)
Real 180-day dormancy metric
100% precise
Free (Glassnode OFF)
CryptoQuant + price-scaled estimate
~80% historical correlation
Toggle in settings: Use Glassnode Data
What Makes This Indicator Original
First open-source script to directly plot Ethereum’s 6-month dormancy using official ADDRESSES_GREATER_THAN_180_DAYS
No fake math — uses true inactivity, not active address subtraction
Dual-source logic ensures usability on any TradingView plan
Dual output: raw sleepy count + 21-day SMA for precision and trend
Live info table shows real-time values and data source
ממוצעים נעים דינמיים – קצר / בינוני / ארוךMA - L/M/S
dynamic ma across different time frame
5m, 30m, d, w, m
Earnings CountdownAdd to a chart to show a text box with how long to next earnings.
Being updated to add functionality from original open source Pine script
RTH VWAP with Deviation BandsRTH session VWAP calculation
3 deviation bands (customizable multipliers)
Visual customization (colors, widths, transparency)
Optional info table showing current values
Alert conditions for VWAP and band crosses
R Dominant Range [CRT] by Sergi SernaR Dominant Range identifies the most influential R range located to the left of the current price action. It highlights the dominant zone that still impacts market behavior, helping traders understand which range is controlling the current structure.
BB_4_in_1Bollinger Bands (4 in 1)
BB_4_in_1 is a multi-timeframe Bollinger Bands indicator that displays four different sets of Bollinger Bands on the price chart with customizable periods, line styles, and transparency levels. And just to simplify the process of applying indicators, + space saving.
Features:
- Four Bollinger Bands sets: bb_1 (20), bb_2 (80), bb_3 (160), bb_4 (320)
- Customizable period and multiplier for each set
- Unique line styles: standard, stepline, and stepline_diamond
- Adjustable line transparency for better visibility
- No fill between bands for cleaner chart layout
Ideal for multi-timeframe analysis, volatility assessment, and support/resistance level identification.
OpenVWAP Stop-Hunt Short – v6 (failsafe) ZorzOpenVWAP Stop-Hunt Short (Micro/Nano Caps)
Intraday short framework for low-float gappers (NASDAQ/NYSE), optimized for 1m (optional 15s). The script anchors VWAP to Premarket and Regular sessions, tracks PM High (PM HOD) and Open VWAP, and flags liquidity grabs.
Signal logic
SHORT when a stop-hunt above PM HOD or an Open VWAP fakeout occurs and the bar closes below Open VWAP (optional confirmation: crossunder VWMA*0.985 “long50”).
CLOSE when price reclaims Open VWAP or crosses above long50.
Inputs
Min wick%, volume spike vs SMA20, range vs ATR(1)
No-trade bars after the open (filters first noisy minutes)
Toggle ACW confirmation (VWMA*0.985)
Notes
Turn Extended Hours ON; session times are ET.
Best on micro/nano-cap gappers with high PM volume; supports alerts (“Open Short”, “Close Short”).
For research/education only; not financial advice.
PDC + ATR Zonethis Indicator helps to find the previous day close as well as the ATR range for the day
False Breakout Detector with ConfirmationCandlestick analysis of a false breakout with confirmation from a single bar.
Gann Angles by Calendar DateA script that draws Gann angles. 1x1/1x2/1x3/1x4/1x8
Manually enter the date and price.
Gann often wrote that if the price is above the 1x1 angle, the trend is strong. If it is below, the trend is weak.
Preference is given to charts with trading days.
The color of the angles can be changed as desired.
EMA921// ─────────────────────────────────────────────
// Notes for Publishing
// ─────────────────────────────────────────────
// This script plots EMA 9 and EMA 21 with trend shading.
// Colors: EMA 9 = Orange, EMA 21 = White
// Ideal for short-term trend following & entries.
DTC Killzones ICT🕐 DTC Killzones ICT — Visualize Market Sessions Like a Pro
The DTC Killzones ICT indicator is a clean and intuitive tool designed for traders who want to analyze and visualize institutional trading sessions directly on their charts.
Inspired by ICT’s Killzone concept , this script makes it easy to identify overlapping market sessions — such as London, New York, and Asian — and track how price behaves within each zone.
💡 What It Does
This indicator automatically highlights key market sessions (Killzones) on your chart with fully customizable colors, labels, and transparency.
Each zone dynamically updates to reflect real-time highs and lows, helping you identify:
Session ranges and liquidity zones
Volatility windows and breakout areas
Institutional footprints across sessions
Whether you trade Forex, Indices, or Crypto , this script gives you visual clarity on when and where smart money is likely to move.
⚙️ Main Features
✅ Up to four customizable sessions (New York, London, Asian, and London Close)
✅ Adjustable timeframes and timezone options — sync with your exchange or custom UTC offset
✅ Dynamic high/low range tracking for each session
✅ Toggle range outlines, session labels , and transparency levels
✅ Optional daily dividers and session transition markers
✅ Works on any timeframe and any symbol
🧠 How Traders Use It
ICT-based traders can easily mark Killzones to align with setups like FVGs, liquidity grabs, or Silver Bullet entries.
Intraday traders can visualize session volatility and overlap periods for potential entries.
Swing traders can identify daily structure shifts by tracking range-to-range behavior.
🛠️ Customization
You can fully rename, recolor, or disable each session block.
Adjust the range transparency for visual comfort, and toggle session or daily dividers to fit your workflow.
Everything is designed to be clean, light, and modular — no clutter, no confusion.
⚡ Recommended Settings
For ICT-style analysis:
London Session: 02:00–05:00
New York Session: 07:00–10:00
Asian Session: 19:30–24:00
London Close Session: 10:00–12:00
These time windows are fully editable to suit your timezone or strategy.
🧩 Compatibility
Works seamlessly with TradingView’s built-in timezone tools
Compatible with all instruments and timeframes
Designed to overlay directly on your price chart
🏁 Final Notes
The DTC Killzones ICT indicator focuses purely on market session visualization — no alerts, entries, or trading signals.
It’s designed to complement your existing strategies and enhance clarity when analyzing market behavior across global sessions.
📈 Built for traders who value precision, structure, and timing.
All-in-One EMA/SMA Indicator 5 EMA + 10 EMA + 20 EMA + 50 SMA + 200 SMA
All important moving averages at one place with required modification capabilities
Dynamic ATR Targets - Long & Short with Trailing SL by ISdynamic SL based on ATR
SL,TP, entry
ATR based
good for dynamic SL
1:3 RR
Position Size CalculatorPosition Size Calculator (PSC) helps size trades by dollar risk.
Set your Risk Amount ($).
Choose risk unit: ADR (avg high–low) or ATR (Wilder’s, gap-aware).
Shares = round(Risk $ / risk_unit).
Capital = Shares × current close.
Small table shows Risk $, Shares, Capital, and a mapped sector ETF (e.g., XLK, XLE).
Use ATR for gap-aware sizing; ADR for a simpler range. Adjust period to fit your stop style (shorter = more responsive). PSC is display-only (no orders), works on any symbol/timeframe, and updates on the latest bar.
5 EMA Combo (5, 10, 20, 50, 200)//@version=5
indicator("5 EMA Combo (5, 10, 20, 50, 200)", shorttitle="5 EMA", overlay=true)
// === EMA 5 ===
len1 = input.int(5, minval=1, title="EMA 5 Length")
src1 = input.source(close, "EMA 5 Source")
ema5 = ta.ema(src1, len1)
plot(ema5, title="EMA 5", color=color.new(color.aqua, 0), linewidth=2)
// === EMA 10 ===
len2 = input.int(10, minval=1, title="EMA 10 Length")
src2 = input.source(close, "EMA 10 Source")
ema10 = ta.ema(src2, len2)
plot(ema10, title="EMA 10", color=color.new(color.yellow, 0), linewidth=2)
// === EMA 20 ===
len3 = input.int(20, minval=1, title="EMA 20 Length")
src3 = input.source(close, "EMA 20 Source")
ema20 = ta.ema(src3, len3)
plot(ema20, title="EMA 20", color=color.new(color.orange, 0), linewidth=2)
// === EMA 50 ===
len4 = input.int(50, minval=1, title="EMA 50 Length")
src4 = input.source(close, "EMA 50 Source")
ema50 = ta.ema(src4, len4)
plot(ema50, title="EMA 50", color=color.new(color.green, 0), linewidth=2)
// === EMA 200 ===
len5 = input.int(200, minval=1, title="EMA 200 Length")
src5 = input.source(close, "EMA 200 Source")
ema200 = ta.ema(src5, len5)
plot(ema200, title="EMA 200", color=color.new(color.red, 0), linewidth=3)
// === Optional Alerts ===
alertcondition(ta.crossover(close, ema200), "Bullish Cross Above EMA 200", "Price crossed above EMA 200")
alertcondition(ta.crossunder(close, ema200), "Bearish Cross Below EMA 200", "Price crossed below EMA 200")
Fractal Dimension Index (FDI) by CoryP1990 – Quant ToolkitThe Fractal Dimension Index (FDI) quantifies how directional or choppy price movement is; in other words, it measures the “roughness” of a trend. FDI values near 1.0–1.3 indicate strong directional trends, while values near 1.5–2.0 reflect chaotic or range-bound behavior. This makes FDI a powerful tool for detecting trend vs. mean-reversion regimes.
How it works
Calculates the ratio of average price changes over full and half-length windows to estimate the fractal dimension of price movement.
Teal line = FDI decreasing → trending behavior (market smoother, more directional).
Orange line = FDI increasing → choppiness or consolidation.
Background:
Green tint = trend-friendly regime (FDI below low threshold).
Orange tint = choppy regime (FDI above high threshold).
Use cases
Detect when markets shift from trend-following to mean-reverting conditions.
Filter trades: favor trend strategies when FDI < 1.3 and reversion setups when FDI > 1.7.
Combine with momentum or volatility metrics to classify regimes.
Defaults
Length = 20
High-FDI threshold = 1.8
Low-FDI threshold = 1.2
Example — TSLA (1D, 2021)
Early 2021 trades choppy to sideways with FDI swinging up toward 1.5, then the index drops below 1.2 as Tesla transitions into a persistent trend-friendly regime through the second half of the year (green background). During the Q4 breakout, FDI holds ~1.0–1.2, confirming strong directionality; brief pullbacks lift FDI back toward the mid-range before trending pressure resumes. At the right edge, FDI sits well below the low threshold, signaling that price remains in a trend-supportive state.
Part of the Quant Toolkit — transparent, open-source indicators for modern quantitative analysis. Built by CoryP1990.
Yang-Zhang Volatility (YZVol) by CoryP1990 – Quant ToolkitThe Yang-Zhang Volatility (YZVol) estimator measures realized volatility using both overnight gaps and intraday moves. It combines three components: overnight returns, open-to-close returns, and the Rogers–Satchell term, weighted by Zhang’s k to reduce bias.
How to read it
Line color: Green when YZVol is rising (volatility expansion), Red when falling (volatility compression).
Background: Green tint = above High-vol threshold (active regime). Red tint = below Low-vol threshold (quiet regime).
Units: Displays Daily % by default on any timeframe (values are normalized to daily). An optional toggle shows Annualized % (√252 × Daily %).
Typical uses
Spot transitions between quiet and active regimes.
Compare realized vol vs implied vol or a risk-target.
Adapt position sizing to volatility clustering.
Defaults
Length = 20
High-vol threshold = 5% (Daily)
Low-vol threshold = 1% (Daily)
Optional: Annualized % display
Example — SPY (1D)
During the 2020 crash, YZVol surged to 5.8 % per day, capturing the height of pandemic-era volatility before compressing into a calm regime through 2021. Volatility re-expanded in 2022 due to reinflamed COVID fears and gradually stabilized through 2023. A sharp, liquidity-driven volatility event in August 2024 caused another brief YZVol surge, reflecting the historic one-day VIX spike triggered by market-wide risk-off flows and thin pre-market liquidity. A second, policy-driven expansion followed in April–May 2025, coinciding with the renewed U.S.–China tariff conflict and a sharp equity pullback. Since mid-2025, YZVol has settled near 1 % per day, with the red background confirming that realized volatility has once again compressed into a quiet, low-risk regime.
Part of the Quant Toolkit — transparent, open-source indicators for modern quantitative analysis. Built by CoryP1990.




















