TradingView
Quu
23 mars 2023 13:56

Kimchi Premium watch 

Bitcoin all time history indexINDEX

Description

This indicator provides easy-to-see Kimchi premium information.

It provides three pieces of information.

1. Current premium
2. The highest value of the premium over the last 240 candlesticks in the current timeframe.
3. The highest value of the premium over the last 240 candlesticks in the current timeframe.

I think this script is a very simple indicator.
It is usually recommended to get value in a large time frame.


The basic operation formula is as follows.
premium(percent) = ( BTC KRW - ( BTC USDT x USD KRW ) / ( BTC USDT x USDT USD x USD KRW )) x 100



Thank you.

Notes de version

Add missing percentage text.

Notes de version

add header
change width

Notes de version

- Wording change
- Added variables for the interval to find the maximum and minimum

Notes de version

No longer supports local maximum and local minimum.

If the current ticker is one of the krw, usd, or usdt pairs, offer a premium for that ticker.
- For the krw ticker, prioritize Binance usdt for comparison.
- For usdt and usd tickers, prioritize upbit charts for comparison.
- If the chart is not supported for either pair, the corresponding premium will not be output.
- If a ticker that has stopped trading is in the comparison target, the value may come out strange.

Notes de version

busd supported
bug fix

* It is technically difficult to get the full name by symbol name.
Therefore, exception handling is not possible if the items are different but the front part of the symbol name is the same.

Notes de version

I used binanceus usdt in the calculation, but it looks like there is a problem. If you need it later, you can manage it separately in the input.
Commentaires
BTCKRW
쿠형 고마워~ㅋ
Quu
++ release note at 04/13
In fact, there may be cases where the symbol is the same even though it is a different item, in which case it shows incorrect data.
The above error handling and BUSD support will be done in the next update.
Quu
Sorry for the typos at 3
3. The lowest value of the premium over the last 240 candlesticks in the current timeframe.
Plus