Skip to main content

Troubleshooting

IssueWhat to check
Chart area stays blanklibrary_path must point to the folder URL where TradingView static files are served; container ref must be mounted before new widget(...).
chartWidget is always nullEnsure you call setChartWidget after the widget is created (or inside onChartReady if your integration requires it).
Scanner or theme looks wrongConfirm widgetKey is valid; theme fetch uses api-key: <widgetKey>. Network or auth failures may leave defaults.
CORS / network errors on theme APIIn local dev, browser calls to api.iccandle.ai may be blocked by CORS unless you proxy; the widget should still function with fallback styling-verify in production or behind your proxy.
Date range tool missingEnable the Date Range drawing in drawings_access (see full example) so users can select the bar window the scanner uses.