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)
|
lower_band = ema - (tr * atr_multiplier)
|
||||||
|
|
||||||
// Bullish Signal Condition
|
// Bullish Signal Condition
|
||||||
bullish_signal = close < ema and
|
bullish_signal = (close < ema
|
||||||
close[1] <= lower_band[1] and
|
and close[1] <= lower_band[1]
|
||||||
close > close[1]
|
and close > close[1])
|
||||||
|
|
||||||
// Plotting
|
// Plotting
|
||||||
plot(ema, "EMA", color=color.new(#00BFFF, 0))
|
plot(ema, "EMA", color=color.new(#00BFFF, 0))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user