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