OPEN-SOURCE SCRIPT
已更新

Double Median ATR Bands | MisinkoMaster

783
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!
版本注释
Deeper Dive into the calculations of the Double Median ATR Bands

An 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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。