Need to convert MT4 code to TradeStation 9, need to use the new EasyLanguage classes for order and position management.
The code get the signals from a dll (Will be provided without the dll code) the TS code to load the dll and get information from it is already written for TS need to implement missing functionality in the TS code
Missing function (Function that need to be converted from MT4 to TS)
CheckPosition()
FinalOrderLoop()
ApplyOrder()
The missing code include order Submit, change and cancel and updating changes in position.
See attached for TS ELD for the existing code and MT4 code
I can provide help in understanding the MT4 code and the usage of the dll.
Attachment include
TS ELD with the basic TS code
MT4 code that show the complete code
.dll that is used by both TS and MT4 strategies