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

Re: Dimitris



PureBytes Links

Trading Reference Links

Manioc,
In AFL reference there is an excellent function

STUDY (AFL 1.5) SYNTAX study( STUDYID, CHARTID = 1 ) 
RETURNS ARRAY 
FUNCTION generates an array equivalent to a trendline study 
drawn by the user - allows detecting trendline breakouts from AFL.

In the Newsletter you must read
AFL Library: Detecting channel breakouts 
Tip of the week: Using studies in your AFL formulas 

Also, in AFL Library, the "Double top detection"
http://www.amibroker.com/library/detail.php?id=19
prepared by Tomasz Janeczko.

I think it is more than enough to begin with.

Dimitris Tsokakis
--- In amibroker@xxxx, lemanioc@xxxx wrote:
> Hi, 
> Dimitris, first, let me tell you that I really appreciate all your 
> contributions to the community.
> Since you seem to be very skilled with AFL, may I suggest you to 
> write some formulas ?
> 
> 1)Detecting Resistance level.
> I think it would be great if we could detect resistance levels.
> For example, with a variable of X days ago, the formula should find 
> at least 3 peak to a same day High value (this value should be the 
> highest reached during the X days period of course). Distance from 
> first peak to last peak should be at least Y days. 
> So this formula is meant to detect significant resistance values on 
> stock candidates.
> 
> 2) Detecting consolidation
> It would be nice to have a formula that would detect horizontal 
> consolidation periode, where price would be fluctuating on a narrow 
> range of lets say 5%(x) price on the last 30(y) days.
> 
> 
> I personally find that breaking out of significant resistance level 
> and significant consolidation period to be the most reliable yet 
> simple way to easy spot significant profit opportunities.
> 
> I would have liked to create those formula myself, and I tried 
> without much results. The fact is that I also don't have much time 
to 
> become really good at AFL for the moment, so this is why I ask to 
an 
> expert like you if you think you could create those formulas that 
> would benefit the entire community.
> 
> Keep up the good work,
> Manioc