RyanMartin

Convert Yuan value symbols to USD

IGNORE PREVIOUS SCRIPT/POST (titled: "yuan normiz")

If you like to look add symbols that are valued in China's Yuan and want to convert them to USD accurately then this is the perfect script for you.

"I'm not sure if this script is for me. Does my setup apply here?"
If either of these resemble your chart setup then this is for you:
Example 1: You have COINBASE:BTCUSD on your main chart often add to compare Bitstamp:btcusd and Okcoin:btccny.
Example 2: You have SPY or SPX (or DJIA etc) as your main chart but like to add other composites to compare like SSE(Shanghai Stock Exchange index) to your main chart.

This takes the symbol of your choice (default is BTCCHINA:BTCCNY) that is expressed in Yuan and divides it by the corresponding value of IDC's USDCNH ticker. Not the last value of USDCNH, but the respective tick mark----BTCCNY's close 3 months ago is divided by USDCNH's close 3 months ago.

Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?