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

[amibroker] Re: The linear trend calculations



PureBytes Links

Trading Reference Links




my apologies to Tomasz, yes the data holes is 
fixed.
I whip myself with the cable of my computer, i have 
forgotten to apply the upgrade....
Stephane
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  DIMITRIS 
  TSOKAKIS 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Monday, March 15, 2004 12:27 
  AM
  Subject: [amibroker] Re: AmiBroker 4.52.0 
  BETA released
  Stephane,The pre-4.52.0 problem *IS* corrected 
  now.If XXX has some holes in a row, then the 4.52.0 
  Plot(Foreign("XXX","C",0),"XXX",1,1); is {EMPTY} for these 
  bars.[correct]The peculiar behavior  {EMPTY},CLOSE, {EMPTY},CLOSE, 
  {EMPTY}... belongs to the past.The rest is a matter of 
  definition.Tomasz, according to his last response on the subject, accepts 
  two different definitions for the average of a WL[different definitions 
  give different results...].AddToComposite() method, as you know, will 
  not count XXX for its  missing bars.The CategoryGetSymbols() method 
  fills the holes with the last existing value and will give different 
  result.Dimitris Tsokakis--- In amibroker@xxxxxxxxxxxxxxx, "Stephane 
  Carrasset" <s.carrasset@xxxx> wrote:> > >>fixed 
  problem with fixup=0 and handling multiple data holes in a row> 
  > Dear Tomasz,> > I am sorry, but it seems that the 
  problem that Dimitri describes with data holes is not fixed...> the 
  function CountTickersInWatchList( Listnum ) does not match the addto 
  composite count.> > stephane> //Count tickers in 
  watchlist function > > //For Indicator Builder > > 
  WatchlistNumber=3 ;//enter watchlist number > > function 
  CountTickersInWatchList( Listnum ) > > { > > // 
  retrive comma-separated list of symbols in watch list > > list = 
  GetCategorySymbols( categoryWatchlist, listnum ); > > Counter=0; 
  // INITIALIZE COUNTER > > for( i = 0; ( sym = StrExtract( list, 
  i ) ) != ""; i++ ) > > { > > // TO COUNT BAR BY 
  BAR YOU HAVE TO USE ARRAYS NOT SCALAR AND USE FOREIGN TO FIND OUT 
  HOLES> > Counter=Counter + ( NOT IsNull( Foreign( sym, "C", 
  False ) ) ); > > } > > return Counter; > 
  > } > > Title="Watchlist # 
  "+WriteVal(watchlistnumber,1)+" has "+ > > 
  CountTickersInWatchList( WatchlistNumber) + " Tickers"; > > 
  Plot(CountTickersInWatchList( WatchlistNumber) ,"",1,1); > > 
  //AddToComposite( 1, "~Count", "x");> > 
  Plot(Foreign("~count","X"),"",4,1); > > 
  GraphXSpace=10;Send 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 
  __________ 
  NOD32 1.665 (20040314) Information __________This message was checked 
  by NOD32 antivirus system.<A 
  href="">http://www.nod32.com


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








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.