The OnTick event is generated whenever there is a new tick.
There are 2 variants form of the events:
Public Sub OnTick(symbolName)
Public Sub OnTick()
You should use one form to consume OnTick Event.
Public Sub main() End Sub Public Sub OnTick(symName as string) Gui.msgdialog(symName) ClientCode.EndScript() End Sub
Leave A Comment