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

Re: [amibroker] Re: Some strange addition rules



PureBytes Links

Trading Reference Links

DT,

OK, I am glad that you have a solution. Truthfully, I am not so sure that it
is a good idea to automatically overwrite the basic arrays from which all
other indicators are built, especially if some empty values are legitimate.
But I have read several times on the group that these empty values can
affect the validity of the composites that many people use, so I figured I
would make the offer (I dont use composites right now, but I have discovered
that I like to write DLL's  : - )   So, it is probably better to use the
current method, and I will continue on my other work. Happy trading!

Steve

----- Original Message -----
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, March 06, 2003 7:40 AM
Subject: [amibroker] Re: Some strange addition rules


> Steve,
> thank you very much !!
> I do not need something, I know how to detect and repair holes.
> If you wish, write some solution for the list, until Tomasz gives a
> final solution to the missing data problem.
> Dimitris Tsokakis
> --- In amibroker@xxxxxxxxxxxxxxx, "Steve Dugas" <sjdugas@xxxx> wrote:
> > Hi DT,
> >
> > I have seen that you have been trying to solve this "empty data"
> problem for some time now. I have been working with C++/DLL's for
> several months now, and I think it should be pretty easy to write a
> DLL that calls back the 5 basic arrays (OHLCV), checks for empty
> values and overwrites them with some other value. Let me know if you
> are interested, including what you would like to replace them with
> (the previous value?) Also, how to handle special cases like several
> empties in a row, or where the first value is empty? OK, I'm off to
> work now!
> >
> > Best Wishes
> >
> > Steve
> >   ----- Original Message -----
> >   From: Dimitris Tsokakis
> >   To: amibroker@xxxxxxxxxxxxxxx
> >   Sent: Thursday, March 06, 2003 5:37 AM
> >   Subject: [amibroker] Some strange addition rules
> >
> >
> >   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
> >
> >         Yahoo! Groups Sponsor
> >               ADVERTISEMENT
> >
> >
> >
> >
> >   Send BUG REPORTS to bugs@xxxx
> >   Send SUGGESTIONS to suggest@xxxx
> >   -----------------------------------------
> >   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 the Yahoo! Terms of
> Service.
>
>
> 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/
>
>



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/