OPEN-SOURCE SCRIPT

Trendicator 2 - EMA Color Change with 17 EMA Confirmation

Por DJelly21
This Pine Script dynamically changes the color of the 17 EMA line based on trend confirmation. When the price crosses above the 17 EMA and stays above it for 3 consecutive candles, the EMA turns green, indicating an uptrend. Similarly, when the price falls below the EMA and stays below for 3 candles, the line turns red, signaling a downtrend. If neither trend is confirmed, the EMA remains gray. This script is ideal for traders looking for visual cues of trend confirmations based on price movement around the EMA.
Moving Averages

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