Welcome Features News Download Registration Support FAQ Wish list Links
Advanced stock charting and analysis program

AFL Library

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: AC+ acceleration
Author/Uploader: Steve Wiser - slwiserr [at] erols.com
Date/Time added: 2001-07-05 19:08:13
Origin:
Keywords:
Level: semi-advanced
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:

Supports William's Alligator Trend Following system

Formula:

/* Exploration, System and Indicator */
    Author: Steve Wiser
   Email address: slwiserr@erols.com
   May 5, 2001 */

outsidebar = outside();
insidebar = H <= Ref(H,-1) and L >= Ref(L,-1);
upbar = H > ref(H,-1) and L >= ref(L, -1);
downbar = L < ref(L,-1) and H <= ref(H,-1);
barcolor=iif(outsidebar, 1, 
               iif(downbar,   4, 
               iif(upbar,        5, 
               iif(insidebar,6, 0 ) ) ) );

var1=ma( A , 34);
var2=ma( A,5);
var3=var2-var1;
var4=var3-ma(var3,5);
Graph0=var4;
graph0style=2+4;
Graph1=wilders(var4,5);
Graph1Style=5;
Graph0Barcolor=Barcolor;

Comments:

Steve Wiser
slwiser [at] comcast.net
2003-08-16 13:50:58
Change the "A" to Avg since Tomasz the average price is no longer known as "A" but Avg.
Chris

2009-04-11 06:31:38
Don\\\'t forget to delete the */ at the end of the first line comment, before using this indicator.


About | Privacy | Terms of Use | Contact information
Copyright © 2001 AMIBROKER.COM