Closes the long position.
virtual bool CloseLong(
|
Parameters
price
[in] 시장 진입가.
반환 값
거래 작업이 수행되었으면 true, 그게 아니면 false.
참고
"넷팅" 모드에서는 CExpertTrade::Buy 또는 CExpertTrade::Sell 메서드를 사용하여 포지션을 클로즈합니다. "헤징" 모드에서는 CTrade::PositionCloseByTicket 메서드가 사용됩니다.
Implementation
//+------------------------------------------------------------------+ |