USD Prices for Uniswap Token/WETH

Uniswap instrument prices are in WETH. This indicator translates the series to USD prices and plots the series as candles or as a line. Data is translated by using corresponding series data for ETHUSD. The reference ETHUSD price is from Coinbase.

Any token listed as a ETH/WETH pair could be specified as an input parameter. The default instrument value is set to UNISWAP: DPIWETH, an index created by indexcoop and tracking the DEFI basket.

The script is simple and easy to understand. It allows for quick conversion and comparisons and something we had to do in a custom way prior to this script. The crypto and DEFI community would benefit from it immensely. There is even a feature request for something like this on the tradingview subreddit.


本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。