gracias estaba buscando
este me dio la ia pero no corria
plot_shape(series = buy_signal, plot_shape_style = shape_style.triangle_up, shape_color = rgba(0, 255, 0, 0.5), plot_shape_location = shape_location.belowbar)
plot_shape(series = sell_signal, plot_shape_style = shape_style.triangle_down, shape_color = rgba(255, 0, 0, 0.5), plot_shape_location = shape_location.abovebar)
esta es la correcta
plot_shape(
(buyCondition),
"",
shape_style.triangleup,
shape_size.huge,
colorBuy,
shape_location.belowbar,
0,
"RX-Buy",
"pink"