fixes
This commit is contained in:
parent
95c1aa6135
commit
98f3373325
@ -112,8 +112,8 @@ function check_buy_conditions {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$f_BUY" ]
|
# if [ -n "$f_BUY" ]
|
||||||
then
|
# then
|
||||||
# # Check for beginning MACD Trend
|
# # Check for beginning MACD Trend
|
||||||
# if ! tail -n3 ${f_ASSET_HIST_FILE} | grep -q '|buy,'
|
# if ! tail -n3 ${f_ASSET_HIST_FILE} | grep -q '|buy,'
|
||||||
# then
|
# 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"
|
# 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
|
# return 0
|
||||||
# fi
|
# fi
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
### Buy or not buy?
|
### Buy or not buy?
|
||||||
# BOT
|
# BOT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user