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


Active Member
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

Zerodha – Open Paperless Account

Open online account with Zerodha. Free delivery trading and Max Rs 20 for Intraday, F&O, Currency and Commodity Trading. Intraday High leverage with MIS, CO and BO.

Are you a day trader?