Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1755
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
Greetings. Can you give me a hint? How in mt5 at initialization or at tick to define testing?
So far I've only found OnTester(), which is called right before OnDeinit().
MQLInfoInteger (MQL_TESTER).
Something like this.
There's obviously something wrong here!
Why?
---
What is the best way to build an array from input/extern strings?
Why?
---
What's the best way to build an array from an input/external string?
Put colours as a string in input and then separate the string into an array.
I don't want to put any code for colours right now, you'll figure it out yourself. I've got a list of characters transferred to an array like this
This is a list in input variable.
Why?
---
What is the way to build an array from input/extern strings?
I agree with Alexei.
Enter the colours as a string in the input and then divide the string into an array.
I don't want to pass code for colours right now, you can figure it out yourself. I have a list of characters transferred to an array like this
This is the list in the input variable.
I know this way, but it won't work - there's no way to select from the list
Right now the colours are like this, it's not convenient, and I can't find a reason why I can't change the colour, after applying the settings change to standard
Right now the colours are like this, it's not convenient, and I can't find a reason why I can't change the colour, after applying the parameters change to standard
Then it's like this
That's it, then.
Great, just what I need!
Thank you!
P.S. Found the reason why parameters were not saved, there were semicolons at the end, got caught when copying from input - removed and everything worked. Inattention.