PureBytes Links
Trading Reference Links
|
Try this:
==================
Stochastic signals
==================
---8<-------------
{ Stochastic/levels parameters }
pds:=14; {Stochastic periods}
slw:=3; {Stochastic slowing}
smooth:=3; {Stochastic smoothing}
obought:=90; {Overbought level}
osold:=10; {Oversold level}
{ Stochastic }
stch:=Sum(Sum(C-LLV(L,pds),slw),smooth)/
Sum(Sum(HHV(H,pds)-LLV(L,pds),slw),smooth)*100;
{ Overbought/oversold signals }
long:=Cross(osold,stch);
short:=Cross(stch,obought);
{ Long/Short signals }
long-short
---8<-------------
jose '-)
--- In equismetastock@xxxxxxxxxxxxxxx, shashank <sbrahmadande@xxxx>
wrote:
> HI Friends,
>
> Please help me to make Metastock(8) Exploration/Expert
> code for STOCHASTIC-14,3,3
>
> Regards,
>
> shashank
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/
|