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

[amibroker] Re: Execute script only after ALL tickers have been scanned ?



PureBytes Links

Trading Reference Links

Thank you Walt !  I used the abtool solution.

HB

--- In amibroker@xxxxxxxxxxxxxxx, walt <WSCHWARZ@xxxx> wrote:
> Better solution using the "abtool" plugin:
> //*********************************
> 
> EnableScript("vbscript");
> 
> //get last ticker in Watch list 0
> lastTick = xxTickerLast(0);
> 
> //get current ticker
> CurTick=Name();Filter=0;
> NumColumns=1;
> 
> <%
> 
> LastTick=afl("lastTick")
> 
> CurTick=afl("curTick")
> 
> if CurTick=LastTick then
> 
>       Msgbox "Last tick in Watch list 0= "+CurTick
> 
> end if
> 
> %>
> 
> walt
> 
>   -----Original Message-----
>   From: hmab1 [mailto:hossamb@x...]
>   Sent: Saturday, June 07, 2003 12:13 PM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [amibroker] Execute script only after ALL tickers have 
been
> scanned ?
> 
> 
> 
>   Hello,
> 
>   If I have vbscript in my AFL, this script is executed once for 
each
>   ticker as the tickers are being scanned.
> 
>   Is there a way to have some code that only executes once ALL 
tickers
>   have been scanned ?
> 
>   Thanks,
>   HB
> 
> 
>         Yahoo! Groups Sponsor
> 
> 
> 
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   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
> 
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/