OPEN-SOURCE SCRIPT
Telah dikemas kini Event Marking [zidaniee]

This is not a technical analysis indicator, but a visual tool designed to mark important global events using vertical lines on your chart.
By placing a single marker at the exact time an event occurred, you can compare how different assets reacted to that global event — before, during, and after it happened.
In the example provided, the marking corresponds to the moment when U.S. President Donald Trump announced a 100% tariff on goods from China, which was immediately reflected in market reactions worldwide.
The indicator includes full customization features for:
• Event label text
• Label size and position
• Line color, style, and width
Enjoy
[zidaniee]
By placing a single marker at the exact time an event occurred, you can compare how different assets reacted to that global event — before, during, and after it happened.
In the example provided, the marking corresponds to the moment when U.S. President Donald Trump announced a 100% tariff on goods from China, which was immediately reflected in market reactions worldwide.
The indicator includes full customization features for:
• Event label text
• Label size and position
• Line color, style, and width
Enjoy
[zidaniee]
Nota Keluaran
Color default minor adjustment.Nota Keluaran
Update image view.Nota Keluaran
Update image.Nota Keluaran
This version is a major logic upgrade for stability and reliability compared to previous releases. It now handles future dates, missing candles, and chart reloads gracefully.🎯 What's New
Plots a purple dashed vertical line at a chosen date/time with an optional custom label above or below the candle — works for past, current, or future events.
⚙️ How to Use
Add the indicator to your chart > Click anywhere in the chart > Modification date & note as you wish.
Set:
• Event Date/Time → follows your chart timezone (e.g., Asia/Jakarta).
• Label Text → your custom note.
• Label Position → Above or Below the candle.
• Label Offset (ticks) → distance from candle, based on instrument tick size.
• Toggle Show Line / Show Label as needed.
Nota Keluaran
Minor bugs fixed.. Nota Keluaran
Adding a custom color in setting.Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.