|
TrailingStopLong
It modifies parameters of the opened long position.
virtual bool TrailingStopLong(
|
Parameters
sl
[in] Stop Loss price.
tp
[in] Take Profit price.
Return Value
true - trade operation has been executed, otherwise - false.
Note
The function modifies parameters of the opened long position (PositionModify(...) method of CTrade class object).
Implementation
//+------------------------------------------------------------------+ |