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

[amibroker] Re: DT... Relax



PureBytes Links

Trading Reference Links

OK, donīt forget to check also your previous 4,11 EMA equity curve 
and give us the corrected one...
DT
--- In amibroker@xxxxxxxxxxxxxxx, "Chuck Rademacher" 
<chuck_rademacher@x> wrote:
> DT,
> 
> You can relax, I found the problem.   As you know, my database 
contains
> extinct stocks.   I have to add one bit to every sell/cover 
statement:
> 
> Sell = OI == 0 or (  other sell logic goes here          );
> 
> Otherwise, the profit/loss for the last trade of all extinct stocks 
shows up
> on the equity curve on the last day of trading.
> 
> My OI field contains the actual close.  It gets set to zero on the 
day
> before trading ceased in the case of extinct stocks.   My extinct 
stocks are
> also padded out to the current date so that AddToComposite works.
> 
> All of the above was a round-a-bout way of saying that the huge one-
day
> profit was due to me not adding the requisite line of code to your 
AFL.
> 
> Cheerio


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/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/