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:
  • Loxx's Expanded Source Types
  • Alerts
  • Signals
  • Bar coloring


Other momentum indicators

CFB-Adaptive Velocity Histogram [Loxx]
CFB-Adaptive Velocity Histogram [Loxx]


Variety-Filtered, Squeeze Moving Averages [Loxx]
Variety-Filtered, Squeeze Moving Averages [Loxx]


William Blau Ergodic Tick Volume Indicator (TVI) [Loxx]
William Blau Ergodic Tick Volume Indicator (TVI) [Loxx]
Exponential Moving Average (EMA)fastemaMoving Average Convergence / Divergence (MACD)MOMMomentum Indicator (MOM)movingaverageconvergencedivergencesmoothersmoothermomentum

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Também em:

Aviso legal