OPEN-SOURCE SCRIPT
No Supply (Low-Volume Down Bars) — Ido

This indicator flags classic Wyckoff/VSA “No Supply (NS)” events—down bars that print on unusually low volume, suggesting a lack of sellers rather than strong selling pressure. NS often appears near support, LPS, or within re-accumulation ranges as a test before continuation higher.
Signal definition (configurable):
Down bar: choose Close < PrevClose or Close < Open.
Low volume: Volume < SMA(Volume, len) × threshold (e.g., 0.7).
Optional volume lower than the prior two bars (reduces noise).
Optional narrow spread: range (H–L) below its average.
Optional close position: close in the upper half of the bar.
Optional trend filter: only mark NS above or below an EMA (or any).
Optional wide-bar exclusion: skip unusually wide bars.
Visuals & outputs
Blue dot below each NS bar (optional bar tint).
Separate pane showing Relative Volume (vol / volSMA) to gauge effort.
Built-in alertcondition to trigger notifications when NS prints.
Inputs (high level)
lenVol: Volume SMA length.
ratioVol: Volume threshold vs. average (e.g., 0.7 = 70%).
usePrev2: Require volume below each of the prior two bars.
useNarrow + lenRange + ratioRange: Narrow-bar filter.
useClosePos + minClosePos: Close in upper portion of the bar.
downBarMode: Define “down bar” logic.
trendFiltOn, trendLen, trendSide: EMA trend filter.
useWideFilter, lenRangeWide, wideThreshold: Skip wide bars.
How to use (Wyckoff/VSA context)
Treat NS as a test of supply: price dips, but volume is light and close holds up.
Stronger when it prints near support/LPS within a re-accumulation structure.
Confirmation (recommended): within 1–3 bars, see demand—e.g., break above the NS high with expanding volume (above average or above the prior two bars). Many traders place a buy-stop just above the NS high; common stops are below the NS low or the most recent swing low.
Scanning tip
TradingView’s stock screener can’t consume Pine directly.
Use a Watchlist Custom Column that reports “bars since NS” to sort symbols (0 = NS on the latest bar). A companion column script is provided separately.
Notes & limitations
Works on any timeframe (intraday/daily/weekly), but context matters.
Expect false positives around news, gaps, or illiquid symbols—combine with structure (trend, S/R, phases) and risk management.
© moshel — Educational use only; not financial advice.
Signal definition (configurable):
Down bar: choose Close < PrevClose or Close < Open.
Low volume: Volume < SMA(Volume, len) × threshold (e.g., 0.7).
Optional volume lower than the prior two bars (reduces noise).
Optional narrow spread: range (H–L) below its average.
Optional close position: close in the upper half of the bar.
Optional trend filter: only mark NS above or below an EMA (or any).
Optional wide-bar exclusion: skip unusually wide bars.
Visuals & outputs
Blue dot below each NS bar (optional bar tint).
Separate pane showing Relative Volume (vol / volSMA) to gauge effort.
Built-in alertcondition to trigger notifications when NS prints.
Inputs (high level)
lenVol: Volume SMA length.
ratioVol: Volume threshold vs. average (e.g., 0.7 = 70%).
usePrev2: Require volume below each of the prior two bars.
useNarrow + lenRange + ratioRange: Narrow-bar filter.
useClosePos + minClosePos: Close in upper portion of the bar.
downBarMode: Define “down bar” logic.
trendFiltOn, trendLen, trendSide: EMA trend filter.
useWideFilter, lenRangeWide, wideThreshold: Skip wide bars.
How to use (Wyckoff/VSA context)
Treat NS as a test of supply: price dips, but volume is light and close holds up.
Stronger when it prints near support/LPS within a re-accumulation structure.
Confirmation (recommended): within 1–3 bars, see demand—e.g., break above the NS high with expanding volume (above average or above the prior two bars). Many traders place a buy-stop just above the NS high; common stops are below the NS low or the most recent swing low.
Scanning tip
TradingView’s stock screener can’t consume Pine directly.
Use a Watchlist Custom Column that reports “bars since NS” to sort symbols (0 = NS on the latest bar). A companion column script is provided separately.
Notes & limitations
Works on any timeframe (intraday/daily/weekly), but context matters.
Expect false positives around news, gaps, or illiquid symbols—combine with structure (trend, S/R, phases) and risk management.
© moshel — Educational use only; not financial advice.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.