PureBytes Links
Trading Reference Links
|
Hello,
You can plot higher-timeframe MA's easily using
TimeFrame.dll from http://www.amibroker.net/3rdparty.php
(the PDF with description is available there too)
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "rlb21079" <rlb21079@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, May 15, 2003 6:38 AM
Subject: [amibroker] Multiple Timeframe Analysis
> I'd like to apply this to intraday charts, but I think it will be
> easier as an example on daily data.
>
> I'm aiming to plot an indicator (eg: a moving average) using multiple
> sets of data, as determined by the timeframe in which they occur.
>
> For example, plotting a MA(C,20) of the daily close simultaneously
> with a MA(C,20) of the weekly close.
>
> What I have got so far is below, but is wrong for two reasons, (1)
> middle of the week data points are filled with last week's close,
> thus skewing the MA calculation; & (2) the last day of the week is
> not always Friday (DayofWeek()==5). Any thoughts?
>
> MAWC=IIf(DayOfWeek()==5,C,ValueWhen(DayOfWeek()==5,C,1));
> Graph1=MA(MAWC,5);
>
>
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|