From cb2ef8fe5ccb1e91e84fb79cd0793e5caf5124dc Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 11 Jul 2019 18:49:19 +0200 Subject: [PATCH] 2nd fix --- Commons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commons.js b/Commons.js index e703c358c..0c1e7a24a 100644 --- a/Commons.js +++ b/Commons.js @@ -1499,7 +1499,7 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { if (messageType === MESSAGE_TYPE.OrderClose && type === '"Close@TakeProfit"') { exitOutcome = "TP" } - if (messageType === MESSAGE_TYPE.OrderClose && type === '"Close@TakeProfit"') { + if (messageType === MESSAGE_TYPE.OrderClose && type === '"Close@StopLoss"') { exitOutcome = "SL" }