Last active
November 3, 2025 11:42
-
-
Save erysaj/ee1b40e8b8e34ca74a0bb30ddae35009 to your computer and use it in GitHub Desktop.
Embed TradingView chart widget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| html, body { | |
| height: 100%; | |
| width: 100%; | |
| } | |
| </style> | |
| <title>Chart Demo</title> | |
| </head> | |
| <body> | |
| <!-- TradingView Widget BEGIN --> | |
| <script type="text/javascript" src="https://s3.tradingview.com/tv.js"></script> | |
| <script type="text/javascript"> | |
| new TradingView.widget({ | |
| "autosize": true, | |
| "symbol": "BITSTAMP:BTCUSD", | |
| "interval": "D", | |
| "timezone": "Etc/UTC", | |
| "theme": "Light", | |
| "style": "1", | |
| "locale": "en", | |
| "toolbar_bg": "#f1f3f6", | |
| "enable_publishing": false, | |
| "allow_symbol_change": true, | |
| "hideideas": true | |
| }); | |
| </script> | |
| <!-- TradingView Widget END --> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can't customize panel and toolbar with this one