From 3794e0b21e821f0d1558d28591e91ebe9e558565 Mon Sep 17 00:00:00 2001 From: "Bobby (aider)" Date: Sat, 8 Feb 2025 08:45:11 -0800 Subject: [PATCH] fix: Correct syntax error in Pine Script bullish signal condition --- pinescripts/Three_ATR_EMA.pine | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pinescripts/Three_ATR_EMA.pine b/pinescripts/Three_ATR_EMA.pine index 7651e1c..f619096 100644 --- a/pinescripts/Three_ATR_EMA.pine +++ b/pinescripts/Three_ATR_EMA.pine @@ -17,9 +17,9 @@ upper_band = ema + (tr * atr_multiplier) lower_band = ema - (tr * atr_multiplier) // Bullish Signal Condition -bullish_signal = close < ema and - close[1] <= lower_band[1] and - close > close[1] +bullish_signal = (close < ema + and close[1] <= lower_band[1] + and close > close[1]) // Plotting plot(ema, "EMA", color=color.new(#00BFFF, 0))