THINKorSWIM – some notes:
1) How to Register: Read this;
2) Import study/strategy – Read this;
a) To view text version code of TOS extension-ed script , just drag the file into Notepad (or right click on file and choose “
EDIT“)
b) To import study, click CTRL+E somewhere on the chart, then click STRATEGIES(or STUDIES) tab, and click IMPORT. after successfully imported, find the script in the alphabetical list.
3) Add/Edit Studies Read this;
When you enter program, click on “Charts” tab (see image below) , then select any SYMBOL, then choose TIMEFRAME (5 minute, or hourly, or etc…). Then click on keyboard CTRL+E (or click “Studies>Edit Studies”).
On the left list (under “STUDIES” tab), click NEW .
p.s. in “Strategies” tab, you can add strategies
the only difference between STRATEGY and STUDY is that in STRATEGY you can execute “trades/orders” (but they are not real orders, but only backtesting orders)…. if you dont want trades,but just indicators, then use “STUDY”.
Name the indicator (for example) AAATEST, then insert the code (copy them from this image). Also, click “OPTIONS” and disable checkboxes. Then click “APPLY” (or OK).
4) change study’s inputs Read this;
5) Difference between: STUDY (for CHART) || STUDY FILTER || STUDY ALERT || CUSTOM COLUMN Read this;
in addition to CHARTS, custom indicators (also called “script” or “study”) can be used in:
– SCAN tab (for this, 2 different tools exist: CUSTOM COLUMN and STUDY FILTER )
– MarketWatch tab ( there is only CUSTOM COLUMN available)
a) with “ADD STUDY FILTER” button ,
you can utilize custom script (or some built-in conditions). that means: show only the SYMBOLS, that meet indicator’s criterias – only those symbols will be listed. (However, it has very limited coding opportunities
i.e. Secondary Timeframe Data is not allowed)
b) with “custom COLUMN” (supports a bit more coding opportunities
),
you just add another column (into the existing list of symbols, and that list may be already filtered by you), and in that column, you can show different WORDS/NUMBERS (coloured) according to your conditions. (the only one lack is, that custom “COLUMNS” can be applied only to max.200-1000 symbols from list.. otherwise, it may give incorrect results due to DATA FEED& calculation problems).
c) STUDY ALERTS are most limited for coding.. it allows simple criterias . i.e. :
alerts when: RSI(10) crosses MovingAverage(15) or etc…
6) (How to) insert script in “CUSTOM COLUMN” Read this;
see the image ->
7) (How to) Hide any PLOT Read this;
TOS has an option to hide the undesired PLOTS/lines from chart.. enter STUDY’s properties, you can easily hide desired PLOTS:
9) (How to) zzdisplay Databox Read this;
There exists another useful option: zzdisplay the Floating data box.
10) (How to) use SCAN “ADD FILTER” Read this;
11) (How to) get MAILS/SMS on alert Read this;
12) Other info Read this;
About this topic
Reason for opening and listing my quick notes and tips how to do this or that, is caused, because in most cases, when coder does first task and sends it to a client, he may not be able to do specific action in TOS, becuase he may not be familiar with ThinkScript and it could be the first steps when he is setting up a script or scanner. So, I’ve made up a quick (however, needs some more work) tips about “how to import script”, “how to setup Study Alert” and such basic things. Just spend 5 minutes and look throught those “How To”s and you will easily remember very useful tips.