[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




I also tried:
TimeFrameSet<FONT 
color=#0000ff>(<FONT 
size=2>inWeekly<FONT 
face=Tahoma>);
ec=<FONT 
size=2>TimeFrameExpand<FONT 
size=2>(Close<FONT 
color=#0000ff>,inWeekly<FONT 
face=Tahoma>,<FONT 
color=#ff0000>expandPoint<FONT 
face=Tahoma color=#0000ff>);
CL=<FONT 
size=2>IIf<FONT 
size=2>(C<FONT 
face=Tahoma>>O<FONT 
face=Tahoma>,1<FONT 
face=Tahoma>,0<FONT 
size=2>);
Plot<FONT 
color=#0000ff>(ec<FONT 
size=2>,"Weekly Prices",<FONT 
size=2>CL,styleBar<FONT 
size=2>);
<FONT 
size=2> 
And 
got this bizzare weekly (second) plot:
-CS
 
<IMG 
alt="" hspace=0 src="png00179.png" 
align=baseline border=0>
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Tomasz Janeczko 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, September 09, 2003 1:19 
  AM
  Subject: Re: [amibroker] Multiple 
  Timeframes in the same sheet
  
  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="png00180.png" align=baseline 
    border=0><IMG alt="" hspace=0 
    src="png00181.png" align=baseline 
    border=0><IMG alt="" hspace=0 
    src="png00182.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. 
    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



Attachment: Description: ""

Attachment: Description: ""

Attachment: Description: ""

Attachment: Description: "Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service."