Addition of maximum order to EA

I have an EA that I wish to add maximum order to. So that EA should take a Trade on signal and should not take another trade on next signal untill the previous order closed.
Post your request as a job in the Freelance section please.
olatunji Oladele:
I have an EA that I wish to add maximum order to. So that EA should take a Trade on signal and should not take another trade on next signal untill the previous order closed.
if(BuySignal==true&&LongPos<1){tradeLong;}
else if(SellSignal==true&&ShortPos<1){tradeShort;}