{"id":278,"date":"2014-09-19T05:16:41","date_gmt":"2014-09-19T10:16:41","guid":{"rendered":"http:\/\/www.amibroker.com\/kb\/?p=278"},"modified":"2014-12-04T04:57:47","modified_gmt":"2014-12-04T09:57:47","slug":"how-to-display-range-bars","status":"publish","type":"post","link":"https:\/\/www.amibroker.com\/wordpress\/kb\/2014\/09\/19\/how-to-display-range-bars\/","title":{"rendered":"How to display Range Bars"},"content":{"rendered":"

The Range Bars are price-driven bars, with each bar having a required minimum high-low range. Source data are consolidated into one bar until the range requirement is reached, then a new bar is started.<\/p>

AmiBroker fully supports range-bar type of charting and the bar size is based on the TickSize<\/strong> of given symbol. This allows to define symbol-specific tick sizes individually, them display a chart which for example shows 10R bars (meaning bars using a range of 10-ticks for each symbol respectively).<\/p>

To display range charts, first you need to specify the TickSize<\/strong> in the Symbol–>Information<\/strong> window. <\/p>

\"Information<\/p>

This can be done manually as shown above, however in case of larger group of symbols it is also possible to use ASCII Importer<\/strong> for this purpose (more details about ASCII imports can be found here: http:\/\/www.amibroker.com\/guide\/d_ascii.html<\/a>).<\/p>

Once TickSize<\/strong> has been defined, then in order to display chosen range chart, the easiest way is to use Interval<\/strong> box in the toolbar and just type-in the desired bar size. For example, to select the range bar of 10-ticks, one can type-in 10R in the toolbar:<\/p>

\"Range<\/p>

Custom range intervals can also be defined in Tools–>Preferences<\/strong>, Intraday<\/strong> tab:<\/p>

\"Preferences<\/p>

Then the pre-defined interval can be selected from View->Intraday<\/strong> menu.<\/p>

It is worth noting that for best results, your database should use Tick<\/strong> as Base Time Interval<\/strong>, as then each trade is represented by an individual record in the database and can be consistently compressed to range bars. Using higher-interval data (such as 1-minute) may produce bars that are not perfect, especially if 1-minute bar high-low difference is comparable with selected range.<\/p>","protected":false},"excerpt":{"rendered":"

The Range Bars are price-driven bars, with each bar having a required minimum high-low range. Source data are consolidated into one bar until the range requirement is reached, then a new bar is started.AmiBroker fully supports range-bar type of charting and the bar size is based on the TickSize of given symbol. This allows to […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[55,24],"_links":{"self":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/278"}],"collection":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":1,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":812,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/278\/revisions\/812"}],"wp:attachment":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}