.
.
Paste this macro into the Sheet Level module for the affected sheet:
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target Is Nothing Then Exit Sub
If Target.Cells.Count > 1 Then Exit Sub
If Target.Column <> 2 Then Exit Sub
'BUY routine begins here
If Cells(Target.Row, 2).Value = Cells(Target.Row, 3).Value Then
'Cells(Target.Row, 5).Value = "BUY - " & Cells(Target.Row, 1).Value
Cells(Target.Row, 1).Interior.Color = vbYellow
MsgBox "BUY ! " & Cells(Target.Row, 1).Value
'SELL routine begins here
ElseIf Cells(Target.Row, 2).Value = Cells(Target.Row, 4).Value Then
'Cells(Target.Row, 5).Value = "SELL - " & Cells(Target.Row, 1).Value
Cells(Target.Row, 1).Interior.Color = vbYellow
MsgBox "SELL ! " & Cells(Target.Row, 1).Value
Else
Cells(Target.Row, 1).Interior.Color = xlNone
End If
End Sub