Need advise for Lot Limit

 

how can I put a certain rule that my lot size should be less than or equal to 1.0 ?

 if(!mytrade.Sell(ExtLots*Coefficient,Symbol(),mysymbol.Bid(),mysymbol.Ask()+ExtStoploss,0.0,NULL))
                 {
                  Print("Sell -> false. Result Retcode: ",mytrade.ResultRetcode(),
                        ", description of result: ",mytrade.ResultRetcodeDescription(),
                        ", ticket of deal: ",mytrade.ResultDeal());
                 }
I'm having trouble putting it to mql5 language. TY for support
 
Please edit your post and
use the code button (Alt+S) when pasting code