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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。