From d54815b4f83318b12381f7570b64ad7efc98147c Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 15 May 2023 15:48:58 +0200 Subject: [PATCH] force minimum 15 minutes (900 seconds) timeframe for EMA/MACD calculations --- dabo/functions/get_ema.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/dabo/functions/get_ema.sh b/dabo/functions/get_ema.sh index f7007b5..5b8fd6b 100644 --- a/dabo/functions/get_ema.sh +++ b/dabo/functions/get_ema.sh @@ -12,7 +12,6 @@ function get_ema { if [ $(echo "${INTERVAL} < 900" | bc -l) -ne 0 ] then f_period=$(echo "${f_period}*(900/${INTERVAL})" | bc -l | sed 's/\..*//') - g_echo "ATTENTION!!!! Period lower then 15 minutes - correcting to $f_period" fi # calculate EMA if last EMA is given