|
OpenLong
Opens a long position.
virtual bool OpenLong(
|
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 (LotOpenLong(...) method) and opens a long position (Buy() method of Trade object) if trading volume is not equal to 0.
Implementation
//+------------------------------------------------------------------+ |