diff --git a/dabo/functions/check_buy_conditions.sh b/dabo/functions/check_buy_conditions.sh index abc5bc5..bde1ade 100644 --- a/dabo/functions/check_buy_conditions.sh +++ b/dabo/functions/check_buy_conditions.sh @@ -112,8 +112,8 @@ function check_buy_conditions { return 0 fi - if [ -n "$f_BUY" ] - then +# if [ -n "$f_BUY" ] +# then # # Check for beginning MACD Trend # if ! tail -n3 ${f_ASSET_HIST_FILE} | grep -q '|buy,' # then @@ -151,7 +151,7 @@ function check_buy_conditions { # g_echo_note "BUY ${f_ASSET}@${CURRENCY}:${f_price} MACD Histogram not rising (now ${f_macd_histogram} < 1 before ${f_macd_histogram_before} < 2 before ${f_macd_histogram_2before} < 3 before ${f_macd_histogram_3before} < 4 before ${f_macd_histogram_4before} < 5 before ${f_macd_histogram_5before}) - trend loses strength / not growing - don't buy" # return 0 # fi - fi +# fi ### Buy or not buy? # BOT