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

Re: [amibroker] Multiple Timeframes in the same sheet



PureBytes Links

Trading Reference Links




Hello,
 
Currently as per Read Me description you have to use 
TimeFrameExpand to 'expand' other time frame data for proper display (aligning 
with date axis).
Excerpt from the 4.41.1 READ ME file:
 

Second group: TimeFrameCompress/TimeFrameExpand allow to 
compress and expand single arrays to / from different time frames. Especially 
worth mentioning is TimeFrameExpand that is used to decompress array variables 
that were created in different time frame. <FONT 
color=#0000ff>Decompressing is required to properly display the array created in 
different time frame. For example if you want to display weekly moving average 
it must be 'expanded' so the data of one weekly bar covers five daily bars 
(Monday-Friday) of corresponding week.


TimeFrameExpand( array, interval, mode = expandLast ) - 
expands time-compressed array from 'interval' time frame to base time frame 
('interval' must match the value used in TimeFrameCompress or 
TimeFrameSet)Available modes: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)).
 
Hope this helps.
 
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  CS 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, September 09, 2003 10:09 
  AM
  Subject: [amibroker] Multiple Timeframes 
  in the same sheet
  
  This composite of 3 separate pictures is what I am trying to get 
to.
  Top is daily, middle is weekly, bottom is monthly.
  Note that the weekly and monthly date displays are correct (the numbers 
  anyway, the hash marks in weekly aren't), and that the bars are NOT 
  spread out.
  So far I haven't found a combination of time functions that will 
  allow these graphs in the same sheet with the correct dates.
  The dates either show up as all daily or all weekly or all monthly 
  depending on the periodicity selected on the toolbar.
   
  Any ideas?
   
  Thanks,
  -CS
   
   
  <IMG alt="" hspace=0 src="png00175.png" 
  align=baseline border=0><IMG alt="" hspace=0 
  src="png00176.png" align=baseline border=0><IMG 
  alt="" hspace=0 src="png00177.png" align=baseline 
  border=0>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 
  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.

Attachment: Description: ""

Attachment: Description: ""

Attachment: Description: ""