OPEN-SOURCE SCRIPT
SMACD

SMACD is a normalized MACD-style momentum indicator that compares fast and slow EMAs inside the recent price range. By scaling both EMAs between the highest high and lowest low over a chosen lookback period, the indicator aims to make MACD signals more comparable across different symbols and price levels.
It plots:
SMACD line: the normalized difference between the fast and slow EMAs
Signal line: an EMA smoothing of SMACD
Histogram: the distance between SMACD and the signal line
The histogram uses different colors to highlight whether momentum is strengthening or weakening above or below the zero line. Upper and lower guide bands are included to help spot stronger momentum extremes.
This indicator is useful for:
Momentum analysis
Trend confirmation
Early shift detection
Comparing momentum across different instruments
It plots:
SMACD line: the normalized difference between the fast and slow EMAs
Signal line: an EMA smoothing of SMACD
Histogram: the distance between SMACD and the signal line
The histogram uses different colors to highlight whether momentum is strengthening or weakening above or below the zero line. Upper and lower guide bands are included to help spot stronger momentum extremes.
This indicator is useful for:
Momentum analysis
Trend confirmation
Early shift detection
Comparing momentum across different instruments
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.