|
OpenShort
Opens a short position.
virtual bool OpenShort(
|
Parameters
price
[in] Market entry price.
sl
[in] Stop Loss price.
tp
[in] Take Profit price.
Return Value
true - trade operation has been executed, otherwise - false.
Note
It gets trading volume (LotOpenShort() method) and opens a short position (by calling Sell method of Trade object) if trading volume is not equal to 0.
Implementation
//+------------------------------------------------------------------+ |