Understanding an empty robot and it's components - Updated

Video Summary

OnStart() Method executes when you start the robot.

OnStop() Method executes when you stop the robot.

OnTick() Method executes on every new data tick.

OnBar() Method Executes on every new bar that is created.

A Complete Blank Empty cTrader cAlgo cBot:

using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;
namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class BlankcBot : Robot
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }
        protected override void OnStart()
        {
            // Put your initialization logic here
        }
        protected override void OnTick()
        {
            // Put your core logic here
        }
        protected override void OnBar() 
        {
             // Put your core logic here
        }
        protected override void OnStop()
        {
            // Put your deinitialization logic here
        }
    }
}

Complete and Continue