fix: Correct syntax error in Pine Script bullish signal condition
This commit is contained in:
parent
190ab31c51
commit
3794e0b21e
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user