OPEN-SOURCE SCRIPT
CAP - KC/AC 2.20462 Converter

// ───────────────────────────────────────────────────────────────────────────────
// Purpose: Conversion Indicator for ICE “C” (KC) and “C Metric” (AC) Contracts
//
// Background:
// - The Intercontinental Exchange (ICE) is phasing out the legacy Coffee “C” contract (symbol: KC),
// which has been quoted in U.S. cents per pound, and replacing it with the new Coffee “C Metric” contract (symbol: AC),
// quoted in U.S. dollars per metric ton :contentReference[oaicite:0]{index=0}.
// - The final KC futures expire in March 2028; AC contracts begin trading in September 2025 and use modern specifications
// including pricing per metric ton and flexible bulk delivery formats :contentReference[oaicite:1]{index=1}.
//
// Why this script matters:
// - Traders are accustomed to the KC pricing format (¢/lb); the AC contract’s USD/MT may create confusion.
// - This indicator visually converts the current chart price—whether from KC or AC contracts—directly into its equivalent unit,
// helping traders quickly assess parity and compare trends across both contract types.
// - It simplifies head-to-head comparison during this transition period, improving clarity on chart price behavior.
//
// Usage instructions:
// - If the symbol starts with "KC", the script divides the price by 2.20462 to convert from ¢/lb to approximate ¢/kg.
// - If the symbol starts with "AC", the script multiplies the price by 2.20462 to reverse the conversion.
// - The results (converted values) are displayed in a table for immediate visual clarity.
// ───────────────────────────────────────────────────────────────────────────────
// Purpose: Conversion Indicator for ICE “C” (KC) and “C Metric” (AC) Contracts
//
// Background:
// - The Intercontinental Exchange (ICE) is phasing out the legacy Coffee “C” contract (symbol: KC),
// which has been quoted in U.S. cents per pound, and replacing it with the new Coffee “C Metric” contract (symbol: AC),
// quoted in U.S. dollars per metric ton :contentReference[oaicite:0]{index=0}.
// - The final KC futures expire in March 2028; AC contracts begin trading in September 2025 and use modern specifications
// including pricing per metric ton and flexible bulk delivery formats :contentReference[oaicite:1]{index=1}.
//
// Why this script matters:
// - Traders are accustomed to the KC pricing format (¢/lb); the AC contract’s USD/MT may create confusion.
// - This indicator visually converts the current chart price—whether from KC or AC contracts—directly into its equivalent unit,
// helping traders quickly assess parity and compare trends across both contract types.
// - It simplifies head-to-head comparison during this transition period, improving clarity on chart price behavior.
//
// Usage instructions:
// - If the symbol starts with "KC", the script divides the price by 2.20462 to convert from ¢/lb to approximate ¢/kg.
// - If the symbol starts with "AC", the script multiplies the price by 2.20462 to reverse the conversion.
// - The results (converted values) are displayed in a table for immediate visual clarity.
// ───────────────────────────────────────────────────────────────────────────────
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。