Hi Keys and sorry for the late reply. For some reason I’m not getting notified of updates on this thread. Need to check my settings on the forum…

Perhaps I didn’t explain my usage of Tradingview Alerts in Obsidian very well. This is how it works: I have most of my Tradingview alerts set to go off at the close (a few are set to go off every minute, but not many). At the close, I will just manually add the EOD alerts I get from TradingView to a note that is a link called Alerts. And in my Daily Trading Note Template, there is a block reference to the Alerts link. You could also just use a link instead of a block reference, but I like the block reference better.

Here’s an example of the Alerts link, showing all the alerts for last week. This is just a note with the title “Alerts”.

date:  2021-08-30
tags: #MarketComments #StockComments #Trades #Entry #Setup #Screen #PnL #Review 
links:[[Portfolio]] [[WatchList]] [[Accounts]] [[RRSPs]] [[ALL]]:
---

---
- 2021-09-03:  **#TSLA** (hi rvol), **#NTLA**, **#OWL**, **#DOCU**, **#SI**, **#CELH**, **#NTNX**

- 2021-09-02:  **#OPEN**, **#ALGN**, **#HSIC**, **#DOCS**, **#VIR** (inside day)

- 2021-09-01:  **#ROKU**, **#NTLA**, **#ALGN**, **#NFLX**

- 2021-08-31:  **#DXCM** (put in an after hours order on this clean breakout), **#TTD**, **#DOCS**, **#FISV** (ANTS retrace entry), **#DOCN** (watch for re-entry), **#SNAP**.  Keep an eye on **#TSP** and **#OWL** also.

- 2021-08-30:   **#TSLA**, **#FISV** (good retrace setup), **#ZI**, **#CELH**, **#U**, **#ROKU**, **#WSM**, **#FATE** (watch this one for early entry), **#DOCU** (on verge of b/o).

And then here is the section of the Daily Trading Note showing the Alerts

---
- EOD #Alerts 
	- ![[Alerts]]
---

So when I turn on my PC, Obsidian starts up with my Daily Trading Note already open, and I can scroll to the Alerts section and see this:

Hope this is helpful.

Hey @MiracleXYZ

I can’t get this code snippet to work for some reason on my end. It just shows up blank. I have DV inline enabled and added the symbol to YAML and iframe, but not rendering in preview mode.

Any tips on getting this to work? Using live preview but also didn’t work in Legacy either unfortunately.

Didn’t see this until now @chart_analyst → Thanks for the walkthrough! Incredibly useful tips here

1 Like

Hi @Keys, MiracleXYZ’s code wasn’t working for me either when I first copy pasted it from here. I ended up deleting and rewriting the YAML by hand, then copy-pasting the iframe link underneath. This fixed it for me.

Could you explain how you obtain the code for those iframes? I cant seem to find a good explanation on tradingview’s website. Cheers!

Hi lv3llios,

Would love to, but it has been months since I looked at this, and I flat out can’t recall. I can tell you that the stock TradingView code snippets do not work in Obsidian. I exchanged multiple emails with their developers, and we eventually came up with something that worked. I did find some info on this by searching the web, and between that and working with Tradingview I was able to get it to work.

Fair enough, thank you anyway! I am sure ill be able to figure something out!

I did a quick search and found the youtube video that got me started. Should help some.

OK, my memory has been jogged - after watching that video link above and not succeeding initially, I did the obvious - ask for help here on this forum. This was the key to getting Tradingview widgets to work. Here’s the link:

You absolute legend, cheers for that!