This is read-only version of AFL library entry. Ability to add user formulas
and comment is only available from members-only area.
Details:
Formula name:
Hull Multiple Moving Averages
Author/Uploader:
Terry Dactil - (email hidden)
Date/Time added:
2008-09-19 00:14:28
Origin:
Alan Hull'sActive Investing
Keywords:
Level:
basic
Flags:
indicator
DISCLAIMER: Most formulas present in AFL on-line library are submitted
by the users and are provided here on an "as is" and "as available" basis.
AmiBroker.com
makes no representations or warranties of any kind to the contents or the operation
of material presented here. We do not maintain nor provide technical support
for 3rd party formulas. Description:
The MMAs used in Alan Hull's "Active Investing"
Formula:
// The MMAs used in Hull's Active Investing
// Upper band 3 to 13
TimeFrameSet(inWeekly);
i=3;
while (i < 14)
{
Plot(EMA(C,i),"", colorLightGrey,1|styleNoLabel);
i=i+2;
}
//Lower band 21 to 35
i=21;
while (i < 36)
{
Plot(EMA(C,i),"", colorBlueGrey,1|styleNoLabel);
i=i+2;
}
TimeFrameRestore();