
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
I create my own, inside of which I write functionOnCalculate(), but when filling it with parameters it generates errors - please send me an example of filling.
No fill, all constants.
Leaving constants will throw out errors on all positions
'time' - undeclared identifierTo make it clearer, please see the topic https://www.mql5.com/ru/articles/39 - the "Matryoshka" sectionworks!
The first formOnCalculate() is implemented there.
How to write the function for the second formOnCalculate() there?
Leaving constants will throw out errors on all positions
'time' - undeclared identifierWith your knowledge you should only go into freelancing. You need to go through the basics of programming. Variables and their types.
I've decided to study classes, the standard library and everything related to it. I'm still learning the theory, but I'd like to clarify what the code for getting the string length from https://www.mql5.com/ru/docs/standardlibrary/stringoperations/cstring/cstringlen would look like exactly. Preferably with detailed comments.
#include <Strings\String.mqh> ...
Good afternoon! Can you tell me how to pass parameters to a function?
Tried to do as in the example below, what is wrong? Thanks in advance.
You can't create your own, this one.