OnStart


Summary

Called when cBot is being started. Override this method to initialize cBot, create nested indicators, etc.

Syntax

protected virtual void OnStart()

Example 1

protected override void OnStart()
{
    //This method is invoked when the cBot is started.
}