I noticed after publishing this that it needed to have an additional tweek to ensure that extrapolations begin exactly where the CMA's leave off in terms of the Y-Axis ( usually price ) ...
I made the change to the version I have and will repost it here or to the library --- In [email protected], "Steve Dugas" <[EMAIL PROTECTED]> wrote: > > Very nice work Fred - looks just like in the books! > I'm not quite there yet but I imagine this will come in very handy in the near future. > Thanks a lot! > > Steve > > ----- Original Message ----- > From: Fred Tonetti > To: [email protected] > Sent: Wednesday, October 11, 2006 8:15 PM > Subject: [amibroker] > > > Here's the Hurst DE AFL I previously mentioned I would post ... > > > > It INCLUDES PolyFit.AFL, which you can get at the AB library, in order to do the extrapolations. > > > > Functionality > > > > - You can plot up to 5 lengths ... This can be increased with the inclusion of one or two statements if desired. > > - Bands at the moment are percentage oriented, but it would be relatively simple to allow them to be based on StDev as well. > > - Always works up to the bar YOU select by creating CMA's ( my version, slightly modified for additional smoothness ) up to n/2 bars ( Where n in the CMA Length ) prior and then extrapolating from that point on. > > - Extrapolation will always be at least to the bar you selected and can be extended beyond that by parameter selection. > > - Band color change ( Dark to Light ) and Down / Up triangles show where CMA's end and Extrapolation begins. > > - The extrapolation portion of any given band can of course change after the fact for any given bar but once a CMA for a particular bar has been calculated it is in essence frozen from that point forward. > > > > There is then NO forward looking of this AFL ... It does however purposely offset arrays so that it can plot beyond the last bar in the chart. > > > > See attached macro & detailed views and afl ... > > <<...>> <<...>> <<...>> > Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html 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: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
