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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。