PureBytes Links
Trading Reference Links
|
Sam
I'm in the process of updating my weekly and daily indicators (with some able assistance from Jose).
Hopefully the full range of indicator will be posted at Jose's web site once the changes are
completed. This indicator is half and half.
Regards
Roy
{Daily SMA - Close}
{Copyright© 2003-2004 Roy Larsen}
{rlarsen@xxxxxxxxxxxxxx}
{for use on intraday charts}
{set 'F' to signal last bar of day}
D:=Input("Daily SMA - Close, Periods",1,999,3);
Q:=Input("Display Mode, 0=Static 1=Dynamic 2=Test",0,2,2);
{0=Display, update on Friday bar if available}
{1=Display, update on each new bar}
{2=Backtest, update on Monday bar}
M:=DayOfMonth()<>ValueWhen(2,1,DayOfMonth());
F:=Hour()=16 AND Minute()=00; {0;}
A:=LastValue(Cum(1)-1)=Cum(1);
B:=LastValue(Cum(1))=Cum(1);
I:=LastValue(Sum(DayOfWeek()<>ValueWhen(2,1,DayOfWeek()),5)=5);
J:=If(F,1,If(Alert(F,2)=0 AND M,2,0));
J:=If(A+LastValue(J)>2 OR B+Q>1,1,(B=0)*J);
J:=If(I,1,If(Q=2 OR Cum(J)<=1,M*2,J));
K:=ValueWhen(1,J,If(J=1,C,ValueWhen(2,1,C)));
K:=ValueWhen(1,K>0,K);
G:=Cum((J>0)*K);
Z:=(G-ValueWhen(D+1,J,G))/D;
Z;
----- Original Message -----
From: <uhehs@xxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Friday, February 20, 2004 4:13 PM
Subject: RE: [EquisMetaStock Group] Re: Plotting weekly data on daily price
> How about Daily 3SMA plotted on the 60min chart?
>
>
>
> -----Original Message-----
> From: Jose [mailto:josesilva22@xxxxxxxxx]
> Sent: Sunday, February 01, 2004 7:36 PM
> To: equismetastock@xxxxxxxxxxxxxxx
> Subject: [EquisMetaStock Group] Re: Plotting weekly data on daily price
>
>
>
>
> Check out Roy's Weekly SMA:
> http://users.bigpond.com/prominex/pegasus.htm#roy
> Click on "Weekly SMA" link.
>
> jose '-)
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "v_bolinjkar" <v_bolinjkar@xxxx
> > wrote:
> > HI can any ine tellme how i can display the 3 day simple moving
> > average of the high of weekly data on daily data. And the same for
> > the lows
> > THanks in advance
> >
> > regards
> > Vinit
>
>
>
> _____
>
> Yahoo! Groups Links
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/equismetastock/
>
>
> * To unsubscribe from this group, send an email to:
> equismetastock-unsubscribe@xxxxxxxxxxxxxxx
> <mailto:equismetastock-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> <http://docs.yahoo.com/info/terms/> Service.
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|