Re: [amibroker] 4 weeks candles/backtesting

 

Hello,

You are overthinking this.

"I'm backtesting some strategy using monthly candles "

Just select MONTHLY from "Periodicity" combo. That's all. Monthly interval is built-in.

Best regards,
Tomasz Janeczko
amibroker.com

On 2016-03-28 12:15, Marcin Jagodziński marcin.jagodzinski@gmail.com [amibroker] wrote:
Hello,

I'm backtesting some strategy using monthly candles and I thought that it would be much more convenient for me to use 4 weeks candles. I could prepare orders over weekend, instead at last day of month.

I'm aware of Preferences / Intraday / Custom time intervals, but I cannot use "weeks" there. Of course 4 weeks = 28 days, but when I use 28 days bars, the bars start at some arbitrary day of the week (I suppose it's the day of the week of the first bar).

Is there some easy solution for this?

best regards

--
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 (11)

Check out the automatic photo album with 2 photo(s) from this topic.
first day every 4th week.PNG rolling 4 week bar.PNG

**** IMPORTANT PLEASE READ ****
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