From 013a76a53db8d89339fe94aefa9987d9d8f7f6d5 Mon Sep 17 00:00:00 2001 From: "Bobby (aider)" Date: Sat, 8 Feb 2025 10:12:00 -0800 Subject: [PATCH] fix: Correct Pine Script plotshape syntax error by removing explicit parameter names --- pinescripts/Sunny_Bands.pine | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pinescripts/Sunny_Bands.pine b/pinescripts/Sunny_Bands.pine index 67cb147..5686e28 100644 --- a/pinescripts/Sunny_Bands.pine +++ b/pinescripts/Sunny_Bands.pine @@ -31,23 +31,23 @@ fill(upper_plot, lower_plot, color.new(#673AB7, 90), "Band Area") // Signal markers plotshape( - series=bullish, - title="Bullish Signal", - style=shape.triangleup, - location=location.belowbar, - color=color.green, - size=size.small + bullish, + "Bullish Signal", + shape.triangleup, + location.belowbar, + color.green, + size=size.small ) plotshape( - series=bearish, - title="Bearish Signal", - style=shape.triangledown, - location=location.abovebar, - color=color.red, - size=size.small + bearish, + "Bearish Signal", + shape.triangledown, + location.abovebar, + color.red, + size=size.small ) // Alerts equivalent to get_signals() method -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") +alertcondition(bullish, "Bullish Signal Detected", "Sunny Bands: Bullish crossover of lower band") +alertcondition(bearish, "Bearish Signal Detected", "Sunny Bands: Bearish crossunder of upper band")