fixes
This commit is contained in:
parent
95c1aa6135
commit
98f3373325
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user