fbpx

OmniPilot_OnSignal

OmniPilot_OnSignal

Signatures
OmniPilot.OnSignal(Callback As DelegateOnSignal)

Purpose
This will establish the delegate call back for the OnSignal event.  This event will fire when analysis is ran on a symbol.  The delegate will contain the SymbolObject and the voted SignalObject that fired the event.

Example
Sub OnStartup
StartOT
OmniPilot.OnSignal(AddressOf MyOnSignal)
End Sub

Sub MyOnSignal(ByVal oSymbol As SymbolObject, ByVal oSignal As SignalObject)
LogAction(“Symbol ” & oSymbol.Symbol & ” was just voted.”)
End Sub

Also See
OnSignal Event

>