Signatures
oAlert.IsNewSignalAlert() As Boolean
Purpose
This is a property of an Alert object. It returns the True if the alert type is set to New Signal or Any New Signal, otherwise it returns False.
Example
#OmniPilot
Sub OnStartUp
StartOT
OmniPilot.OnAlert(AddressOf MyOnAlert)
End Sub
Private Sub MyOnAlert(ByVal oSymbol As SymbolObject, ByVal oAlert As AlertObject)
LogAction(“An alert has fired on symbol ” & oSymbol.Symbol & ” – New Signal Alert =” & IIf(oAlert.IsNewSignalAlert, “Yes”, “No”))
End Sub