PureBytes Links
Trading Reference Links
|
Low
tech solution:
in
your VBscript only run your code if the ticker name is the last
one...
The
down side is that you will alway need to change the last ticker
name.
<FONT face=Arial color=#0000ff
size=2>
Code
follows:
<FONT face=Arial color=#0000ff
size=2>
in the
AB script:
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial
size=2>ticker=name();
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2> In the vbscript:
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial
size=2>ticker= afl("ticker")
<FONT face=Arial
size=2>if ticker = "LAST" then
<FONT face=Arial
size=2>
your script
<FONT face=Arial
size=2>end if
<FONT face=Arial
size=2>
Set
"LAST" to the last ticker...
Not
the most elegant solution but it will work...
<FONT face=Arial color=#0000ff
size=2>
<SPAN
class=671282622-07062003>
Walt
<FONT face=Arial
size=2>
<FONT face=Tahoma
size=2>-----Original Message-----From: hmab1
[mailto:hossamb@xxxxxxxxxxxx]Sent: Saturday, June 07, 2003 12:13
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [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,HBSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
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 the Yahoo! Terms of Service.
|