you cannot skip a symbol based on a condition based on the symbol, however, you can skip subsequent code using if(). If you have an undefined variable you have to assign it some value before it is used or (if memory serves me right) use nz(VarGet()) - this returns zero when the variable is not initialized.
The ticker will however show up in the explorer report, I don't think you can suppress that.
herman
For tips on developing Real-Time Auto-Trading systems visit:
http://www.amibroker.org/userkb/
Wednesday, April 30, 2008, 11:37:20 PM, you wrote:
> That may be a little confusing.
> I have a piece of exploration code that performs various calcs, some
> using looping. So on 7000 symbols it take a few minutes.
> It appears the FILTER command can only be invoked once, and I have
> it near the end of the code. What I would like to do is get the AFL
> to skip over certain symbols before running any of the testing code.
> I've tried enclosing a large block of the code in an IF structure ,
> but this is problematic (I get var not defined errors).
> Is there some simple way to tell AFL to SKIP the current symbol and
> move to the next one after testing for some condition(s)?
> ------------------------------------
> 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 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
> <*> 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:amibroker-digest@xxxxxxxxxxxxxxx
> mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
> <*> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
> <*> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
__._,_.___
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 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
__,_._,___
|