OPEN-SOURCE SCRIPT
KIMCHI_PREMIUM(UPBIT/COINBASE)

**KIMCHI PREMIUM (UPBIT / COINBASE)**
This indicator measures the Kimchi Premium — the price difference between Bitcoin traded on a Korean exchange (Upbit, KRW pair) and a global USD-based reference (Coinbase BTCUSD), adjusted for the USD/KRW exchange rate.
---
### 🔍 Concept
The Kimchi Premium is calculated as:
[
\text{Kimchi Premium (%)} = \frac{\text{KRW Price} - (\text{USD Price} \times \text{USDKRW})}{\text{USD Price} \times \text{USDKRW}} \times 100
]
* **KRW Price** → Upbit BTC/KRW
* **USD Price** → Coinbase BTC/USD
* **USDKRW** → Exchange rate
This ensures that the comparison is normalized into the same currency (KRW), allowing a clean measurement of relative price deviation.
---
### ✅ What This Indicator Shows
* **Positive values** → Bitcoin is trading at a premium in Korea
* **Negative values** → Bitcoin is cheaper in Korea (reverse premium)
* **Near 0%** → Prices are aligned globally
---
### ⚙️ Why Coinbase BTCUSD?
This script uses **BTCUSD (not BTCUSDT)** to maintain strict currency consistency:
* Eliminates stablecoin-related distortions (e.g., USDT depeg)
* Provides a cleaner, “theoretical” premium based on fiat pricing
---
### ⚠️ Important Notes
* This reflects **relative price deviation**, not arbitrage profitability
* Does **not account for**:
* fees
* transfer constraints
* slippage
* capital controls
* Coinbase may not always reflect the fastest-moving global price (compared to derivatives-heavy exchanges like Binance)
---
### 📊 Practical Interpretation
* Rising premium → strong local demand / capital inflow
* Falling premium → weakening domestic demand or global price catching up
* Divergence between price and premium can signal structural imbalance
---
### 🧠 Suggested Use
This indicator is best used alongside:
* BTCUSD or BTCUSDT price trends
* USDKRW (currency strength)
* Market liquidity / sentiment indicators
---
### 📌 Summary
This script provides a **clean, currency-consistent Kimchi Premium metric**, isolating domestic vs global Bitcoin pricing without stablecoin distortion.
---
This indicator measures the Kimchi Premium — the price difference between Bitcoin traded on a Korean exchange (Upbit, KRW pair) and a global USD-based reference (Coinbase BTCUSD), adjusted for the USD/KRW exchange rate.
---
### 🔍 Concept
The Kimchi Premium is calculated as:
[
\text{Kimchi Premium (%)} = \frac{\text{KRW Price} - (\text{USD Price} \times \text{USDKRW})}{\text{USD Price} \times \text{USDKRW}} \times 100
]
* **KRW Price** → Upbit BTC/KRW
* **USD Price** → Coinbase BTC/USD
* **USDKRW** → Exchange rate
This ensures that the comparison is normalized into the same currency (KRW), allowing a clean measurement of relative price deviation.
---
### ✅ What This Indicator Shows
* **Positive values** → Bitcoin is trading at a premium in Korea
* **Negative values** → Bitcoin is cheaper in Korea (reverse premium)
* **Near 0%** → Prices are aligned globally
---
### ⚙️ Why Coinbase BTCUSD?
This script uses **BTCUSD (not BTCUSDT)** to maintain strict currency consistency:
* Eliminates stablecoin-related distortions (e.g., USDT depeg)
* Provides a cleaner, “theoretical” premium based on fiat pricing
---
### ⚠️ Important Notes
* This reflects **relative price deviation**, not arbitrage profitability
* Does **not account for**:
* fees
* transfer constraints
* slippage
* capital controls
* Coinbase may not always reflect the fastest-moving global price (compared to derivatives-heavy exchanges like Binance)
---
### 📊 Practical Interpretation
* Rising premium → strong local demand / capital inflow
* Falling premium → weakening domestic demand or global price catching up
* Divergence between price and premium can signal structural imbalance
---
### 🧠 Suggested Use
This indicator is best used alongside:
* BTCUSD or BTCUSDT price trends
* USDKRW (currency strength)
* Market liquidity / sentiment indicators
---
### 📌 Summary
This script provides a **clean, currency-consistent Kimchi Premium metric**, isolating domestic vs global Bitcoin pricing without stablecoin distortion.
---
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。