{"id":254,"date":"2018-02-20T20:43:23","date_gmt":"2018-02-20T20:43:23","guid":{"rendered":"https:\/\/puvox.software\/?p=254"},"modified":"2024-02-15T08:32:12","modified_gmt":"2024-02-15T08:32:12","slug":"tos-useful-advices","status":"publish","type":"post","link":"https:\/\/puvox.software\/blog\/tos-useful-advices\/","title":{"rendered":"TOS (thinkorswim) useful advises +"},"content":{"rendered":"<div class=\"default-content-clss content_254 type_post \"><div><img fetchpriority=\"high\" decoding=\"async\" class=\"size-medium wp-image-715 aligncenter\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/td-ameritrade-ThinkOrSwim-300x208.png\" alt=\"\" width=\"300\" height=\"208\" srcset=\"https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2016\/12\/td-ameritrade-ThinkOrSwim-300x208.png 300w, https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2016\/12\/td-ameritrade-ThinkOrSwim-400x278.png 400w, https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2016\/12\/td-ameritrade-ThinkOrSwim-389x270.png 389w, https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2016\/12\/td-ameritrade-ThinkOrSwim.png 488w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/div>\n<div id=\"docs-internal-guid-ec5f172b-be4f-59fd-b84a-76e259d8c41d\" style=\"text-align: center;\"><span style=\"color: red; font-size: 40px;\">THINKorSWIM &#8211; some notes:<\/span><\/div>\n<p><span id=\"1\">1)<\/span> How to Register: <a> Read this<\/a>;<\/p>\n<div id=\"registerr\" style=\"zzdisplay: none;\">Register here (temporary 60 days free account) <a style=\"text-decoration: none;\" href=\"http:\/\/www.tdwaterhouse.ca\/products-services\/investing\/td-direct-investing\/trading-platforms\/us-trading-platforms\/getting-started.jsp\">:<\/a><a href=\"https:\/\/www.thinkorswim.com\/tos\/zzdisplayPage.tos?webpage=paperMoney\">https:\/\/www.thinkorswim.com\/tos\/zzdisplayPage.tos?webpage=paperMoney<\/a> and download the Program from &#8211; <a href=\"https:\/\/mediaserver.thinkorswim.com\/installer\/InstFiles\/thinkorswim_x64_installer.exe\">here<\/a> OR <a href=\"https:\/\/www.thinkorswim.com\/t\/download\/thinkorswim_installer.exe\">here<\/a>After installation(when opening first time), it starts UPDATING (may take 5-10 minutes). After that, appears login area, and insert your USERNAME + PASSWORD (but change to \u201cPaperMoney\u201d instead of \u201cLive\u201d)<br \/>\n<img decoding=\"async\" style=\"transform: rotate(0rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/install-login-think-or-swim-save-password-user.png\" width=\"275\" height=\"251\" \/><\/div>\n<p><span id=\"2\"> 2)<\/span> Import study\/strategy &#8211; <a> Read this<\/a>;<\/p>\n<div id=\"importscripts\" style=\"zzdisplay: none;\">a) To view text version code of TOS extension-ed script , just drag the file into Notepad (or right click on file and choose &#8220;<strong>EDIT<\/strong>&#8220;)<br \/>\nb) 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.<br \/>\n<img decoding=\"async\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/how-to-import-script-strategy-tos.png\" width=\"665\" height=\"212\" \/><\/div>\n<p><span id=\"3\">3)<\/span> Add\/Edit Studies <a> Read this<\/a>;<\/p>\n<div id=\"addstudies\" style=\"zzdisplay: none;\">\n<p>When you enter program, click on \u201cCharts\u201d tab (see image below) , then select any SYMBOL, then choose TIMEFRAME (5 minute, or hourly, or etc&#8230;). \u00a0Then click on keyboard CTRL+E (or click \u201cStudies&gt;Edit Studies\u201d).<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/add-edit-study-strategy.png\" width=\"651\" height=\"228\" \/><\/p>\n<p>On the left list \u00a0(under \u201cSTUDIES\u201d tab), \u00a0click NEW .<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/new-study-1.png\" width=\"201\" height=\"245\" \/><\/p>\n<p><span style=\"color: red; font-style: italic;\">p.s. in \u201cStrategies\u201d tab, you can add strategies<br \/>\nthe only difference between STRATEGY and STUDY is that in STRATEGY you can execute \u201ctrades\/orders\u201d (but they are not real orders, but only backtesting orders)&#8230;. if you dont want trades,but just indicators, then use \u201cSTUDY\u201d.<\/span><\/p>\n<p>Name the indicator (for example) AAATEST, \u00a0then insert the code (copy them from this image). \u00a0Also, click \u201cOPTIONS\u201d and disable checkboxes. \u00a0Then click \u201cAPPLY\u201d (or OK).<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/add-study-2.png\" width=\"665\" height=\"388\" \/><\/p>\n<\/div>\n<p><span id=\"4\">4)<\/span> change study\u2019s inputs <a> Read this<\/a>;<\/p>\n<div id=\"studiyinputs\" style=\"zzdisplay: none;\">if you need (see image below) :<br \/>\n&#8211; to change parameter values, right mouse click on the study name, and \u201cEDIT PROPERTIES\u201d.<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/change-studys-study-input-options-value.png\" width=\"662\" height=\"189\" \/>&#8211; to change source code &#8211; \u201cEDIT SOURCE\u201d.<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/chagne-study-source.png\" width=\"665\" height=\"309\" \/><\/div>\n<p><span id=\"5\">5)<\/span> Difference between: STUDY (for CHART) || STUDY FILTER || STUDY ALERT \u00a0|| \u00a0CUSTOM COLUMN <a> Read this<\/a>;<\/p>\n<div id=\"differencess\" style=\"zzdisplay: none;\">\n<p>in addition to CHARTS, custom indicators (also called \u201cscript\u201d or \u201cstudy\u201d) can be used in:<br \/>\n&#8211; SCAN tab \u00a0(for this, 2 different tools exist: CUSTOM COLUMN and STUDY FILTER )<br \/>\n&#8211; MarketWatch tab ( there is only CUSTOM COLUMN available)<br \/>\na) with &#8220;ADD STUDY FILTER&#8221; button ,<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/add-study-filter-01.png\" width=\"584\" height=\"132\" \/><br \/>\nyou can utilize custom script (or some built-in conditions). that means: show only the SYMBOLS, that meet indicator\u2019s criterias &#8211; only those symbols will be listed. \u00a0(However, it has very limited coding opportunities<br \/>\ni.e. Secondary Timeframe Data \u00a0is not allowed)<br \/>\nb) with &#8220;custom COLUMN&#8221; (supports a bit more coding opportunities<br \/>\n),<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/add-custom-column-tos.png\" width=\"584\" height=\"238\" \/><br \/>\nyou 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. \u00a0(the only one lack is, that custom \u201cCOLUMNS\u201d can be applied only to max.200-1000 symbols from list.. otherwise, it may give incorrect results due to DATA FEED&amp; calculation \u00a0problems).<br \/>\nc) STUDY ALERTS are most limited for coding.. it allows simple criterias . i.e. :<br \/>\nalerts when: \u00a0RSI(10) crosses MovingAverage(15) \u00a0\u00a0or etc&#8230;<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/study-alert-tos.png\" width=\"809\" height=\"312\" \/><\/p>\n<\/div>\n<p><span id=\"6\">6)<\/span> (How to) insert script in &#8220;CUSTOM COLUMN&#8221; <a> Read this<\/a>;<\/p>\n<div id=\"insertcolumn\" style=\"zzdisplay: none;\">see the image -&gt;<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/add-custom-column-script.png\" width=\"662\" height=\"541\" \/><\/div>\n<p><span id=\"7\">7)<\/span> (How to) Hide any PLOT <a> Read this<\/a>;<\/p>\n<div id=\"hideplots\" style=\"zzdisplay: none;\">TOS has an option to hide the undesired PLOTS\/lines from chart.. enter STUDY\u2019s properties, you can easily hide desired PLOTS:<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/hide-show-a-plot-thinkorswim.png\" width=\"662\" height=\"225\" \/><\/div>\n<p><span id=\"9\">9)<\/span> (How to) zzdisplay Databox <a> Read this<\/a>;<\/p>\n<div id=\"zzdisplaydatabox\" style=\"zzdisplay: none;\">There exists another useful option: zzdisplay the Floating data box.<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/zzdisplay-databox.png\" width=\"769\" height=\"547\" \/><\/div>\n<p><span id=\"10\">10)<\/span> (How to) use SCAN \u201cADD FILTER\u201d <a> Read this<\/a>;<\/p>\n<div id=\"addfilter\" style=\"zzdisplay: none;\">1) After importing the study (see paragraph II) then go to SCAN tab and remove all conditions from scan, by clicking X<br \/>\n<img decoding=\"async\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/add-filter2.png\" alt=\"\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"transform: rotate(0rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/add-filter-1.png\" width=\"662\" height=\"99\" \/><br \/>\n3) click ADD STUDY FILTER and choose CUSTOM<br \/>\n<img decoding=\"async\" style=\"transform: rotate(0rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/study-filter-48.png\" \/>\u00a0 <\/p>\n<style>\n.post-body .img {border:2px solid green;}<br \/><\/style>\n<p>4) click DELETE (or select all text and delete) and then ADD CONDITON<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/study-filter-49.png\" width=\"662\" height=\"167\" \/><br \/>\n5) choose STUDY and select the imported INDICATOR(study).<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/study-filter-50.png\" width=\"369\" height=\"185\" \/><br \/>\n6) select the desired values (and choose &#8220;is true&#8221;, \u00a0and &#8220;within&#8221; numbers as much as \u00a0you want&#8230;p.s. &#8220;within&#8221; 1 means that the condition should be happening during last 1 bar(so, on the last bar).. if you choose 5, then it means, that the condition should have happened during last 5 bars (at least,once)&#8230;<br \/>\n<img decoding=\"async\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/study-filter-51.png\" border=\"0\" \/><br \/>\n7) click SAVE and click SCAN..<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"transform: rotate(0rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/study-filter-52.png\" width=\"426\" height=\"137\" \/><\/p>\n<p>Now, you will get the list of symbols, that are \u00a0filtered by your command.<\/p>\n<\/div>\n<p><span id=\"11\">11)<\/span> (How to) get MAILS\/SMS on alert <a> Read this<\/a>;<\/p>\n<div id=\"getsmsmail\" style=\"zzdisplay: none;\">\n<p>if you want to get EMAIL(or SMS) when &#8220;ALERT&#8221; triggers, at first set up alerts:<br \/>\n1) Right click on a chart, and choose:<br \/>\n<img decoding=\"async\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/send-sms-email-alert.png\" border=\"0\" \/><br \/>\nthen<br \/>\n<img decoding=\"async\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/send-sms-email-alert-2.png\" border=\"0\" \/><br \/>\nand choose desired STUDY name, and click OK, (then you can modify some parameters), and click CREATE:<br \/>\n<img decoding=\"async\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/send-sms-email-alert-3.png\" border=\"0\" \/><br \/>\nYour alert is set up now! Now, You can see your all alerts in &#8220;MarketWatch&gt;Alerts&#8221; tab.<\/p>\n<p>(Now, if you havent done this already: go to SETUP&gt;APP SETTINGS&gt;NOTIFICATIONS&gt; there enter you mail and make it confirmed&#8230; after that, you will be mailed when ALERT happens:<br \/>\n<img decoding=\"async\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/send-sms-email-alert-4.jpg\" border=\"0\" \/><\/p>\n<\/div>\n<p><span id=\"12\">12)<\/span> Other info <a> Read this<\/a>;<\/p>\n<div id=\"otherinfo\" style=\"zzdisplay: none;\">\n<p>p.s. If You will need explanations of functions and terminology, Use these two links (or Google):<br \/>\na) <a style=\"text-decoration: none;\" href=\"https:\/\/tlc.thinkorswim.com\/center\/charting\/thinkscript.html\"><br \/>\nhttps:\/\/thinkorswim.com\/thinkscript.html<\/a><br \/>\nb) <a style=\"text-decoration: none;\" href=\"https:\/\/tlc.thinkorswim.com\/center\/charting\/studies.html\">https:\/\/thinkorswim.com\/studies.html<\/a><\/p>\n<p><a style=\"text-decoration: none;\" href=\"http:\/\/japanese-candlesticks.com\/thinkscript-how-to-program-your-own-trading-strategies\/\">http:\/\/japanese-candlesticks.com\/thinkscript-how-to-program-your-own-trading-strategies\/<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);\" src=\"https:\/\/puvox.software\/wp-content\/uploads\/2016\/12\/learn-think-or-swim-td-ameritrade.png\" width=\"665\" height=\"203\" \/><\/p>\n<\/div>\n<div>\n<h1>About this topic<\/h1>\n<p>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&#8217;ve made up a quick (however, needs some more work) tips about &#8220;how to import script&#8221;, &#8220;how to setup Study Alert&#8221; and such basic things. Just spend 5 minutes and look throught those &#8220;How To&#8221;s and you will easily remember very useful tips.<\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<div class=\"default-content-clss excerpt_254 type_post \"><p>THINKorSWIM &#8211; some notes: 1) How to Register: Read this; Register here (temporary 60 days free account) :https:\/\/www.thinkorswim.com\/tos\/zzdisplayPage.tos?webpage=paperMoney and download the Program from &#8211; here OR hereAfter installation(when opening first<a class=\"excerpt-read-more\" href=\"https:\/\/puvox.software\/blog\/tos-useful-advices\/\">(Continue Reading)<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":5549,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[9],"tags":[],"class_list":["post-254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trading-programming"],"_links":{"self":[{"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/posts\/254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/comments?post=254"}],"version-history":[{"count":1,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/posts\/254\/revisions"}],"predecessor-version":[{"id":5550,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/posts\/254\/revisions\/5550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/media\/5549"}],"wp:attachment":[{"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/categories?post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/tags?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}