[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Re: MACD Help



PureBytes Links

Trading Reference Links

Joachim, your MACD parameters are unusual, but you can try the custom 
MACD indicator below.

MetaStock -> Tools -> Indicator Builder -> New
-> Copy and paste formulae below.

===========
MACD custom
===========
---8<--------------------------

{ MACD & Histogram.
  http://www.metastocktools.com }

{ User inputs }
shortPds:=Input("Fast EMA periods",1,260,3);
longPds:=Input("Slow EMA periods",2,2600,10);
triggerPds:=Input("MACD signal periods",1,260,16);
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 '-)
http://www.metastocktools.com




--- In equismetastock@xxxxxxxxxxxxxxx, "J. Jacques" <jo_jacques@xxx> 
wrote:
>
> Hello,
> I'm pretty new to MS and cant' figure how to get the MACD look like
> in my other charting programs.
> I have the following variables I want to use in MS:
> 
> MACD
> FastMAPeriod:3
> SlowMAPeriod:10
> SignalMAPeriod:16
> 
> When I attach the standard MS MACD I have this fields:
> TimePeriods, Vertical Shift, Horizontal Shift, Method and 
> SignalTimePeriods. I'm a bit confused, can someone put a shade of
> light how to convert my MACD?
> 
> TIA and Happy trading
> Joachim







------------------------ 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/