Signatures
oAlert.IsLowerLimit() As Boolean
Purpose
This is a property of an Alert object. It returns True if the alert is set to “<= At or Below" and returns False if the alert is set to ">= At or Above”.
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 & ” – Alert is set to ‘At or ” & IIf(oAlert.IsLowerLimit, “Below’”, “Above’”))
End Sub