Knowledgebase:
StopOffset
Posted by Mohammad Rahhal, Last modified by Angham Al-Banawien on 07 July 2017 02:29 PM

Syntax

 Public Function StopOffset(ByRef symbolID As Integer) As Double

This method is used to return the value for how much the stop orders and the stop loss orders should be away from the current market price.

Parameters

Parameter Description 
SymbolID Trading Symbol ID, value of type Integer

Return value

Returns the stop offset value. 

Sample

 Private Sub StopOffset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StopOffset.Click

          Dim sym As COSymbol

          sym = API.SymbolByName("EUR/USD")

          Msgbox(API.StopOffset(sym.ID)

 End Sub

 


See Also


VertexFX Client API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions