PureBytes Links
Trading Reference Links
|
Edson, try this basic SMA bands indicator:
===========
SMA w/bands
===========
---8<---------------------------
{ http://www.metastocktools.com }
{ User inputs }
spread:=Input("SMA bands spread %",0,100,10)/200;
pds:=Input("SMA periods",1,2600,21);
{ SMA }
x:=Mov(C,pds,S);
{ SMA bands }
upper:=x*(1+spread);
lower:=x*(1-spread);
{ Plot on price chart }
upper;x;lower
---8<---------------------------
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, "Edson L F" <edsonlf@xxx>
wrote:
>
> Hi friends!
>
> how to make a pointer to have the value of the envelope (+ and -)
> of a moving average?
>
> Ex:
>
> {================================}
>
> a1:=envelope positive ( Mov(C,21) );
>
> b1:=envelope negative ( Mov(C,21) );
>
> a1; b1;
>
> {================================}
>
> Any advice would be appreciated.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~->
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/
|