Please convert this code to AFL

Dear traders,

Please convert below tradescript code to AfL

volume>ref(volume,1) and volume>(volume,2)

Thanks

For the above given condition check the AFL

_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
Buy = Volume >Ref(Volume,1)AND Volume>Ref(Volume,2);
Sell = Volume <Ref(Volume,1)AND Volume<Ref(Volume,2);

PlotShapes(IIf(Buy, shapeHollowUpArrow, shapeNone),colorGreen, 0,L, Offset=-30); 
PlotShapes(IIf(Sell, shapeHollowDownArrow, shapeNone),colorRed, 0,H, Offset=-30);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 
_SECTION_END();