[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: japanese candlesticks


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: Re: [amibroker] how to return/end from the middle of the code execution for one stock.
  • From: "Tomasz Janeczko" <amibroker@xxxxxx>
  • Date: Sat, 6 Mar 2004 00:39:51 -0800

PureBytes Links

Trading Reference Links

Jeff,

You can use 'if' statement

if( your...condition )
{
  // the code that should be executed

}


If your condition is not met then the part in curly braces will not be executed.
For simpler conditions (like stock belonging to given category) you can use built-in
Apply-To: "Filter".

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "jeff lu" <hl_107@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, March 06, 2004 5:31 AM
Subject: [amibroker] how to return/end from the middle of the code execution for one stock.


> how do i end(or bypass the rest) code execution if certain conditions
> are met. 
> 
> for instance, if the stock's price is not in a range, then i want to
> go to the next stock instead of finishing the rest of the operations
> that i know i don't need for this stock anyway. 
> 
> i am asking because of the worry about performance. i need to scan the
> entire US stock DB. 
> 
> thx. 
> 
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> 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/