PureBytes Links
Trading Reference Links
|
Thanks
--- In amibroker@xxxxxxxxxxxxxxx, "Mark H" <amibroker@xxx> wrote:
>
> What you wrote was JScript not VBScript. Change the script file
name to xxx.js and re-run.
> ----- Original Message -----
> From: gunovanengel
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Wednesday, September 20, 2006 10:35 AM
> Subject: [amibroker] Need help with this vb script
>
>
> Hi,
>
> I get an error message when I try to run this script.
> Line: 1
> Char: 23
> Error: Expected end of statement
> Code: 800a0401
> Source: Microsoft VBScript compilation error
>
> Can you help me?
> Regards
> Guno
>
> AB = new ActiveXObject("Broker.Application");
> AA = AB.Analysis;
> AA.ClearFilters();
> AA.ApplyTo = 2; // use filters
> AA.RangeMode = 0; // use all available quotes
> AA.DataSource =0; // Change DataSource Back to Default
> AA.Scan();
> AA.Report(""); // empty file name means display report
>
|