Syntax
Public Function SetLOBetterPipsBuy(ByVal SymbolID As String, ByVal Value As Integer) As TransResult
Description
This function sets the pips amount of the covered limit order with Buy type for a certain symbol when the “Price Condition” option is set to “Cover when LP price is better by …”.
Parameters
Key | Description |
SymbolID | ID of the symbol |
Value | The value of property |
Return value
Returns an integer value of type integer, when passing an invalid symbol ID it returns -1.
Sample
Public Sub main() Msgbox (BO.SetLOBetterPipsBuy("GOLD",1)) End Sub
See Also