Hi, You can find the afl source and an explanation for the subscript range error here ...
http://amibrokerfan.com/index.php?option=com_smf&Itemid=28&topic=405.0 Mac J --- In [email protected], "Donald F Lindberg" <[EMAIL PROTECTED]> wrote: > > Ton, > I am using Quotes Plus EOD data. I do get the error message, but if I move > my mouse scroll wheel just 1 bar back, then the indicator works. (Not sure > why) I have attached my copy of the AFL with the changes you suggested, and > just a couple of color changes of my own. As I said earlier the indicator is > showing all the Bearish waves, but none of the Bullish. It would be great if > you can figure out what's wrong. > > Donald F Lindberg > > > _____ > > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf > Of Ton Sieverding > Sent: Tuesday, May 20, 2008 2:28 AM > To: [email protected] > Subject: Re: [amibroker] Re: Wolf Wave. > > > > > > Oops ... That's not what I got Donald. Did you check in the Param if all > 'No' are 'Yes' ? > > > > If so and if you're not getting underneath mentioned subscript out of range > error, please send me you version of the AFL. Also please tell me what > financial times series you are using to test the AFL. EOD prices ? > > Regards, Ton. > > > ----- Original Message ----- > From: Donald F <mailto:[EMAIL PROTECTED]> Lindberg > To: [EMAIL PROTECTED] <mailto:[email protected]> ps.com > Sent: Monday, May 19, 2008 5:55 PM > Subject: RE: [amibroker] Re: Wolf Wave. > > > > > Tom. > I made the changes you suggested, and program seems to work, however it is > only plotting the Bearish waves, never the Bullish. Any ideas? > > Thanks > Donald F Lindberg > > > _____ > > From: [EMAIL PROTECTED] <mailto:[email protected]> ps.com > [mailto:[EMAIL PROTECTED] On Behalf Of Ton Sieverding > Sent: Monday, May 19, 2008 12:05 AM > To: [EMAIL PROTECTED] <mailto:[email protected]> ps.com > Subject: Re: [amibroker] Re: Wolf Wave. > > > > > > Thanks. I do not believe that this code will work. Check the follwing lines > : > > // Only interested in the visible bars > lastbar = Status("lastvisible barindex" ) - 3; > startBar = Status("firstvisibl ebarindex" ); > > This should be : > > // Only interested in the visible bars > lastbar = Status("lastvisiblebarindex" ) - 3; > startBar = Status("firstvisiblebarindex" ); > > Also see help file : > > "firstvisiblebar", "lastvisiblebar", "firstvisiblebarindex", > "lastvisiblebarindex" - return bar number or bar index of first/last visible > bar. Available in indicator mode only. > > In your version of the code, the AFL will never run the loop because both > lastbare and startbar variables are empty. That's the reason why nothing > happens. You're only getting the price. But when running the AFL with the > above mentioned modification you're getting following error message : > > > > > Regards, Ton. > > > > > > > ----- Original Message ----- > From: kailash pareek <mailto:[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] <mailto:[email protected]> ps.com > Sent: Monday, May 19, 2008 7:52 AM > Subject: Re: [amibroker] Re: Wolf Wave. > > > > > attached > > johnny > > > ----- Original Message ---- > From: Ton Sieverding <ton.sieverding@ <mailto:[EMAIL PROTECTED]> > scarlet.be> > To: [EMAIL PROTECTED] <mailto:[email protected]> ps.com > Sent: Saturday, May 17, 2008 1:03:21 PM > Subject: Re: [amibroker] Re: Wolf Wave. > > > > > > Can you please send me your AFL because I have subscript out of range > problems with my code ... > > Regards, Ton. > > > ----- Original Message ----- > From: Debdulal Bhattacharyya <mailto:[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] <mailto:[email protected]> ps.com > Sent: Friday, May 16, 2008 4:04 PM > Subject: [amibroker] Re: Wolf Wave. > > > hello booker_1324 , > The code you given is working fine but I can't understand how does it > find the wolf wave? as there is no filter line in the code. > please elaborate on this matter. > waiting for ur reply > Regards > Debdulal Bhattacharyya >
