I wish that this was EW analysis. It labels zig-zag but does not contain EW rules for any of the EW approaches (e.g., Prechter, Neely, Miner, etc.) which all somewhat subjective. This is the reason that a specific pattern can produce a variety of counts by different analysts. It is also why alternate counts are almost always given and why various commercial EW software can produce such different results at times. Caveat emptor.
Bill ----- Original Message ----- From: shahariar4 To: [email protected] Sent: Sunday, December 28, 2008 2:11 PM Subject: [amibroker] Re: ELLIOT Wave afl HI! Please the following afl- _SECTION_BEGIN("Patterns Wave"); Change = Param("Wave Period",7,0,100,1); SupResA = Param("Sup-Res A Period",20,0,100,1); SupResB = Param("Sup-Res B Period",25,0,100,1); Res1 = ParamColor("Resistance High", colorRed ); Res2 = ParamColor("Resistance Low", colorDarkRed ); Sup1 = ParamColor("Support High", colorDarkGreen ); Sup2 = ParamColor("Support Low", colorBrightGreen ); procedure PlotShapeAt( x, y, shape, shift ) { PlotShapes( IIf( BarIndex() == x, shape, 0 ), colorWhite, 0, y, shift ); } bi = BarIndex(); sbi = SelectedValue( bi ); GraphXSpace = 2; Plot( Zig( C, Change ), "", colorWhite, styleThick ); upshift = 15; if( SelectedValue( PeakBars( C, Change ) < TroughBars( C, Change ) ) ) { pt1 = PeakBars( C, Change, 1 ) == 0 ; pt2 = TroughBars( C, Change, 1 ) == 0 ; } else { pt1 = TroughBars( C, Change, 1 ) == 0 ; pt2 = PeakBars( C, Change, 1 ) == 0 ; upshift = -upshift; } bpt1 = SelectedValue( ValueWhen( pt1, bi ) ); bpt2 = SelectedValue( ValueWhen( pt2, bi ) ); bpt3 = SelectedValue( ValueWhen( pt1, bi, 2 ) ); bpt4 = SelectedValue( ValueWhen( pt2, bi, 2 ) ); bpt5 = SelectedValue( ValueWhen( pt1, bi, 3 ) ); bpt6 = SelectedValue( ValueWhen( pt2, bi, 3 ) ); PlotShapeAt( bpt1, C, shapeDigit5, upshift ); PlotShapeAt( bpt2, C, shapeDigit4, -upshift ); PlotShapeAt( bpt3, C, shapeDigit3, upshift ); PlotShapeAt( bpt4, C, shapeDigit2, -upshift ); PlotShapeAt( bpt5, C, shapeDigit1, upshift ); Plot( C, "", colorWhite, styleThick + styleCandle); _SECTION_END(); Thanks, Shahariar --- In [email protected], "ryuvaliant" <ryuvali...@...> wrote: > > please help me > does anyone have an afl for elliot wave? > not like elliot wave oscilator or ell wave like zigzag but, more. > like numbering and calculation like PTI, like the one i saw on advance > get > > anyone? > ------------------------------------ **** IMPORTANT **** This group is for the discussion between users only. This is *NOT* technical support channel. ********************* TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com ********************* For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html ********************************* Yahoo! Groups Links ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.1/1867 - Release Date: 12/28/2008 2:23 PM
