OPEN-SOURCE SCRIPT
Обновлено Double Median ATR Bands | MisinkoMaster

The Double Median ATR Bands is a version of the SuperTrend that is designed to be smoother, more accurate while maintaining a good speed by combining the HMA smoothing technique and the median source.
How does it work?
Very simple!
1. Get user defined inputs:
=> Set them up however you want, for the result you want!
2. Calculate the Median of the source and the ATR
=> Very simple
3. Smooth the median with √length (for example if median length = 9, it would be smoothed over the length of 3 since 3x3 = 9)
4. Add ATR bands like so:
Upper = median + (atr*multiplier)
Lower = median - (atr*multiplier)
Trend Logic:
Source crossing over the upper band = uptrend
Source crossing below the lower band = downtrend
Enjoy G´s!
How does it work?
Very simple!
1. Get user defined inputs:
=> Set them up however you want, for the result you want!
2. Calculate the Median of the source and the ATR
=> Very simple
3. Smooth the median with √length (for example if median length = 9, it would be smoothed over the length of 3 since 3x3 = 9)
4. Add ATR bands like so:
Upper = median + (atr*multiplier)
Lower = median - (atr*multiplier)
Trend Logic:
Source crossing over the upper band = uptrend
Source crossing below the lower band = downtrend
Enjoy G´s!
Информация о релизе
Deeper Dive into the calculations of the Double Median ATR BandsAn updated explanation, after finding out a more detailed way to explain it:
How does it work?
1. Calculate the median of the source over n period (where the n is defined by the user)
2. Calculate the ATR over "x" period, also chosen by the user
3. Calculate the bands like so:
Upper Band (unfinished) = Median source + (ATR*multiplier)
Lower Band (unfinished) = Median source - (ATR*multiplier)
4. Calculate the Median of the bands over √n period (this is borrowed from HMA using square root of the length for final smoothing)
How does this improve my trading/investing strategy?
> Speed/noise ratio optimization:
Because of smoothing it with the median, which is much less susceptible to noise over the √n period, users get top tier speed, while suffering low amount of noise.
> Better adjusted
While usual supertrends use high multiplier, because of how the Double Median ATR Bands are smoothed, instead of needing high amount of multipliers, users have much more options due to the double ATR smoothing.
Trend Logic
To trigger an uptrend the source needs to crossover the upper band, while for a downtrend it needs to crossunder the lower band.
For easier interpretation:
blue = uptrend
purple = downtrend
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.