# Scripts in posts?

**URL:** https://meta.discourse.org/t/scripts-in-posts/361009
**Category:** Support
**Created:** [April 9, 2025, 6:39am UTC](https://meta.discourse.org/t/scripts-in-posts/361009 "2025-04-09T06:39:17Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [April 11, 2025, 8:57pm UTC](https://meta.discourse.org/t/scripts-in-posts/361009/18 "2025-04-11T20:57:03Z")

</div>

Looking at the script, you can’t run it globally. It requires loading on place with options.

I made a simple TC: [GitHub - Arkshine/discourse-tradingview-chart · GitHub](https://github.com/Arkshine/discourse-tradingview-chart)

To make it easy to change the options, you can copy and paste them from the site directly inside the `[wrap]..[/wrap]`.

By default, it forces the aspect-ratio to be 16/9, it will take all the width space, and the height is automatic. The script allows specifying a width/height, it will work as well.

I would suggest using `show_popup_button: true` option. It will provide you with a way to view the chart in fullscreen in a new window.

![image](https://global.discourse-cdn.com/meta/original/4X/5/d/d/5ddbbb7e1d8b52c19ead85a84a5dd263b75ebe2a.png)

I added two options:

 ![The image shows a Truderview configuration interface with options for default chart settings and allowed groups, set to "light," "NASDAQ:AAPL," daily intervals, UTC time, and autism status. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/d/4/d/d4da451b0c61ff460bdfcafce792fb6572a23246.png)

---

_[View the full topic](https://meta.discourse.org/t/scripts-in-posts/361009)._
