Kindly please post this AFL code if anyone has...

colion

Active Member
#2
It looks like a Donchian channel or if not this should get you going:

upperChannelLine = HHV( Ref( H, -1 ), 13 );
lowerChannelLine = LLV( Ref( L, -1 ), 13 );
Plot( upperChannelLine, "Upper Donchian", colorDonchian );
Plot( lowerChannelLine, "Lower Donchian", colorDonchian );
 

Similar threads