PureBytes Links
Trading Reference Links
|
Hello,
i have some stocks in a Watchlist, and want to export Alias field of
them, so i try to modify a script but i'm not able to write correct
code in JScript to speak this: "belong to watchlist 0"
I should fill it in a if condition field as follows:
......
TJ script for export
......
var oAB = new ActiveXObject("Broker.Application");
var fso = new ActiveXObject("Scripting.FileSystemObject");
file = fso.OpenTextFile( "Alias Export.txt", 2, true );
var oStocks = oAB.Stocks;
var Qty = oStocks.Count;
for( i = 0; i < Qty; i++ )
{
oStock = oStocks( i );
if( I SHOULD FILL IT HERE ) <---------------- HERE
file.WriteLine( oStock.Alias );
}
file.Close();
WScript.Echo("Export finished" );
thank you in advance for help and merry christmas....
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|