[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Relative graphs



PureBytes Links

Trading Reference Links


Hi Thomasz and AMibroker users,
 
Some interesting stuff coming through the group 
mail. Thomasz how do I get a moving stop-loss on the AA AFL. 
 
ADX is one of the most used trend indicators and I 
have looked at the basic AFL Tomasz provided and spend an hour or two to try and 
enhance the short term trading possibilities by using only ADX. This was quite 
successful, but it really can't be used on its own, especially on the Selling 
side.
 
I decided to share this with all of you, but I 
would appreciate some feedback on the success of this system on your markets and 
any enhancements you did which provides better results. My address - <A 
href="">jjonker@xxxx
 
Tomasz, maybe you could also have a look and give 
your input on bettering it.
 
ADX - Short term:
 
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) anddif2/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 > 1; 

 
Regards.
 
Jaco Jonker