Skip to main content

Frequently Asked Questions

If your question is not outlined below, you can ask it on GitHub Issues 🔐 (access is restricted).

What is the difference between Widgets, Advanced Charts, and Trading Platform?

  • Widgets are connected to the TradingView data. Perfect for websites, blogs, and forums where you need a fast & free solution. Integration is simply copying & pasting pre-made iframe code. Widgets have lots of display modes.

  • Advanced Charts is a chart with your data. This is a standalone solution that you download, host on your servers, and connect your data to. You can use it in your site/app for free.

  • Trading Platform is a standalone product that is licensed to brokers. It contains all features available in Advanced Charts and also includes trading functionality, multiple-chart layouts, watchlists, details, news widgets, and other advanced tools. Trading Platform has its own licensing fees associated with it.

Why Advanced Charts / Trading Platform differs from tradingview.com?

Some features and parts of the UI in the libraries may differ from those on tradingview.com. Since Advanced Charts and Trading Platform are client-side solutions, they do not support features that rely on server-side logic. Refer to the Unsupported features section for more information.

Also, the libraries and the website are updated at different frequency, therefore, new features on tradingview.com may not be available in the libraries.

How to switch from Advanced Charts to Trading Platform?

Refer to the How to migrate from Advanced Charts topic for more information.

How to connect data and add new symbols?

Refer to the following articles for information on how to connect data:

Also, consider the Datafeed: common issues article to avoid typical errors when implementing the Datafeed API.

Use the Demo Chart to investigate how the library processes data. Open the Network tab in a browser console and filter requests by demo-feed to see all data requests and responses.

Why is my data missing or displayed incorrectly?

Most data-related issues are caused by incorrect Symbology configuration or misaligned timestamps. Enable debug mode to see exactly how the library processes your data and refer to the Datafeed: common issues guide for a troubleshooting checklist.

How to specify time properties within the library?

All time properties should be Unix timestamps in seconds unless otherwise stated. For example, the code sample below specifies boundary values of a time range.

const from = Date.now() / 1000 - 500 * 24 * 3600; // 500 days ago
const to = Date.now() / 1000;

Can I use Pine Script® for creating and editing indicators?

Pine Script® is not supported in Advanced Charts or Trading Platform. Alternatively, you can create your custom indicator using JavaScript. For more information, refer to Custom indicators.

Does TradingView have access to any user data through the integration?

No, TradingView does not collect any user data. Advanced Charts and Trading Platform are self-hosted solutions that run independently on your servers, ensuring there is no interaction with TradingView on user data.

Does the library set cookies?

The library does not set any cookies.

If necessary, you can add your own cookies via server responses and restrict access to specific files, pages, or content based on the cookies set in the user's request.

Unsupported features

Neither Advanced Charts nor Trading Platform provides full functionality of the charts on tradingview.com. Since Advanced Charts and Trading Platform are client-side solutions, they do not support the client-server features listed below.

  • Scripting & logic: Pine Script®, Alerts, Strategy Tester, Bar Replay.
  • Widgets: Screener, Technicals (Details widget), Hotlists, Calendars, Heatmap.
  • Data & charting: TradingView data, Range Bars, Chart Patterns.
  • Social: Chats.