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

[amibroker] Calendar Dates vs Trading Dates



PureBytes Links

Trading Reference Links

Help....I want to count the number of calendar days since a buy or
short...

I have read msg # 16104 about creating a For loop inside a Jscript, but
frankly can not understand what it is advising.

Can someone show me a simple way to determine the number of calendar
days that have elapsed?  Maybe the new For loop can help?

I want to code in a "close trade" flag if there are more than x number
of calendar days since the trade was initiated.  Because of other
aspects of the code, I do not want to (can not) use the dll time stop
that is in the files area.

Any help would really be appreciated.

Ken



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/cjB9SD/od7FAA/AG3JAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/