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

[amibroker] Writing a fib cluster indicator


  • Date: Fri, 18 Dec 2009 22:44:53 -0000
  • From: "kevinoversby" <kevinoversby@xxxxxxxxx>
  • Subject: [amibroker] Writing a fib cluster indicator

PureBytes Links

Trading Reference Links

I have not found an AFL implementation of this so decided to develop my own.  I'm doing it here as there are a couple of coding issues I'm unsure of.  Constructive comments and tips most welcome.

Process:

1) Find i last higher peaks and j last lower troughs
2) For each peak/trough pair, calculate fib levels and add to array
3) Sort array
4) Discard a level if distance to next level > tolerance
5) Plot remaining levels, preferably at left or right edge like volume at price (VAP) to simplify chart.

(A thought just occurred that this would also be a useful exercise with VAP levels - investigate later).


Kevin



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/