PROTECTED SOURCE SCRIPT

Korea Premium (Upbit&Binance) by LastMoney



Thought about publishing description을 몇 초 동안
Crafting the indicator

I’m tasked with creating a detailed indicator for TradingView, highlighting its features like comparing Upbit and Binance prices, and including selection checkboxes and table display adjustments in both Korean and English.

다음은 이 지표를 TradingView에 퍼블리시할 때 사용할 수 있는 한글 및 영어 설명문입니다. 필요에 따라 내용을 수정하여 사용하세요.

한글 설명

지표명: Korea Premium Custom (Checkbox & Color)

개요:
이 지표는 국내 대표 암호화폐 거래소인 업비트의 가격과 해외 대표 거래소인 바이낸스의 가격을 비교하여 “김치프리미엄(한국 프리미엄)”을 계산해줍니다. 선택한 코인들의 업비트와 바이낸스(USD 가격에 USD/KRW 환율 적용) 가격을 실시간으로 불러와, 두 가격 간의 프리미엄을 백분율(%)로 나타냅니다.

주요 기능:

코인 선택 기능: 체크박스를 통해 BTC, ETH, XRP, ADA, DOGE, SOL, TRX, DOT 등 원하는 코인들을 선택하여 표시할 수 있습니다.
가격 표시: 업비트와 바이낸스의 가격을 원화 기준으로 불러오며, 천 단위 구분자(콤마)를 사용해 가독성을 높였습니다.
프리미엄 계산: 업비트 가격과 바이낸스 가격 차이를 백분율로 계산하여 “김프” 값을 제공합니다.
사용자 정의 색상: 배경, 셀 텍스트, 타이틀, 테두리 색상을 사용자가 원하는 색상으로 설정할 수 있습니다.
크기 축소 옵션: 체크박스로 5%, 10%, 15%, 20% 축소 옵션을 선택하여 테이블의 텍스트 크기를 조정할 수 있습니다.
알림 기능: 설정한 프리미엄 임계값을 초과할 경우 알림 조건이 활성화되어, 트레이딩뷰의 Alert 기능을 통해 사용자에게 경고를 제공합니다.
사용 방법:

차트에 지표를 추가한 후, 입력창에서 원하는 코인을 체크박스로 선택합니다.
필요에 따라 “Show Price”, “Simple Mode”, “한국어” 및 “Future (바이낸스 선물)” 옵션을 조정합니다.
사용자 정의 색상 옵션에서 표의 배경, 텍스트, 타이틀, 테두리 색상을 선택할 수 있습니다.
크기 축소 옵션에서 5%, 10%, 15%, 20% 중 하나를 선택하여 표의 텍스트 크기를 조정할 수 있습니다.
프리미엄 임계값을 설정하면, 선택한 코인 중 하나라도 해당 임계값을 초과할 때 트레이딩뷰의 Alert 시스템을 통해 알림을 받을 수 있습니다.
참고:

이 지표는 TradingView에서 제공하는 데이터(업비트 및 바이낸스)를 기반으로 합니다.
퍼블리쉬 시 설명에 데이터 출처 및 사용 조건을 명시해주시기 바랍니다.


English Description

Indicator Name: Korea Premium Custom (Checkbox & Color)

Overview:
This indicator compares cryptocurrency prices between Korea’s leading exchange (Upbit) and a major international exchange (Binance) to calculate the “Korea Premium” (also known as “Kimchi Premium”). It fetches real-time prices for selected coins from Upbit (in KRW) and Binance (USD prices converted to KRW using the USD/KRW exchange rate), then displays the premium as a percentage.

Key Features:

Coin Selection: Choose the coins you want to display (BTC, ETH, XRP, ADA, DOGE, SOL, TRX, DOT) using checkboxes.
Price Display: Prices from Upbit and Binance are shown in Korean Won with thousand separators to enhance readability.
Premium Calculation: The indicator computes the premium as the percentage difference between the Upbit and Binance prices.
Customizable Colors: Users can set their preferred colors for the background, cell text, title, and border.
Size Scaling Options: Four size reduction options (5%, 10%, 15%, 20%) are available as checkboxes, which adjust the table’s text size accordingly.
Alert Functionality: An alert condition is provided; if the premium for any selected coin exceeds the specified threshold, an alert is triggered through TradingView’s alert system.
How to Use:

Add the indicator to your chart and select the desired coins via the checkboxes.
Adjust the options such as “Show Price”, “Simple Mode”, “Korean”, and “Future (Binance Futures)” as needed.
Customize the table’s appearance by choosing your preferred colors for background, text, title, and border.
Use the size scaling options (5%, 10%, 15%, or 20%) to adjust the text size in the table.
Set the premium threshold; if any coin’s premium exceeds this value, an alert will be triggered using TradingView’s Alert system.
Note:

This indicator is based on data provided by TradingView from Upbit and Binance.
When publishing, please include data source information and any usage disclaimers as needed.

Pernyataan Penyangkalan