m also looking for it ..can anyboy write it for real time 5 minute ,10 minutes..it will be good to see --- On Tue, 6/8/10, Howard B <[email protected]> wrote:
From: Howard B <[email protected]> Subject: Re: [amibroker] Request For An AFL To Scan Open=High or Open=Low In Any Time Frame To: [email protected] Date: Tuesday, June 8, 2010, 6:11 PM See if this helps ------------ --------- --------- ---- // OpensAtHigh. afl // // Identify that the opening price // on the first bar of the day // is the high of that bar. // // Howard Bandy // June 2010 // dn = Day(); FirstBar = dn != Ref( dn, -1 ); OpenAtHigh = FirstBar && ( O == H ); Plot( C, "C", colorBlack, styleCandle ); shapes = shapeUpArrow * OpenAtHigh; shapecolor = OpenAtHigh * colorGreen; PlotShapes( shapes, shapecolor ); ------------ --------- --------- ---- Thanks, Howard On Wed, Jun 2, 2010 at 11:51 PM, FLOYD LEWIS <fj...@yahoo. com> wrote: Dear Seniors Greetings to you all Am new to Amibroker and equally new to the field of AFL writing. Does anyone on this group by any chance have an afl which can be run on any time frame including real time to explore and scan stocks which meet the condition of open=high or open=low for the first bar only. Definition of first bar - It could be any time frame in RT i.e. 3 min or hourly etc as per the selection but it should be the bar of the opening bell which should be scanned for the above condition and not the subsequent bars. Would sincerely appreciate if any one from this group could share the same. I hope i have been able to explain the requirement clearly. Thanks in advance. God Bless Regards
