OPEN-SOURCE SCRIPT

RedK Dual-Color Zero-Lag Moving Average (RedK ZLMA v1)

Here's my Dual-color Zero-Lag Moving Average indicator - with alerts - as a separate study

This is published in response to couple of requests i received. Please refer to previous posts on TA Basics on creating zero-lag MAs for more background.

This version adds couple of extras
---------------------------------------------
- the ability to choose the price being used (close vs hl2, hlc3..etc)

- ability to change resolution
the example chart below on the right uses a weekly resolution for the ZLMA on top of a daily chart - the left chart shows the same view but with the ZLMA resolution set to "same as chart"

- Alerts-enabled for when trend change is detected

- optional smoothing - keep the smoothing low (3 or 4) else it introduces lagging again

imagen

i hope some will find this useful
- the code is light and can easily be integrated into other indicators of your own - or you can add this ZLMA to your charts in combination with other MA's you use to easily identify trends and swings.

let me know your feedback.

Good luck!
Moving AveragesredkTrend Analysiszerolagzlma

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad