Moderator: admin
local GrossPL = account.GrossPL;
if GrossPL > instance.parameters.profit or GrossPL < instance.parameters.loss then
return;
end
local GrossPL = account.GrossPL;
if GrossPL > instance.parameters.profit or GrossPL < instance.parameters.loss then
valuemap.OrderType = "CM"; -- True market close order closes a position…
terminal:execute(id, valuemap);
end
Users browsing this forum: Bing [Bot] and 28 guests