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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Мои профили:

Отказ от ответственности