LazyBear

EMA Wave Indicator [LazyBear]

This is a 3 EMA visualization tool. Relative momentum across 3 timeframes are rendered as A/B/C waves. Also, helpful in identifying spike/exhaustion bars.

When all the waves are in the same direction, the momentum is very high on that direction. I have made all options configurable, have fun tuning for your instrument :)

Complete list of all my indicators:
https://docs.google.com/document/d/15AGC...


Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con las Normas internas. Puede marcarlo como favorito para usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?
//
// @author LazyBear 
// List of all my indicators: 
// https://docs.google.com/document/d/15AGCufJZ8CIUvwFJ9W-IKns88gkWOKBCvByMEvm5MLo/edit?usp=sharing
// 
study("EMA Wave Indicator [LazyBear]", shorttitle="EWI_LB")
alength=input(5, title="Wave A Length"), blength=input(25, title="Wave B Length"), clength=input(50, title="Wave C Length")
lengthMA=input(4, title="Wave SMA Length")
mse=input(false, title="Identify Spikes/Exhaustions")
cutoff = input(10, title="Cutoff")
ebc=input(false, title="Color Bars on Spikes/Exhaustions")
src=hlc3
ma(s,l) => ema(s,l)
wa=sma(src-ma(src, alength),lengthMA) 
wb=sma(src-ma(src, blength),lengthMA) 
wc=sma(src-ma(src, clength),lengthMA) 
wcf=(wb != 0) ? (wc/wb > cutoff) : false
wbf=(wa != 0) ? (wb/wa > cutoff) : false
plot(0, color=gray, title="ZeroLine")
plot(wc, color=maroon, style=histogram, linewidth=3, title="WaveC")
plot(mse and wcf?wc:na, color=fuchsia, style=histogram, linewidth=3, title="WaveC Spike")
plot(wb, color=blue, style=histogram, linewidth=3, title="WaveB")
plot(mse and wbf?wb:na, color=fuchsia, style=histogram, linewidth=3, title="WaveB Spike")
plot(wa, color=red, style=histogram, linewidth=3, title="WaveA")
barcolor(ebc?(wcf and wbf) ? #81F7F3 : (wcf or wbf) ? fuchsia : na : na)
List of my free indicators: http://bit.ly/1LQaPK8
List of my indicators at Appstore: http://blog.tradingview.com/?p=970

Comentarios

What is meant by the pink candles with blue border?
+97 Responder
Joy_Bangla Cryptocontinuum
@Cryptocontinuum, Did you figure it out?
+9 Responder
jammy1971 Cryptocontinuum
@Cryptocontinuum, It seems that it indicates sudden possible change upwards/downwards.
+6 Responder
how does it work, i cant figure it out. is there any way i can find out more about it, thanks
+46 Responder
@Gedeje, Same here
+1 Responder
Most definitely. Was gonna write my own but may just customize with my own indicators too. Nice work.
+9 Responder
so from what I understand, the different colors represent, from bright red to dark red, are the shorter time-frame moving averages to longer time-frame moving-averages. The pink bars represent sudden change upwards or downwards of the trend?
+7 Responder
Hi,
Is it possible to show values in percentage of price?

Thanks
+5 Responder
Nice Work...As Always....
+5 Responder
LazyBear ChrisMoody
Thanks Chris.
+1 Responder