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

[amibroker] Need help with this vb script



PureBytes Links

Trading Reference Links

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