Thanks Dennis, So when trying to run an AFL with the SETBARSREQUIRED instruction > and using a Symbol that does not have enough Quotes, all I am > getting back is a message on the screen. Is there a way to know in > AFL or JavaScript that the Symbol does not have enough data ? Please > do not give me a solution on the data side. I know that. What I want > is an answer for the AFL/Script ... Kind of SETBARSREQUIRED that > gives me a return message after failing because of not enough data > available.
Regards, Ton. ----- Original Message ----- From: Dennis Brown To: [email protected] Sent: Monday, June 08, 2009 4:52 PM Subject: Re: [amibroker] SETBARSREQUIRED Why not simply check the barCount in AFL before running the formula that needs some minimum number of bars. BR, Dennis On Jun 8, 2009, at 9:45 AM, amsiev wrote: > Standard syntax of SETBARSREQUIRED says : > > RETURNS nothing ... > > So when trying to run an AFL with the SETBARSREQUIRED instruction > and using a Symbol that does not have enough Quotes, all I am > getting back is a message on the screen. Is there a way to know in > AFL or JavaScript that the Symbol does not have enough data ? Please > do not give me a solution on the data side. I know that. What I want > is an answer for the AFL/Script ... Kind of SETBARSREQUIRED that > gives me a return message after failing because of not enough data > available. > > Regards, Ton. > > > > ------------------------------------ > > **** 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 > > >
