the_batman

True Williams Alligator (Timeframe Multiplier)

Modified version of my original "True Williams Alligator (SMMA)" indicator that includes a multiplier to show the alligator (ie elliot wave mode) of higher timeframes. See original indicator for details.

Note: First script submission. Didn't mean to use this chart. Ugly and messy. Oops.
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 lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?
study("True Williams Alligator (Timeframe Multiplier)", overlay=true)
smma(src, length) =>
    smma = na(smma[1]) ? sma(src, length) : (smma[1] * (length - 1) + src) / length
    smma

multiplier = input(10, "Multiplier")

jawLength = 13 * multiplier
teethLength = 8 * multiplier
lipsLength = 5 * multiplier
jawOffset = 8 * multiplier
teethOffset = 5 * multiplier
lipsOffset = 3 * multiplier

jaw = smma(hl2, jawLength)
teeth = smma(hl2, teethLength)
lips = smma(hl2, lipsLength)
plot(jaw, "Jaw", #9FC5E8, offset=jawOffset, linewidth=1, style=line)
plot(teeth, "Teeth", #E6B8AF, offset=teethOffset, linewidth=1, style=line)
plot(lips, "Lips", #B6D7A8, offset=lipsOffset, linewidth=1, style=line)