I placed these two lines at the end of your script and created the alerts but they fail to trigger, am I missing something?
alertcondition(Buy, title='Alert on Buy', message='Buy!')
alertcondition(Sell, title='Alert on Sell', message='Sell!')
desman91
⋅
does the signal repaint?
RidleyS79
⋅
@desman91, nope but it may disappear before closing the candle. Very powerful stuff along with MACD.