elliptic-capital

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.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?