{"id":304,"date":"2010-10-01T07:42:33","date_gmt":"2010-10-01T14:42:33","guid":{"rendered":"http:\/\/qclsolutions.com\/home\/?p=304"},"modified":"2010-10-01T07:42:33","modified_gmt":"2010-10-01T14:42:33","slug":"activitybars-tradestations-way-for-an-indicator-to-look-inside-bars-historically-and-in-real-time","status":"publish","type":"post","link":"https:\/\/qclsolutions.com\/home\/?p=304","title":{"rendered":"ActivityBars &#8211; TradeStation&#8217;s way for an indicator to look inside bars historically and in real time"},"content":{"rendered":"<p>In real time, TradeStation studies can process data tick-by-tick as bars form. That way one can do things like determine the price at which there was the highest burst of trading\u00a0volume or the price for which\u00a0most trading occurred throughout the time of the bar.<\/p>\n<p>Historically, intrabar details are more limited for TradeStation studies. The way to do it is with ActivityBar studies.<\/p>\n<p>Other ways to look inside bars historically include:<\/p>\n<ol>\n<li>Intrabar order generation for Strategies (by default looks at bars in 4 steps)<\/li>\n<li>Look-inside-bar back-testing for Strategies, which can be set with resolution as fine as tick-by-tick (currently with\u00a0volume keyword limitations and no more than 6-months of history).<\/li>\n<li>Add secondary data streams to a chart, to be the inside-bar data for the data stream of interest. Note that multi-data charts are not currently\u00a0allowed to have a tick data stream. This is the same as with ActivityData which must be of timed-interval bars.<\/li>\n<\/ol>\n<p>So far,\u00a0Strategies can&#8217;t plot. Displaying information gathered by approaches 1 and 2 is more involved than with indicators. And\u00a0all three of the alternative approaches\u00a0require extra setup\u00a0work from the end-user; so the above approaches should only be considered for special cases.<\/p>\n<p>ActivityBar studies are the way to go. The one caveat is that ActivityBar EasyLanguage can be tricky.<\/p>\n<p>Here are two example ActivityBar studies:<\/p>\n<ol>\n<li><a href=\"https:\/\/qclsolutions.com\/home\/wp-content\/uploads\/2010\/10\/HiVolbarInBar2010-10-01_0919.swf\">HiVolbarInBar<\/a> &#8211; Shows the highest volume (ActivityData) bar inside the visible Bar.<\/li>\n<li><a href=\"https:\/\/qclsolutions.com\/home\/wp-content\/uploads\/2010\/10\/HiVolOnBar2010-10-01_0941.swf\">HiVolOnBar<\/a> &#8211; Uses ActivityData to estimate the price of highest trading volume within a Bar.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In real time, TradeStation studies can process data tick-by-tick as bars form. That way one can do things like determine the price at which there was the highest burst of trading\u00a0volume or the price for which\u00a0most trading occurred throughout the time of the bar. Historically, intrabar details are more limited for TradeStation studies. The way [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/304"}],"collection":[{"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=304"}],"version-history":[{"count":10,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/304\/revisions"}],"predecessor-version":[{"id":316,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/304\/revisions\/316"}],"wp:attachment":[{"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qclsolutions.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}