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.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом, вы можете свободно им пользоваться. Можно добавить его в избранное и использовать на графике. Вы не можете просматривать или менять его исходный код.
Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?