How do we include custom function using custom block
-
Hi,
I have searched the help & forum & tried using custom blocks but cant see how to include a custom function created in the custom function area of custom block editor.
Can you please explain how to include & use a custom function within a custom block?
For example - I am trying to do something like the example shown in MQL4 reference index search for CORNER_LEFT_LOWER & see the example shown in that topic.
Thanks
-
This block puts the code that you enter in a function. It's not impossible to close that function at the top and open new one in the code:
} void MyFunction() {or even call that function:
MyFunction();} void MyFunction() {But I will suggest to try https://fxdreema.com/studio/MQL4
There you can define custom functions that can be called in the project (if something is not wrong, because I didn't tested that soon) in the low right corner where "Custom functions" are.I think I can't find that function for CORNER_LEFT_LOWER
