PureBytes Links
Trading Reference Links
|
I presume you can't just have the 3 scans running in one afl, even if
compiled into master AFL using #Include ? Then you could use the built
in timer for scanning
On 7/27/05, Paul Ho <paultsho@xxxxxxxxxxxx> wrote:
> Hi,
> I have written a js script that automate scanning a number of afl files
> every minute.
> I want a way to get out of the loop based on some kind of user input.
> So I came up with the idea that user click on "cancel" during a scan, but
> this is where I'm stuck, because I dont know how this can be detected.
> I tried using the return value of scan(), but no luck. Can anybody help?
>
> Ami = new ActiveXObject( "Broker.Application" );
> AA = Ami.analysis;
> for(i = 1; i <= 1000; i++)
> {
> AA.LoadFormula("Formulas\\systems\\foreverUv5.afl");
> result = AA.scan();
> if (result) break;
> AA.LoadFormula("Formulas\\systems\\DailyComposite.afl");
> result = AA.scan();
> if (result == 0) break;
> AA.LoadFormula("Formulas\\systems\\BB squeezeV3.afl");
> result = AA.scan();
> if (result == 0) break;
> WScript.sleep(60000);
> }
>
>
> Paul Ho
>
> 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
>
>
>
> SPONSORED LINKS
> Investment management software Investment property software Investment
> software
> Investment tracking software Return on investment software Stock investment
> software
> ________________________________
> YAHOO! GROUPS LINKS
>
> Visit your group "amibroker" on the web.
>
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 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/
<*> 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/
|