Laszlo Tormasi:
New_Bar is declared in the global scope. So, it can be accessed by other functions.
New_Bar is declared in the global scope. So, it can be accessed by other functions.
Okay that makes sense. But how does the control actually return to the call site in order for the rest of the start() functions code to be executed?
&
Does a void user-defined function require a return statement?
No.
That is why it has a type Void it will even generate an error when you try to return something.
Marco vd Heijden:
No.
That is why it has a type Void it will even generate an error when you try to return something.
Gracias.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Function call:
User defined function:
How does control return to the call site if there is no return operator at the end of the user-defined function?