Hi,

The page doesn't exist.

http://www.traders.com/Documentation/FEEDbk_docs/2000/04/TradersTips.html

As  I understand it, the tweak was based on EMA zero lag.

Best regards


Le 20/08/2010 17:59, David Fitch a écrit :

Reinsley,
Tried looking up ref for this indicator in April 2000 S&C, on line, to no
avail. Could you double check the article refs, or tell me where it came
from. Perhaps its buried in article by totally different name than
ZeroLag...?

Thanks
Dave

----- Original Message -----
From: reinsley
To: [email protected] <mailto:amibroker%40yahoogroups.com>
Sent: Thursday, August 19, 2010 12:08 AM
Subject: Re: [amibroker] Help with code afl- color macd

Here is a MACD zero lag you could adapt to ADX.

Best regards

/*Zero Lag MACD(p,q,r)*/
//based on ZeroLag EMA - see Technical Analysis of Stocks and
Commodities,April 2000

xspace = Param( "GraphXSpace ", 10, 1, 20, 1 );

p = Param("P",5,3,36,2);//12
q = Param("Q",35,3,52,2);//26
r = Param("R",6,3,15,1);//9

EMA1= EMA(Close,p);
EMA2= EMA(EMA1,p);
Difference= EMA1 - EMA2;
ZeroLagEMAp= EMA1 + Difference;
//---------------------------------------
EMA1= EMA(Close,q);
EMA2= EMA(EMA1,q);
Difference= EMA1 - EMA2;
ZeroLagEMAq= EMA1 + Difference;
//---------------------------------------
ZeroLagMACD=ZeroLagEMAp - ZeroLagEMAq;
//---------------------------------------
// Signal line
EMA1= EMA(ZeroLagMACD,r);
EMA2= EMA(EMA1,r);
Difference= EMA1 - EMA2;
ZeroLagTRIG= EMA1 + Difference;
ColorMacd = IIf( zerolagMACD >= zerolagtrig, colorGreen, colorRed ) ;
Plot(zerolagMACD,"",ColorMacd ,4);
Plot(zerolagtrig,"",1 ,4);
//===========================end zeroLagMACD

// Macd ribbon
Plot( 3, "", ColorMacd , styleOwnScale | styleArea | styleNoLabel, 0, 100 );

GraphXSpace = xspace;

Le 19/08/2010 06:06, ram vel a écrit :

Dear afzal

thanks,
Ford wanted that
macd,signal values displayed on right axis must be not 0.000123 but 120 or
70 in a bigger scale.
the histogram value,macd value,signalvalue scale to be changed. how it is to
be done-was his problem.
Anyways,your afl looks good.

We were looking for zerolag ADX.
if any ideas please help
keep your good work going on.

regards
rv
--- On Wed, 8/18/10, afzal hossain <[email protected] <mailto:cube_afz%40yahoo.com>> wrote:

From: afzal hossain <[email protected] <mailto:cube_afz%40yahoo.com>>
Subject: Re: [amibroker] Help with code afl- color macd
To: [email protected] <mailto:amibroker%40yahoogroups.com>
Date: Wednesday, August 18, 2010, 12:51 PM

Try this one also---histogram color changed

_SECTION_BEGIN("MACD");
r1 = Param( "Fast avg", 12, 2, 200, 1 );
r2 = Param( "Slow avg", 26, 2, 200, 1 );
r3 = Param( "Signal avg", 9, 2, 200, 1 );
a=MACD(r1,r2);
b=Signal(r1,r2,r3);

Plot(a,"MACD",IIf(a>b,colorGreen,colorRed),styleLine|styleThick);
Plot(b,"SIGNAL",colorAqua,styleDashed);
Plot(a-b,"Histgram",IIf(a-b>0,colorBrightGreen,colorBrown),styleHistogram|styleThick);

_SECTION_END();

regards
afzal

--- On Wed, 8/18/10, afzal hossain <[email protected] <mailto:cube_afz%40yahoo.com>> wrote:

From: afzal hossain <[email protected] <mailto:cube_afz%40yahoo.com>>
Subject: Re: [amibroker] Help with code afl- color macd
To: [email protected] <mailto:amibroker%40yahoogroups.com>
Date: Wednesday, August 18, 2010, 10:42 AM

Lets try it

_SECTION_BEGIN("MACD");
r1 = Param( "Fast avg", 12, 2, 200, 1 );
r2 = Param( "Slow avg", 26, 2, 200, 1 );
r3 = Param( "Signal avg", 9, 2, 200, 1 );
a=MACD(r1,r2);
b=Signal(r1,r2,r3);
Plot(a,"MACD",IIf(a>b,colorGreen,colorRed),styleLine|styleThick);
Plot(b,"SIGNAL",colorAqua,styleDashed);
Plot( a-b, "MACD Histogram", ParamColor("Histogram color", colorAqua ),
styleNoTitle | ParamStyle("Histogram style", styleHistogram | styleNoLabel,
maskHistogram ) );
_SECTION_END();

regards
afzal

--- On Wed, 8/18/10, ford7k <[email protected] <mailto:ford7k%40yahoo.com>> wrote:

From: ford7k <[email protected] <mailto:ford7k%40yahoo.com>>
Subject: [amibroker] Help with code afl- color macd
To: [email protected] <mailto:amibroker%40yahoogroups.com>
Date: Wednesday, August 18, 2010, 10:16 AM

Seniors and afl experts

Hope you might have seen www.xforecaster.com
There a chart is used witnh maxium scale of chart is +450 and -450 looks
like
http://www.xforecaster.com/

I checked up forextsd etc forums and found that these charts contain
colormacd.here there is no histogram.
just macd line and signal line,the chart shows top of scale 450,then 0-line
and bottom of chart as -450.
I took macd afl and chosen custom and set max and min as needed. but the
macd line and signal line still show very low values in disproportion to
scale of 450 to -450.

How to fix this problem and get a enhanced macd with wider scale,along with
macdline and signal line showing bigger values on new large scale!

please help

thanks
regards
ford



Reply via email to