fbpx

oAlert_DateCreated

oAlert_DateCreated

Signatures
oAlert.DateCreated() As Date

Purpose
This is a property of an Alert object. It returns the date and time the alert was created.

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 Created=" & oAlert.DateCreated)
End Sub

>