User rating: 0
Joined: Tue 05 Mar, 2013, 22:08 Posts: 4
I'm trying to read the label of an order and then divide it into two strings: one contains the name of order and the second contains a serial number (the index).
I'm using this code to split the string:
myLabel = order.getLabel().slice(0,8);
but I get this error:
"The method slice(int, int) is undefined for the type String"
How can I use the "slice" command in JForex?
At the beginning of the strategy I have the following imports: