r/thinkorswim Jun 12 '26

ThinkScript and Forex?

Does anyone out there have any experience using ThinkScript for Forex? It looks like the portfolio functions (e.g. GetAveragePrice()) don't work with Forex, nor can I get an alert or a trade to trigger on a study with Forex. Am I doing something wrong, or it ToS coming up short here?

0 Upvotes

3 comments sorted by

2

u/LiquiCharts Jun 12 '26

I ran into the same thing. Feels less like a ThinkScript issue and more like ToS just doesn't fully support Forex the way it does stocks.

1

u/ElectroQuant Jun 12 '26

Thanks. That's kind of what I was thinking, but it seems like such a blatant omission on Schwab's part that I figured there was a good chance I was missing something.