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.
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?