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:
AJDX system
Author/Uploader:
Jaco Jonker - jjonker [at] shisas.com
Date/Time added:
2001-06-18 05:06:17
Origin:
Wellis Wilder
Keywords:
ADX, trend, system
Level:
basic
Flags:
system
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:
This is a trading system based on the ADX line and should only be used as a basic exploration to determine the direction of a trend. The Buy indicator is of most value and changes to fixed variables can be done to fit different markets.
Formula:
/* Commentary Name :ADX (English)
** Requirements : AmiBroker 3.0 + (AFL 1.1)
** Version : 0.03
** Version Date :September 20, 2000
** Author Jaco Jonker
*/
ct = 100;
resa = pdi(14)/mdi(14);
maxp = hhv(pdi(14),ct);
minp = llv(pdi(14),ct);
maxm = hhv(mdi(14),ct);
minm = llv(pdi(14),ct);
area1 = maxp - minm;
area2 = maxm - minp;
dif1 = pdi(14) - mdi(14);
dif2 = mdi(14) - pdi(14);
buy = dif2 < ref(dif2,-1)
and dif2/area2 > 0.75
and ref(close,-ct) > 1
and (sum(V,5)/5) > 100000
and close > 10;
sell = dif1 < ref(dif1,-1)
and dif1/area1 > 0
or low < (highestsince(buy,high,1)*0.95);