Enkindel

QG3 Histogram

Dilihat 788
142
Color coded Histogram based on moving average cross overs, shows positive and negative divergence very well.

Edited by Enkindel, original code by ChrisMoody, QG3 system by QuadG
Hilangkan dari Skrip-Skrip Favorit Tambahkan ke Skrip-Skrip Favorit
// Modified version of Triple EMA created By User ChrisMoody Modified by Enkindel based on QG3 system by QuadG
study(title = "QG3 Histogram", shorttitle="QG3 Histogram")

src = close, len = input(3, minval=1, title="Fast EMA")
src2 = close, len2 = input(10, minval=1, title="Medium EMA")
src3 = close, len3 = input(20, minval=1, title="Slow MA")

emaFast = ema(src, len)
emaMedium = ema(src2, len2)
smaSlow = sma(src3, len3)

emaHistogram = emaFast-smaSlow
ma = sma(emaHistogram, 1)

plot_color = emaFast > emaMedium and emaMedium > smaSlow ? lime : emaFast < emaMedium and emaMedium < smaSlow ? red : yellow

plot(emaHistogram, title="EMA Histogram", style=histogram, linewidth=3, color = plot_color)
plot(ma, title="Outer Line", style=line, linewidth=4, color=black)
hline(0, title="O Line", linestyle=solid, linewidth=3, color=black)

Komentar

Beranda Penyaring Saham Penyaring Forex Penyaring Crypto Kalender Ekonomi Bagaimana Cara Kerjanya Fitur-Fitur Chart Harga Akun Refer seorang teman Tata Tertib Pusat Bantuan Solusi Website & Broker Widget-Widget Solusi Charting Perpustakaan Charting Ringan Blog & Berita Twitter
Profil Pengaturan Profil Akun dan Penagihan Refer seorang teman Tiket Dukungan Saya Pusat Bantuan Ide Terpublikasikan Pengikut Mengikuti Pesan Pribadi Obrolan Keluar