Rashad

Exponential Bollinger Bands

These Bollinger Bands are exponential because the variance is calculated using the exponential moving average , rather than just adding the normal standard deviation to the ema . This may be more useful because the exponential standard deviation should be more sensitive to near term increases or decreases in volatility .

Please do not forget that Bollinger Bands should always be combined with another method of analysis. Bollinger Bands just provide an easy way to gauge where the price could range in. At 2 standard deviations of a continuously random variable, more than 98% of data points are in this range. I am however going to test this in excel to get the average number of data points that stay in the range for Bitcoin . I will upload my findings when I complete that. Please monitor this description if your interested.
Keluarkan daripada Skrip Pilihan Tambah kepada Skrip Pilihan
study("Exponential Bollinger Bands", shorttitle = "EBB", overlay = true)
src = input(ohlc4, title = "source")
len = input(21, title = "timeframe / # of period's")
e = ema(src,len)
evar = (src - e)*(src - e)
evar2 = (sum(evar,len))/len
std = sqrt(evar2)
Multiplier = input(2, minval = 0.01, title = "# of STDEV's")
upband = e + (Multiplier * std)
dnband = e - (Multiplier * std)
//stdd = stdev(std)
//bsu = upband + std
//bsun = upband - std
//bsd = dnband + std
//bsdn = dnband - std
//plot(bsu, color = purple)
//plot(bsun, color = purple)
//plot(bsd, color = purple)
//plot(bsdn, color = purple)
plot(e, color = purple, linewidth = 2, title = "basis")
plot(upband, color = red, linewidth = 2, title = "up band")
plot(dnband, color = green, linewidth  = 2, title = "down band")

Komen

Hi,
I am very happy to use this simple bollinger bands of EMA.
And I would like you to make an option of background between upper and lower lines.
Thanks.
Balas
sorry but for me your EBB are not correctly setting. i found same incongruence versus other trading platforms' EBB, especially EBB septate in "close".
please write me
Balas
Rashad CiccioBenzina
Other platforms may be calculating the "sample standard deviation". The sample standard deviation is SIGMA((yi - ybar)^2) / (n - 1) . In this script, I am calculating the standard deviation as "population". This may be why you are seeing the in-congruence.
Balas
ok, thanks for your answer. do you know how i can change some elements, so i'll can use it for stocks, index etc??
Balas
Rashad CiccioBenzina
You should be able to use this on whatever you want?
Balas
Thanks for all the likes guys! I'm glad you all like the script!
Balas
Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Bagaimana ia berfungsi Ciri-ciri Carta Harga Rujuk rakan Peraturan Dalaman Pusat Bantuan Laman web dan Penyelesaian Broker Widget Penyelesaian Pencartaan Perpustakaan Pencartaan yang Ringan Blog & Berita Twitter
Profil Tetapan Profil Akaun dan Pengebilan Rujuk rakan Tiket Sokongan Saya Pusat Bantuan Idea yang diterbitkan Pengikut Mengikuti Mesej Peribadi Sembang Daftar Keluar