Highest high in last 20 period for Amibroker (AFL)
Copy & Paste Friendly
_SECTION_BEGIN("lowest in 20");
LL_20 = LLV ( c , 20 ) ;
Plot(LL_20,"lowest",12,1);
_SECTION_END();Copy & Paste Friendly
_SECTION_BEGIN("highest in 20");
hh_20 = HHV ( c , 20 ) ;
Plot(hh_20,"highest ",12,1);
_SECTION_END();