Exit process

 
hello team, how can i exit from a trade when is going against my speculation. i dont mean using stop loss. i seek any other method of leaving the market.
 

Try this Function:

bool  OrderClose(
   int        ticket,      // ticket
   double     lots,        // volume
   double     price,       // close price
   int        slippage,    // slippage
   color      arrow_color  // color
   );
https://docs.mql4.com/trading/orderclose
OrderClose - Trade Functions - MQL4 Reference
OrderClose - Trade Functions - MQL4 Reference
  • docs.mql4.com
OrderClose - Trade Functions - MQL4 Reference