oAlert_DateHit | Nirvana Systems Inc.

oAlert_DateHit

oAlert_DateHit

Signatures
oAlert.DateHit() As Date

Purpose
This is a property of an Alert object.  It returns the date and time the alert was hit.  If you have not downloaded in a while the alert could have been hit in the past.

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 & ” – Date Hit=” & oAlert.DateHit)
End Sub

>