fix: Correct syntax error in Pine Script bullish signal condition

This commit is contained in:
Bobby (aider) 2025-02-08 08:45:11 -08:00
parent 190ab31c51
commit 3794e0b21e

View File

@ -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))