oAlert_HitValue | Nirvana Systems Inc.

oAlert_HitValue

oAlert_HitValue

Signatures
oAlert.HitValue() As Single

Purpose
This is a property of an Alert object.  It returns the price value that violated the alert causing it to fire.

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

>