Indicator

Macro Event Radar JP FreeMacro Event Radar JP Free is a Japanese-focused economic calendar overlay for FX traders.
Features:
• Automatically imports upcoming economic events from the public Pine Seeds feed maintained by toodegrees (source data: Forex Factory).
• Displays event time in JST, currency, expected impact, event name, countdown and warning state.
• Adds Japanese helper text to major event names.
• Optional vertical event lines, release labels, risk-window background, dynamic alerts and post-release reaction statistics (5/15/30/60 min, MFE/MAE).
• Currency can follow the chart automatically or be selected manually.
• Manual JST schedule input remains available as a fallback.
Data can be delayed, incomplete or changed. Always verify important release times with the official source. This indicator is not financial advice.
Credits:
Data feed and public libraries: toodegrees
Source data: Forex Factory
Japanese UI, JST presentation and reaction-analysis features: a4gete02b
日本語:
FX向けの日本語経済指標カレンダーです。標準設定は「自動」で、公開フィードから予定を取得し、JST時刻・通貨・重要度・指標名・残り時間・警戒状態を表示します。主要指標には日本語補助名を付けます。縦線、発表済みラベル、警戒背景、アラート、発表後5/15/30/60分とMFE/MAEの反応分析を利用できます。
使い方:
1. チャートに追加します。
2. 「予定データ取得」は通常「自動」のまま使用します。
3. 初期設定の「対象通貨=すべて」では全通貨を表示します。チャート関連通貨だけなら「自動」に変更します。
4. 重要指標だけなら「最低重要度=3」にします。
5. PulseWireのアラート作成で本インジケーターを選び、「Any alert() function call」を選ぶと事前通知を受け取れます。
6. 小さい画面では予定表=右上、分析=右下または左下にすると重なりを避けられます。
経済指標データは遅延・欠落・変更の可能性があります。重要な発表時刻は必ず公式情報でも確認してください。 Indicator

Automatic comparison of symbols depending on custom listIn the indicator settings, specify a list of tickers and the corresponding symbol for comparison (e.g. TVC:DXY). Each new list must be on a separate line. The line must begin with the symbol for comparison, then an equal sign (=), and then a list of tickers separated by commas (e.g. OANDA:XAUUSD, OANDA:XAGUSD). If the ticker selected in the chart window is not found in any of the lists, then the symbol from the first list, which is specified before the equal sign, will be used as the symbol for comparison. For example:
TVC:DXY = OANDA:XAUUSD, OANDA:XAGUSD
OANDA:BCOUSD = OANDA:SPX500USD
OANDA:SPX500USD = BINANCE:BTCUSDT
***
Автоматическое сравнение символов в зависимости от настраиваемого списка
В настройках индикатора укажите список тикеров и соответствующий символ для сравнения. Каждый новый список должен быть на отдельной строке. В начале строки должен быть указан символ для сравнения (например, TVC:DXY), затем знак равенства (=) и после него список тикеров, разделенных запятыми (например, OANDA:XAUUSD, OANDA:XAGUSD). Если выбранный в окне графика тикер не будет найден ни в одном из списков, то в качестве символа для сравнения ему будет соответствовать символ из первого списка, который указан перед знаком равенства. Например:
TVC:DXY = OANDA:XAUUSD, OANDA:XAGUSD
OANDA:BCOUSD = OANDA:SPX500USD
OANDA:SPX500USD = BINANCE:BTCUSDT Indicator

Economic Calendar (Import from Spreadsheet)This script draws vertical lines to mark Economic Calendar Events.
Datetime of events is defined by user in Settings via a standardized line of text.
Motivation for coding this script:
All traders should be aware of economic calendar events. At times, when you really need to pay attention to an upcoming major event, you might even decide to use the vertical-line drawing tool to mark it. However, this takes manual effort.
This script provides a solution to performing mundane tasks such as drawing vertical lines and dragging them ever so slightly, just to have them approximately aligned with exact time.
Parameters:
(1) Source data - String representation of collection of datetime referencing to Economic Calendar Events
(2) Line color, & (3) Width of line - For displaying vertical lines drawn by script.
Standardized format for Source Data :
Example:
If 'GMT;2022,6,1,14,0,0;2022,6,2,12,15,0;' is provided to PineScript, then two vertical lines will be drawn on June 6, 2022 according to the exact time in 'YYYY,MM,DD,hh,mm,ss' format at the specified timezone (GMT in this case).
Template for Source Data :
Included here, link below, is a shared Google Sheet that systematically processes Economic Calendar data provided in the 'Raw Data' tab.
drive.google.com
Users are advised to use their preferred methods* to format the string (for source data param.), and apply their own criteria to sort down the Events. (ie. only include Events of High Impact, etc.)
* Preferred methods (as mentioned above) does not mean being limited to using the template as provided in this post. Indicator

Library
