OPEN-SOURCE SCRIPT
Buy vs Sell Volume EMA + Smart Momentum Shift (Crypto)

This is a volume-based momentum indicator for crypto that:
Splits total volume into buy vs. sell volume based on candle direction.
Applies EMAs to buy/sell volume and tracks slope and acceleration of those EMAs.
Looks for moments where buyer volume momentum is improving and seller momentum is fading.
Optionally requires RSI and/or MACD confirmation, a “near recent low” location filter, and a score threshold based on several micro-conditions.
Outputs:
Colored background depending on whether buy or sell volume dominates.
EMA crossover arrows (“Buy” and “Sell”) for simpler regime shifts.
Green dots (“Strong Buy Momentum Shift”) when all filters are satisfied.
Alert conditions for the above signals.
It runs in a separate pane (overlay=false) and is explicitly designed for crypto, but works on any symbol/interval.
Splits total volume into buy vs. sell volume based on candle direction.
Applies EMAs to buy/sell volume and tracks slope and acceleration of those EMAs.
Looks for moments where buyer volume momentum is improving and seller momentum is fading.
Optionally requires RSI and/or MACD confirmation, a “near recent low” location filter, and a score threshold based on several micro-conditions.
Outputs:
Colored background depending on whether buy or sell volume dominates.
EMA crossover arrows (“Buy” and “Sell”) for simpler regime shifts.
Green dots (“Strong Buy Momentum Shift”) when all filters are satisfied.
Alert conditions for the above signals.
It runs in a separate pane (overlay=false) and is explicitly designed for crypto, but works on any symbol/interval.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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ã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.