PureBytes Links
Trading Reference Links
|
Hi,
I am also curious why would you like to write the formula for
what is actually
done by AmiBroker internally when you switch to weekly/monthly
mode.
The only application I can see is the back tester . Anyother
ideas?
Best regards,Tomasz
Janeczko------------------------------------------------AmiBroker -the
comprehensive share manager<A
href="">http://www.amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Hal Brehe
To: <A title=amibroker@xxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, June 02, 2001 8:56
PM
Subject: Re: [amibroker] Re: Weekly
Data
Hi Stephane & Steve, Not being an
ex-mstock user, would you mind providing me an example where the d,w,
and m buttons in the AmiBroker data control group, will not give you whatyou
want. I find it extremely handy to just "flick" the button to view how the
data displayed on all four screens allow me to instantly determine how the
indicators are acting in those time frames. What is it that I'm
missing?Regards, HalAt 05:18 PM 6/2/01 +0000, you
wrote:
Steve,can't we use the codes we have
done In ms ??do you rememnber the weekly Bars for daily data?Now
must be possible to write them with VbSteph{Weekly
Bars}B:=DayOfWeek();G:=BarsSince(B<Ref(B,-1));Hw:=If(B<Ref(B,-1),ExtFml(
"VarPeriod.HhvVar",Ref(H,-1)
,Ref(G,-1)+1),PREV);Lw:=If(B<Ref(B,-1),ExtFml(
"VarPeriod.LlvVar",Ref(L,-1)
,Ref(G,-1)+1),PREV);Cw:=If(B<Ref(B,-1),Ref(CLOSE,-1),PREV);Ow:=If(B<Ref(B,-1),ValueWhen(2,B<Ref(B,-1),OPEN),PREV);{Tp:=
LastValue(PeakBars(1,G,1));Cw:=ExtFml( "VarPeriod.RefVar",Cw
,Tp);Ow:=ExtFml( "VarPeriod.RefVar",Ow ,Tp);Lw:=ExtFml(
"VarPeriod.RefVar",Lw ,Tp);Hw:=ExtFml( "VarPeriod.RefVar",Hw
,Tp);}cw> > Has anyone coded a sequence that turns daily
data into a weekly data > set?> > Thanks>
> Steve Your use of Yahoo! Groups is subject
to <A href=""
eudora="autourl">http://docs.yahoo.com/info/terms/
Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|