PureBytes Links
Trading Reference Links
|
Try
this
From =
new Date(2003, 0,
1);
// format is yyyy, mm, dd where mm is zero based AA.RangeFromDate =
From.getVarDate(); // from date
Dwight
With the following .js
code: ----------------------- FromDate = new Date(2003, 1, 1); ToDate
= new Date(2004, 1, 1); AA.RangeFromDate = FromDate; <-----------
error AA.RangeToDate = ToDate; -----------------------
I'm
getting a type mismatch at the indicated line. If anyone can help
that would be great.
BTW AA is the "Analysis" Object created via the AB
Object Model, as per the help
files.
thanks, chris
Check AmiBroker
web page at: http://www.amibroker.com/
Check
group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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
|