Hello,
Trading days unless you use pad non-trading days.
Really EVERYTHING is controllable by means of reference symbol.
Reference symbol can be artificially created, to suit your needs. If you create it
so it includes saturdays and sundays then it would be calendar days.
Reference symbol does not need to be "true". It can be completely synthetic.
Best regards,
Tomasz Janeczko
amibroker.com
Thanks a lot. Number of days is a number of trading days or calendar days?
best
On Tue, Mar 29, 2016 at 10:06 PM, Tomasz Janeczko groups@amibroker.com [amibroker] <amibroker@yahoogroups.com> wrote:
Hello,
Thank you very much for your e-mail.
Simple solution is:
1. make sure you have ONE SYMBOL in the database that has data that covers all your analysis period AND starts ON MONDAY.
2. Setup custom interval of 28 days in preferences
3. Choose 28D interval for your analysis AND enable "Pad and align to reference symbol" option and select the symbol mentioned in (1)
as reference.
Problem solved.
Best regards,
Tomasz Janeczko
amibroker.com
On Tue, Mar 29, 2016 at 9:21 PM, João Flávio Machado Derzi joaoderzi@gmail.com [amibroker] <amibroker@yahoogroups.com> wrote:--
So, you wanna monthly bars but always starting at Monday and ending on Friday?And they would always have 4 weeks?
Roughly yes. I want bars which are closest to monthly, always starting on Monday so they always should have 4 weeks. Using 22 days bars is not a perfect solution: the length is more or less the same as 4 weeks = (in most cases) 22 days of trading, but those candles start at different days for every security.
I have to admit that maybe my problem is an isolated one, but it's an interesting idea for me to do trading only on weekends.
best
Marcin Jagodziński
--
Marcin Jagodziński
Posted by: Tomasz Janeczko <groups@amibroker.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (25) |
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
EmoticonEmoticon