From cb20d821a015a8d755b74b3fa123c54e1afae171 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 26 May 2023 15:34:10 +0200 Subject: [PATCH] sell defaults --- dabo/functions/check_sell_conditions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index b07ce4f..940f39b 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -122,6 +122,9 @@ function check_sell_conditions_strategy { # never occur rsi defaults to suppress error messages if no values from strategy given local SELL_MACD_RELATION_FROM="101" + # default + local SELL_HOLD_IF_RESULT_NEGATIVE="0" + # run strategy if [ -s "${f_strategy}" ] then