OPEN-SOURCE SCRIPT
Diupdate 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!
Catatan Rilis
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
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.