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

[amibroker] Re: Some strange addition rules



PureBytes Links

Trading Reference Links

Do you expect {empty}+X={empty} ?
Without any further notice ?
Do you mean IT IS OBVIOUS ?
I do not think so...
Anyway, thank you for the opposite expected {empty}+X result.
DT
--- In amibroker@xxxxxxxxxxxxxxx, Nigel Rowe <rho@xxxx> wrote:
> Dimitris,
> 	I'm going to disagree with you here.
> 
> If you don't have any data for RATL, then you don't have any data 
for 
> RATL+CSCO either. 
> 
> Or are you going to guess what RATL *SHOULD* be?
> 
> Nigel (who doesn't like guesses)
> 
> 
> On Thu, 6 Mar 2003 09:37 pm, Dimitris Tsokakis wrote:
> > I noticed that
> > {empty}+X={empty}
> > X+{empty}={empty}
> > One should expect {empty}+X=X.
> > Consequently, special care should be taken with similar additions 
[or
> > subtractions, multiplications, divisions] If you try to add
> > Foreign("RATL","O")+Foreign("CSCO","O") and the RATL data is 
missing for a
> > certain bar, the result would be {empty} instead of the expected
> > Foreign("CSCO","O")
> > Dimitris Tsokakis


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/