Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Learning MQL
·
Module 3
Creating Reusable Code with Functions
1
Understanding OnStart() in MQL5
Explain the purpose of the OnStart() event handler in a basic MQL5 script.
2
Creating Custom Functions with Parameters and Return Values
Define a custom function that accepts input parameters and returns a value.
3
Local vs. Global Variables
Explain the difference between local variables (inside a function) and global variables (outside all functions).
4
Calling MQL5 Built-in Functions for Calculations
Call built-in MQL5 functions to perform common calculations.
Next module isn't ready yet,
Back to course
Previous module
Logic and Control Flow
Next module