New afl code need

Hello sir

I need afl for below condition

EMA 24(High) , EMA 24( Low)

EMA 44(High), EMA 44( Low)

If price close ablove all these moving average–Buy

If price close below all of these moving average is -Sell

Pls i need Afl for these condition…

For the above given condition check this AFL coded

_SECTION_BEGIN("algoG");
SetChartOptions(0,chartShowArrows|chartShowDates);
_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() );
Buy = Close > EMA( High, 24 ) AND Close > EMA( Low, 24 ) AND Close > EMA( High, 44 ) AND Close > EMA( Low, 44 ) ;
//BuyP = ValueWhen(Buy,C);
//Tgt = BuyP * 5/100;
//Sell = Cross(C,Tgt) ;

Sell = Buy = Close < EMA( High, 24 ) AND Close < EMA( Low, 24 ) AND Close < EMA( High, 44 ) AND Close < EMA( Low, 44 ) ;

Short = Sell;
Cover = Buy;

//Buy = Ref(Buy,-1);
//Short = Ref(Short,-1);

//Buy = ExRem(Buy, Sell);
//Sell = ExRem(Sell, Buy);

PlotShapes(IIf(Buy, shapeHollowUpArrow, shapeNone),colorGreen, 0,L, Offset=-30); 
PlotShapes(IIf(Sell, shapeHollowDownArrow, shapeNone),colorRed, 0,H, Offset=-30);
Plot( EMA( High, 24 ),"med ema", colorRed,styleThick); 
Plot( EMA( Low, 24 ),"long ema", colorBlue,styleThick);
Plot( EMA( High, 44 ),"med ema", colorRed,styleThick); 
Plot( EMA( Low, 44 ),"long ema", colorBlue,styleThick);

_SECTION_END();

Thanks ji…I need arrows for buy sell…How to create it .