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