OPEN-SOURCE SCRIPT
Gold Thai Compass

Gold Thai Compass Indicator
- Calculates Thai Gold Price (96.5%) by converting XAU/USD with the USD/THB exchange rate in real time
- Displays the calculated gold_price_thb directly on the chart with a clean right-aligned label for easy price reading
- Includes customizable reference lines — add, remove, rename, recolor, and adjust each line independently
- Supports multiple editable lines (e.g., 4 levels) with price labels displayed beside each line
- Provides user-friendly input settings (e.g., custom price sources, spread/adjustment options)
- Updates dynamically with live market data — suitable for trading, analysis, and Thai gold price tracking
- Designed for TradingView (Pine Script) and optimized for clarity and usability
- Optional visibility controls to show/hide labels and reference lines for a cleaner chart layout
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。