ema800 workaround

This commit is contained in:
olli 2023-11-27 21:41:09 +01:00
parent f0028792b4
commit d79407e737

View File

@ -131,6 +131,7 @@ f_macd_histogram_signal=${f_macd_histogram_signal}"
}
function get_var_from_line {
set -x
if [ -z "${f_last_line_array[$2]}" ]
then
declare -g f_$1=0
@ -143,6 +144,7 @@ function get_var_from_line {
#declare -g f_$1="$(echo ${f_last_line_array[$2]})"
declare -g f_$1="${f_last_line_array[$2]}"
fi
set +x
f_all_vars="$f_all_vars
f_$1=$(echo ${f_last_line_array[$2]})"
}