PureBytes Links
Trading Reference Links
|
it will be 3 weekly
then after you apply
*TimeFrameRestore();*
You will get a compressed plot of the weekly MA. This will show at the end
of the chart at 1 bar per week overlaid on the daily X axis
You will not be able to see the dates that apply for the weekly
Using the expan functions then stretches out the values of the weekly to
apply them to the applicable daily days (Mon-Sun)
You will see a step type plot with the weekly value showing the same for
each day of that week
You can nsee how to do this in the help examples
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 22/11/06, foginthehills <andrewdelin@xxxxxxxxxxx> wrote:
>
> Hi there,
>
> Can someone please confirm this for me?
>
> I read about Timeframeset in the AFL help, but it's still not clear to
> me.
>
> I have seen this code in an AFL explore script:
>
> TimeFrameSet(inWeekly);
> myMA = MA(Close, 3);
>
> .... so is myMA a 3 day or a 3 week moving average?
>
> And what does the Expand function really do with the array - does it
> add more elements? How are these calculated? (Likewise Compress?)
>
> Many thanks for any help. Trying to understand AFL better.
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.13/546 - Release Date: 11/22/2006
|