AFL code required for my strategy

Sir can you please provide me the AFL code for the below Strategy

BUY
EMA(CLOSE,5)>EMA(CLOSE,10) AND (EMA(CLOSE,5)-EMA(CLOSE,10))>7 AND SOPK(9,3,9,SIMPLE)>=20 OR SOPD(9,3,9,SIMPLE)<=50 AND RSI(CLOSE,14)>=20 AND RSI(CLOSE,14)<=50 AND WAD(14)<-20 AND WAD<-50
SELL
crossover(sma(close,25),sma(close,7))

For the above given tradescript check this amibroker AFL

_SECTION_BEGIN(“Price1”);
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() );

Lookback = Param(“Lookback”, 13, 2, 100 );Smooth1 = Param(“Smooth 1”, 25, 1, 100 );Smooth2 = Param(“Smooth 2”, 2, 1, 100 ); ParamColor(“Color”, ColorCycle ) ;

Buy = EMA(Close,5)>EMA(Close,10) AND (EMA(Close,5)-EMA(Close,10))>7 AND Lookback;

Sell = Cross(MA(Close,25),MA(Close,7));
_SECTION_END();

Sir it is giving lots of errors

Sir can I request you to please send me the complete AFL code for this strategy top to bottom without any error which I can just paste and start working on it as I not knowledge about AFL code writting

Sir awaiting your revert…