Nirvana.afl by MRTQ13

ok ok sorry for my 1st reply to you.

i have it.

check it-----


Q = Param( "% Change", 2, 0.1, 10, 0.1 );
Z = Zig( C , q ) ;
HH = ( ( Z < Ref( Z, -1 ) AND Ref( Z, -1 ) > Ref( Z, -2 ) ) AND (Peak( z, q, 1 ) > Peak( Z, q, 2 ) ) );
LH = ( ( Z < Ref( Z, -1 ) AND Ref( Z, -1 ) > Ref( Z, -2 ) ) AND (Peak( Z, q, 1 ) < Peak( Z, q, 2 ) ) );
HL = ( ( Z > Ref( Z, -1 ) AND Ref( Z, -1 ) < Ref( Z, -2 ) ) AND (Trough( Z, q, 1 ) > Trough( Z, q, 2 ) ) );
LL = ( ( Z > Ref( Z, -1 ) AND Ref( Z, -1 ) < Ref( Z, -2 ) ) AND (Trough( Z, q, 1 ) < Trough( Z, q, 2 ) ) );
GraphXSpace = 5;
dist = 0.5 * ATR( 20 );

for ( i = 0; i < BarCount; i++ )
{
if ( HH )
PlotText( "HH", i, H[ i ] + dist, colorYellow );

if ( LH )
PlotText( "LH", i, H[ i ] + dist, colorYellow );

if ( HL )
PlotText( "HL", i, L[ i ] - dist, colorPink );

if ( LL )
PlotText( "LL", i, L[ i ] - dist, colorPink );

}




No need for apologies!!
Thanks for your effort and very kind to share this AFL. In fact, this is a ZIG-based HH/HL indicator. The one from sr114 is fractal-based. After your first reply I posted a request in the other active AFL-thread and sr114 already has posted the AFL.

Again thanks for your effort, keep up the good work in this thread. Very much appreciated!
 

Similar threads