OPEN-SOURCE SCRIPT
已更新

Candle Close Distance Alert

536
Threshold-Based Distance:

You define a threshold percentage (threshold_percent) to specify what "far" means (e.g., 2%).
The script calculates the absolute distance between:
Close and Open
Close and High
Close and Low
If any of these distances exceed the specified threshold, the condition is triggered.
Visual Markers:

Green markers (triangle up) indicate the close is far from the open.
Red markers (triangle down) indicate the close is far from the high.
Blue markers (triangle down) indicate the close is far from the low.
These markers make it easy to spot significant price movements on the chart.
Customizable Alerts:

If enabled, alerts are triggered when any of the conditions are met.
Alerts are designed to notify you in real time if a candle closes far from the open, high, or low.
版本注释
You define a threshold percentage (threshold_percent) to specify what "far" means (e.g., .5%).
The script calculates the absolute distance between:
Close and Open
Close and High
Close and Low
If any of these distances exceed the specified threshold, the condition is triggered.
Visual Markers:

Green markers (triangle up) indicate the close is far from the open.
Red markers (triangle down) indicate the close is far from the high.
Blue markers (triangle down) indicate the close is far from the low.
These markers make it easy to spot significant price movements on the chart.
Customizable Alerts:

If enabled, alerts are triggered when any of the conditions are met.
Alerts are designed to notify you in real time if a candle closes far from the open, high, or low.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。