OPEN-SOURCE SCRIPT
已更新 News

Live Economic Calendar with High/Low Levels
This indicator is based on the news framework by toodegrees. My thanks go to toodegrees for providing the open-source code that serves as the foundation for this extension.
Features:
News High/Low Levels: The indicator marks the high and low points of the candles where news events occur. These levels remains active on the chart until they are breached by price or exceed the defined maximum duration (in days).
Optimized User Interface: The UI is designed to be space-saving (with many settings placed inline) to improve clarity within the indicator settings menu.
Timezone Adjustment: Support for various timezones (e.g., Europe/Berlin) to synchronize event times with your local time.
Design Options: Colors, line styles (Solid, Dashed, Dotted), and text sizes for the news levels can be customized individually.
Filters: News can be filtered by impact (High, Medium, Low) as well as by currency. An automatic mode for the current chart symbol is integrated.
Credits:
The core logic for retrieving economic data is based on the work of toodegrees. This version extends the original by adding visual price levels and a more compact menu navigation.
This indicator is based on the news framework by toodegrees. My thanks go to toodegrees for providing the open-source code that serves as the foundation for this extension.
Features:
News High/Low Levels: The indicator marks the high and low points of the candles where news events occur. These levels remains active on the chart until they are breached by price or exceed the defined maximum duration (in days).
Optimized User Interface: The UI is designed to be space-saving (with many settings placed inline) to improve clarity within the indicator settings menu.
Timezone Adjustment: Support for various timezones (e.g., Europe/Berlin) to synchronize event times with your local time.
Design Options: Colors, line styles (Solid, Dashed, Dotted), and text sizes for the news levels can be customized individually.
Filters: News can be filtered by impact (High, Medium, Low) as well as by currency. An automatic mode for the current chart symbol is integrated.
Credits:
The core logic for retrieving economic data is based on the work of toodegrees. This version extends the original by adding visual price levels and a more compact menu navigation.
發行說明
//Fix: 19.05.2026 Line correction// -----------------------------------------------------------------------------------------------
// Credits & Open Source Collaboration:
// The News section of this indicator is based on the framework by toodegrees.
// My sincere thanks go to toodegrees for providing the excellent open-source code that serves
// as the foundation for this extension. This custom extension expands the original functionality,
// which highlights the news candle using lines and points, by adding horizontal lines that mark
// and track the extreme points (highs and lows) of the news candle directly within the chart area.
//
// Der Indikators basiert auf dem Framework von toodegrees.
// Mein herzlicher Dank geht an toodegrees für die Bereitstellung des hervorragenden Open-Source-Codes,
// der als Grundlage dient. Die ursprüngliche Version markiert die Newskerze
// bereits mit Linien und Punkten. Ich habe diesen Code um zusätzliche horizontale Linien erweitert,
// um die Extrempunkte (Hochs und Tiefs) der Newskerze direkt im aktuellen Chartbereich
// sichtbar zu machen, um sie präzise verfolgen zu können.
// -----------------------------------------------------------------------------------------------
發行說明
Log: Bug Fix (26.05.2026)* Issue: Incorrect barLen calculation via previous bar time difference caused erroneous news line creation on gap candles.
* Fix: Changed barLen to a static calculation based on the current timeframe (timeframe.in_seconds() * 1000).
* Result: Precise line generation strictly limited to the correct news candle.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。