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

Re: [amibroker] Some strange addition rules



PureBytes Links

Trading Reference Links




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
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Dimitris 
  Tsokakis 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">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 TsokakisSend 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT  









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 the Yahoo! Terms of Service.