// Sinyal Buy dan Sell berdasarkan timeframe yang dipilih buySignal = bullishW1 and bullishD1 and bullishH12 and bullishH8 and bullishH4 and bullishH3 and bullishH2 and bullishH1 and bullishM30 sellSignal = bearishW1 and bearishD1 and bearishH12 and bearishH8 and bearishH4 and bearishH3 and bearishH2 and bearishH1 and bearishM30
// Menambahkan tanda pada grafik bgcolor(buySignal ? color.new(color.green, 90) : na, title="Buy Signal Background") bgcolor(sellSignal ? color.new(color.red, 90) : na, title="Sell Signal Background")
// Menampilkan sinyal pada grafik plotshape(buySignal, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal", text="BUY") plotshape(sellSignal, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, title="Sell Signal", text="SELL")