PureBytes Links
Trading Reference Links
|
Wallace,
Here's the code:
{MACD Histogram}
(Mov(C,12,E)- Mov(C,26,E))- Mov((Mov(C,12,E)- Mov(C,26,E)),9,E);
{MACD MT4}
FastSMA:=8;
SlowSMA:=17;
SignalSMA:=9;
2iMACD:=Mov(C,FastSMA,S) - Mov(C,SlowSMA,S);
3iMACD:=Mov(2iMACD,SignalSMA,S);
2iMACD; 3iMACD;
FFastSMA:=7;
SSlowSMA:=16;
SSignalSMA:=8;
4iMACD:=Mov(C,FFastSMA,S) - Mov(C,SSlowSMA,S);
5iMACD:=Mov(4iMACD,SSignalSMA,S);
4iMACD; 5iMACD;
FFFastSMA:=6;
SSSlowSMA:=15;
SSSignalSMA:=7;
6iMACD:=Mov(C,FFFastSMA,S) - Mov(C,SSSlowSMA,S);
7iMACD:=Mov(6iMACD,SSSignalSMA,S);
6iMACD; 7iMACD;
I've included the MACD histogram as well.
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxx> wrote:
>
> Wallace,
>
> Here's the important part of the code.
>
> FastSMA=8;
> SlowSMA=17;
> SignalSMA=9;
> ExtMapBuffer2[i]=iMACD
> (NULL,TF,FastSMA,SlowSMA,SignalSMA,PRICE_CLOSE,MODE_MAIN,i);
> FastSMA=8;
> SlowSMA=17;
> SignalSMA=9;
> ExtMapBuffer3[i]=iMACD
> (NULL,TF,FastSMA,SlowSMA,SignalSMA,PRICE_CLOSE,MODE_SIGNAL,i);
>
>
> FFastSMA=7;
> SSlowSMA=16;
> SSignalSMA=8;
> ExtMapBuffer4[i]=iMACD
> (NULL,TF,FFastSMA,SSlowSMA,SSignalSMA,PRICE_CLOSE,MODE_MAIN,i);
> FFastSMA=7;
> SSlowSMA=16;
> SSignalSMA=8;
> ExtMapBuffer5[i]=iMACD
> (NULL,TF,FFastSMA,SSlowSMA,SSignalSMA,PRICE_CLOSE,MODE_SIGNAL,i);
>
>
> FFFastSMA=6;
> SSSlowSMA=15;
> SSSignalSMA=7;
> ExtMapBuffer6[i]=iMACD
> (NULL,TF,FFFastSMA,SSSlowSMA,SSSignalSMA,PRICE_CLOSE,MODE_MAIN,i);
> FFFastSMA=6;
> SSSlowSMA=15;
> SSSignalSMA=7;
> ExtMapBuffer7[i]=iMACD
> (NULL,TF,FFFastSMA,SSSlowSMA,SSSignalSMA,PRICE_CLOSE,MODE_SIGNAL,i);
>
>
> The difference between the code is CLOSE,MODE_MAIN and
> CLOSE,MODE_SIGNAL and the length of the lookback periods. The price
> oscillator will allow this.
>
>
> Preston
>
>
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "murusprimus" <sace@> wrote:
> >
> > hi guys and gals, there's a zip in Files/' mt4 macd code ' which
> > contains an image of a metatrader 4 macd indicator plus the mt4
> > code
> >
> > I know various platform codes can't always be crossed translated
> but
> > wondering if anyone could translate the mt4 code into ms code
> >
> > I tried adding mas onto the ms macd but couldn't get them to
cross
> at
> > the same points as the mt4
> >
> > I was never one for the macd until I discovered the mt4 version,
> perhaps
> > you'll agree it's a 'better mousetrap'
> >
> > Wallace
> >
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|