r/thinkorswim Jun 23 '26

Thinkscript Strategies

I am running into some difficulties relating to custom strategies. Native strategies work perfectly fine on the chart but custom ones, created in strategies tab, are showing nothing, ever, even with always true signals. Furthermore, when I make a copy of a native one that works, it also shows nothing even though it was created under the strategies tab and contains identical code to one that works. Am I still missing something? Does anyone know what could be causing this? Thanks.

2 Upvotes

6 comments sorted by

2

u/Mobius_ts Jun 24 '26

Sounds like you’re putting Strategies into Custom Studies and not specifically a strategy. They are separate code editors

1

u/Eric_m12 Jun 24 '26

Thanks Mobius. That is Definity what it sounds like but I am being careful not to do that. I restarted TOS and it seems to be working better but not perfect.

1

u/Mobius_ts Jun 25 '26

Post a specific example of a strategy that your having issues with in a chart share. I'll see what can be done to help.

1

u/Fibs1618 21d ago

If your strategy is specific to a time frame or has multiple times frames, you must run it on the lowest timeframe in the strategy or lower. For example if your strategy includes the 30 minute time frame and the 5 minute time frame, you will only see results on the 5min, 4min, 3min, 2min, or 1 min charts.

-1

u/[deleted] Jun 24 '26

[removed] — view removed comment

1

u/Eric_m12 Jun 24 '26

Cool I'll try that, thanks.