Syntax
Public Function SetMOBetterPipsBuy(ByVal SymbolID As String, ByVal Value As Integer) As Transresult
Description
This function sets the better pips amount of the covered market 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.SetMOBetterPipsBuy("GOLD",4)) End Sub
See Also