{"id":1119,"date":"2015-02-14T09:22:00","date_gmt":"2015-02-14T14:22:00","guid":{"rendered":"http:\/\/www.amibroker.com\/kb\/?p=1119"},"modified":"2015-02-13T09:23:04","modified_gmt":"2015-02-13T14:23:04","slug":"choosing-first-day-of-the-week-for-weekly-compression","status":"publish","type":"post","link":"https:\/\/www.amibroker.com\/wordpress\/kb\/2015\/02\/14\/choosing-first-day-of-the-week-for-weekly-compression\/","title":{"rendered":"Choosing first day of the week for weekly compression"},"content":{"rendered":"
AmiBroker allows to define, what days to use for weekly compression. By default weekly compression uses Monday-Sunday week (i.e. Monday being the first day of the week), we can change it however to any custom day of the week to match our local calendar.<\/p>
To choose the day to be used as the first day of the week, we need to go to File->Database Settings->Intraday Settings<\/strong> and choose the appropriate day in “First day of week” field.<\/p> <\/p> The above example shows custom-defined week, which starts on Sunday and ends on Saturday (i.e. working Sunday-Thursday week, as in many Middle East countries).<\/p>