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

Re: [amibroker] Sigma Bands



PureBytes Links

Trading Reference Links

Mark,

Weekly charts are built-in.

If you mean using time frame functions, there is a sample here:
http://www.amibroker.com/guide/h_timeframe.html

EXAMPLE 2: weekly candlestick chart overlaid on line daily price chart

wo = TimeFrameGetPrice( "O", inWeekly, 0, expandPoint ); 
wh = TimeFrameGetPrice( "H", inWeekly, 0, expandPoint ); 
wl = TimeFrameGetPrice( "L", inWeekly, 0, expandPoint ); 
wc = TimeFrameGetPrice( "C", inWeekly, 0, expandPoint ); 

PlotOHLC( wo, wh, wl, wc, "Weekly Close", colorWhite, styleCandle ); 
Plot( Close, "Daily Close", colorBlue ); 

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "mleonsprint" <mleonsprint@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, February 13, 2004 1:22 AM
Subject: [amibroker] 2 day bars? 5 day bars???


> I tried to use the plotohlc() afl to plot 5 day bars but it came out 
> looking instead like a donchian channel with candles.... Is there 
> anyway to plot a 5 day bar?  TC2000 uses a weekly bar as the last 5 
> bars and most other packages use weekly's as MON thru FRI... I am 
> just not sure how to code this up or if it is something that will 
> need to be requested from Tomasz.....
> 
> Thanks for your help
> Mark
> 
> 
> 
> 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
> 
> 
> 
>  
> 
> 


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:
     http://docs.yahoo.com/info/terms/