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

[amibroker] using PARAMDATE() question- cant get it to work



PureBytes Links

Trading Reference Links


here is my code for using dateparam

start =  ParamDate( "Start Date", "15-10-2004", 0) ;

Trigday = IIf( DateNum() == start,1,0) ;

I writeval and get the follwing

when intitialised and looking at the trigday date with cursur

when i go to 15-10-2004 i get

datnum  	1,041,015.000
start  		1,041,015.000

when i go to 18-10-2004 i get 

datnum  	1,041,018.000
start  		20,041,018.000

why did start jump by 19 000 000 ???

have I assumed something very wrong??








------------------------ 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/