From 738246f962776285a072913595d163c23d0d427c Mon Sep 17 00:00:00 2001 From: kernelsndrs Date: Sat, 6 Jan 2018 05:47:11 -0500 Subject: [PATCH] Missing | lead to bitwise operation being performed rather than an OR logical comparison. (#1053) --- extensions/strategies/trendline/strategy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/strategies/trendline/strategy.js b/extensions/strategies/trendline/strategy.js index 1b20bffe0a..63a307078b 100644 --- a/extensions/strategies/trendline/strategy.js +++ b/extensions/strategies/trendline/strategy.js @@ -72,8 +72,8 @@ module.exports = function container (get, set, clear) { s.signal = 'buy' } else if ( - s.growth === false | - s.growth2 === false | + s.growth === false || + s.growth2 === false || s.accel === false ) {