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

RE: [amibroker] Re: Help with AA in amibroker



PureBytes Links

Trading Reference Links




Pasting your supersecret code would help greatly 
cause it's pretty hard to guess what someone can mess up with it 
;-)
 
gty
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Herbert 
  Elstein 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Monday, April 19, 2004 7:54 
PM
  Subject: Re: [amibroker] Another 
  TimeFrame Problem
  
  gty,
   
  Thanks, yes I recoded using the "new" ...getprice 
  OHLCs and it solved my first problem. Now I still have #2. Codings in daily 
  OHLCs don't appear, when this compressed time code is active.
   
  Herbert
  <BLOCKQUOTE dir=ltr 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    <A title=gty182@xxxxxxxxxxxxxx 
    href="">gty182 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Monday, April 19, 2004 12:30 
    PM
    Subject: Re: [amibroker] Another 
    TimeFrame Problem
    
    The problem must be in your code, hard to 
    tell... Maybe you're taking values from current week (which still 
    lasts) but it shouldn't be the case if in weekly bars it works 
    fine.
     
    From AB help: 
    
    
      expandLast - the compressed value is expanded starting from last bar 
      within given period (so for example weekly close/high/low is available on 
      Friday's bar) 
      expandFirst - the compressed value is expanded starting from first bar 
      within given period (so for example weekly open is available from Monday's 
      bar) 
      expandPoint - the resulting array gets not empty values only for the 
      last bar within given period (all remaining bars are Null (empty)). 
    
    Try recoding using 
    TimeFrameGetPrice()
     
    gty
     
    <BLOCKQUOTE 
    >
      ----- Original Message ----- 
      <DIV 
      >From: 
      <A title=herty@xxxxxxxxxxxxxxxx 
      href="">hertyil 
      To: <A 
      title=amibroker@xxxxxxxxxxxxxxx 
      href="">amibroker@xxxxxxxxxxxxxxx 
      
      Sent: Monday, April 19, 2004 11:38 
      AM
      Subject: [amibroker] Another 
      TimeFrame Problem
      I have another problem with the  timeframe 
      function. I use two envelopes,one as TopEnv. the other as LowEnv.; in 
      the daily setting and want the same envelope functions in their weekly 
      values superimposed on the daily screen. The envelopes are simple 
      functions of H,L and C, [(H+L+C)/3 and their previous 
      values].One problem is that the weekly versions (after 
      theTimeFrameset,TimeFrame Restore()and Timeframe Expand routine)on the 
      daily screen, don't have the correct values, although on going to 
      the weekly screen these values are correct. That is the envelope 
      that was in daily on going to the weekly screen falls on the 
      converted (Timeframeset etc. ) one.Another problem is that 
      with the Timeframe code on, other functions in the daily screen 
      disappear, although they have no connection to the Timeframed 
      routine.Any ideas?Herbert 


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 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.