Script
'''###################################################################################################### '''#### Script Name: Update Limit Order ###### '''#### Author : Salah Abu-Ghalyon ###### '''#### Website : www.Hybridsolutions.com ###### '''#### Date : 02/07/2013 10:57:07 ###### '''#### Description: This script Updates an already opened limit order with the values ###### '''#### assigned to the global variables declared below ###### '''######################################################################################################
Sample
Public Sub main()
'############################
Dim _ID As Long = 67235 '## The values of these ##
Dim _Lots As Double =2 '## variables should be ##
Dim _Price As Double =1249.00 '## changed every time ##
Dim _SL As Double =1200.00 '## you run the script ##
Dim _TP As Double =1300.00 '############################
GUI.MSGDialog (ClientCode.UpdateLimitOrder(_ID,_Lots,_Price,_SL,_TP).ToString ())
End Sub
See Also
Back to VTL Server Script Index
|