a11starstud

EMA Proximity Alert

ema
The EMA Proximity Alert Indicator is designed to help traders identify when the price of an asset is close to a set of user-defined Exponential Moving Averages (EMAs). This indicator is particularly useful for those who use multiple EMAs as part of their trading strategy and want to receive alerts when the price approaches these key levels.

Features
Customizable EMAs:

The indicator supports four customizable EMAs with default periods of 9, 21, 55, and 100. Users can adjust the lengths of these EMAs according to their preferences.
Proximity Alerts:

Users can set a proximity percentage for each EMA individually. The indicator will generate an alert when the closing price is within the specified percentage of the EMA.
Visual Representation:

The EMAs are plotted on the chart with distinct colors:
EMA 1 (default 9) - Blue
EMA 2 (default 21) - Orange
EMA 3 (default 55) - Green
EMA 4 (default 100) - Red
Background Highlight:

The background of the chart will be highlighted in a semi-transparent color when the price is close to any of the monitored EMAs, making it easy to identify these areas at a glance.
Alert Conditions:

The indicator includes alert conditions that can be used to trigger notifications in TradingView. When the price is close to a monitored EMA, an alert is triggered with a message indicating which EMA is close.
Tooltip Symbols:

When the price is within the specified proximity to a monitored EMA, a small circular symbol is plotted above the bar. Hovering over this symbol displays a tooltip with information about the proximity, including the EMA length and the percentage.
Script protegido
Este script se publica con código cerrado, pero puede utilizarlo libremente. Márquelo como favorito y podrá usarlo en un gráfico. El código fuente no se puede ver ni modificar.
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?