Out of http://fxdreema.com/examples => http://fxdreema.com/demo/mt4-4765
These are events. When a tick comes - blocks under "on Tick" are executed. "on Init" is when the EA starts. "on Trade" is when trading operation occurs - new trade, close trade, modify...