Skip to main content

AJDX System for Amibroker (AFL)

kaiji over 16 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    trading system, amibroker, adx

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.

Author Jaco Jonker

Indicator / Formula

Copy & Paste Friendly
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); 

0 comments

Leave Comment

Please login here to leave a comment.