Hi,

A formula to start with.

Best regards

|//Macd Rising falling colors

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

mm = MACD(r1, r2);
ms = Signal(r1, r2, r3);
mh = mm-ms;
mcol= IIf(mh>Ref(mh,-1),IIf(mh > 0,27,43),IIf(mh > 0,41,32));

Plot(mm,StrFormat(_SECTION_NAME()+"(%g,%g)", r1 ,r2),12,4);
Plot(ms," Signal" + _PARAM_VALUES(),11);
Plot(mh,"MACDHistogram",mcol,6|*styleNoTitle*|32768|4096);
Plot(mh,"MACDHistogram",mcol,5|*styleNoTitle*|32768|4096);

//41 gold
//27 green

//43 bright green
//32 red|

Le 20/06/2010 17:31, ford7k a écrit :

hi friend,

here is the NAME OF formula for
CCI20 DIVERGENCE INDICATOR

THE BETTER afl IS PROBABLY
MACD and histogram divergence detection-by Paul moore

Some minor changes can bring the afl you desire
The dots are basically turning points at peak or trough with conditions like x units move must occur in y units of time. I am a novice and cant do any coding,but if these afl can help you in someway,I will be happy for you.
regards
ford

--- In [email protected] <mailto:amibroker%40yahoogroups.com>, "rvlv" <r...@...> wrote:
>
> Hi afl experts
>
> Here is some guidelines about MACD dots, these dots being buy or sell points calculated or picked up when macd rises beyopnd a certain minimum value and in a certain minimum time period.
>
> link
> http://www.currensys.com/MACD.php
>
> Probably such an afl may be existing, in which case please provide the code links
>
> Thanks in advance
>
> rv
>



Reply via email to