Zeile 116: declare: »=6|«: Ist kein gültiger Bezeichner
This commit is contained in:
parent
cc6fbc20f3
commit
1d3a01600f
@ -19,10 +19,12 @@ function analyze {
|
||||
local file=$1
|
||||
tmpfile=$(basename "${file}")
|
||||
|
||||
for bashfunc in $(find /etc/bash/gaboshlib -type f -name "g_*.bashfunc" -o -name "g_*.sh")
|
||||
do
|
||||
. "$bashfunc"
|
||||
done
|
||||
|
||||
. /etc/bash/gaboshlib.include
|
||||
#for bashfunc in $(find /etc/bash/gaboshlib -type f -name "g_*.bashfunc" -o -name "g_*.sh")
|
||||
#do
|
||||
# . "$bashfunc"
|
||||
#done
|
||||
. dabo/functions/check_buy_conditions.sh
|
||||
. dabo/functions/check_sell_conditions.sh
|
||||
. dabo/functions/get_vars_from_csv.sh
|
||||
|
@ -54,7 +54,8 @@ function get_vars_from_csv {
|
||||
|
||||
# MACD
|
||||
get_var_from_line macd_histogram 8
|
||||
get_var_from_line macd_signal_relation 9
|
||||
#get_var_from_line macd_signal_relation 9
|
||||
f_macd_signal_relation="${f_last_line_array[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