Marketscope Bug
Posted: Mon Sep 18, 2017 11:23 am
I have function ExtAsyncOperationFinished(id, success, message) to use...
function ExtAsyncOperationFinished(id, success, message)
if cookie == 200 and not success then
terminal:alertMessage(instance.bid:instrument(),instance.bid[NOW], "Open order failed !" .. message, instance.bid[NOW]);
elseif cookie == 201 and not success then
terminal:alertMessage(instance.bid:instrument(), instance.bid[NOW], "Close order failed !" .. message,instance.bid[NOW]);
end
end
But after the TS2 is updata today, the function do not run...
Have one message is "Open order failed! The command is disabled.2017/09/18 06:00:00"...
How to do repair the Bug?
Thank you!
function ExtAsyncOperationFinished(id, success, message)
if cookie == 200 and not success then
terminal:alertMessage(instance.bid:instrument(),instance.bid[NOW], "Open order failed !" .. message, instance.bid[NOW]);
elseif cookie == 201 and not success then
terminal:alertMessage(instance.bid:instrument(), instance.bid[NOW], "Close order failed !" .. message,instance.bid[NOW]);
end
end
But after the TS2 is updata today, the function do not run...
Have one message is "Open order failed! The command is disabled.2017/09/18 06:00:00"...
How to do repair the Bug?
Thank you!