Knowledgebase:
SlTpPrice
Posted by Rula Halaseh, Last modified by Rawan Al Hourani on 25 October 2017 11:48 AM

Syntax

 ReadOnly Property SlTpPrice(ByRef OrderType As OperationTypeEnum, ByRef SymbolID As Integer, ByRef SlORTp As String, ByRef FromPrice As Double) As Double

This property is used return the valid Sl/Tp Price value according to the given order type that wants to take it on the specific symbol.

Parameters

Parameter Description 
OrderType Operation type, value of type OperationTypeEnum.
SymbolID Trading symbol ID , value of type is Integer.
SlORTp Stop loss "SL"/Take Profit "TP", value of type is String.
FromPrice From which price the Stop loss/Take Profit was taken, the value of type is Double.

Return value

Returns Stop loss or take profit as value of type Double


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