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 protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?