PureBytes Links
Trading Reference Links
|
Try this basic MACD indicator:
===============
MACD - Standard
===============
---8<-------------------
{ http://users.bigpond.com/prominex/pegasus.htm#metastock }
{ User inputs }
shortPds:=Input("shorter MACD periods",
1,252,12);
longPds:=Input("longer MACD periods",2,2520,26);
triggerPds:=Input("MACD signal periods",
1,252,9);
plot:=Input("plot: [1]MACD, [2]Histogram",
1,2,1);
{ MACD }
Mac:=Mov(C,shortPds,E)-Mov(C,longPds,E);
{ Signal }
Signal:=Mov(Mac,triggerPds,E);
{ Histogram }
Hist:=Mac-Signal;
{ Plot in own window }
0;
If(plot=1,Signal,Hist);
If(plot=1,Mac,Hist)
---8<-------------------
jose '-)
--- In equismetastock@xxxxxxxxxxxxxxx, "west999ham" <chrisr@xxxx>
wrote:
>
>
> Dear All - Metastock only seems to allow a default MACD (I guess
> 13,26,9). Does anyone know of a plug-in that allows one to change
> the parameters or a formula that allows same that can be pasted into
> indicators? Many thanks in advance, Chris Roberts
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/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/
|