OPEN-SOURCE SCRIPT
Smoother Momentum MACD w/ DSL [Loxx]

Smoother Momentum MACD w/ DSL [Loxx] uses two different EMA calculations to derive momentum and then calculates the MACD between those momentum outputs. This indicator uses a variation of Discontinued Signal Lines for the breakout/breakdown/reversal signals . There are three different signal types: middle, levels, and slope. I've also added alerts and signals. The discontinued signal lines can be smoothed using EMA or Fast EMA.
What are DSL Discontinued Signal Line?
A lot of indicators are using signal lines in order to determine the trend (or some desired state of the indicator) easier. The idea of the signal line is easy : comparing the value to it's smoothed (slightly lagging) state, the idea of current momentum/state is made.
Discontinued signal line is inheriting that simple signal line idea and it is extending it : instead of having one signal line, more lines depending on the current value of the indicator.
"Signal" line is calculated the following way :
When a certain level is crossed into the desired direction, the EMA of that value is calculated for the desired signal line
When that level is crossed into the opposite direction, the previous "signal" line value is simply "inherited" and it becomes a kind of a level
This way it becomes a combination of signal lines and levels that are trying to combine both the good from both methods.
In simple terms, DSL uses the concept of a signal line and betters it by inheriting the previous signal line's value & makes it a level.
Included:
Other momentum indicators
CFB-Adaptive Velocity Histogram [Loxx]
![CFB-Adaptive Velocity Histogram [Loxx]](https://tradingview.sweetlogin.com/proxy-s3/h/hpWb892n_mid.png)
Variety-Filtered, Squeeze Moving Averages [Loxx]
![Variety-Filtered, Squeeze Moving Averages [Loxx]](https://tradingview.sweetlogin.com/proxy-s3/t/t0xt2nWn_mid.png)
William Blau Ergodic Tick Volume Indicator (TVI) [Loxx]
![William Blau Ergodic Tick Volume Indicator (TVI) [Loxx]](https://tradingview.sweetlogin.com/proxy-s3/z/Z4Pi5Cuh_mid.png)
What are DSL Discontinued Signal Line?
A lot of indicators are using signal lines in order to determine the trend (or some desired state of the indicator) easier. The idea of the signal line is easy : comparing the value to it's smoothed (slightly lagging) state, the idea of current momentum/state is made.
Discontinued signal line is inheriting that simple signal line idea and it is extending it : instead of having one signal line, more lines depending on the current value of the indicator.
"Signal" line is calculated the following way :
When a certain level is crossed into the desired direction, the EMA of that value is calculated for the desired signal line
When that level is crossed into the opposite direction, the previous "signal" line value is simply "inherited" and it becomes a kind of a level
This way it becomes a combination of signal lines and levels that are trying to combine both the good from both methods.
In simple terms, DSL uses the concept of a signal line and betters it by inheriting the previous signal line's value & makes it a level.
Included:
- Loxx's Expanded Source Types
- Alerts
- Signals
- Bar coloring
Other momentum indicators
CFB-Adaptive Velocity Histogram [Loxx]
![CFB-Adaptive Velocity Histogram [Loxx]](https://tradingview.sweetlogin.com/proxy-s3/h/hpWb892n_mid.png)
Variety-Filtered, Squeeze Moving Averages [Loxx]
![Variety-Filtered, Squeeze Moving Averages [Loxx]](https://tradingview.sweetlogin.com/proxy-s3/t/t0xt2nWn_mid.png)
William Blau Ergodic Tick Volume Indicator (TVI) [Loxx]
![William Blau Ergodic Tick Volume Indicator (TVI) [Loxx]](https://tradingview.sweetlogin.com/proxy-s3/z/Z4Pi5Cuh_mid.png)
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Public Telegram Group, t.me/algxtrading_public
VIP Membership Info: patreon.com/algxtrading/membership
VIP Membership Info: patreon.com/algxtrading/membership
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Public Telegram Group, t.me/algxtrading_public
VIP Membership Info: patreon.com/algxtrading/membership
VIP Membership Info: patreon.com/algxtrading/membership
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.