We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Value is null when using createPositionLine in TradingView Widget
Description: The following code throws an error:
Error: Value is null.
window.tvWidget.onChartReady(() => { window.tvWidget .activeChart() .createPositionLine(); });
However, adding a delay resolves the issue:
window.tvWidget.onChartReady(() => { setTimeout(() => { window.tvWidget .activeChart() .createPositionLine(); }, 500); });
Expected Behavior: createPositionLine should work without needing a delay
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error: Value is null when using createPositionLine in TradingView Widget
Description:
The following code throws an error:
Error: Value is null.
However, adding a delay resolves the issue:
Expected Behavior:
createPositionLine should work without needing a delay
The text was updated successfully, but these errors were encountered: