PROTECTED SOURCE SCRIPT
Time Segmented Volume (TSV)

Time Segmented Volume (TSV) measures directional money flow by multiplying volume with the bar-to-bar price change and summing it over a fixed window, then smoothing it.
Positive TSV shows sustained accumulation (buying pressure); negative TSV shows sustained distribution (selling pressure). It’s essentially a momentum-weighted volume oscillator, useful for confirming trend strength, spotting divergences, and identifying when participation is expanding or drying up behind a move.
Timeframe Guidance
Scalping (1–5 min)
TSV Length: 8–13
Signal: 5–7
Notes: Fast response, more noise
Intraday (5–30 min)
TSV Length: 13–21
Signal: 7–10
Notes: Balanced sensitivity
Swing (1H–Daily)
TSV Length: 21–34
Signal: 10–21
Notes: Smoother, filters chop
Position (Daily–Weekly)
TSV Length: 34–55
Signal: 21–34
Notes: Macro volume regime
Positive TSV shows sustained accumulation (buying pressure); negative TSV shows sustained distribution (selling pressure). It’s essentially a momentum-weighted volume oscillator, useful for confirming trend strength, spotting divergences, and identifying when participation is expanding or drying up behind a move.
Timeframe Guidance
Scalping (1–5 min)
TSV Length: 8–13
Signal: 5–7
Notes: Fast response, more noise
Intraday (5–30 min)
TSV Length: 13–21
Signal: 7–10
Notes: Balanced sensitivity
Swing (1H–Daily)
TSV Length: 21–34
Signal: 10–21
Notes: Smoother, filters chop
Position (Daily–Weekly)
TSV Length: 34–55
Signal: 21–34
Notes: Macro volume regime
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.