{"id":2691,"date":"2018-09-20T09:25:01","date_gmt":"2018-09-20T09:25:01","guid":{"rendered":"https:\/\/puvox.software\/blog\/?p=2691"},"modified":"2024-02-15T08:14:24","modified_gmt":"2024-02-15T08:14:24","slug":"ticks-amount-or-upticks-downticks","status":"publish","type":"post","link":"https:\/\/puvox.software\/blog\/ticks-amount-or-upticks-downticks\/","title":{"rendered":"Ticks (amount) or UpTicks\/DownTicks indicator ( ThinkOrSwim )"},"content":{"rendered":"<div class=\"default-content-clss content_2691 type_post \"><p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-2693 size-full\" src=\"https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2018\/09\/uptick-downtick.png\" alt=\"\" width=\"609\" height=\"353\" srcset=\"https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2018\/09\/uptick-downtick.png 609w, https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2018\/09\/uptick-downtick-300x174.png 300w, https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2018\/09\/uptick-downtick-400x232.png 400w\" sizes=\"(max-width: 609px) 100vw, 609px\" \/><\/p>\n<h1 style=\"text-align: center;\">Ticks &amp; UpTicks\/DownTicks indicator (ThinkScript)<\/h1>\n<p>Here is a think-script for <a href=\"https:\/\/www.thinkorswim.com\/\"><span style=\"color: #333333;\">ThinkOrSwim<\/span><\/a>, that does 2 different things, according to what you choose in the option:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-2694\" src=\"https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2018\/09\/ticks-or-up-down-ticks-300x74.png\" alt=\"\" width=\"300\" height=\"74\" srcset=\"https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2018\/09\/ticks-or-up-down-ticks-300x74.png 300w, https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2018\/09\/ticks-or-up-down-ticks.png 385w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li>Show <strong>Ticks<\/strong> (whole amount) per baror<\/li>\n<li>Show <strong>UpTick<\/strong> &amp; <strong>DownTick<\/strong> amount per bar.<\/li>\n<\/ul>\n<h1 style=\"text-align: center;\">Calculation of UpTicks\/DownTicks<\/h1>\n<p>Note, TICKS data (whole ticks per bar) is available with TOS scripting, however, if choose <strong>up&amp;down<\/strong> ticks, then (unlike in other sophisticated platforms, where the UPTICKS\/DOWNTICKS data are natively accessed through scripting), in TOS it&#8217;s not yet available. So, i.e. if on the bar there was 25 ticks (in whole) the UpTicks\/DonwTicks calculation is made depending on bar trajectory, and it might show up like:\u00a0 <strong><code>17\/8<\/code>\u00a0<\/strong>\u00a0 or\u00a0\u00a0<code><strong>15\/10<\/strong><\/code>\u00a0(or whatever is an <strong>approximate estimation<\/strong>\u00a0from whole 25 ticks, depending on bar movement).\u00a0 Who is well-versed, can see the code how it&#8217;s calculated. So, to conclude, if you want 100% exact Up&amp;Down ticks data, then\u00a0it&#8217;s not possible (as I said) with ThinkOrSwim scripting yet (2019).<\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: center;\">Download<\/h2>\n<p>Download and import <strong><a href=\"https:\/\/puvox.software\/blog\/wp-content\/uploads\/sites\/2\/2018\/09\/Ticks_amount_OR_UpDown_v1___STUDY.ts\">Ticks\/Up&amp;Down indicator<\/a><\/strong>\u00a0into your platform.<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<div class=\"default-content-clss excerpt_2691 type_post \"><p>Ticks &amp; UpTicks\/DownTicks indicator (ThinkScript) Here is a think-script for ThinkOrSwim, that does 2 different things, according to what you choose in the option: Show Ticks (whole amount) per baror<a class=\"excerpt-read-more\" href=\"https:\/\/puvox.software\/blog\/ticks-amount-or-upticks-downticks\/\">(Continue Reading)<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":5539,"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-2691","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\/2691","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=2691"}],"version-history":[{"count":1,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/posts\/2691\/revisions"}],"predecessor-version":[{"id":5540,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/posts\/2691\/revisions\/5540"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/media\/5539"}],"wp:attachment":[{"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/media?parent=2691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/categories?post=2691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/puvox.software\/blog\/wp-json\/wp\/v2\/tags?post=2691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}