refactor: Simplify alertcondition syntax in Sunny_Bands.pine
This commit is contained in:
parent
1c4c9553a2
commit
3123fb2159
@ -49,14 +49,5 @@ plotshape(
|
||||
)
|
||||
|
||||
// Alerts equivalent to get_signals() method
|
||||
alertcondition(
|
||||
condition=bullish,
|
||||
title="Bullish Signal Detected",
|
||||
message="Sunny Bands: Bullish crossover of lower band"
|
||||
)
|
||||
|
||||
alertcondition(
|
||||
condition=bearish,
|
||||
title="Bearish Signal Detected",
|
||||
message="Sunny Bands: Bearish crossunder of upper band"
|
||||
)
|
||||
alertcondition(bullish, title="Bullish Signal Detected", message="Sunny Bands: Bullish crossover of lower band")
|
||||
alertcondition(bearish, title="Bearish Signal Detected", message="Sunny Bands: Bearish crossunder of upper band")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user