I get always the error:
'ChangeOrder' only can be called on unmanaged strategies
The code looks like this:
IOrder orderLong = null;
doube price = 0.0;
-----
EnterShort(1,"");
price = 8000.0;
orderLong = EnterLongLimit(1,7990.0);
if(orderShort != null) {
ChangeOrder(orderLong,1,8004.0,0.0);
}
Thank you!
Kind regards, plizer

Comment