This commit is contained in:
olli 2023-11-03 16:56:54 +01:00
parent 41f1413272
commit c8a9e888be

View File

@ -53,8 +53,7 @@ function get_vars_from_csv {
# MACD
get_var_from_line macd_histogram 8
#get_var_from_line macd_signal_relation 9
f_macd_signal_relation="${f_last_line_array[9]}"
get_var_from_line macd_signal_relation 9
f_macd_histogram_relation=$(echo "${f_macd_signal_relation}" | cut -d\| -f1)
[ -z "$f_macd_histogram_relation" ] && return 1
f_macd_histogram_signal=$(echo "${f_macd_signal_relation}" | cut -d\| -f2)