Reference Syntax and Indicator Settings in ThinkorSwim

merryDay

Administrative
Staff member
Staff
VIP
Lifetime
Here is one way to find a Reference Syntax and the accompanying indicator settings:

Detailed Reference Syntax

Step 1:
Type the Indicator Name into the Scanner

bGUU8A8.png


Step 2: Hit save and then click on ThinkScript Editor

zS4djEO.png


And there you have your indicator's syntax and all the available variables.

Step 3: Cut and paste and then change the variables back to their defaults

09mY1yW.png
 
Last edited:
I am learnng about ThinkScript and came across this post
I realized it was out of date and have updated it with instructions
for ThinkOrSwim as of Sept 09, 2025

Here is one way to find Reference Syntax and the accompanying indicator settings:


Detailed Reference Syntax

Step 1: Open the scan tab
Open the dropdown for Study then\
Select Custom

J7lOJ4k.png


Step 2:
Click thinkscript editor
Change the text from what is there to what
Study or Indicator we want the syntax for]
In this case Momentum()

ptpsEUa.png


Step 3:
Click Condition Wizard this will allow us to edit the Indicator

TQEwCjc.png


Step 4:
Then click Edit
This brings up the dialog with the parameters
Set up the parameters as you want them
Then click Save

DNrNRzZ.png



Step 5:
That brings up a dialog with the thinkscript code that you can copy and paste into a script

oMjjjpa.png
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
860 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top