Skip to main content

Other TradingView products

TradingView provides several charting solutions to display financial data. This page contains brief overview of these products and highlights their differences from Advances Charts / Trading Platform. For detailed information, refer to the Compare libraries page.

Lightweight Charts™

Lightweight Charts™ is a free, open-source client-side library. It is 45 KB in size, which is smaller than a typical image of a chart. The main difference between this library and Advanced Charts is the way they retrieve data:

  • In Advanced Charts, you pass data in response to the library's request.
  • In Lightweight Charts™, you provide data directly to the library without any requests.
info

Neither Advanced Charts nor Lightweight Charts™ contains any market data. You should use data from your own source or third-party providers.

Note that Lightweight Charts™ does not contain any built-in indicators. Therefore, you should implement them on your own if required. Consider the Moving Average implementation example.

If you want to migrate from Lightweight Charts™ to Advanced Charts, consider the following table that contains common methods with similar functionality:

FunctionalityLightweight Charts™Advanced Charts
Create a chartcreateChartSpecify the Widget Constructor.
Add a series of certain styleaddLineSeries or addCandlestickSeriesSpecify any series style using the overrides property of the Widget Constructor.
Get a pixel coordinatetimeToCoordinateAdvanced Charts / Trading Platform does not contain such method. As an alternative, consider using methods from the ITimeScaleApi interface.
Create a price linecreatePriceLinecreateOrderLine or createShape

Widgets

Widgets are free and simple standalone applications that do not require any code implementation. To embed a widget in your website, you just need to copy and paste the provided code. Widgets are hosted on the TradingView servers and display the TradingView data.

Compared to libraries, widgets offer fewer customization options. However, widgets have some additional features, such as Heatmaps and Hotlists, that are not supported in Advanced Charts.

If you like the Advanced Charts library but do not have your own data, consider using the Advanced Chart widget.

info

Note that you cannot connect your data to the widgets.