fix ifs
This commit is contained in:
parent
41f1413272
commit
c8a9e888be
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user