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

[amibroker] Re: Some strange addition rules



PureBytes Links

Trading Reference Links

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/